valve/zpak001.pk3dir/decls/def/monsters/alien_slave.def

107 lines
2.3 KiB
Modula-2

entityDef monster_alien_slave
{
"spawnclass" "NSMonster"
"model" "models/islave.mdl"
"netname" "Vortigaunt"
"health" "skill:islave_health"
"mins" "-16 -16 0"
"maxs" "16 16 72"
"eye_height" "64"
"team" "2"
"propdata" "actor_alien"
"speed_walk" "72"
"speed_run" "72"
"def_attack_melee" "melee_islave_claw"
"melee_range" "96"
"attack_ranged_range" "512"
"snd_idle" "monster_alien_slave.idle"
"snd_pain" "monster_alien_slave.pain"
"snd_death" "monster_alien_slave.die"
"snd_thud" "monster_generic.thud"
// animation event callbacks
events {
1 "SpawnProjectileDef" "melee_islave_claw"
1 "StartSoundDef" "monster_alien_slave.claw"
2 "SpawnProjectileDef" "melee_islave_claw"
2 "StartSoundDef" "monster_alien_slave.claw"
// beam powerup, both left and right hand
3 "SpawnDefAttachment" "islave_beampowerup 0"
3 "SpawnDefAttachment" "islave_beampowerup 1"
// fire a beam towards the target
4 "SpawnDefAttachment" "islave_beamattack 0"
4 "SpawnDefAttachment" "islave_beamattack 0"
4 "SpawnDefAttachment" "islave_beamattack 1"
4 "SpawnDefAttachment" "islave_beamattack 1"
4 "SpawnProjectileDef" "ranged_islave_zap"
// kill anything parented to us
5 "KillChildClass" "islave_beampowerup"
}
}
entityDef islave_beampowerup
{
"spawnclass" "env_beam"
"texture" "sprites/lgtning.spr"
"rendercolor" "96 128 16"
"renderamt" "64"
"NoiseAmplitude" "80"
"life" "3"
"Radius" "512"
"BoltWidth" "16"
"RadiusScale" "0 1 1"
"spawnflags" "1"
"decal_detonate" "Impact.Shot"
}
entityDef islave_beamattack
{
"spawnclass" "env_beam"
"texture" "sprites/lgtning.spr"
"rendercolor" "180 255 96"
"renderamt" "255"
"NoiseAmplitude" "80"
"life" "0.5"
"Radius" "512"
"BoltWidth" "64"
"BeamDir" "512 0 0"
"spawnflags" "1"
"decal_detonate" "Impact.Shot"
}
entityDef damage_islave_zap
{
"damage" "skill:islave_dmg_zap"
}
entityDef ranged_islave_zap
{
"spawnclass" "NSProjectile"
"mins" "-16 -16 -32"
"maxs" "16 16 32"
"def_damage" "damage_islave_zap"
"health" "0"
"velocity" "9000"
"fuse" "10"
"detonate_on_fuse" "0"
"detonate_on_death" "0"
"detonate_on_world" "0"
"detonate_on_actor" "1"
"impact_damage_effect" "1"
"impact_gib" "0"
}
entityDef melee_islave_claw
{
"damage" "skill:islave_dmg_claw"
"delay" "0.25f"
"wait" "0.5"
"attempts" "2"
}