HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Making an 'Advanced Building' button

07-12-2003, 09:09 PM#1
Agent KillStuff
I want to make a new button called "Advanced Buildings" for the worker units for a Total Conversion I'm going to be working on, and I'm not quite sure how. I thought maybe the "Construct Building" button was an ability, but it isn't. I'm going to also have to add a new field into the editor for the button called "Advanced Buildings contructed".

Any hints or help on how I would make another buildings menu would be very helpful.

(Think Starcraft type building buttons.)
07-12-2003, 09:20 PM#2
Vexorian
Your Idea is a challenge, And the best thing I can think is:


A) Create an ability from the spellbook ability
b) Give it the Tiny building items abilities.
c) Give your new spellbook ability to the worker

Hope it works

If it works, you just need to change the tiny building abilities stuff
07-12-2003, 09:22 PM#3
Agent KillStuff
D'oh! That's a very workable idea! I will try it and tell you what happens, thanks!
07-12-2003, 09:59 PM#4
Agent KillStuff
Well, it's nice except for two things.

The buttons for the buildings move around. They are always overlapping eachother though I have their button positions as 0,0 and 1,0.

The second thing is that I can't make them cost money without triggers, and since this is a TC and not a map, it will ba hard to do so.

Hmm..
07-12-2003, 10:17 PM#5
Kerry
The Project Revolution have done it in a way like this (if you need a better explanition tell me):

They have a unit with a blank ability that does nothing except being clickable named "Advanced Build", when you click it a trigger starts and it replaces your old unit with a new one that can build the advanced buildings, the trigger clicks the created units build button and it looks like your worker has a advanced build. Only negative thing about this is that you can't make the computer to use it, but you might not want it to do either...


(Hope you get the idea)
07-12-2003, 10:32 PM#6
HyperNox
the spell book spell has a habbit oth over lapping when 2 abilities either are original form the same code or if you havent set the minimum to the same as maximum number of spells to use in it. even if you get this to work you will have one big problem left and that is that the buildings will cost mana and not gold and lumber
07-12-2003, 10:36 PM#7
Rubber Ducky
OK

ALL YOU NEED TO DO, IS FIND A SPELL OR ABILITY THAT TAKES THE SECOND SLOT.

THEN MAKE THAT ABILITY HAVE EXACLTY EVERYTHING THE CONSTRUCT ABILITY DOES.

THEN. MAKE THE BUILDINGS OF YOUR CHOOSING

OR IF THAT DOESNT WORK, MAKE ADVANCED WORKERS WHO BUILDER HIGHER TIER BUILDINGS.:D
07-12-2003, 10:41 PM#8
Guest
Quote:
Originally posted by Rubber Ducky
OK

ALL YOU NEED TO DO, IS FIND A SPELL OR ABILITY THAT TAKES THE SECOND SLOT.

THEN MAKE THAT ABILITY HAVE EXACLTY EVERYTHING THE CONSTRUCT ABILITY DOES.

THEN. MAKE THE BUILDINGS OF YOUR CHOOSING

OR IF THAT DOESNT WORK, MAKE ADVANCED WORKERS WHO BUILDER HIGHER TIER BUILDINGS.:D


Would you mind re-pressing CapsLock, you look like a steaming pile of dumb shit when you put all caps. Thank you.
07-12-2003, 11:01 PM#9
Agent KillStuff
Quote:
Originally Posted by Kerry
The Project Revolution have done it in a way like this (if you need a better explanition tell me):

They have a unit with a blank ability that does nothing except being clickable named "Advanced Build", when you click it a trigger starts and it replaces your old unit with a new one that can build the advanced buildings, the trigger clicks the created units build button and it looks like your worker has a advanced build. Only negative thing about this is that you can't make the computer to use it, but you might not want it to do either...


(Hope you get the idea)
Well, this is a total conversion though, not one map..

Quote:
Originally Posted by HyperNox
the spell book spell has a habbit oth over lapping when 2 abilities either are original form the same code or if you havent set the minimum to the same as maximum number of spells to use in it. even if you get this to work you will have one big problem left and that is that the buildings will cost mana and not gold and lumber
Exactly...

Quote:
Originally Posted by some guy
OK

ALL YOU NEED TO DO, IS FIND A SPELL OR ABILITY THAT TAKES THE SECOND SLOT.

THEN MAKE THAT ABILITY HAVE EXACLTY EVERYTHING THE CONSTRUCT ABILITY DOES.

THEN. MAKE THE BUILDINGS OF YOUR CHOOSING

OR IF THAT DOESNT WORK, MAKE ADVANCED WORKERS WHO BUILDER HIGHER TIER BUILDINGS.
Construct is not an ability, as I stated in my first post.

Quote:
Originally Posted by ogrim
Would you mind re-pressing CapsLock, you look like a steaming pile of dumb shit when you put all caps. Thank you.
I agree.
07-12-2003, 11:16 PM#10
piRo-piOn
i think that once you get to this point you have made one too many buildings.
07-12-2003, 11:26 PM#11
Kerry
Yes watch the caps and watch your words, we do not want any kind of flaming wars around here, this forum is to help people not flaming them.
07-13-2003, 12:45 AM#12
Agent KillStuff
Quote:
i think that once you get to this point you have made one too many buildings.
I want it as a nice way of seperating building construction. Like, after you build a Tier 3 Town Hall you can use those. Anyway...anyone?
07-13-2003, 05:18 AM#13
Mast-of-fish
having to use a trigger isnt neccesarily a large problem
just make it a melee trigger... that SHOULD be possible no idea how tho
07-13-2003, 07:59 AM#14
RodOfNOD
Im not 100% sure what u are looking for but I will give this a crack..


Copy your peon. Change what it can build to the buildings you want.

Add a bear form spell that has one as the original and another as the new one u have just created. Add this spell to both those units.

Have that button for the spell appear bottom right so 3,2

There should be no conflicts and with this system you could have an endless amount of buildings the worker can build.

If this is not what u wanted let me know.

Good Luck.

If you want to permanently upgrade your peon then read this link....

http://www.wc3campaigns.com/forums/s...threadid=21585