PDA

View Full Version : Making a Jump Mutator



Tirfing
11-06-2009, 08:23 AM
Hey, can anyone help me with making a mutator to change jump direction. I'm trying to make it so jumping goes where the mouse is pointed instead of a mixture between up and whichever way one is running. Thanks for any help.

*Edit: If anyone knows where I can find the code for jumping that would help too.

Blaaguuu
11-06-2009, 10:37 AM
The function that handles jumping is DoJump() in the Pawn classes (Pawn, GamePawn, UTPawn), but afaik it is impossible to modify jump behavior through a mutator beyond changing specific variables such as JumpZ. You would have to create a new pawn class, and a new gametype to use it. You could use a mutator to replace the pawn class, but that can get very messy.

Tirfing
11-06-2009, 10:54 AM
Ack, alright. Thanks a bunch for the info.