Classes:WolfensteinSS: Difference between revisions

Moved zscript definition in front of decorate; added links into zscript definition
No edit summary
(Moved zscript definition in front of decorate; added links into zscript definition)
 
 
==== [[ZScript]] definition ====
class WolfensteinSS : Actor
{
Default
{
{{Property|Health}} 50;
{{Property|Radius}} 20;
{{Property|Height}} 56;
{{Property|Speed}} 8;
{{Property|PainChance}} 170;
{{Property|Monster}};
+{{Flag|FLOORCLIP}}
{{Property|SeeSound}} "wolfss/sight";
{{Property|PainSound}} "wolfss/pain";
{{Property|DeathSound}} "wolfss/death";
{{Property|ActiveSound}} "wolfss/active";
{{Property|AttackSound}} "wolfss/attack";
{{Property|Obituary}} "$OB_WOLFSS";
{{Property|Tag}} "$FN_WOLFSS";
{{Property|Dropitem}} "Clip";
}
States
{
Spawn:
SSWV AB 10 [[A_Look]];
Loop;
See:
SSWV AABBCCDD 3 [[A_Chase]];
Loop;
Missile:
SSWV E 10 [[A_FaceTarget]];
SSWV F 10 [[A_FaceTarget]];
SSWV G 4 BRIGHT [[A_CPosAttack]];
SSWV F 6 [[A_FaceTarget]];
SSWV G 4 BRIGHT [[A_CPosAttack]];
SSWV F 1 [[A_CPosRefire]];
Goto Missile+1;
Pain:
SSWV H 3;
SSWV H 3 [[A_Pain]];
Goto See;
Death:
SSWV I 5;
SSWV J 5 [[A_Scream]];
SSWV K 5 [[A_NoBlocking]];
SSWV L 5;
SSWV M -1;
Stop;
XDeath:
SSWV N 5 ;
SSWV O 5 [[A_XScream]];
SSWV P 5 [[A_NoBlocking]];
SSWV QRSTU 5;
SSWV V -1;
Stop;
Raise:
SSWV M 5;
SSWV LKJI 5;
Goto See ;
}
}
==== [[DECORATE]] definition ====
ACTOR <u>WolfensteinSS</u>
Goto See
}
}
 
==== [[ZScript]] definition ====
class WolfensteinSS : Actor
{
Default
{
Health 50;
Radius 20;
Height 56;
Speed 8;
PainChance 170;
Monster;
+FLOORCLIP
SeeSound "wolfss/sight";
PainSound "wolfss/pain";
DeathSound "wolfss/death";
ActiveSound "wolfss/active";
AttackSound "wolfss/attack";
Obituary "$OB_WOLFSS";
Tag "$FN_WOLFSS";
Dropitem "Clip";
}
States
{
Spawn:
SSWV AB 10 A_Look;
Loop;
See:
SSWV AABBCCDD 3 A_Chase;
Loop;
Missile:
SSWV E 10 A_FaceTarget;
SSWV F 10 A_FaceTarget;
SSWV G 4 BRIGHT A_CPosAttack;
SSWV F 6 A_FaceTarget;
SSWV G 4 BRIGHT A_CPosAttack;
SSWV F 1 A_CPosRefire;
Goto Missile+1;
Pain:
SSWV H 3;
SSWV H 3 A_Pain;
Goto See;
Death:
SSWV I 5;
SSWV J 5 A_Scream;
SSWV K 5 A_NoBlocking;
SSWV L 5;
SSWV M -1;
Stop;
XDeath:
SSWV N 5 ;
SSWV O 5 A_XScream;
SSWV P 5 A_NoBlocking;
SSWV QRSTU 5;
SSWV V -1;
Stop;
Raise:
SSWV M 5;
SSWV LKJI 5;
Goto See ;
}
}