Left 4 Dead 2 > Modding/Mapping Help and Tips > Detaliile subiectului
iChun 21 iul., 2013 @ 4:00pm
[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.
Afişate 1-4 din 4 de comentarii
< >
Serial Butt Stabber 22 iul., 2013 @ 1:06am 
There is a ZSpawn() function included in EMS. Documentation on this page.
iChun 22 iul., 2013 @ 3:30am 
That's what I'm using in Method #2. Capturing a special spawn point then using the spawn for a tank ZSpawn
Serial Butt Stabber 22 iul., 2013 @ 5:59am 
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 iul., 2013 @ 9:20am 
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
Afişate 1-4 din 4 de comentarii
< >
Per pagină: 15 30 50
Data publicării: 21 iul., 2013 @ 4:00pm
Mesaje: 4