adjusted some more PictureTransformation properties

To either increase the size of the item, center it, or prevent it from going out of the bounding box.
shapetextures
David Dormagen 2015-12-25 19:13:06 +01:00
parent e4b1fe94ca
commit 9f2c60c94e
4 changed files with 10 additions and 7 deletions

View File

@ -261,7 +261,7 @@ public func IsInventorProduct() { return true; }
public func Definition(proplist def)
{
SetProperty("PictureTransformation", Trans_Mul(Trans_Translate(-700, 400), Trans_Scale(1150), Trans_Rotate(180, 0, 1, 0), Trans_Rotate(-30, -1, 0, -1)), def);
def.PictureTransformation = Trans_Mul(Trans_Translate(-2500, 1000),Trans_Scale(1800),Trans_Rotate(-60,1,-1,1), Trans_Rotate(180, 0, 1, 0));
}
local Name = "$Name$";

View File

@ -223,8 +223,9 @@ func Deselection()
public func IsWeapon() { return true; }
public func IsArmoryProduct() { return true; }
func Definition(def) {
SetProperty("PictureTransformation",Trans_Mul(Trans_Translate(-2000,-3000,-2000),Trans_Rotate(180,0,1,0),Trans_Rotate(-25,1,0,1)),def);
func Definition(def)
{
def.PictureTransformation = Trans_Mul(Trans_Translate(-4000,-2000,4000),Trans_Rotate(180,0,1,0),Trans_Rotate(-45,0,0,1));
}
local Name = "$Name$";

View File

@ -235,8 +235,9 @@ func DoStrike(clonk, angle)
public func IsWeapon() { return true; }
public func IsArmoryProduct() { return true; }
func Definition(def) {
SetProperty("PictureTransformation",Trans_Rotate(-30,0,0,1),def);
func Definition(def)
{
def.PictureTransformation = Trans_Mul(Trans_Translate(-4500, -2000, 2000), Trans_Rotate(45,0,0,1));
}
local Collectible = 1;

View File

@ -191,8 +191,9 @@ public func IsArmoryProduct() { return true; }
func Definition(def) {
SetProperty("PictureTransformation",Trans_Mul(Trans_Translate(1500,0,-1500),Trans_Rotate(170,0,1,0),Trans_Rotate(30,0,0,1)),def);
func Definition(def)
{
def.PictureTransformation = Trans_Mul(Trans_Translate(-3000, 1000, 1500),Trans_Rotate(170,0,1,0),Trans_Rotate(30,0,0,1));
}
local Name = "$Name$";