Veteran Soldiers

General Category => General Discussion => Topic started by: VS|B0RG on April 07, 2012, 02:29:31 pm


Title: VS camo switch binded key
Post by: VS|B0RG on April 07, 2012, 02:29:31 pm
Well, canīt find but should be something like this...The example is with name VS|TheBorg... forest and desert camos. Binded key = "X"

//SWITCHING VS Camo colors
set forest "seta name "^1VS^0|^mT^hh^0r^mB^h0^0R^mG; set color vstr desert; echo ^1CURRENT NAME:^1VS^0|^mT^hh^0r^mB^h0^0R^mG"
set desert "seta name "^nVS^o|^llT^nh^oe^lB^n0^oR^lG"; set color vstr forest; echo ^1Current name: ^nVS^o|^llT^nh^oe^lB^n0^oR^lG"
set color "vstr forest"
bind X "vstr color"


I must have somewhere the winter, urban and Carnival camo colors.

EDIT: I found this one, with sound:

//NAME TOGGLE - Toggle name's color when pressing X key
set jungle "seta name "^1VS^0|^mw^hA^0r^mR^hi^00^mr"; play sound\movers\switches\switch_02.wav; set clann vstr desert; echo ^1CURRENT NAME: ^1VS^0|^mw^hA^0r^mR^hi^00^mr"
set desert "seta name "^nVS^o|^lw^nA^or^lR^ni^o0^lr"; play sound\world\alarm_01.wav; set clann vstr jungle; echo ^1CURRENT NAME: ^nVS^o|^lw^nA^or^lR^ni^o0^lr"
set clann "vstr jungle"
bind X "vstr clann"
Title: Re: VS camo switch binded key
Post by: VS|wArRi0r on April 08, 2012, 11:46:03 am
And I put it where?  :P thank you.  ;D
Title: Re: VS camo switch binded key
Post by: VS|B0RG on April 08, 2012, 02:24:54 pm
Inside your custom *.CFG... or inside autoexec.cfg file
Title: Re: VS camo switch binded key
Post by: VS|wArRi0r on April 09, 2012, 03:47:59 am
Aaah i remember  ;D It works! Thank you.

Just one mistake if others want to use it:

You forgot a -r- in deseRt. (name toggle)

//NAME TOGGLE - Toggle name's color when pressing X key
set jungle "seta name "^1VS^0|^mw^hA^0r^mR^hi^00^mr"; play sound\movers\switches\switch_02.wav; set clann vstr deset; echo ^1CURRENT NAME: ^1VS^0|^mw^hA^0r^mR^hi^00^mr"
set desert "seta name "^nVS^o|^lw^nA^or^lR^ni^o0^lr"; play sound\world\alarm_01.wav; set clann vstr jungle; echo ^1CURRENT NAME: ^nVS^o|^lw^nA^or^lR^ni^o0^lr"
set clann "vstr jungle"
bind X "vstr clann"
Title: Re: VS camo switch binded key
Post by: VS|B0RG on April 09, 2012, 05:44:33 am
Fixed ;)
zanks