Left 4 Dead 2 > Modding/Mapping Help and Tips > Подробиці теми
iChun 21 лип 2013 о 16:00
[VScript] Need help spawning a tank
Hey guys, I'm currently working on a mutation for the EMS, and I'm having trouble spawning a tank properly.

I've tried:
1. Sending a console command "z_spawn_old tank auto". Doesn't work because it's a cheat.
2. Capturing a Special Infected spawn and spawning a tank in it's coordinates instead. Doesn't fit well because the delay between spawns are too long/random despite setting SpecialRespawnInterval to a low value and setting ShouldAllowSpecialsWithTank to true.
3. Triggering a Panic event that spawns a tank. Doesn't work because it screws up finale triggers.

I'm almost all out of ideas, would most likely use option 2 if I don't have a choice but I'd like to see if anyone has any better ideas.
Показані коментарі 14 із 4
< >
Rectus 22 лип 2013 о 1:06 
There is a ZSpawn() function included in EMS. Documentation on this page.
iChun 22 лип 2013 о 3:30 
That's what I'm using in Method #2. Capturing a special spawn point then using the spawn for a tank ZSpawn
Rectus 22 лип 2013 о 5:59 
There has been requestsin the beta group to add a function to get a valid position for infected spawning. Valve said that they're still working on improving EMS, so hopefully they'll add it at some point.

Have you tried setting up stages for the director, like how it's done in Holdout? They might interfere with regular spawning though, if you need that working right.
iChun 22 лип 2013 о 9:20 
No, I've not looked at Holdout. Either way I've already finished my mutation, don't think I'll be changing much more of it.

You can find it here: http://steamcommunity.com/sharedfiles/filedetails/?id=162584612
Показані коментарі 14 із 4
< >
На сторінку: 15 30 50
Опубліковано: 21 лип 2013 о 16:00
Дописів: 4