HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Tutorial: Explosive Trap Custom Spell

11-24-2003, 06:01 PM#1
x(Lunchbox)x
Code:
Tutorial: Explosive Trap Custom Spell

Description: I will guide you through step-by-step on how
to make an explosive trap custom spell. (If you give me credit :hammer: )

Spell 1: Land Mine Trap
Description: Allows your hero (I.E. An assassin, Goblin Tinkerer maybe?)
to place destructive Land Mines to damage enemies!

Step 1 - Go to Abilities Tab in Object Editor
Step 2 - Find "Item Place Goblin Land Mine" (Do a search for "Goblin" by clicking the "Edit" tab and selecting "Find" will help you get it a lot faster :D )
Step 3 - Select it, Copy it (Ctrl+C), then without selecting anything, paste it. (Ctrl+V)
Step 4 - Now it should be all in it's same form, only under the custom abilities tab. Very simple.
Step 5 - Now go down to the "Stats" fields area, make the field "Item Ability True" read "Item Ability False" and make the field "Hero Ability False" read "Hero Ability True" by double-clicking and unchecking/checking box.
Step 6 - Click on another random spell, then go back to your land mine spell, and it should have changed a little bit.
Step 7 - If you only want 1 level, then leave it how it is, and you are finished!
Step 8 - If you want it to have multiple levels, proceed to step 9.

Code:
Multiple Levels


Step 9 - Make a copy of the "Goblin Land Mine" unit, 3 times.
Step 10 - Go to abilities tab, and copy the spell "AOE Damage Upon Death (Goblin Land Mine) 3 times.
Step 11 - Now, make each "Goblin Land Mine" unit something named differently, maybe, SUPER Goblin land mine, ULTRA goblin land mine etc.
Step 12: Now make each "AOE Damage Upon Death" something different (so you can tell them apart) Like, Explosive 1, Explosive 2 etc.
Step 13: Now, go to each of your goblin land mine units and in order delete AOE Damage Upon Death (Goblin land Mine) and add Explosive 1, Explosive 2, Explosive 3
Step 14: Now, go to abilities and change each Explosive 1, Explosive 2, Explosive 3 Data so that they progressively do more damage, more radius etc.
Step 15: Now go down to the your multi-leveled spell you hope to be making, and for each space where it says "Data - Unit Type Produced" (or something close) and has "Goblin Land Mine" next to it, replace them in order with the units Explosive 1, Explosive 2, Explosive 3.
Step 16: Close up and you are done.

Check out the sample map attached if you can't figure it out, or something has gone wrong.

I attached a sample map, a small mini-mission where you have to get down from the ruins by blowing up the ravenously invading spider crabs using only your wits and your explosive traps. Check it out :)

(The only reason the guy explodes when placing them is because its a goblin sapper, the game thinks weird)
11-24-2003, 06:14 PM#2
x(Lunchbox)x
Heres the sample map :santa: :santa: :santa: :santa: :santa: :santa: :santa: :santa: :santa: :santa: