//AI Bats definition by STRUNK model Bat { mesh models/md5/chars/animals/Bat.md5mesh channel torso ( origin Body Head Tail Wing1L Wing1R Wing2L Wing2R Wing21L Wing21R Wing22L Wing22R Wing3L Wing3R Wing4L Wing4R) anim run models/md5/animations/fly.md5anim anim idle models/md5/animations/fly_looping.md5anim anim idle2 models/md5/animations/fly_dive.md5anim anim walk models/md5/animations/fly.md5anim anim af_pose models/md5/animations/fly_AF.md5anim // anim ik_pose models/md5/animations/fly_AF.md5anim //Bats have no IK bones } entityDef atdm:ai_bat { "inherit" "atdm:ai_base" "editor_displayFolder" "AI" "editor_usage" "Flying bat that uses animal_patrol to randomly fly around. Version 2.0" "editor_float anim_rate_run" "Increase or decrease to change the speed of the wing movement when running ( bats run almost all the time)" "editor_float anim_rate_walk" "Increase or decrease to change the speed of the wing movement when walking (bats walk some times, set same as anim_rate_run)" "editor_float anim_rate_idle" "Increase or decrease to change the speed of the looping animation (bats sometimes do a little looping)" "editor_float anim_rate_idle2" "Increase or decrease to change the speed of the dive animation (bats sometimes do a little dive)" "editor_float fly_offset" "Prefered fly height relative to the player's view" "editor_float turn_rate" "Maximum # of degrees monster can turn per second" "editor_float fly_speed" "Travel speed when flying" "editor_float animal_patrol_wait" "Wait time in animal_patrol between destination reached and going to a new destination" "editor_float fly_seek_scale" "Has an effect on the flying behaviour. Should maybe be changed for small or large spaces" "editor_bool noDamage" "Set to 0, bats can't be killed. There is no ragdoll (yet) but there is a visual effect when killed, defined in the death_script" "model" "Bat" "ragdoll" "Bat" "use_aas" "aas48" "size" "48 48 48" "mins" "-24 -24 0" "maxs" "24 24 48" "team" "14" "AIUse" "AIUSE_ANIMAL" "movetype" "FLY" "anim_rate_run" "1.5" // Speed up/slow down animation "anim_rate_idle" "1" "anim_rate_idle2" "1" "anim_rate_walk" "1.5" "fly_offset" "0" // "Prefered fly height relative to the player's view" "turn_rate" "360" // "Maximum # of degrees monster can turn per second" Bats are agile "fly_speed" "600" // Bats fly fast "fly_seek_scale" "0.5" // Value under 1 seems to work for bats // "fly_roll_scale" "90" // "fly_roll_max" "60" // "fly_pitch_scale" "45" // "fly_pitch_max" "30" // "fly_bob_strength" "0" // "How far flying creatures should bob" // "fly_bob_vert" "0" // "Rate at which flying creatures bob up and down." // "fly_bob_horz" "0" // "Rate at which flying creatures bob left and right" // "bone_flytilt" "" "patrol" "1" // "wander" "1" // "if set to 1, visit path_* targets randomly, otherwise visit them in order." // "wait" "0" // "How long to wait before following path. Monster will be unresponsive until this time has passed." "animal_patrol" "1" "animal_patrol_wait" "0" //New float to adjust wait time in animal_patrol mode before choosing a new destination.+ // "snd_ambient" "" // Bat's are silent "acuity_aud" "0" // Bats don't care "acuity_vis" "0" "acuity_tact" "0" "acuity_env" "0" "health" "10" // Bats can't be hurt "health_critical" "0" "noDamage" "0" "scriptobject" "ai_bat" "death_script" "batDeath" } model BatSmall { mesh models/md5/chars/animals/BatSmall.md5mesh channel torso ( origin Body Head Tail Wing1L Wing1R Wing2L Wing2R Wing21L Wing21R Wing22L Wing22R Wing3L Wing3R Wing4L Wing4R) anim run models/md5/animations/fly_small.md5anim anim idle models/md5/animations/fly_looping_small.md5anim anim idle2 models/md5/animations/fly_dive_small.md5anim anim walk models/md5/animations/fly_small.md5anim anim af_pose models/md5/animations/fly_AF_small.md5anim // anim ik_pose models/md5/animations/fly_AF_small.md5anim //Bats have no IK bones } entityDef atdm:ai_bat_small { "inherit" "atdm:ai_bat" "editor_displayFolder" "AI" "editor_float anim_rate_run" "Increase or decrease to change the speed of the wing movement when running ( bats run almost all the time)" "editor_float anim_rate_walk" "Increase or decrease to change the speed of the wing movement when walking (bats walk some times, set same as anim_rate_run)" "editor_float anim_rate_idle" "Increase or decrease to change the speed of the looping animation (bats sometimes do a little looping)" "editor_float anim_rate_idle2" "Increase or decrease to change the speed of the dive animation (bats sometimes do a little dive)" "editor_float fly_speed" "Travel speed when flying" "model" "BatSmall" "ragdoll" "BatSmall" "use_aas" "aas32" "size" "32 32 32" "mins" "-16 -16 0" "maxs" "16 16 32" "anim_rate_run" "2" // Speed up/slow down animation "anim_rate_idle" "1" "anim_rate_idle2" "1" "anim_rate_walk" "2" "fly_speed" "600" // Bats fly fast }