Help - Search - Members - Calendar
Full Version: humvee
Battlefield SinglePlayer Forum > Main > BF2/BF2142/BF3/BFPlay4Free Discussion > BF2 & BF2142 Advanced Topics
Tri-Tard
i played was playing USI and they have a humvee without a turret on top and the doors are off. well, i thought it would be a farely simple task to remove the 50 cal on top of the humvee and make it to where a guy could stick out the top and use his own weapon. so, i removed the 50 cal and the ammo box. the only problem is that the metal plate is still on top of the humvee. is there a way to remove this and set it to where a guy can use his own weapon?

EDIT: since the AA vehicles have an open top and no heavy machine gun, would it work if i copied the code from the AA vehicle and replace the humvee code with it? but, if this would work, would it also remove everything including the metal plate on the top of the humvee?
SatNav
open the USJEP_HMMWV.con and delete

CODE
ObjectTemplate.addTemplate USJEP_HMMWV_CupolaBase
ObjectTemplate.setPosition 0/-0.2991/-0.1348


and delete

CODE
ObjectTemplate.create PlayerControlObject USJEP_HMMWV_CupolaBase
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.geometryPart 2
ObjectTemplate.addTemplate USJEP_HMMWV_Cupola
ObjectTemplate.setPosition 0/1.2748/-0.0013

ObjectTemplate.create RotationalBundle USJEP_HMMWV_Cupola
ObjectTemplate.collisionPart 3
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.physicsType 3
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.geometryPart 3
ObjectTemplate.addTemplate USJEP_HMMWV_Lav
ObjectTemplate.setPosition 0/0.3655/0.6135

ObjectTemplate.create RotationalBundle USJEP_HMMWV_Lav
ObjectTemplate.collisionPart 4
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.physicsType 3
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.geometryPart 4


open the tweak and change

CODE
ObjectTemplate.activeSafe PlayerControlObject USJEP_HMMWV_CupolaBase


to

CODE
ObjectTemplate.create PlayerControlObject USJEP_HMMWV_CupolaBase


add this to the top of the tweak just above the ObjectTemplate.addTemplate USJEP_HMMWV_Codriver line.

CODE
ObjectTemplate.addTemplate USJEP_HMMWV_CupolaBase
ObjectTemplate.setPosition 0/0.2/0



go down to the ObjectTemplate.create PlayerControlObject USJEP_HMMWV_CupolaBase template and change the seat animation from

CODE
ObjectTemplate.seatAnimationSystem Objects/Vehicles/Common/Animations/3p_gunturret_B_animSys.inc


to

CODE
ObjectTemplate.seatAnimationSystem Objects/Vehicles/Common/Animations/3p_gunturret_C_animSys.inc


add these line underneath the line above.

CODE
ObjectTemplate.seatLeftRotationLimit -360
ObjectTemplate.seatRightRotationLimit 360


you should now be able to stand through the hole and shoot your hand weapons.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.