Home   Help Search Login Register  

Author Topic: Weapon Selection on G36 {SOLVED}  (Read 2148 times)

0 Members and 1 Guest are viewing this topic.

Offline Dajan

  • Members
  • *
Weapon Selection on G36 {SOLVED}
« on: 22 Jan 2010, 22:15:42 »
Right, this only seems to apply to one family of weopns: the [b/]G36[/b] of BIS creation.

when scripted in thus:
Code: [Select]
// alter loadout

_who = _this;
removeallweapons _who;
// unit is now empty

_who addmagazine "30Rnd_556x45_Stanag";
_who addmagazine "30Rnd_556x45_Stanag";
_who addmagazine "30Rnd_556x45_Stanag";
_who addmagazine "30Rnd_556x45_Stanag";
_who addmagazine "30Rnd_556x45_Stanag";
_who addmagazine "30Rnd_556x45_Stanag";
_who addmagazine "30Rnd_556x45_Stanag";
_who addmagazine "30Rnd_556x45_Stanag";
_who addmagazine "30Rnd_556x45_Stanag";
_who addmagazine "handGrenade";
_who addmagazine "handGrenade";
_who addmagazine "handGrenade";
// primary and secondary weapon 12 slots

_who addmagazine "15Rnd_9x19_m9";
_who addmagazine "15Rnd_9x19_m9";
_who addmagazine "15Rnd_9x19_m9";
_who addmagazine "15Rnd_9x19_m9";
_who addmagazine "15Rnd_9x19_m9";
_who addmagazine "15Rnd_9x19_m9";
_who addmagazine "15Rnd_9x19_m9";
_who addmagazine "15Rnd_9x19_m9";
// pistol 8 slots

_who addweapon "binocular";
_who addweapon "nvgoggles";
// misc 2 slots

_who addweapon "g36a";
_who addweapon "m9";
_who addweapon "throw";
// Weapon slots slots

_who selectweapon "g36a";
The g36 will be in-hand and raised as the mission starts, but will not be selected - ie not crosshair, can't fire, no mag listed. To use you need to spam the changeammo button.
Previously using _who selectweapon "g36a"; would correct this, but both the G36A and G36K refuse to be selected.
Is there some hidden muzzle that I need to write in?
Also both are afflcted (or seem to be) with a mysterious need to be at the top of the list of added weapons, placing them lower down causes another weapon to be selected and prepared as the script fires.

Any thoughts? TIA

{EDIT}

Solved it myself, after much cursing and trawling the BIS configs.

The G36a and G36k require muzzlefar to work
« Last Edit: 22 Jan 2010, 23:18:17 by Dajan »