cropping animation with combo file? [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
MileHighGuy
Jedi
Jedi
Posts: 1194
Joined: Fri Dec 19, 2008 7:58 pm

cropping animation with combo file? [Solved]

Post by MileHighGuy »

I want to make it so the attack starts about halfway through the animation, because right now it looks like this:

http://social.xfire.com/videos/6285cf

Is there any way I can do that with the combo file? I think using blend times would help but I am not quite sure how they work. I have read all the docs on them.

here is the relevant part of my combo file
Hidden/Spoiler:
[code]Animation("stand_dashflip")
{
BlendTimeIn(0.15);
BlendTimeOut(0.2);
}

State("DASHFLIP2")
{
Posture("Stand");
Animation("stand_dashflip");
{
BlendInTime(0.15);
BlendOutTime(0.15);
}

EnergyRestoreRate(0);

AlignedToThrust();

Sound("com_weap_throw");

InputLock("All", "!Thrust");

Attack()
{
AttackID("Dash2");
DamageTime(13, 21, "Frames");
DamageLength(1.5);
DamageWidth(1.0);
Damage(600);
Push(5.0);
}

Transition("IDLE")
{
If()
{
Break(25, "Frames");
}
}
}
[/code]
EDIT:

well i think i solved it with these lines

TimeStart(5, "Frames");
TimeEnd(16, "Frames");

I haven't tried it yet but I'm marking this as solved

EDIT: didn't work.. those lines are only used to control when you can trigger the next attack. still trying

EDIT: I just edited the animation .msh in xsi. easier than I imagined.
Post Reply