[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 - PlayerControlObject Spawning

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Wed Jun 18, 2025 5:41 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 
Author Message
PostPosted: Tue Apr 01, 2008 9:19 pm 
Offline

Joined: Wed Dec 19, 2007 8:21 pm
Posts: 256
Im creating a new thread on this subject that was originally started by Losnar.

I have added PCOs to other vehicles such as the Loach, Chinook and Huey - made the Patton Huey on my server and a killer AC-47 bomber with 2 gun turrets on top and underneath the plane's fuselage. Also added a Patton turret to a Chinook and a Tango Cannon turret to the Chinook that sits under the back rotor blade. Bloody awesome - recoils is kool too, really makes the pilot work to fly the craft.

So I have spawned for example the zippo flame thrower in the air on one of my custom maps but I cant get into the PCO. Does the PCO have to be connected to something in order to get into it? I have seen some servers with ZSU turrets or SAM21 turrets on bunkers. Can someone help me out with the code on entering the PCO not connected to a vehicle.

Losnar also questioned whether a soldier in a PCO could be hurt and it seemed, server side the answer was no, but that it could be destroyed in a client side map. Has anyone had that work yet?


Top
 Profile Send private message E-mail  
 
PostPosted: Wed Apr 02, 2008 12:50 am 
Offline

Joined: Tue Jan 30, 2007 10:58 pm
Posts: 329
Location: www.TKO.clanservers.com

_________________
[TKO] Tactical Knock Out : IP Address: 8.2.122.210 : Good Luck Dying


Top
 Profile Send private message E-mail  
 
PostPosted: Wed Apr 02, 2008 1:18 am 
Offline

Joined: Wed Dec 19, 2007 8:21 pm
Posts: 256
Yeah, my tango cannon, (Frankenstein mod) was all CSM for it to be attached to the chinook. I figured the PCO would not remain attached to the vehicle in a SS map as the client and server would be confused.

What Im looking for is how to spawn the PCO (SS or CS) such that it remains staitionary in the position placed and soldiers can enter the PCO. I have spawned the PCO, but cant get the soldier to enter it.


Top
 Profile Send private message E-mail  
 
PostPosted: Wed Apr 02, 2008 1:46 am 
Offline

Joined: Tue Jan 30, 2007 10:58 pm
Posts: 329
Location: www.TKO.clanservers.com
Ah, yeah that's what I figured... too bad you can't attach PCO's to vehicles server-side :(

As far as I know you cannot get the Zippo turret to work server-side. I think the reason behind this is that the turret isn't technically a separate PCO. What I mean by that is there's only 1 entry spot on the Zippo, and that's the driver seat. The Zippo turret is somehow tied directly to that driver seat so when you don't spawn the entire vehicle it doesn't really work. I know from experience, I tried spawning just the Zippo turret in the past... and as you're already well aware it'll show up... but you cannot enter it.

Any other type of PCO that counts as different position (ex: BRDM turret = pos.2, BM21 turret = pos.2, AC47 minigun = pos.3) should work. The problem with those is that you cannot be killed out of them. The game developers never intended for anyone to be killed out of the Tango turrets without the entire ship going down! Exceptions to this rule might be something like the MUTT turret... but I haven't verified this.

Good luck, let us know what you find out.

_________________
[TKO] Tactical Knock Out : IP Address: 8.2.122.210 : Good Luck Dying


Top
 Profile Send private message E-mail  
 
PostPosted: Sat Apr 05, 2008 8:24 am 
Offline

Joined: Tue Nov 27, 2007 7:56 pm
Posts: 1226
Well, maybe just create a seperate PCO with only the flamethrower and addtemplate a entry to it.


Top
 Profile Send private message E-mail  
 
PostPosted: Sun Apr 13, 2008 8:30 am 
Offline

Joined: Tue Nov 27, 2007 7:56 pm
Posts: 1226


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.  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 41 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