Sick Posted June 26 Posted June 26 I would like to bind a weapon cycle to mouse but can't seem to get the sentence structure correct any help is appreciated this is what I have in my cfg now: set weaponbank "vstr weaponbank 2" set weaponbank 2 "weaponbank 2; m_pitch 0.022; cg_drawgun 1; com_maxfps 71; set weaponbank vstr weaponbank 3" set weaponbank 3 "weaponbank 3; m_pitch 0.022; cg_drawgun 1; com_maxfps 125; set weaponbank vstr weaponbank 2" bind MOUSE2 "vstr weaponbank" 1 Quote
Platinum VIP Kojootti Posted June 26 Platinum VIP Posted June 26 If this is for sniping, i've have mine setup like this: bind , "seta com_maxfps 71; seta m_pitch "" bind . "seta com_maxfps 250; seta m_pitch "" Or try this set weaponbank "vstr weaponbank 2" set weaponbank 2 "weaponbank 2; seta m_pitch 0.022; seta cg_drawgun 1; seta com_maxfps 71; set weaponbank vstr weaponbank 3" set weaponbank 3 "weaponbank 3; seta m_pitch 0.022; seta cg_drawgun 1; seta com_maxfps 125; set weaponbank vstr weaponbank 2" bind MOUSE2 "vstr weaponbank" 3 Quote
Leader RedBaird Posted June 26 Leader Posted June 26 (edited) I think that it has to be weaponban2, weaponbank3, e, etc. A variable with only one name, not in two parts OH, I get it now, after looking at my own line "bind 0 "weaponbank 10" " "Weaponbank 2" is actually a command, so you cannot use it as a variable. Making changes like this might work. I think that there is a similar config-fraction in our config topic. set weaponbankX "vstr weaponbank2" set weaponbank2 "weaponbank 2; m_pitch 0.022; cg_drawgun 1; com_maxfps 71; set weaponbankX vstr weaponbank3" ___________________________________ Is MOUSE2 the right-click button? You might need mouse 3 or 4. This is in my jaymod etconfig.cfg // The first line is from "execing Razgun.CFG from withing my Start.cfg when starting each session // bind MOUSE1 "+vstr mouse_a mouse_b" bind MOUSE2 "+attack2" bind MOUSE4 "+activate" OKAY, my mistake. My RazGun.cfg is from a post by @Raziel ! No wonder I named it "Razgun.cfg". 😄 Now I am wondering what the + in the "+vstr" does. I will have to check my other configs! BTW, the ending " in my copy was missing, but it works okay, it seems. // loaded 12/18/12 // source http://fearless-assassins.com/topic/38677-attack-cg-drawgun-0-for-mouse1/. // Raziel, Co-Leader, Server:NQ1, Posted 03 September 2012 - 07:12 AM bind Mouse1 "+vstr mouse_a mouse_b" set mouse_a "+attack; cg_drawgun 0" set mouse_b "-attack; cg_drawgun 1" I will have to check for " +vstr " in my gameDay advertising configs! I wonder if that was a source of some of my troubles with them? Raziel's particular structure won't work for what you want. It is a toggle and does not really change settings, which is what you want to do. Maybe the +vstr is what makes it a toggle? 😄 at RedBaird, for running Raziel's cfg for nearly 12 years and not really understanding it, other than It Works! 😄 Raziel's topic : Oops, @Kojootti replied as I was writing this typicaly over-long reply! Edited June 26 by RedBaird changes in green, for clarity 1 1 Quote
Platinum VIP Kojootti Posted June 26 Platinum VIP Posted June 26 And @Sick already figured out as i typed it so 😄 1 1 Quote
Sick Posted June 26 Author Posted June 26 thanks i managed to get it working earlier right after i posted it :))) 2 1 Quote
Leader RedBaird Posted June 26 Leader Posted June 26 2 minutes ago, Sick said: thanks i managed to get it working earlier right after i posted it :))) Share what how you modified it for all of us! 😄 1 1 Quote
Sick Posted June 26 Author Posted June 26 (edited) set w-bank3e "weaponbank 3; m_pitch 0.022; cg_drawgun 0; com_maxfps 125; set nextw-bank32e vstr w-bank2e" set w-bank2e "weaponbank 2; m_pitch 0.022; cg_drawgun 0; com_maxfps 71; set nextw-bank32e vstr w-bank3e" set togreset "set nextw-bank32e vstr w-bank3e" set nextw-bank32e "vstr w-bank3e" bind mouse2 "vstr nextw-bank32e" Edited June 26 by Sick 2 1 Quote
Leader RedBaird Posted June 26 Leader Posted June 26 You are "well on your way" now! 😄 You must have been thinking the same thing I was, AT The Same Time! 😄 1 Quote
Sick Posted June 26 Author Posted June 26 (edited) I found the fix here: I believe this would also work: Edited June 26 by Sick 1 Quote
Platinum VIP Veive Posted June 26 Platinum VIP Posted June 26 Rule nr. 13 https://fearless-assassins.com/wiki/index.php/W:ET_Server_Rules Scripts that alter gameplay to give the user a distinct advantage over other players are prohibited. These scripts, for example, may include anti-recoil scripts and mortar scripts. Players using these will be handled as common offenders (!warn, !kick, !ban) and not as hacking offenders (immediate permanent ban). 1 Quote
Sick Posted June 26 Author Posted June 26 (edited) @Veive thanks for the comment. Though, I’m not really sure what you are getting at? Nothing of what I’m doing is breaking rule number 13. Or any rule for that matter. Thanks. But since you are in the rule book check out rule number 4: 4. Respect other players. Do not interfere with your own teammates in any way. For example, blocking mortars, pushing players on your team or obstructing covert ops. You will be either warned, splatted, kicked or banned depending on what our admins feel is right so that an enjoyable environment is maintained on the server. now I won't have to warn you in game Edited June 26 by Sick 2 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.