hi xonotic people!
im trying to make my old wolfet config work in xonotic
which seems to have a more complex console language
but i think if i understood how 1 part would look translated
i should be able to do the other 10 pages myself quite easily
therefore i kindly request of anyone who has the knowledge
please explain how to get this result in a cfg for xonotic
it may seem complex but really the script is rather simple
it forces D [+moveright] to dominate A [+moveleft] so
if pressing both A and D i move right instead of stopping
thanks for the help in advance!
im trying to make my old wolfet config work in xonotic
which seems to have a more complex console language
but i think if i understood how 1 part would look translated
i should be able to do the other 10 pages myself quite easily
therefore i kindly request of anyone who has the knowledge
please explain how to get this result in a cfg for xonotic
it may seem complex but really the script is rather simple
it forces D [+moveright] to dominate A [+moveleft] so
if pressing both A and D i move right instead of stopping
Code:
SET RGO "+MOVERIGHT;-MOVELEFT" // defines go right
SET LGO "+MOVELEFT;-MOVERIGHT" // defines go left
SET DGO "-MOVELEFT;-MOVERIGHT" // defines dont go
SET L0R1 "VSTR RGO;SET LBP VSTR L1R1;SET RBR VSTR L0R0"
SET L1R1 "VSTR RGO;SET LBR VSTR L0R1;SET RBR VSTR L1R0"
SET L0R0 "VSTR DGO;SET LBP VSTR L1R0;SET RBP VSTR L0R1"
SET L1R0 "VSTR LGO;SET LBR VSTR L0R0;SET RBP VSTR L1R1"
VSTR L0R0 // prepare for A and D to be pressed [LBP/RBP]
BIND A +VSTR LBP LBR // binds left button press/release
BIND D +VSTR RBP RBR // binds right button press/release
thanks for the help in advance!