30 lines
No EOL
800 B
Modula-2
30 lines
No EOL
800 B
Modula-2
entityDef monster_headcrab
|
|
{
|
|
"spawnclass" "NSMonster"
|
|
"model" "models/headcrab.mdl"
|
|
"netname" "Headcrab"
|
|
"health" "skill:headcrab_health"
|
|
"mins" "-16 -16 0"
|
|
"maxs" "16 16 72"
|
|
"eye_height" "12"
|
|
"team" "2"
|
|
"propdata" "actor_alien"
|
|
"speed_walk" "32"
|
|
"speed_run" "72"
|
|
|
|
"attack_ranged_range" "180" // needs launch attack
|
|
|
|
"snd_idle" "monster_headcrab.idle"
|
|
"snd_pain" "monster_headcrab.pain"
|
|
"snd_death" "monster_headcrab.death"
|
|
"leap_damage" "skill:headcrab_dmg_bite"
|
|
|
|
events {
|
|
jump "AddVelocity" "512 0 250"
|
|
jump "StartSoundDef" "monster_headcrab.attack"
|
|
jump_variation1 "AddVelocity" "512 0 350"
|
|
jump_variation1 "StartSoundDef" "monster_headcrab.attack"
|
|
jump_variation2 "AddVelocity" "512 0 350"
|
|
jump_variation2 "StartSoundDef" "monster_headcrab.attack"
|
|
}
|
|
} |