[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
https://battlefieldmodding.com/ssm/phpBB3/

Machine gun
https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=3824
Page 1 of 2

Author:  smytti12 [ Mon Feb 11, 2008 5:11 pm ]
Post subject:  Machine gun


Author:  Why Two Kay [ Mon Feb 11, 2008 5:51 pm ]
Post subject:  Re: Machine gun

The one you have to spawn is not just the gun, something like MG42_stationary. I don't remember exactly, check objects.rfa

Author:  ZOOMER [ Mon Feb 11, 2008 9:08 pm ]
Post subject:  Re: Machine gun

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

Author:  Losnar [ Mon Feb 11, 2008 11:26 pm ]
Post subject:  Re: Machine gun


Author:  Why Two Kay [ Tue Feb 12, 2008 12:20 am ]
Post subject:  Re: Machine gun

I don't think you can spawn a stationary MK19, I've never seen one.

Author:  ZOOMER [ Tue Feb 12, 2008 12:45 am ]
Post subject:  Re: Machine gun

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.

Author:  MR PINK BALLS [ Tue Feb 12, 2008 1:04 am ]
Post subject:  Re: Machine gun

I saw something on the mark 19

MK19_GUN ????
^
That meen anything?

Author:  ZOOMER [ Tue Feb 12, 2008 5:05 am ]
Post subject:  Re: Machine gun

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.

Page 1 of 2 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/