Battlefield Modding Tutorials BFMODS https://battlefieldmodding.com/ssm/phpBB3/ |
|
Vehicle spawning objects as if they are falling off the bed https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=9&t=3739 |
Page 1 of 1 |
Author: | ZOOMER [ Fri Jan 25, 2008 8:02 pm ] |
Post subject: | Vehicle spawning objects as if they are falling off the bed |
Hey creative minds: DCFinal, SSM: I have an idea to add a spawner to the back of the pickup that will spawn "something" that will fall off of the moving truck. Is this possible? Will 6 objects fall off the truck in a short distance? ObjectTemplate.Active Pickup ObjectTemplate.addTemplate UH-60spawner ObjectTemplate.setPosition 0/0/-2.5 ObjectTemplate.setRotation 0/0/0 ObjectTemplate.create ObjectSpawner UH-60spawner ObjectTemplate.setObjectTemplate 1 Mk19 <===will this spawn??? I know its a stationary object. I have spawned the tank machine gun on the ground serverside. ObjectTemplate.setObjectTemplate 2 Mk19 ObjectTemplate.MinSpawnDelay .5 ObjectTemplate.MaxSpawnDelay .5 ObjectTemplate.SpawnDelayAtStart 0 ObjectTemplate.TimeToLive 60 ObjectTemplate.Distance 1 ObjectTemplate.DamageWhenLost 1 ObjectTemplate.MaxNrOfObjectSpawned 6 |
Author: | Bongholio [ Sat Jan 26, 2008 12:45 pm ] |
Post subject: | Re: Vehicle spawning objects as if they are falling off the bed |
Take a look at the ural truck,.if the barrels on the back you can plop off with fire btns have a hold object on it just turn it off Move the truck and the barrel should WANT to stay where it spawned. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |