Left 4 Dead 2 > Modding/Mapping Help and Tips > トピックの詳細
iChun 2013年7月21日 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.
1-4 / 4 のコメントを表示
< >
Rectus 2013年7月22日 1時06分 
There is a ZSpawn() function included in EMS. Documentation on this page.
iChun 2013年7月22日 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 2013年7月22日 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 2013年7月22日 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
1-4 / 4 のコメントを表示
< >
ページ毎: 15 30 50
投稿日: 2013年7月21日 16時00分
投稿数: 4