I tried to use your LG script to change the sensitivity while firing but to no success. It just doesn't work for me as it doesn't change neither the sensitivity, the crosshair or anything really.
This is what I have:
Code:
seta _Gaunt "weapon 1;_zFireOff"
seta _MG "weapon 2;_zFireOff"
seta _SG "weapon 3;_zFireOff"
seta _GL "weapon 4;_zFireOff"
seta _RL "weapon 5;_zFireOff"
seta _LG "weapon 6;_zFireOn" // runs special settings forfor lg only,
seta _RG "weapon 7;_zFireOff"
seta _PG "weapon 8;_zFireOff"
seta _BFG "weapon 9;_zFireOff"
seta _NG "weapon 11;_zFireOff"
seta _PX "weapon 12;_zFireOff"
seta _CG "weapon 13;_zFireOff"
....
binds and vars etc..
...
// ------------------------------- +zFire script --------------------------------------------------------------------------------
// This script lets you alter what +zfire does for the lg, +zfire is used to replace any bind that was just to "+attack" before
// you need either _zFireOn or _zFireOff in all weapon binds for it to work properly
// so I only want it to change my crosshair as i fire with the LG, so all weapons other than the LG use _zFireOff
alias -zfire "-attack;vstr _chDefaultStyle" //changes back to all default weaponsettings
alias +zfire "+attack" //setup +zfire or you wouldn't be able to fire or change who you spectate until you change a weapon.
alias zFirePt2 "+attack;vstr _LgSettings" //2nd stage alias as otherwise you can't script more than one thing to change in an alias, loads all lg settings.
alias _zFireOn "alias +zfire zFirePt2"
alias _zFireOff "alias +zfire +attack;vstr _chDefaultStyle" //do NOT call -zfire as it uses -attack it would stop next weapon firing, if fire as held during a change
// just revert reset +zfire to +attack only and as this is called on weapon change, loadDefWeapSettings too.
// ------ LG Settings -----------------------
seta _LgSettings "sensitivity 4; cg_crosshairSize 40;" // fine cross 38
// ------ Default Settings -----------------------
seta _chDefaultStyle "sensitivity 6; cg_crosshairSize 32;" //set DEFAULT sensitivity
Any help would be appreciated. Anyway thanks for the great guide.