HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Rain of Chaos - New spawning system waiting to happen?

02-21-2004, 12:05 AM#1
Hunter0000
Take I look at the rain of Chaos spell, basicly, you select one spawning spell, and it repeats it X times over X seconds. Anyone see the possiblities yet? Make a summon skill that randomly summons, say, 3 differnt types of crabs. Ok, now make a ROC that masses this skill, say 5 times over an area of 1000. Now make two triggers

Every 60 secs

If number of units in range of <Crab spawner unit> less than or = to 2(or whatever)

Order <Crab spawner unit> To arcimounde - ROC position of <Crab spawner unit>

Trigger 2

Unit eneter playable map area

Controller = to Neitral Hostile(or whoever)

Order triggering unit to patrol to a random spot within 600 of triggering unit.

BINGO Easily mass-produced spawning system. AM I brilliant or am I dreaming?
02-21-2004, 12:09 AM#2
Vilkacis
Hmm.....This does sound like it would possibly work....But wat if the units spawn to much? Like you show up and like theres a shitload of em...I dunno ill test this tonight...Interesting....
02-21-2004, 12:11 AM#3
Hunter0000
Quote:
Originally posted by Hunter0000

Every 60 secs

If number of units in range of <Crab spawner unit> less than or = to 2(or whatever)

Order <Crab spawner unit> To arcimounde - ROC position of <Crab spawner unit>

Trigger 2

Unit eneter playable map area

Controller = to Neitral Hostile(or whoever)

Order triggering unit to patrol to a random spot within 600 of triggering unit.

BINGO Easily mass-produced spawning system. AM I brilliant or am I dreaming?

Thats what that is for
02-21-2004, 12:14 AM#4
Vilkacis
Ahhh, ok, Sorry, missed that...Im debating wehter to map, play diablo, or play ladder....hmmm...DECIONS DECIONS!
02-21-2004, 01:40 AM#5
ObsidianTitan
I suggest you add the units for each spawner type into a different unit group. Then your condition should be...

(Number of units in Spawner_group) Less than 15

the problem with the other way is if the units don't move far enough away it wont spawn, of it they go too far away it wont stop spawning them.
02-21-2004, 01:55 AM#6
Hunter0000
Quote:
Originally posted by ObsidianTitan
I suggest you add the units for each spawner type into a different unit group. Then your condition should be...

(Number of units in Spawner_group) Less than 15

the problem with the other way is if the units don't move far enough away it wont spawn, of it they go too far away it wont stop spawning them.


Then I cant use a single trigger for multiple spawners though
02-21-2004, 02:17 AM#7
ObsidianTitan
Sure you can do it in one trigger, its just a little more complicated by using if/then/else statments. Use what you want, but if it dosent work correctly you can try this method.

Events
Unit - A unit enters (Playable map area)
Conditions
(Owner of (Entering unit)) Equal to Neutral Hostile
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Entering unit)) Equal to Dark Troll
(Unit-type of (Entering unit)) Equal to Dark Troll Shadow Priest
(Unit-type of (Entering unit)) Equal to Dark Troll Trapper
(Unit-type of (Entering unit)) Equal to Dark Troll Berserker
(Unit-type of (Entering unit)) Equal to Dark Troll High Priest
Then - Actions
Unit Group - Add (Entering unit) to Spawner_group[0]
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Entering unit)) Equal to Satyr
(Unit-type of (Entering unit)) Equal to Satyr Trickster
(Unit-type of (Entering unit)) Equal to Satyr Shadowdancer
(Unit-type of (Entering unit)) Equal to Satyr Soulstealer
(Unit-type of (Entering unit)) Equal to Satyr Hellcaller
Then - Actions
Unit Group - Add (Entering unit) to Spawner_group[1]
Else - Actions
Do nothing
02-21-2004, 10:00 PM#8
Vexorian
Using rain of chaos instead of triggers is pointless, it would only fix the lag caused by memory leaks, and it can be easily fixed by Removing Location vars, also there is no way to modiffy how much units/ what units it will be spawned unless you use way a lot of spells based from rain of chaos, and that is more map space/ loading time
02-22-2004, 03:54 AM#9
Grater
I've wondered about using Mechanical Critter to get a random unit spawn. I think Rain of Chaos is in the same category, difficult altough not impossible to find a good use for.