i have a zscript monster that uses hitscans. i want the bullets not cause damage and cause infights to its species.
i searched but can't find a exact answer.
this is my zscript monster
class RBCP : Actor
{
Default
{
Health 40;
Radius 20;
Height 50;
Speed 8;
PainChance 200;
Monster;
+FLOORCLIP
SeeSound "Robot/Alert";
PainSound "Robot/Hurt";
DeathSound "Robot/Death";
ActiveSound "Blip/Random";
Obituary "%o was put to sleep by the Roomba Cop";
Tag "Roomba Cop";
}
States
{
Spawn:
RBCP A 10 A_Look;
Loop;
See:
RBCP A 4 A_Chase;
Loop;
Missile:
RBCP H 10 A_FaceTarget;
TNT1 A 0 A_PlaySound ("Robot/Shoot");
RBCP B 4 BRIGHT A_CustomBulletAttack (22.5, 0, 1, 1 * 3, "BulletPuff", 0, CBAF_NORANDOM);
TNT1 A 0 A_PlaySound ("Robot/Shoot");
RBCP C 4 BRIGHT A_CustomBulletAttack (22.5, 0, 1, 1 * 3, "BulletPuff", 0, CBAF_NORANDOM);
TNT1 A 0 A_MonsterRefire(130, "See");
Goto Missile+1;
Pain:
RBCP H 6 A_PAIN;
Goto See;
Death:
RBCP DEF 10 A_Scream;
RBCP G -1 A_NoBlocking;
Stop;
}
}
Question
DoomBunny
i have a zscript monster that uses hitscans. i want the bullets not cause damage and cause infights to its species.
i searched but can't find a exact answer.
this is my zscript monster
Share this post
Link to post
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.