Fixed carry heavies attaching at wrong point whilst scaling/hangling etc.

Charles Spurrill 2012-10-27 13:07:32 -07:00
parent 67e11130cd
commit 3ba7c3477f
2 changed files with 16 additions and 0 deletions

View File

@ -23,6 +23,14 @@ local controllable;
public func GetCarryMode(clonk) { return CARRY_BothHands; }
public func GetCarryPhase() { return 700; }
public func GetCarryTransform(clonk)
{
if(GetCarrySpecial(clonk))
return Trans_Translate(0, 0, -6500);
return Trans_Translate(-1500, 0, 0);
}
protected func Construction()
{
//flight length

View File

@ -12,6 +12,14 @@ local crateanim;
public func GetCarryMode(clonk) { return CARRY_BothHands; }
public func GetCarryPhase() { return 800; }
public func GetCarryTransform(clonk)
{
if(GetCarrySpecial(clonk))
return Trans_Translate(0, 3500, -6500);
return Trans_Translate(-1500, 0, 0);
}
protected func Construction()
{
crateanim = PlayAnimation("Open", 1, Anim_Linear(0, 0, 1, 20, ANIM_Hold), Anim_Const(1000));