HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Hostile spawns

01-13-2007, 03:47 AM#1
Michae90
how do you make a tavern type building that will create hostile units for training?

and just so i don't have to spam the board
how would i make a giant comet like the one sephiroth uses in anime fight?
how do you make abilities do damage+stat
and is there a way to make an ability kind of like cluster rocket but targets a unit instead of an area?
01-13-2007, 05:41 AM#2
rulerofiron99
1. Goto the tavern building in the unit editor. Scroll down to techtree. Click on units sold, and put your hostile units in there.

2. For giant comet, you have several options: the inferno effect, custom model, or a skilled use of rain of fire / inferno / etc.

3. For damage+stat or damage*stat, make a trigger that checks when a unit starts the effect of an ability, and if the ability is equal to a certain ability, deal damage equal to whatever * str/agi/int.

4. Cluster rockets for units: use storm bolt with a higher pitch angle thingy and the cluster rockets effect, and for each unit in a region create a dummy caster that will cast that spell.
01-13-2007, 06:23 AM#3
Michae90
ok, thanks ,but that tavern thing did not work the way i intend it to, i wanted it to spawn units that belong either to neutral hostile or another player so i can fight them for XP
01-13-2007, 07:08 PM#4
Pyrogasm
Here you go:
Trigger:
Collapse Events
Unit - A unit enters (Tavern Region <gen>) [This is a region centered around your tavern]
Collapse Conditions
Unit type of (Triggering unit) equal to (Forest Troll (NOT HOSTILE)) [Or whatever your unit is; this is just a dummy unit]
Collapse Actions
Unit - Replace (Triggering unit with a (Forest Troll (HOSTILE)) [Or whatever your unit is; this is the actual unit that will be hostile]
Unit - Change ownership of (Last Replaced Unit) to Neutral Hostile and change color
Should work simply enough

Even easier, though would be this trigger, as long as the units you're making hostile are only existant in the map when they're bought at the tavern...
Trigger:
Collapse Events
Unit - A unit enters (Playable Map Area)
Collapse Conditions
Unit type of (Triggering unit) equal to (Forest Troll (HOSTILE)) [Or whatever your unit is; this is the hostile unit]
Collapse Actions
Unit - Change ownership of (Triggering unit) to Neutral Hostile and change color
01-13-2007, 07:14 PM#5
darkwulfv
For the cluster rockets, simply use a dummy targetting spell, then make a dummy caster use the real cluster rockets at the position of the target unit.