You are viewing our Forum Archives. To view or take place in current topics click here.
Black ops zombies CFG. Needed solution.
Posted:
Black ops zombies CFG. Needed solution.Posted:
Status: Offline
Joined: Jun 28, 201212Year Member
Posts: 27
Reputation Power: 1
Status: Offline
Joined: Jun 28, 201212Year Member
Posts: 27
Reputation Power: 1
Hey guys, I'm making a Black Ops zombies CFG and I'm just getting started with the binds. So far I have:
gpad_buttonsConfig "CI"
bind BUTTON_START "give ray_gun_zm;wait 20;give ammo;give thundergun_zm;wait 20;give ammo;dropweapon;give hk21_zm;wait 20;give ammo;dropweapon;give galil_zm;wait 20;give ammo;dropweapon;give tesla_gun_zm;wait 20;give ammo;dropweapon;give cz75_zm;wait 20;give ammo;dropweapon;give rpk_zm;wait 20;give ammo;dropweapon"
bind button_back "gpad_buttonConfig Default;give_ammo;player_clipSizeMultiplier 999;bind button_lshldr +speed_throw;bind button_rshldr +attack;bind BUTTON_START pause;bind button_back togglescores;bind button_rtrig +frag;bind button_ltrig toggle gpad_buttonConfig CI;bind button_rstick +melee;bind button_lstick +breath_sprint;bind button_a +gostand;bind button_b +stance;bind button_x +usereload;bind button_y weapnext;bind dpad_up +actionslot 1;bind dpad_down +actionslot 2;bind dpad_left +actionslot 3;bind dpad_right +actionslot 4"
Okay so you don't have to go rolling around in that mess of a code, it's basically just putting all the regular button binds back. What I would like to do is make L2 go back to gpad_buttonConfig "CI" . I tried this :
bind button_ltrig toggle gpad_buttonConfig CI
But nothing. As you can see I'm having trouble. Any suggestions?
gpad_buttonsConfig "CI"
bind BUTTON_START "give ray_gun_zm;wait 20;give ammo;give thundergun_zm;wait 20;give ammo;dropweapon;give hk21_zm;wait 20;give ammo;dropweapon;give galil_zm;wait 20;give ammo;dropweapon;give tesla_gun_zm;wait 20;give ammo;dropweapon;give cz75_zm;wait 20;give ammo;dropweapon;give rpk_zm;wait 20;give ammo;dropweapon"
bind button_back "gpad_buttonConfig Default;give_ammo;player_clipSizeMultiplier 999;bind button_lshldr +speed_throw;bind button_rshldr +attack;bind BUTTON_START pause;bind button_back togglescores;bind button_rtrig +frag;bind button_ltrig toggle gpad_buttonConfig CI;bind button_rstick +melee;bind button_lstick +breath_sprint;bind button_a +gostand;bind button_b +stance;bind button_x +usereload;bind button_y weapnext;bind dpad_up +actionslot 1;bind dpad_down +actionslot 2;bind dpad_left +actionslot 3;bind dpad_right +actionslot 4"
Okay so you don't have to go rolling around in that mess of a code, it's basically just putting all the regular button binds back. What I would like to do is make L2 go back to gpad_buttonConfig "CI" . I tried this :
bind button_ltrig toggle gpad_buttonConfig CI
But nothing. As you can see I'm having trouble. Any suggestions?
#2. Posted:
Status: Offline
Joined: Mar 28, 201113Year Member
Posts: 1,897
Reputation Power: 103
I'm not 100% sure but I don't think button configs work like that.
The reason you set buttonsconfig to anything such as 'co' is to bypass the patch trey arc added a long time ago. As binds do not work on the default buttonsconfig (and other options you can choose, such as tactical).
You can't put binds on one buttonsconfig and binds on another, then change between the two. As the buttonsconfig doesn't store the binds you put on it.
The only way you could switch between two sets of binds is by vstr, but that is patched online.
However after looking at your code, I can tell what your trying to do.
Your trying to have mods on one button and a controls reset on another button.
You do not have to set the buttonsconfig back to default to reset the controls.
Try something like this:
Set gpad_buttonsconfig "Null"
bind button_back "your mods here, don't put any mods on the start button"
bind button_start "reset each button here (E.g. For resetting button a you put, bind button_a +gostand), except for button back, don't put anything to do with the gpad_buttonsconfig here"
The reason you set buttonsconfig to anything such as 'co' is to bypass the patch trey arc added a long time ago. As binds do not work on the default buttonsconfig (and other options you can choose, such as tactical).
You can't put binds on one buttonsconfig and binds on another, then change between the two. As the buttonsconfig doesn't store the binds you put on it.
The only way you could switch between two sets of binds is by vstr, but that is patched online.
However after looking at your code, I can tell what your trying to do.
Your trying to have mods on one button and a controls reset on another button.
You do not have to set the buttonsconfig back to default to reset the controls.
Try something like this:
Set gpad_buttonsconfig "Null"
bind button_back "your mods here, don't put any mods on the start button"
bind button_start "reset each button here (E.g. For resetting button a you put, bind button_a +gostand), except for button back, don't put anything to do with the gpad_buttonsconfig here"
- 0useful
- 0not useful
#3. Posted:
Status: Offline
Joined: Jun 28, 201212Year Member
Posts: 27
Reputation Power: 1
Status: Offline
Joined: Jun 28, 201212Year Member
Posts: 27
Reputation Power: 1
It works! Thanks man helped a lot!
- 1useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.