forked from Mirrors/openclonk
Flag carry graphics for CTF
parent
6585712061
commit
9c35301d5a
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -5,14 +5,12 @@ material Flag
|
|||
{
|
||||
pass
|
||||
{
|
||||
scene_blend alpha_blend
|
||||
cull_hardware none
|
||||
|
||||
ambient 0.500000 0.500000 0.500000 1.000000
|
||||
diffuse 0.640000 0.640000 0.640000 1.000000
|
||||
specular 0.000000 0.000000 0.000000 1.000000 12.500000
|
||||
emissive 0.000000 0.000000 0.000000 1.000000
|
||||
|
||||
scene_blend alpha_blend
|
||||
texture_unit
|
||||
{
|
||||
texture flag.png
|
||||
|
|
|
@ -82,8 +82,11 @@ protected func Initialize()
|
|||
|
||||
public func HasNoFadeOut() { return true; }
|
||||
|
||||
public func GetCarryMode() { return CARRY_HandBack; }
|
||||
public func GetCarryPhase() { return 700; }
|
||||
public func GetCarryMode() { return CARRY_Back; }
|
||||
public func GetCarryTransform()
|
||||
{
|
||||
return Trans_Mul(Trans_Translate(0,-17000,0),Trans_Rotate(90,0,1,0));
|
||||
}
|
||||
|
||||
// Checks whether the carrier has reached its base.
|
||||
protected func FxFlagCarriedTimer(object target)
|
||||
|
@ -149,6 +152,6 @@ private func BeamFlag(bool msg)
|
|||
local Name = "$Name$";
|
||||
protected func Definition(def)
|
||||
{
|
||||
SetProperty("MeshTransformation", Trans_Rotate(60, 0, 1, 0), def);
|
||||
SetProperty("PictureTransformation", Trans_Mul(Trans_Rotate(60, 0, 1, 0), Trans_Scale(1200)), def);
|
||||
SetProperty("MeshTransformation", Trans_Mul(Trans_Translate(-130000,-3000,0), Trans_Rotate(60,0,1,0)), def);
|
||||
SetProperty("PictureTransformation", Trans_Mul(Trans_Rotate(60, 0, 1, 0), Trans_Scale(1200), Trans_Translate(-4000,6500,-3000)), def);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue