Problem with my binds :-(


JohnCarter

 

Posted

The idea I have for my TriForm WarShade build is that when I have a dwarf and squid button, and if I 'm in that form when I press the button it switches me to the form and changes my keybinds. If I press the button again while in the form it changes me back to human and loads my human binds.

In other words:
As a human I press z to change to squid and load my squid binds, and press c to change to dwarf and load my dwarf binds.

As a squid I press z to change to human and load my human binds, and press c to change to dwarf and load my dwarf binds.

As a dwarf I press z to change to squid and load my squid binds and z to change to human and load my human binds.

It's a very simple finite state machine... that doesn't work in practice. I'm using three different bindfiles, here are the relevant parts:


AlphonzDwarfTriformBuild1.txt
C "powexec_toggle_off Black Dwarf $$ bind_load_file AlphonzHumanTriformBuild1.txt"
Z "powexec_toggle_on Dark Nova$$bind_load_file AlphonzNovaTriformBuild1.txt"

AlphonzHumanTriformBuild1.txt
C "powexec_toggle_on Black Dwarf$$bind_load_file AlphonzDwarfTriformBuild1.txt"
Z "powexec_toggle_on Dark Nova$$bind_load_file AlphonzNovaTriformBuild1.txt"

AlphonzNovaTriformBuild.txt
C "powexec_toggle_on Black Dwarf$$bind_load_file AlphonzDwarfTriformBuild1.txt"
Z "powexec_toggle_off dark nova $$ bind_load_file AlphonzHumanTriformBuild1.txt"

Currently it works fine switching from into dwarf or squid, however switching back to human fails. It'll load the file but won't toggle back to human form. It's as though powexec_toggle_off isn't working, but it's not throwing any errors for me.

Any help would be much appreciated.


 

Posted

<font class="small">Code:[/color]<hr /><pre>AlphonzHumanTriformBuild1.txt
C "powexec_toggle_on Black Dwarf$$bind_load_file AlphonzDwarfTriformBuild1.txt"
Z "powexec_toggle_on Dark Nova$$bind_load_file AlphonzNovaTriformBuild1.txt" </pre><hr />
Shouldnt this be powexec_toggle_off, if you want to go back human?


 

Posted

[ QUOTE ]
Shouldnt this be powexec_toggle_off, if you want to go back human?

[/ QUOTE ]
The bind-file assume he already is in Human-form and wants to shift to either Nova or Dwarf.


I believe that a Kheldian Gold Standard should be based on SO's, and for anything above that... there's Platinum!

Save Ms. Liberty (#5349) Augmenting Peacebringers The Umbra Illuminati