[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
Battlefield Modding Tutorials BFMODS :: View topic - Making vehicles static (immobile)
Battlefield Modding Tutorials BFMODS
https://battlefieldmodding.com/ssm/phpBB3/

Making vehicles static (immobile)
https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=84
Page 1 of 7

Author:  Bullit [ Wed Aug 25, 2004 12:08 pm ]
Post subject:  Making vehicles static (immobile)


Author:  Keester [ Wed Aug 25, 2004 4:18 pm ]
Post subject: 

This example from ObjectSpawns.con places a helo which cannot be moved either by flying it, crashing into it, by gravity, etc.

Object.create HeliSpawner
Object.absolutePosition 2527/200/845
Object.rotation -90.0197823/0/1.52588e-005
Object.setOSId 0
Object.setTeam 2
ObjectTemplate.HoldObject 1

Author:  Bullit [ Wed Aug 25, 2004 4:24 pm ]
Post subject: 

nice, thanks for the reply Keester, youve been a bang up addition to these forums. This is an awesome collective of SSM info here.

Author:  tanfhltu [ Wed Aug 25, 2004 5:18 pm ]
Post subject: 

are you sure that will prevent you from flying it? i read somewhere once that if you spawned in a vehicle that had that set, that you could go to the pilot PCO and begin flying it. it allowed one to place planes in the air, and stick there until someone spawned in them, in which case they would start flying it.

if so, i was thinking of two alternative ideas to making this work:

1) come up with a way to disable the pilot PCO in a vehicle (so you couldn't move to it)

2) somehow "breaking" the engine object, so the vehicle wont move... for example, maybe try changing accelleration values to all 0's or something.

Author:  Bullit [ Wed Aug 25, 2004 5:24 pm ]
Post subject: 

I havent noticed that you can spawn in the carrier, but if they get into the pilot house, the holdobject line will be nulled?

Author:  tanfhltu [ Wed Aug 25, 2004 5:51 pm ]
Post subject: 

well, like for example. i remember palidan or someone else saying once that he used holdobject to hold aircraft in mid-air. he then put one of the soldier spawn points at those exact same coordinates, and set the spawnpoint to enteronspawn (i think that's the exact name for it.. this is the same property that makes you spawn inside the Mi8 when you spawn there). then, once your in the aircraft, you can start flying it and it goes.

Author:  Bullit [ Wed Aug 25, 2004 6:02 pm ]
Post subject: 

Ok, Ill give it a whirl when I get home and give feedback on it.

If the nullobject prevents the vehicle from moving, once player gains access to vehicle, the Pilot PCO will need to be changed from what I can tell. The nullobject just keeps the vehicle from moving once that vehicle has spawned (again, from what I can tell.)

Film at 11.

Author:  Keester [ Wed Aug 25, 2004 11:33 pm ]
Post subject: 

I wasn't able to fly the helo, though the rotors did turn.

My guess is that it must be addtemplate'd to another vehicle in order for the HoldObject to be nullified when someone enters. I'm really not sure though.

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