HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Custom Ability: Advanced Building

07-02-2004, 06:18 PM#1
JCarrill0
Did you know in Warcraft III, there is a Button For Advanced Building?
ReplaceableTextures\CommandButtons\BTNAdvStruct.blp
Pretty weird since War3 doesn't have the Ability for Advanced Building.
I have a map I am currently working on that will require Advanced Building. Also for ppl who wanna make WC2 and SC maps in War3, you might want to have an idea on "HOW TO" Build Advanced Buildings.
In order to do that, You will have to make a "Trigger Enhanced Ability" in order o do that. Which will require Replacing the current unit, with the same identical unit but with different build options thus creating more building options or "Advanced Building".

During my search here at WC3C I found 3 way to do it:

Quote:
Originally Posted by Armel
I've put one for download here. It might not be the best solution to the problem and it has some limitations.
This is what I am looking for, but is there a way that You can make less triggers?
Quote:
Originally Posted by Lord Vexorian
The best thing I can think is:
  • Create an ability from the spellbook ability
  • Give it the Tiny building items abilities.
  • Give your new spellbook ability to the worker
thats good except:
Quote:
Originally Posted by Hypernox
the spell book spell has a habit of over lapping when 2 abilities either are original form the same code or if you haven't 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
Quote:
Originally Posted by RodOfNod
  • Copy your worker. 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.

These 3 ways all work. Lord Vexorian's Idea is a good one but with probs. Armel's way is a good one as well, but there gotta be a smaller trigger way.
RodOfNod's way is interesting but I nvr tried it. To me It's not a way want to try.

What are your opinions of these ideas? perhaps Someone can help improve some and help me create the best way for Advanced Building.
07-02-2004, 09:01 PM#2
Syco
Damn, I had a big post and it ate it. Your best off going with Armel's idea and minimizing it, though I didn't look at it.
To get the spellbook to work, try either looking up the neutral "Reveal" (I know it's gold but I don't think it'll cover lumber), or give your ability "add gold/lumber" like abilities with negative values, and just put the cost in the description.
-Syco
07-02-2004, 09:14 PM#3
Vexorian
The spell book idea proved to work well without further issues in Darky's tower defense, I am in the works of an advanced building system thing tooo
07-02-2004, 09:36 PM#4
Syco
Just found, have a look for "Charge Gold and Lumber". It's exactly what you guys are lookin' for.
-Syco
07-02-2004, 10:19 PM#5
JCarrill0
Lord Vexorian Since your working on Advanced Building Ability, I will wait for that Spell map to be completed.
07-03-2004, 06:04 AM#6
Ninja73
I think the spell book ability would b the ezest way.
07-03-2004, 02:09 PM#7
JCarrill0
but what about the probs that it has?
07-03-2004, 06:18 PM#8
Syco
Quote:
Originally Posted by Hypernox
the spell book spell has a habit of over lapping when 2 abilities either are original form the same code
I think he means the order string. So you change it, it doesn't have to be the same.
Quote:
Originally Posted by Hypernox
or if you haven't set the minimum to the same as maximum number of spells to use in it.
It's not like you can't go back and make sure you did that if it doesn't work.
Quote:
Originally Posted by Hypernox
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
I'd like to think I just fixed that.

So tell me...what's wrong with the spellbook?
-Syco
07-03-2004, 06:42 PM#9
JCarrill0
Quote:
Originally Posted by syco
think he means the order string. So you change it, it doesn't have to be the same.

It's not like you can't go back and make sure you did that if it doesn't work.

I'd like to think I just fixed that.

So tell me...what's wrong with the spellbook?
Care to Make sure it works by makin a working map?
That could help me understand better.