Battlefield Modding Tutorials BFMODS
https://battlefieldmodding.com/ssm/phpBB3/

Adding Few Extra Helis
https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=4699
Page 1 of 1

Author:  Stitch [ Sat Feb 14, 2009 1:00 pm ]
Post subject:  Adding Few Extra Helis

i've been up all night trying this ...at this point i'm ready to toss my computer out the door lol...now mind you i use to do this many many years ago....WoW took my life over but taking a break from that for now....all i want to do is add a few new heli spawns ...use to all u had to do was mod the map save , open the map with winrfa extract os and ost repack them mapname_001 but thats not the case anymore don't look like...like i said i've been out of for a while , looked over the fourms seen people talking about changeing the ObjectTemplate.setObjectTemplate around but just can't figure it out here is a small sample what i done.also do i need to set a Object.setOSId to get it spawn at the base's?

ObjectTemplate.create ObjectSpawner HeliiSpawner
ObjectTemplate.setObjectTemplate 4 AH64
ObjectTemplate.setObjectTemplate 3 Mi24d
ObjectTemplate.MinSpawnDelay 50
ObjectTemplate.MaxSpawnDelay 80
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 45
ObjectTemplate.Distance 40
ObjectTemplate.DamageWhenLost 10

Object.create HeliiSpawner
Object.absolutePosition 338.30/41.87/1308.24
Object.rotation -189.43/0.00/0.00
Object.setTeam 3

Object.create HeliiSpawner
Object.absolutePosition 1501.61/41.87/855.10
Object.rotation 0.00/0.00/0.00
Object.setTeam 4

Author:  Why Two Kay [ Sat Feb 14, 2009 7:24 pm ]
Post subject:  Re: Adding Few Extra Helis

You can't make a new ObjectSpawner. You add the 3rd or 4th team to an existing spawner, and then spawn that spawner with a setTeam and no setOSID

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/