Riding cubes.
Quote from beecake on January 9, 2012, 4:33 amspongylover123 wrote:Does anyone know how to add a cube throwing function? Like in portal when your holding a cube and then you click the left mouse button and it throws.Maybe have a trigger_push parented to the player, or cube, and a game_ui OnAttack1; Trigger_push; Enable?
Maybe have a trigger_push parented to the player, or cube, and a game_ui OnAttack1; Trigger_push; Enable?
Quote from spongylover123 on January 9, 2012, 6:54 pmbeecake wrote:spongylover123 wrote:Does anyone know how to add a cube throwing function? Like in portal when your holding a cube and then you click the left mouse button and it throws.Maybe have a trigger_push parented to the player, or cube, and a game_ui OnAttack1; Trigger_push; Enable?
It doesn't drop the cube, but maybe I can bind or alias it to E
Maybe have a trigger_push parented to the player, or cube, and a game_ui OnAttack1; Trigger_push; Enable?
It doesn't drop the cube, but maybe I can bind or alias it to E
Quote from spongylover123 on January 10, 2012, 9:29 pmSorry for the double post, but I encountered another problem, when triggering gravity to enable the cube goes up and knocks me down to the floor.
Is there a way around this, I can't change the trigger_push's force below 90 because If I do, the cubes won't rise, instead, float.
Sorry for the double post, but I encountered another problem, when triggering gravity to enable the cube goes up and knocks me down to the floor.
Is there a way around this, I can't change the trigger_push's force below 90 because If I do, the cubes won't rise, instead, float.
