probably the same thing i did when i first started messing around lol.
you can modify the existing entries in the objectspawntemplate.con, but you can not add or delete entries for vehicles in it. you basically have to work around what is already in there.
so say these are the only two entries in the maps objectspawntemplate when you open it up:
ObjectTemplate.create ObjectSpawner UH-60spawner ObjectTemplate.setObjectTemplate 2 UH-60L ObjectTemplate.setObjectTemplate 1 SA-342L ObjectTemplate.MinSpawnDelay 40 ObjectTemplate.MaxSpawnDelay 70 ObjectTemplate.SpawnDelayAtStart 0 ObjectTemplate.TimeToLive 45 ObjectTemplate.Distance 40 ObjectTemplate.DamageWhenLost 10 ObjectTemplate.teamOnVehicle 1
ObjectTemplate.create ObjectSpawner lighttankspawner ObjectTemplate.setObjectTemplate 2 M2A3 ObjectTemplate.setObjectTemplate 1 BMP2 ObjectTemplate.MinSpawnDelay 35 ObjectTemplate.MaxSpawnDelay 40 ObjectTemplate.SpawnDelayAtStart 0 ObjectTemplate.TimeToLive 45 ObjectTemplate.Distance 40
you can take that and do this:
ObjectTemplate.create ObjectSpawner UH-60spawner ObjectTemplate.setObjectTemplate 2 Humvee ObjectTemplate.setObjectTemplate 1 Technical ObjectTemplate.MinSpawnDelay 40 ObjectTemplate.MaxSpawnDelay 70 ObjectTemplate.SpawnDelayAtStart 0 ObjectTemplate.TimeToLive 45 ObjectTemplate.Distance 40 ObjectTemplate.DamageWhenLost 10 ObjectTemplate.teamOnVehicle 1
ObjectTemplate.create ObjectSpawner lighttankspawner ObjectTemplate.setObjectTemplate 2 M1A1 ObjectTemplate.setObjectTemplate 1 T72 ObjectTemplate.MinSpawnDelay 35 ObjectTemplate.MaxSpawnDelay 40 ObjectTemplate.SpawnDelayAtStart 0 ObjectTemplate.TimeToLive 45 ObjectTemplate.Distance 40
but you cant go and add more entries. and dont change the name of the objectspawner itself. you can do other things in the objectspawntemplate, but youll prolly get to that later. but as far as adding vehicles, you have to basically stick to them rules from what i have seen.
|