[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 - Machine gun

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Tue Jun 17, 2025 7:13 am

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 10 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Machine gun
PostPosted: Mon Feb 11, 2008 5:11 pm 
Offline

Joined: Sun Jan 13, 2008 6:12 am
Posts: 215


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Machine gun
PostPosted: Mon Feb 11, 2008 5:51 pm 
Offline

Joined: Mon Aug 16, 2004 12:00 am
Posts: 2120
The one you have to spawn is not just the gun, something like MG42_stationary. I don't remember exactly, check objects.rfa


Top
 Profile  
 
 Post subject: Re: Machine gun
PostPosted: Mon Feb 11, 2008 9:08 pm 
Offline

Joined: Wed Oct 11, 2006 4:19 pm
Posts: 211
Location: Northern California
The MK19 is called up here:
Humvee_MK19_console

The Humvee_MK19_console is called up here:
Humvee_MK19_Holder

The Humvee_MK19_console is called up here:
Humvee_MK19_PCO1

The Humvee_MK19_PCO1 is called up here:
Humvee_MK19Complex

and finally

The Humvee_MK19Complex is called up here:
lodHumvee_MK19

Is the lodHumvee_MK19 spawnable?
Let us know!


I would love a stationary grenade launcher of this....not a mortar tube.
The above call outs are very similar to the DPV coding.

What we have done is changed the projectile for the flak38 and used those for base defense, angle the object so you can shoot at a -15 degree angle...they fire:
ObjectTemplate.projectileTemplate 25mmChaingunProjectileM2A3

_________________
Image


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Machine gun
PostPosted: Mon Feb 11, 2008 11:26 pm 
Offline
User avatar

Joined: Thu Oct 19, 2006 5:03 am
Posts: 1209

_________________
Image

Image


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Machine gun
PostPosted: Tue Feb 12, 2008 12:20 am 
Offline

Joined: Mon Aug 16, 2004 12:00 am
Posts: 2120
I don't think you can spawn a stationary MK19, I've never seen one.


Top
 Profile  
 
 Post subject: Re: Machine gun
PostPosted: Tue Feb 12, 2008 12:45 am 
Offline

Joined: Wed Oct 11, 2006 4:19 pm
Posts: 211
Location: Northern California
I have spawned the MK19 from my pickup truck, dropping those things as it drives....dumb thing to do....but they were spawning in...but had no collision physics.

So tonight I will test spawn the MK19_PC01 and the other stuff I mentioned.

_________________
Image


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Machine gun
PostPosted: Tue Feb 12, 2008 1:04 am 
Offline
User avatar

Joined: Sun Sep 16, 2007 2:33 pm
Posts: 1809
Location: Your moms house
I saw something on the mark 19

MK19_GUN ????
^
That meen anything?


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Machine gun
PostPosted: Tue Feb 12, 2008 5:05 am 
Offline

Joined: Wed Oct 11, 2006 4:19 pm
Posts: 211
Location: Northern California
ObjectTemplate.setObjectTemplate 3 Humvee_MK19_console shows but no entry
ObjectTemplate.setObjectTemplate 4 Humvee_MK19_Holder shows but no entry
ObjectTemplate.setObjectTemplate 5 Humvee_MK19_PCO1 shows but no entry
ObjectTemplate.setObjectTemplate 6 Humvee_MK19Complex = crash

I tried other stationary weapons that aren't meant to be spawned and they just sit there.

So use the flak38 with "man" ammo.

_________________
Image


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

All times are UTC


Who is online

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