HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

A pretty stupid question

06-10-2003, 08:37 PM#1
saus
Can you make a custom unit look like a Castle or any upgraded building?
06-10-2003, 08:44 PM#2
playamarz
It's kind-a hard.. And for some reason I can barely get this to work.. But try basing your custom unit off a castle from the start... And then turning it into a unit.. I think you should have some success..

BTW... Questions aren't stupid if the person inquiering them really wnats to know a logical answer.
06-10-2003, 08:56 PM#3
Tiki
download ums we from the download section...

you just go to a unit and put the castle string...

Ex:

If you want to turn a peasent into a castle do this...

the units string would show something like this:

units/human/peasant/peasent.blp

just change it to the castles string

buildings/human/castle/castle.blp

... I think that is right...
06-10-2003, 09:39 PM#4
Myster Mystery
Just add the correct keep model and then using
Animation- Add animation tag
or whatever to add the Upgrade and Second tags. Then it will look like a castle. (the same tags are used for the other upgradable buildings too)
06-10-2003, 10:01 PM#5
Panto
Specifically, in the "Required Animations" field in any editor, enter the strings "upgrade" and "second" to a unit with the town hall model, and it will look like a castle.

The reason for this is the castle in Warcraft 3 is actually the same model as the town hall, but with some specific animations playing all the time.
06-10-2003, 10:06 PM#6
SkylineGT[FB]
hmm.... this brings an idea to me! what would u need to do to make this happen: u start with a unit, then when u have enuf gold, say 1000, then u click the 'UPGRADE' button, and then u loose 1000 gold and ur unit upgrades to say, elite long bowman?
06-11-2003, 02:35 AM#7
Panto
Yes, that would work, if you based the unit off of a building (or you were using ChrydGod's enhancer SLK), and it would be an efficient, sensible, and interesting game mechanic that has hitherto been almost unused. :whoa2:

Can you tell that I like the idea? I was planning to implement it when I resume work on my map(s) after TFT is released.
06-11-2003, 06:28 PM#8
saus
When I first asked this question, I thought it would be simple so I called it stupid. I tried having the building based off of the castle but it didnt work. If I put upgrade and second in the required animation thing it still doesn't work. Oh well, it doesn't really matter. I never finish maps anyway.
06-11-2003, 06:43 PM#9
Myster Mystery
Ignore the required animation thing, do what I said. In a map initialization trigger and one that goes off whenever you make a new castle-looking thing have these actions
Animation- Add the Upgrade tag to (castle thing)
Animation- Add the Second tag to (castle thing)
So, don't use the unit editor to make it look like a castle, use the triggers.
(I guess there is an enhanced editor someone made that lets you use the unit editor to do it, but just use the simple triggers)
06-11-2003, 06:50 PM#10
saus
Thanks, that should work the next time I need a building like that.