Conquest of Elysium 4

Conquest of Elysium 4

Spawnoffs command usage
Hi all,

I'm trying to create an inanimate stationary immobile monster that spawns different kinds of monsters using the spawnoffs command. However, I'm not sure how I should define that in order to achieve multiple creature spawn. See below:


### gorgler's hole ### newmonster "Gorgler's Hole" descr "A hole where gorgler units emerge from." spr1 "td_sprites/grgl_hole_1.tga" spr2 "td_sprites/grgl_hole_2.tga" size2x2 hp 500 str 1 mor 1 mr 1 immobile stationary inanimate noleader spawnoffs 0 spawn1d6mon 100 spawnoffs 1 spawn1d6mon 100 ### monsters that spawn from Gorgler's Hole ### newmonster "Gorgler" descr "Basic gorgler unit." spr1 "td_sprites/gorgler_1.tga" spr2 "td_sprites/gorgler_2.tga" hp 10 str 1 mor 1 mr 1 meleeweapon 6d10 "Gorgler hug" rangedweapon 2d10 "Gorgler leak" newmonster "Heavy Gorgler" descr "Armored Gorgler unit." spr1 "td_sprites/gorgler_1.tga" spr2 "td_sprites/gorgler_2.tga" hp 12 str 2 mor 2 mr 1 armor 3 meleeweapon 6d10 "Gorgler spiked hug" rangedweapon 2d10 "Gorgler leak"


With the above code it will only spawn monsters determined by the last set offset. Changing the offset will only change the kind of creature it will spawn but it will never spawn both. Any chance someone already attempted to do something like this?


Thanks in advance!
< >
Showing 1-5 of 5 comments
carn112004 11 Mar, 2017 @ 1:33pm 
Only one spawn... command is active per monster.

Making a monster spawn two different monster types would only be possible via events (and then you run into problems, if several multi-spawn monsters can be on the same square).

Alternatively, one could have two monsters spawning something different, but otherwise identical and change them from one to another via events every turn or so; then on larger time scales they would spawn as if having two active spawn commands.
fenceofther3df0x 11 Mar, 2017 @ 5:14pm 
That's too bad. I'll try a similar approach...thanks for the info!
hueytuckers 11 Mar, 2017 @ 5:49pm 
If you give both monsters the same name, it will pick one at random.
Xelos 16 Mar, 2017 @ 9:35am 
Originally posted by hueytuckers:
If you give both monsters the same name, it will pick one at random.

Are you sure about that because I think it is using the offset position in mod file not an actual name like in promotion, transformtarg, or summons.
hueytuckers 16 Mar, 2017 @ 2:04pm 
Originally posted by Xelos:
Originally posted by hueytuckers:
If you give both monsters the same name, it will pick one at random.

Are you sure about that because I think it is using the offset position in mod file not an actual name like in promotion, transformtarg, or summons.

Xelos, you are correct. I was thinking of ritual summons not offest.
< >
Showing 1-5 of 5 comments
Per page: 1530 50