Skip to content

Instantly share code, notes, and snippets.

@DartPower
Created January 29, 2023 16:47
Show Gist options
  • Save DartPower/3120bed633597233f63065f28cee60d7 to your computer and use it in GitHub Desktop.
Save DartPower/3120bed633597233f63065f28cee60d7 to your computer and use it in GitHub Desktop.
Monster DECORATE by ErikShel and ChatGPT
actor MyMonster
{
// Required properties
health 100
renderstyle TRANSLCOLOR
spawnid 9
SeeSound "MyMonster/See"
AttackSound "MyMonster/Attack"
DeathSound "MyMonster/Death"
// Custom properties
speed 10.0
radius 20.0
height 64.0
// States
states
{
Spawn:
TNT1 A 0 A_Look
loop
See:
TNT1 A 0 A_Chase
loop
Chase:
TNT1 A 0 A_FaceTarget
TNT1 A 0 A_JumpIfTargetOutsideMeleeRange
TNT1 A 0 A_MeleeAttack
TNT1 A 0 A_Chase
loop
Pain:
TNT1 A 0 A_Pain
TNT1 A 5 A_Chase
loop
Death:
TNT1 A 0 A_Scream
TNT1 A 10 A_NoBlocking
TNT1 A 15 A_NoBlocking
TNT1 A 20 A_NoBlocking
stop
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment