[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

Battlefield Modding Tutorials
It is currently Sat Apr 27, 2024 2:02 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 56 posts ]  Go to page 1, 2, 3, 4, 5 ... 7  Next
Author Message
PostPosted: Wed Aug 25, 2004 12:08 pm 
Offline

Joined: Wed Aug 25, 2004 12:00 am
Posts: 89
Location: STL


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Wed Aug 25, 2004 4:18 pm 
Offline

Joined: Tue Aug 17, 2004 12:00 am
Posts: 100
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

_________________
<a href="http://www.roguecell.com">RogueCell</a> DC Final - 139.55.147.27


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Wed Aug 25, 2004 4:24 pm 
Offline

Joined: Wed Aug 25, 2004 12:00 am
Posts: 89
Location: STL
nice, thanks for the reply Keester, youve been a bang up addition to these forums. This is an awesome collective of SSM info here.


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Wed Aug 25, 2004 5:18 pm 
Offline

Joined: Tue Aug 17, 2004 12:00 am
Posts: 1090
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.

_________________

Rules??? Don't be silly... this is war


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Wed Aug 25, 2004 5:24 pm 
Offline

Joined: Wed Aug 25, 2004 12:00 am
Posts: 89
Location: STL
I havent noticed that you can spawn in the carrier, but if they get into the pilot house, the holdobject line will be nulled?


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Wed Aug 25, 2004 5:51 pm 
Offline

Joined: Tue Aug 17, 2004 12:00 am
Posts: 1090
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.

_________________

Rules??? Don't be silly... this is war


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Wed Aug 25, 2004 6:02 pm 
Offline

Joined: Wed Aug 25, 2004 12:00 am
Posts: 89
Location: STL
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.


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Wed Aug 25, 2004 11:33 pm 
Offline

Joined: Tue Aug 17, 2004 12:00 am
Posts: 100
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.

_________________
<a href="http://www.roguecell.com">RogueCell</a> DC Final - 139.55.147.27


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 56 posts ]  Go to page 1, 2, 3, 4, 5 ... 7  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 244 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group