[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 - 2 seater co-pilot question

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Mon May 06, 2024 8:48 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 15 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: Sun Aug 20, 2006 4:32 pm 
Offline

Joined: Mon Nov 15, 2004 12:00 am
Posts: 696
Location: Germany, US Depot
I ve been playing with it , to me it seems that the copy of the player is created because the guided rocket and the f 14 are both airplanes by definition.

however , in the mean time i came up with this, trying to get the gunner to be able to take out ground targets more precice, like with a guided rocket.

to put in ObjectSpawns.con


ObjectTemplate.create Camera F14RIO_Cam
ObjectTemplate.setMinRotation 0/-20/0
ObjectTemplate.setMaxRotation 0/120/0
ObjectTemplate.setMaxSpeed 90/90/0
ObjectTemplate.setAcceleration 5000/5000/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.OutsideHudOffset 0/0/8.0
ObjectTemplate.setInputToPitch c_PIMouseLookY
ObjectTemplate.zoomFov 0.4



ObjectTemplate.create FireArms F14RIO_Firearm
ObjectTemplate.projectileTemplate GBU27Bomb
ObjectTemplate.projectilePosition 0/0/2
ObjectTemplate.magSize 3
ObjectTemplate.numOfMag 2
ObjectTemplate.magType 0
ObjectTemplate.reloadtime 10
ObjectTemplate.recoilSpeed 50.0
ObjectTemplate.roundOfFire 1
ObjectTemplate.autoReload 1
ObjectTemplate.AmmoType 8
ObjectTemplate.FireOnce 1
ObjectTemplate.setInputFire c_PIAltFire
ObjectTemplate.fireInCameraDof 1
ObjectTemplate.velocity 1000
ObjectTemplate.setPcoId 1


and this in ObjectSpawnTemplates.con

ObjectTemplate.active F14BMk83Rack
ObjectTemplate.addTemplate F14RIO_Firearm
ObjectTemplate.setPosition 0.003/0.035/0
ObjectTemplate.setPcoId 1


now that works serverside so far, giving the gunner a bomb on crosshair that travels like a rocket. if u reduce velocity can actually see the bomb.

I then tried this:

ObjectTemplate.active F14BRIO
ObjectTemplate.removeTemplate 2
ObjectTemplate.active F14BRIO
ObjectTemplate.addTemplate F14RIO_Cam
ObjectTemplate.setPosition 0.003/-2/0
ObjectTemplate.vehicleFov 0.4


in order to unlock the gunner camera.

camera works great client side, but not serverside.

If anyone know how to unlock the cam serverside , pls let me know.


Top
 Profile Send private message E-mail  
 
PostPosted: Fri Jan 04, 2008 12:24 pm 
Offline

Joined: Fri Jan 04, 2008 9:41 am
Posts: 17
I've also been trying to get this to work and had the same problems with my character make a split personality and
occupying both pilot and co-pilot seats and all that..

BUT! how come the system works with the AH-64 Apache (Guided_Hellfire) in DCX 0.9?
or it seems to work atleast, haven't tryied it with anyone flying the chopper at the same time but I can
atleast succesfully fire a guided hellfire or guided tomahawk and kill a target/crash or whatever and
spawn back in the gunner position without occupying both positions


Top
 Profile Send private message E-mail  
 
PostPosted: Fri Jan 04, 2008 6:32 pm 
Offline

Joined: Fri Jan 04, 2008 9:41 am
Posts: 17
I would sell my mom to get it working, would be so f**king awesome, giving the F-14 LONG RANGE interceptor
some LONG RANGE capabilities :D
I just don't get why it works with thx DCX_AH-64 (Guided_Hellfire) and not F-14. both are two seaters, only
the F-14 goes a little faster :roll:

If anyone has the answer to this riddle plz say so and show how it's done :D
VXF VOLT, do you know how to fix this?


Top
 Profile Send private message E-mail  
 
PostPosted: Sat Jan 05, 2008 3:30 pm 
Offline
User avatar

Joined: Wed Nov 24, 2004 12:00 am
Posts: 257
Location: New York City

_________________
Image
Image
Do everything to the best of your ability and you will find yourself in the future doing everything better than you thought possible.
Anthony Voltano 7/7/4777
VXF VOLT


Top
 Profile Send private message E-mail  
 
PostPosted: Sun Jan 06, 2008 2:52 am 
Offline

Joined: Fri Jan 04, 2008 9:41 am
Posts: 17
Aight thanks alot, I'll try and see if it works :)


Top
 Profile Send private message E-mail  
 
PostPosted: Sun Jan 06, 2008 6:56 pm 
Offline

Joined: Fri Jan 04, 2008 9:41 am
Posts: 17
Hmmz I'm not sure where to put that in tbh

I went into objects/Vehincles/Air/DCX_F-14B/Objects.con

and replaced:

rem *** DCX_F14BRIO ***
ObjectTemplate.create PlayerControlObject DCX_F14BRIO
ObjectTemplate.setNetworkableInfo DCX_F14B_rio_info
ObjectTemplate.aiTemplate DCX_F14BRIO
rem -------------------------------------
ObjectTemplate.addTemplate DCX_F14BEntry
ObjectTemplate.setPosition 0/0/4.1
ObjectTemplate.addTemplate DCX_F14BSeat
ObjectTemplate.setPosition 0/0.5/4.1
rem ObjectTemplate.addTemplate DCX_F14BRIOCamera
ObjectTemplate.addTemplate DCX_F14BMaverickRotationBase
rem ObjectTemplate.setPosition 0/-0.92/-6
ObjectTemplate.setPosition 0/-0.92/6
rem ObjectTemplate.addTemplate DCX_F14BMK83Rack
ObjectTemplate.addTemplate DCX_F14BMAVERICKRackDummy
ObjectTemplate.addTemplate DCX_F14BPhoenixRackDummy
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -3/0/-8.75 0/0/0
ObjectTemplate.GUIIndex 102
ObjectTemplate.setVehicleIcon "Vehicle/Icon_F14B.dds"
ObjectTemplate.setVehicleIconPos 92/95
ObjectTemplate.setNumberOfWeaponIcons 2
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_maverick.dds"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBar
ObjectTemplate.setSecondaryAmmoIcon "Ammo/Icon_aim54.dds"
ObjectTemplate.setSecondaryAmmoBar ABAmmoBar
ObjectTemplate.setHasTurretIcon 1
ObjectTemplate.setCrossHairType CHTIcon
ObjectTemplate.setVehicleCategory VCAir
ObjectTemplate.setVehicleType VTDiveBomber
ObjectTemplate.setToolTipType VTFighter
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_plane3_16x16.tga"

rem *** DCX_F14BMaverickRotationBase ***
ObjectTemplate.create RotationalBundle DCX_F14BMaverickRotationBase
ObjectTemplate.setNetworkableInfo DCX_F14B_rio_info
rem -----------------------------------
ObjectTemplate.addTemplate DCX_F14BMaverickRotationElevation
rem ObjectTemplate.setPosition 0/-0.238/0.007
ObjectTemplate.setPosition 0/-0.438/0.25
rem -----------------------------------
ObjectTemplate.setMinRotation -45/0/0
ObjectTemplate.setMaxRotation 45/0/0
ObjectTemplate.setMaxSpeed 90/0/0
ObjectTemplate.setAcceleration 5000/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX

rem *** DCX_F14BMaverickRotationElevation ***
ObjectTemplate.create RotationalBundle DCX_F14BMaverickRotationElevation
ObjectTemplate.setNetworkableInfo DCX_F14B_rio_info
rem -----------------------------------
ObjectTemplate.addTemplate DCX_F14BRIOCamera
rem ObjectTemplate.setPosition 0/0.5/0.75
rem ObjectTemplate.setPosition 0/-0.2/0.25
ObjectTemplate.addTemplate DCX_F14BMAVERICKRack
ObjectTemplate.addTemplate DCX_F14BPhoenixRack
rem ObjectTemplate.setPosition 0/-0.2/0.25
ObjectTemplate.setPosition 0/0/1.25
rem -----------------------------------
ObjectTemplate.setMinRotation 0/-3/0
ObjectTemplate.setMaxRotation 0/70/0
ObjectTemplate.setMaxSpeed 0/90/0
ObjectTemplate.setAcceleration 0/5000/0
ObjectTemplate.setInputToPitch c_PIMouseLookY

rem *** DCX_F14BRIOCamera ***
ObjectTemplate.create Camera DCX_F14BRIOCamera
rem ObjectTemplate.setMinRotation -45/10/0
rem ObjectTemplate.setMaxRotation 45/60/0
rem ObjectTemplate.setMaxSpeed 90/90/0
rem ObjectTemplate.setAcceleration 5000/5000/0
ObjectTemplate.OutsideHudOffset 0/0/8.0
rem ObjectTemplate.setInputToYaw c_PIMouseLookX
rem ObjectTemplate.setInputToPitch c_PIMouseLookY


with the hellfire rack code posted above and that didn't work but I'm pretty
sure I did somethimg wrong though, I assume there also has to be some changes in
F-14B/Weapons.con :roll: need abit more help please
There are so many possible combinations d'oh >_<


Top
 Profile Send private message E-mail  
 
PostPosted: Sun Jan 06, 2008 6:59 pm 
Offline

Joined: Fri Jan 04, 2008 9:41 am
Posts: 17
I just recently started with this modding stuff so I'm still a n00b :D
But I can atleast figure out how to copy + paste :)


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.  [ 15 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 255 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:
cron
Powered by phpBB® Forum Software © phpBB Group