HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How would you build a doodad?

07-16-2002, 03:00 PM#1
Guest
Ok this is going to mess with your mind, as it has been with mine for a bit now. It seems entirely possible to build a doodad. I've been trying to get a peon build a tree that I can chop back down again, but have been failing miserably. Does anyone know how to do this or have a good idea where to start? I'm thinkning you would have to replace an unused building or something. But I'm all ears. We must unravel the mystery of constructing doodads.
07-17-2002, 06:33 PM#2
Kaos
One word: Triggers. I have been thinking about this since they removed the build gold mine/regrow trees specials. Cenarius actually uses the regrow trees ability during the campaign but hey he is a demigod. You'll want to set up something that triggers a patch of forest to grow or be rebuilt. Your not going to be able to get the trees built directly since the doodads are very configurable.
07-17-2002, 08:58 PM#3
Guest
Are you talking about getting trees to ressurect after they are chopped down?
07-17-2002, 09:27 PM#4
Guest
Actually I was trying to get a peon to build a unit that looks like a tree, chops like a tree, gives resources like a tree, sounds like a tree, smells like a tree and by golly IS a tree. hehe.
07-17-2002, 09:30 PM#5
Guest
...

well...why would you want that?
07-18-2002, 09:28 PM#6
Kaos
You can't. If you found a way to get a unit to use the tree model (which you probably won't) then the peon still would never recognize it as a tree so it couldn't be chopped. You just can't do it that way. You have to use triggers to make or regrow trees. You could make a unit that looked like a tree (If you can make it look like a tree somehow) and immediately after being built gets replaced by a real tree but you need to use a trigger in there somewhere.
07-19-2002, 12:33 AM#7
Guest
there are create destructable doodad commands in the triggers

try something like
event player - unit finishes a construction
condition event response - constructed structure is a 'custom tree'

remove event response - constructed structure
create destructable doodad tree at position of unit(constructed structure)