Battlefield Modding Tutorials BFMODS
https://battlefieldmodding.com/ssm/phpBB3/

Browning projectile
https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=2229
Page 1 of 1

Author:  cc-vortex [ Thu Aug 03, 2006 9:11 pm ]
Post subject:  Browning projectile

Greets -

I have added a 3rd seat (sort of) to the BlackMedal jeep and a Browning MG sticking out of the front. I wanted to change the Browning's projectile to a Flak38 projectile, but I can't get it to work.

ObjectTemplate.Active BlackMedalComplex
ObjectTemplate.addTemplate M3A1Browning_PCO1
ObjectTemplate.projectileTemplate Flak38_Projectile
ObjectTemplate.loadSoundScript Sounds/flak38Carriage.ssc

I can get that to work for the knife (yes, the knives shoot Flak) and a rifle, but not that (or ANY) Browning. Any ideas?

Thanks all,

- vort

Author:  Why Two Kay [ Thu Aug 03, 2006 9:30 pm ]
Post subject: 

The way the browning works on the M3a1:

The M3A1Complex has the M3A1Browning_PCO1 addtemplated to it.
The M3A1Browning_PCO1 has a M3A1Browning_Holder addtemplated to it. (along with the Vehicle Entry)
The M3A1Browning_Holder has a M3A1_Browning_console addtemplated to it. (along with the seat)
The M3A1_Browning_console has a browning addtemplated to it.

So you need to change the projectile template of the browning, to change what it shoots.

ObjectTemplate.Active Browning
ObjectTemplate.projectileTemplate Flak38_Projectile

As far as the sound script, I'm not familiar with those, so I can't tell you have to add/change that. But the M3A1Browning_Holder has a ObjectTemplate.loadSoundScript Sounds/M3A1Turret.ssc, so you might want to change the soundscript on that.

Author:  cc-vortex [ Fri Aug 04, 2006 5:37 am ]
Post subject: 

Ahhh, OK, thanks man, appreciate it. :D

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