View Full Version : mike_legs.st
inventor226
12-02-2004, 07:38 PM
Where is the mike_legs.st in the MOHAA folder? :confused: I can't find it. I want to change the jump height. What do you do exactly?
inventor226
12-02-2004, 07:44 PM
I found the file. it is in the Pack0.pk3 file. It is in the global folder. Thanks any way.
inventor226
12-02-2004, 07:48 PM
What part do I change to change the Jump Height? :confused:
Zepplin
12-03-2004, 12:01 AM
Ok here is part of the script for the high jumping where you see the command jump 450
change 450 to whatever variable you wish as long as it does not go to high...
state JUMP_STANDING
{
entrycommands
{
movementstealth "0.3"
moveposflags "crouching"
// modheight "duck"
modheight "jumpstart"
commanddelay 0.05 jump 450
// commanddelay 0.05 jump 56
}
legs
{
mp40_jump_takeoff : IS_WEAPON_ACTIVE "mainhand" "MP40"
mp44_jump_takeoff : IS_WEAPON_ACTIVE "mainhand" "StG 44"
bazooka_jump_takeoff : IS_WEAPON_ACTIVE "mainhand" "Bazooka"
bazooka_jump_takeoff : IS_WEAPON_ACTIVE "mainhand" "Panzerschreck"
shotgun_jump_takeoff : IS_WEAPON_ACTIVE "mainhand" "Shotgun"
steilhandgranate_jump_takeoff : IS_WEAPON_ACTIVE "mainhand" "Stielhandgranate"
pistol_jump_takeoff : IS_WEAPONCLASS_ACTIVE "mainhand" "pistol"
rifle_jump_takeoff : IS_WEAPONCLASS_ACTIVE "mainhand" "rifle"
grenade_jump_takeoff : IS_WEAPONCLASS_ACTIVE "mainhand" "grenade"
smg_jump_takeoff : IS_WEAPONCLASS_ACTIVE "mainhand" "smg"
mg_jump_takeoff : IS_WEAPONCLASS_ACTIVE "mainhand" "mg"
// pistol_jump_takeoff : IS_WEAPONCLASS_ACTIVE "mainhand" "item" // hold all items like a pistol for now
unarmed_jump_takeoff : default
}
states
{
// FALL_DUCKED : ANIMDONE_LEGS CROUCH
// FALL : ANIMDONE_LEGS CHECK_HEIGHT "stand"
FALL_DUCKED_WANT_STAND : ANIMDONE_LEGS !DUCKED_VIEW_IN_WATER
FALL : ANIMDONE_LEGS
}
}
state JUMP_FORWARD_RUN
{
entrycommands
{
movementstealth "0.2"
moveposflags "crouching" "running"
// modheight "duck"
modheight "jumpstart"
commanddelay 0.05 jump 450
// commanddelay 0.05 jump 56
inventor226
12-03-2004, 05:02 PM
Thank you I got it working. :D
Zepplin
12-04-2004, 12:03 AM
Nps glad to be of help :)
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.