Modify GrenadeLauncher in order to work with Rule_Relaunch

alut-include-path
Fulgen301 2017-03-30 14:08:22 +02:00
parent 76d8df9676
commit 51d61d1b26
1 changed files with 6 additions and 0 deletions

View File

@ -247,6 +247,12 @@ public func GetCarryTransform(object clonk, bool idle, bool nohand, bool second_
return Trans_Mul(Trans_Rotate(90,1,0,0), Trans_Rotate(-10,0,0,1));
}
public func OnRelaunchCreation()
{
CreateContents(IronBomb);
}
func Definition(def)
{
def.PictureTransformation = Trans_Mul(Trans_Translate(-3000, 1000, 1500),Trans_Rotate(170,0,1,0),Trans_Rotate(30,0,0,1));