Consistency/data/entities/animals/miniblob.xml

111 lines
2.5 KiB
XML
Raw Normal View History

2021-08-20 01:53:47 +00:00
<Entity name="$animal_miniblob" >
<Base file="data/entities/base_enemy_basic.xml" >
<AnimalAIComponent
_enabled="1"
preferred_job="JobDefault"
escape_if_damaged_probability="100"
attack_melee_damage_min="0.05"
attack_melee_damage_max="0.1"
creature_detection_range_x="300"
creature_detection_range_y="300"
food_material="rotten_meat"
needs_food="0"
sense_creatures="1"
can_fly="1"
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="120"
>
</AnimalAIComponent>
<DamageModelComponent
hp="0.2"
materials_create_messages="1"
ragdoll_filenames_file="data/ragdolls/miniblob/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/miniblob.xml"
offset_x="0"
offset_y="0">
</SpriteComponent>
<PathFindingComponent
can_jump="1"
can_fly="1"
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="25" >
</CharacterPlatformingComponent>
<CameraBoundComponent
max_count="30"
distance="160000">
</CameraBoundComponent>
<HitboxComponent
_enabled="1"
aabb_min_x="-3"
aabb_min_y="-4"
aabb_max_x="3"
aabb_max_y="3"
>
</HitboxComponent>
<CharacterDataComponent
collision_aabb_min_x="-1.5"
collision_aabb_max_x="1.5"
collision_aabb_min_y="-3"
collision_aabb_max_y="3"
mass="0.3"
>
</CharacterDataComponent>
</Base>
<SpriteComponent
_tags="character"
_enabled="1"
alpha="1"
image_file="data/enemies_gfx/miniblob_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_small" >
</AudioComponent>
</Entity>