here you go:
//keys:
bind SPACE "vstr jump_a";
bind v "vstr jump_toggle";
//action cvars:
set jump_a "vstr jump_a_normal";
set jump_a_normal "+moveup; wait 2; -moveup";
set jump_a_crouch "vstr jump_a_normal; +movedown"
//toggle cvars;
set jump_toggle "vstr jump_t_normal"
set jump_t_normal "ut_echo Normal Jumps; set jump_toggle vstr jump_t_crouch; set jump_a vstr jump_a_normal"
set jump_t_crouch "ut_echo Crouch Jumps; set jump_toggle vstr jump_t_normal; set jump_a vstr jump_a_crouch"
notes: there is a more advanced approach using more +vstr, but one shouldnt trust +vstr. only for simple things, like the crouch key.(see below)
point for your problem is:
important note:
if you use the crouch jump, you will STAY crouched after you release
space
therefor you either need a key to disable the crouch or change your crouch key to also do this in addition to normal crouch
therefor you need one of the following sollutions:
//important: rebind crouch to end crouch
bind C "+vstr crouch1 crouch0"
set crouch1 "+movedown";
set crouch0 "-movedown";
// alt sollution, without //+vstr
bind c "+movedown" // no //-movedown here
bind x "-movedown" //you only need this after you used the crouch jump.
a good ment advice
you can do pretty awesome things with scripts (check out my signature),
but seriously: crouch jump manually. more reliable and gets you a better feeling of your movement.
//edit Iye:
let me know if some stuff isnt shown due to the code blocks, i cant see half of the scripts on my samsung tablet. but i guess its the firedox for android...
This post has been edited by Iye: 20 May 2014 - 04:02 PM