Consistency/data/entities/animals/scavenger_poison.xml

141 lines
3.3 KiB
XML

<Entity name="$animal_scavenger_poison" >
<Base file="data/entities/base_enemy_flying.xml" >
<ItemChestComponent level="4" > </ItemChestComponent>
<AnimalAIComponent
_enabled="1"
preferred_job="JobDefault"
escape_if_damaged_probability="60"
attack_melee_damage_min="0.4"
attack_melee_damage_max="0.7"
creature_detection_range_x="500"
creature_detection_range_y="500"
creature_detection_angular_range_deg="60"
attack_melee_max_distance="20"
food_material="meat"
needs_food="0"
sense_creatures="1"
can_fly="1"
eye_offset_y="4"
attack_melee_enabled="1"
attack_melee_max_distance="10"
aggressiveness_min="1"
aggressiveness_max="80"
>
</AnimalAIComponent>
<DamageModelComponent
hp="3"
materials_create_messages="1"
ragdoll_filenames_file="data/ragdolls/scavenger_poison/filenames.txt"
fire_probability_of_ignition="1"
materials_that_damage="acid,lava,blood_cold,blood_cold_vapour,radioactive_gas,radioactive_gas_static,rock_static_radioactive"
materials_how_much_damage="0.08,0.08,0.016,0.014,0.02,0.02,0.02"
blood_spray_material="blood"
>
<damage_multipliers
melee="0.3"
projectile="1"
explosion="0.8"
electricity="0.4"
fire="0.1"
poison="0.0" >
</damage_multipliers>
</DamageModelComponent>
<SpriteComponent
image_file="data/enemies_gfx/scavenger_poison.xml"
offset_x="0"
offset_y="0">
</SpriteComponent>
<PathFindingComponent
can_jump="0"
can_fly="1"
jump_speed="80"
initial_jump_lob="1"
initial_jump_max_distance_x="60"
initial_jump_max_distance_y="60" >
</PathFindingComponent>
<PathFindingGridMarkerComponent
marker_work_flag="24" >
</PathFindingGridMarkerComponent>
<GenomeDataComponent
herd_id="orcs"
food_chain_rank="9"
is_predator="1" >
</GenomeDataComponent>
<CharacterPlatformingComponent
fly_speed_change_spd="0.8"
fly_velocity_x="28"
accel_x="0.03"
jump_velocity_y="-12"
run_velocity="22" >
</CharacterPlatformingComponent>
<CameraBoundComponent
max_count="30"
distance="160000">
</CameraBoundComponent>
<HitboxComponent
_enabled="1"
aabb_min_x="-5"
aabb_max_x="5"
aabb_min_y="-16"
aabb_max_y="3"
>
</HitboxComponent>
<CharacterDataComponent
collision_aabb_min_x="-3.0"
collision_aabb_max_x="3.0"
collision_aabb_min_y="-12"
collision_aabb_max_y="3"
mass="1.9"
>
</CharacterDataComponent>
</Base>
<Base file="data/entities/base_jetpack.xml" />
<LightComponent
_enabled="1"
radius="50"
fade_out_time="1.5"
offset_y="-8">
</LightComponent>
<AIAttackComponent
min_distance="0"
max_distance="160"
frames_between="20"
frames_between_global="20"
attack_ranged_action_frame="3"
attack_ranged_entity_file="data/entities/projectiles/bullet_poison.xml"
animation_name="attack_ranged"
attack_ranged_offset_y="-9"
attack_ranged_offset_x="12"
>
</AIAttackComponent>
<ItemPickUpperComponent
is_in_npc="1">
</ItemPickUpperComponent>
<AudioComponent
file="data/audio/Desktop/animals.bank"
event_root="animals/scavenger" >
</AudioComponent>
<Entity>
<GameEffectComponent
effect="ALLERGY_RADIOACTIVE"
frames="-1"
>
</GameEffectComponent >
</Entity>
</Entity>