Battlefield Modding Tutorials BFMODS https://battlefieldmodding.com/ssm/phpBB3/ |
|
nUb Question - Rapid Spawn https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=2569 |
Page 1 of 1 |
Author: | ahi [ Sat Dec 30, 2006 9:40 pm ] |
Post subject: | nUb Question - Rapid Spawn |
Call me a Nub, but I do not know how to make a vehicle rapid spawn... I'm guessing I have to edit something with the ObjectTemplate.create ObjectSpawner code...? But or what? Thanx for any help. |
Author: | deathdude01 [ Sat Dec 30, 2006 11:08 pm ] |
Post subject: | |
what u mean rapid spawn, are u talkin bout like spawn fast, so as soon as it moves another spawns? if thats what u mean then all u do is ObjectTemplate.create ObjectSpawner lighttankspawner ObjectTemplate.setObjectTemplate 2 Gato ObjectTemplate.setObjectTemplate 1 Sub7C ObjectTemplate.MinSpawnDelay 10 <------------------make short(1) ObjectTemplate.MaxSpawnDelay 15 <------make 1 or 2 sec longer(2) ObjectTemplate.SpawnDelayAtStart 0 ObjectTemplate.TimeToLive 45 ObjectTemplate.Distance 40 ObjectTemplate.DamageWhenLost 10 ObjectTemplate.HoldObject 1 ObjectTemplate.teamOnVehicle 1 |
Author: | ahi [ Sat Dec 30, 2006 11:28 pm ] |
Post subject: | |
I've have this... And it never respawns unless it blows up or something, I want it to spawn right when like someone takes it... ObjectTemplate.create ObjectSpawner Kubelwagenspawner ObjectTemplate.setObjectTemplate 2 Kubelwagen ObjectTemplate.setObjectTemplate 1 Kubelwagen ObjectTemplate.MinSpawnDelay 1 ObjectTemplate.MaxSpawnDelay 2 ObjectTemplate.SpawnDelayAtStart 0 ObjectTemplate.TimeToLive 0 ObjectTemplate.Distance 0 ObjectTemplate.DamageWhenLost 0 |
Author: | VOLTANO [ Sun Dec 31, 2006 12:55 am ] |
Post subject: | |
If you want the vehicles to spawn right away after you drive one away from it's spawn point and then have more spawn right after that, simply add the code below shown in blue ObjectTemplate.create ObjectSpawner Kubelwagenspawner ObjectTemplate.setObjectTemplate 2 Kubelwagen ObjectTemplate.setObjectTemplate 1 Kubelwagen ObjectTemplate.MinSpawnDelay 1 ObjectTemplate.MaxSpawnDelay 2 ObjectTemplate.SpawnDelayAtStart 0 ObjectTemplate.TimeToLive 40 ObjectTemplate.Distance 40 ObjectTemplate.DamageWhenLost 10 ObjectTemplate.MaxNrOfObjectSpawned 4 |
Author: | deathdude01 [ Sun Dec 31, 2006 12:58 am ] |
Post subject: | |
Author: | ahi [ Sun Dec 31, 2006 6:20 am ] |
Post subject: | |
Thanx for the help guys... |
Author: | Sgt.MillaTime [ Sun Dec 31, 2006 10:14 pm ] |
Post subject: | |
bad idea to set all of those to zero, then you will have all kinds of empty cars lying around and others wont be able to spawn |
Author: | ahi [ Sun Dec 31, 2006 11:40 pm ] |
Post subject: | |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |