Consistency/data/entities/animals/blob.xml

117 lines
2.6 KiB
XML

<Entity name="$animal_blob">
<Base file="data/entities/base_enemy_basic.xml" >
<AnimalAIComponent
_enabled="1"
preferred_job="JobDefault"
escape_if_damaged_probability="100"
attack_melee_damage_min="0.3"
attack_melee_damage_max="0.5"
creature_detection_range_x="300"
creature_detection_range_y="300"
food_material="rotten_meat"
needs_food="0"
sense_creatures="1"
can_fly="0"
attack_melee_enabled="1"
attack_melee_max_distance="10"
attack_ranged_enabled="0"
aggressiveness_min="50"
aggressiveness_max="100"
attack_dash_enabled="1"
attack_dash_distance="80"
>
</AnimalAIComponent>
<DamageModelComponent
hp="0.75"
materials_create_messages="1"
ragdoll_filenames_file="data/ragdolls/blob/filenames.txt"
fire_probability_of_ignition="0"
materials_damage="0"
blood_sprite_directional="data/particles/bloodsplatters/bloodsplatter_directional_$[1-3].xml"
blood_sprite_large="data/particles/bloodsplatters/bloodsplatter_$[1-3].xml"
>
</DamageModelComponent>
<SpriteComponent
image_file="data/enemies_gfx/blob.xml"
offset_x="0"
offset_y="0">
</SpriteComponent>
<PathFindingComponent
can_jump="1"
can_fly="0"
jump_speed="100"
initial_jump_lob="1"
initial_jump_max_distance_x="100"
initial_jump_max_distance_y="100" >
</PathFindingComponent>
<PathFindingGridMarkerComponent
marker_work_flag="24" >
</PathFindingGridMarkerComponent>
<GenomeDataComponent
herd_id="slimes"
food_chain_rank="9"
is_predator="1" >
</GenomeDataComponent>
<CharacterPlatformingComponent
jump_velocity_y="-14"
run_velocity="18" >
</CharacterPlatformingComponent>
<CameraBoundComponent
max_count="30"
distance="160000">
</CameraBoundComponent>
<HitboxComponent
_enabled="1"
aabb_max_x="5"
aabb_max_y="3"
aabb_min_x="-5"
aabb_min_y="-7"
>
</HitboxComponent>
<CharacterDataComponent
collision_aabb_min_x="-3.00"
collision_aabb_max_x="3.00"
collision_aabb_min_y="-5"
collision_aabb_max_y="3"
mass="0.9"
>
</CharacterDataComponent>
</Base>
<LuaComponent
_enabled="1"
script_damage_received="data/scripts/animals/blob_damage.lua"
>
</LuaComponent>
<SpriteComponent
_tags="character"
_enabled="1"
alpha="1"
image_file="data/enemies_gfx/blob_emissive.xml"
offset_x="0"
offset_y="0"
emissive="1"
additive="1"
next_rect_animation=""
rect_animation="walk"
>
</SpriteComponent>
<AudioComponent
file="data/audio/Desktop/animals.bank"
event_root="animals/blob" >
</AudioComponent>
</Entity>