Re: Switching fire modes
Posted: Tue Aug 31, 2010 3:28 am
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."]
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."]