State file problem
Posted: Sun May 07, 2006 7:31 am
Hello,
I've got a heavily modified torso state file. This is the STAND state:
The thing is, the FF_FIRE state NEVER gets activated unless I force it by script.
It's like the fire button is never pressed. I'm taking away all the weapons from the players, could it be the cause?
I've got a heavily modified torso state file. This is the STAND state:
Code: Select all
state STAND
{
movetype legs
camera behind
entrycommands
{
viewmodelanim idle
}
action
{
none : default // no torso animation
}
states
{
KILLED : KILLED
PAIN : PAIN
VEHICLE_START : IS_USING_VEHICLE
TURRET_START : IS_USING_TURRET
// if we're on a ladder, make sure we're climbing the ladder
LADDER_IDLE_LEFT : ON_LADDER
USE_LADDER : ONGROUND +USE AT_LADDER CHECK_HEIGHT "stand"
// latch onto ladder in mid-air
USE_LADDER : +USE AT_LADDER CHECK_HEIGHT "stand" // can also latch onto a ladder in mid-air
// auto use of ladder when at the bottom (AT_LADDER check is last because it does a trace)
USE_LADDER : ONGROUND FORWARD LOOKING_UP "35" !PUTAWAYMAIN !NEW_WEAPON !RELOAD !ATTACK_PRIMARY !ATTACK_SECONDARY AT_LADDER CHECK_HEIGHT "stand"
// auto use of ladder when at the top (AT_LADDER check is last because it does a trace)
USE_LADDER : ONGROUND FORWARD !LOOKING_UP "-35" !PUTAWAYMAIN !NEW_WEAPON !RELOAD !ATTACK_PRIMARY !ATTACK_SECONDARY AT_LADDER CHECK_HEIGHT "stand"
FF_FIRE : +ATTACK_PRIMARY
FF_FIRE : ATTACK_PRIMARY
FF_FIRE : +ATTACK_SECONDARY
}
}