[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 - What guns are on what vehicles?

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Tue Jun 17, 2025 12:01 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 16 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Wed Mar 04, 2009 12:47 am 
Offline

Joined: Tue Jan 30, 2007 10:58 pm
Posts: 329
Location: www.TKO.clanservers.com
I know this is for BF1942... but I had a similar experience in BFV when attempting to alter the machinegun on the M113 vehicle. You can read that post .

Basically what I learned is that sometimes a projectile is defined within a specific vehicle's Weapons.con file. So in order for me to change the machinegun on the M113 I ended up having to open the Sheridan's Weapons.con file. I'm just guessing that the Humvee weapon you're attempting to alter might be defined in another vehicle's Weapons.con file. Good luck :o

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


Top
 Profile Send private message E-mail  
 
PostPosted: Wed Mar 04, 2009 1:59 am 
Offline
User avatar

Joined: Sun Dec 31, 2006 12:13 am
Posts: 2027
Follow the bread crumbs!



rem *** HumveeComplex ***
ObjectTemplate.create Bundle HumveeComplex
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate lodHumveeCockpit
rem ObjectTemplate.setPosition 0/0.6/-0.999
ObjectTemplate.addTemplate HumveeCamera
ObjectTemplate.setPosition -0.38/0.82/-1.
ObjectTemplate.addTemplate HumveeSeat
ObjectTemplate.setPosition -0.399/0.6/-0.75
ObjectTemplate.addTemplate HumveeEntry
ObjectTemplate.setPosition -1/0/0
ObjectTemplate.addTemplate HumveeEntry
ObjectTemplate.setPosition 1/0/0
ObjectTemplate.addTemplate Humvee50Cal_PCO1
ObjectTemplate.setPosition -.1/1.45/-1.3
ObjectTemplate.setRotation -179.99/0/0
ObjectTemplate.addTemplate HumveePassengerPCO
ObjectTemplate.setPosition 0/0.35/-0.25
ObjectTemplate.addTemplate HumveePassengerPCOBackLeft
ObjectTemplate.setPosition -.55/0.35/-0.85
ObjectTemplate.addTemplate HumveePassengerPCOBackRight
ObjectTemplate.setPosition -.1/0.35/-0.85
ObjectTemplate.addTemplate HumveeEngine
ObjectTemplate.setPosition 0/0.35/-0.25


Humvee50Cal_PCO1 sounds promising (for obvious reasons)........which leads us here:

** Rem Humvee Machine Gun Mount
rem *** Humvee50Cal_PCO1 ***
ObjectTemplate.create PlayerControlObject Humvee50Cal_PCO1
ObjectTemplate.setNetworkableInfo HumveeBodyInfo
ObjectTemplate.aiTemplate HumveeTopMG
rem -------------------------------------
ObjectTemplate.addTemplate HumveeEntry
ObjectTemplate.setPosition 0/-1.9/0.98
ObjectTemplate.addTemplate HumveeEntry
ObjectTemplate.setPosition 0/-1.9/-3.42
ObjectTemplate.addTemplate Humvee50Cal_Holder
ObjectTemplate.setPosition -.2/0/-.2
ObjectTemplate.setRotation 0/0/0


Look at the addTemplate lines. HumveeEntry? I doubt thats going to lead us to the weapon. Humvee50Cal_Holder? Yeah, its just a holder, but maybe the gun is attached to it. lets scroll down and find it...

rem *** 50Cal_Holder ***
ObjectTemplate.create RotationalBundle Humvee50Cal_Holder
ObjectTemplate.setNetworkableInfo HumveeTurretInfo
rem ObjectTemplate.loadSoundScript Sounds/M1A1Turret.ssc
ObjectTemplate.geometry Humvee_Turret
rem -------------------------------------
ObjectTemplate.addTemplate Humvee_50Cal_console
ObjectTemplate.setPosition 0/0.2/-.9
ObjectTemplate.addTemplate Humvee50CalSeat
ObjectTemplate.setPosition 0/-.4/.2
ObjectTemplate.setRotation -179.99/0/0


Again...50Cal_Console sounds promising...that leads to (literally a few lines down):

rem *** Humvee_50Cal_console ***
ObjectTemplate.create RotationalBundle Humvee_50Cal_console
ObjectTemplate.setNetworkableInfo HumveeGunInfo
ObjectTemplate.geometry Humvee_MGun_mount_M1
rem -------------------------------------
ObjectTemplate.addTemplate Browning
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation -179.999/0/0
ObjectTemplate.addTemplate HumveeCamera2
rem *** Tan raised view to avoid the range sight ***
rem ObjectTemplate.setPosition 0/0.2/.7
ObjectTemplate.setPosition 0/0.4/.7
ObjectTemplate.setRotation -179.99/0/0
rem -------------------------------------
ObjectTemplate.setMinRotation 0/-10/0
ObjectTemplate.setMaxRotation 0/20/0
ObjectTemplate.setMaxSpeed 0/60/0
ObjectTemplate.setAcceleration 0/-1000/0
ObjectTemplate.setInputToPitch c_PIMouseLookY
ObjectTemplate.setAutomaticPitchStabilization 1


There she is!!! Browning. Thats what you're looking for.

The browning is found in objects/stationary_weapons/Browning/objects.con. Default projectile is 50cal_Projectile.


Top
 Profile Send private message E-mail  
 
PostPosted: Wed Mar 04, 2009 2:04 am 
Offline

Joined: Tue Jan 30, 2007 10:58 pm
Posts: 329
Location: www.TKO.clanservers.com
Iced Earth is the man, he knows his $hiznit ;)

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


Top
 Profile Send private message E-mail  
 
PostPosted: Wed Mar 04, 2009 2:50 am 
Offline
User avatar

Joined: Sat May 10, 2008 3:00 am
Posts: 1877
BrowningHiPo is the pistol. MG42.... :lol:
And yes, "Follow the bread crumbs!", because Objects.rfa has all your answers. Always.

_________________
Image


Top
 Profile Send private message E-mail  
 
PostPosted: Wed Mar 04, 2009 3:23 am 
Offline

Joined: Tue Mar 03, 2009 1:23 am
Posts: 11
Location: Central Oregon Coastline


Top
 Profile Send private message E-mail  
 
PostPosted: Wed Mar 04, 2009 3:45 am 
Offline
User avatar

Joined: Sun Dec 31, 2006 12:13 am
Posts: 2027
Yup YW man....looks like you've got a nice bot killer going there, lol.

If you want to get the humvee to steer in the water, you're going to need a rudder from a plane...without looking I would .active the humveecomplex, then go to a jets physics.con file i think, find a rudder, and addtemplate it to the humvee. Make sure the rotation is copied, too...this is the most important part. :shock:


Top
 Profile Send private message E-mail  
 
PostPosted: Wed Mar 04, 2009 11:02 am 
Offline
User avatar

Joined: Sat May 10, 2008 3:00 am
Posts: 1877
Iced, I just use LCVP rudders on my amphibious vehicles. I think plane's have networkableinfo.

_________________
Image


Top
 Profile Send private message E-mail  
 
PostPosted: Wed Mar 04, 2009 10:46 pm 
Offline
User avatar

Joined: Sun Dec 31, 2006 12:13 am
Posts: 2027


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

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 37 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