mirror of
https://github.com/jmarshall23/Quake_4_Alpha.git
synced 2026-08-21 05:01:43 +02:00
116 lines
3.8 KiB
Modula-2
116 lines
3.8 KiB
Modula-2
//MCC_Turret
|
|
export monster_q4x_mcc_turret
|
|
{
|
|
options -game /q4xbase -prefix TURRET_ -align ALL -scale .3937 -keep base_bone body_bone barrel_R muzzle_flash_R sensor_bone barrel_L muzzle_flash_L
|
|
mesh models/monsters/mcc_turret/animations/idle.ma -dest models/monsters/mcc_turret/mesh
|
|
anim models/monsters/mcc_turret/animations/idle.ma -dest models/monsters/mcc_turret/idle
|
|
anim models/monsters/mcc_turret/animations/fire.ma -dest models/monsters/mcc_turret/fire
|
|
}
|
|
|
|
entityDef monster_q4x_mcc_turret
|
|
{
|
|
"inherit" "actor_default"
|
|
"spawnclass" "rvMonsterTurret"
|
|
|
|
// --------------------------------- Actions ------------------------------------
|
|
"actionTimer_rangedAttack_rate" "1"
|
|
|
|
"action_rangedAttack" "0"
|
|
|
|
"action_blasterAttack" "1"
|
|
"action_blasterAttack_Rate" "0.5"
|
|
"action_blasterAttack_minRange" "0"
|
|
"action_blasterAttack_maxRange" "30000"
|
|
"action_blasterAttack_blendFrames" "10"
|
|
"action_blasterAttack_noturn" "0"
|
|
|
|
// --------------------------------- Body ------------------------------------
|
|
"model" "model_monster_q4x_mcc_turret"
|
|
"size" "43 43 74"
|
|
"mass" "100000"
|
|
"use_aas" ""
|
|
"static" "1"
|
|
"remove_on_Death" "1"
|
|
"health" "100"
|
|
|
|
// --------------------------------- Look Joints -----------------------------
|
|
"look_min" "-80 -720 0"
|
|
"look_max" "80 720 0"
|
|
"joint_eyeOffset" "body_bone"
|
|
"look_joint body_bone" "0.6 0 0"
|
|
|
|
// --------------------------------- Combat ----------------------------------
|
|
"team" "0"
|
|
"fov" "90"
|
|
"turn_rate" "90"
|
|
"painThreshold" "0"
|
|
"bleed" "0"
|
|
|
|
"minShots" "1"
|
|
"maxShots" "1"
|
|
"attack_blaster_accuracy" "1"
|
|
"def_attack_blaster" "projectile_mcc_turret_blaster"
|
|
"attack_blaster_locktojoint" "1"
|
|
|
|
// --------------------------------- Effects --------------------------------
|
|
"fx_death" "effects/explosions/surface/dropship_exp_offset.fx"
|
|
"fx_blaster_flash" "effects/levels/mcc_landing/biggun_small_exp"
|
|
}
|
|
|
|
|
|
entityDef damage_mcc_turret_blaster
|
|
{
|
|
"inherit" "damage_bullet_base"
|
|
"damage" "100"
|
|
"knockback" "350"
|
|
"push" "350"
|
|
"pushdir" "50 0 50"
|
|
|
|
"deathPush" "1000"
|
|
"deathPushMin" "3000 2000"
|
|
"deathPushMax" "5000 3000"
|
|
}
|
|
|
|
entityDef projectile_mcc_turret_blaster
|
|
{
|
|
"inherit" "projectile_turret_blaster"
|
|
"def_damage" "damage_mcc_turret_blaster"
|
|
"velocity" "1500 0 0"
|
|
"attack_blaster_spread" "0"
|
|
"attack_blaster_cone" "15"
|
|
"mins" "-50 -50 -50"
|
|
"maxs" "50 50 50"
|
|
"cone" "3"
|
|
"scale" "1"
|
|
"fx_impact" "effects/cinematics/intro/biggun_impact.fx"
|
|
"fx_fly" "effects/cinematics/intro/biggun_proj3.fx"
|
|
}
|
|
|
|
model model_monster_q4x_mcc_turret
|
|
{
|
|
mesh models/monsters/mcc_turret/mesh.md5mesh
|
|
channel legs ( origin )
|
|
channel torso ( *origin -origin )
|
|
|
|
anim idle models/monsters/mcc_turret/idle.md5anim
|
|
{
|
|
frame 1 ai_disablePain
|
|
}
|
|
anim walk models/monsters/mcc_turret/idle.md5anim
|
|
{
|
|
frame 1 ai_disablePain
|
|
}
|
|
anim range_attack models/monsters/mcc_turret/fire.md5anim
|
|
{
|
|
//rate .6
|
|
frame 1 ai_disablePain
|
|
frame 1 ai_attack blaster muzzle_flash_R
|
|
frame 1 fx fx_blaster_flash muzzle_flash_R
|
|
frame 18 ai_attack blaster muzzle_flash_R
|
|
frame 18 fx fx_blaster_flash muzzle_flash_R
|
|
frame 10 ai_attack blaster muzzle_flash_L
|
|
frame 10 fx fx_blaster_flash muzzle_flash_L
|
|
frame 28 ai_attack blaster muzzle_flash_L
|
|
frame 28 fx fx_blaster_flash muzzle_flash_L
|
|
}
|
|
} |