Switching fire modes

Ask questions, discuss ideas, get answers
Post Reply
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Switching fire modes

Post by Swaffy »

You would have to create a second weapon. Like in my mod, I have a weapon kit with a fully automatic MP5SD in slot 3 and a semi-automatic MP5SD in slot 2. You can also set them to share ammunition.

You also should put the "Objects.con" scripting in one single ".con" file. My MP5SD [fully-auto] and MP5SDs [semi-auto] are in the same ".con" file. The MP5SDs was created below my MP5SD. I put this line on the MP5SDs to allow them to share ammunition:

ObjectTemplate.setWeaponLink 3

That links their ammunition. Make sure the mag size and number of mags are the same for both weapons.
They both have to have separate animations to work correctly.

[I don't believe the burst fire mode is even possible. Unless you have a mag size of 3 with "auto reload."]
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
User avatar
HJGF
Posts: 233
Joined: Fri Feb 05, 2010 10:28 pm

Re: Switching fire modes

Post by HJGF »

of course u can have burst fire, is not exactly burst fire but u can.
Image
Image
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Switching fire modes

Post by Swaffy »

Step 1: Spawn on the map with an automatic weapon.
Step 2: Pull out your automatic weapon.
Step 3: Click the fire button. Once three rounds are fired, release the fire button.
Step 4: Repeat as necessary until reloading is needed.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
tanelorn
Posts: 42
Joined: Thu Oct 14, 2010 6:19 pm

Re: Switching fire modes

Post by tanelorn »

DCR has 3 round burst M16.
Tanelorn-Desert Combat Realism mod lead
DCR Website: http://www.tanelorn.us/dcr/pages/index.htm
DCR AI development: http://www.battlefieldsingleplayer.com/ ... opic=15529
DCR new features: http://bfmods.com/viewtopic.php?f=6&t=727
Post Reply