105 lines
2.5 KiB
XML
105 lines
2.5 KiB
XML
|
<Entity name="$animal_tentacler_small">
|
||
|
|
||
|
<Base file="data/entities/base_enemy_flying.xml" >
|
||
|
<ItemChestComponent level="1" > </ItemChestComponent>
|
||
|
|
||
|
<AnimalAIComponent
|
||
|
attack_ranged_entity_file="data/entities/projectiles/freeze_circle.xml"
|
||
|
attack_ranged_enabled="1"
|
||
|
attack_dash_enabled="0"
|
||
|
attack_ranged_frames_between="100"
|
||
|
attack_ranged_offset_y="-8"
|
||
|
attack_ranged_max_distance="38"
|
||
|
attack_ranged_action_frame="3"
|
||
|
attack_melee_action_frame="3"
|
||
|
can_fly="1">
|
||
|
</AnimalAIComponent>
|
||
|
|
||
|
<DamageModelComponent
|
||
|
hp="0.5"
|
||
|
ragdoll_filenames_file="data/ragdolls/tentacler_small/filenames.txt"
|
||
|
ragdoll_material="meat_slime"
|
||
|
blood_material="blood_fungi"
|
||
|
blood_spray_material="blood_fungi"
|
||
|
blood_sprite_directional="data/particles/bloodsplatters/bloodsplatter_directional_purple_$[1-3].xml"
|
||
|
blood_sprite_large="data/particles/bloodsplatters/bloodsplatter_purple_$[1-3].xml"
|
||
|
>
|
||
|
<damage_multipliers
|
||
|
freeze="0.4" >
|
||
|
</damage_multipliers>
|
||
|
</DamageModelComponent>
|
||
|
|
||
|
<PathFindingComponent
|
||
|
can_fly="1"
|
||
|
can_walk="0"
|
||
|
>
|
||
|
</PathFindingComponent>
|
||
|
|
||
|
<SpriteComponent
|
||
|
image_file="data/enemies_gfx/tentacler_small.xml"
|
||
|
offset_x="0"
|
||
|
offset_y="0">
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<GenomeDataComponent
|
||
|
herd_id="slimes" >
|
||
|
</GenomeDataComponent>
|
||
|
|
||
|
<HitboxComponent
|
||
|
_enabled="1"
|
||
|
aabb_min_x="-6.0"
|
||
|
aabb_max_x="6.0"
|
||
|
aabb_min_y="-14"
|
||
|
aabb_max_y="1"
|
||
|
is_enemy="1"
|
||
|
is_item="0"
|
||
|
is_player="0" >
|
||
|
</HitboxComponent>
|
||
|
|
||
|
<CharacterDataComponent
|
||
|
_enabled="1"
|
||
|
climb_over_y="4"
|
||
|
collision_aabb_min_x="-3.0"
|
||
|
collision_aabb_max_x="3.0"
|
||
|
collision_aabb_min_y="-12"
|
||
|
collision_aabb_max_y="0"
|
||
|
mass="0.9"
|
||
|
>
|
||
|
</CharacterDataComponent>
|
||
|
|
||
|
<CharacterPlatformingComponent
|
||
|
fly_speed_max_up="40"
|
||
|
fly_speed_max_down="40"
|
||
|
fly_speed_mult="5"
|
||
|
fly_speed_change_spd="0.7"
|
||
|
fly_velocity_x="20">
|
||
|
</CharacterPlatformingComponent>
|
||
|
|
||
|
<AudioComponent
|
||
|
file="data/audio/Desktop/animals.bank"
|
||
|
event_root="animals/slime">
|
||
|
</AudioComponent>
|
||
|
|
||
|
</Base>
|
||
|
|
||
|
<LightComponent
|
||
|
_enabled="1"
|
||
|
radius="30"
|
||
|
r="189"
|
||
|
g="45"
|
||
|
b="209"
|
||
|
offset_y="-7"
|
||
|
>
|
||
|
</LightComponent>
|
||
|
|
||
|
<Entity> <Base file="data/entities/verlet_chains/smalltentacle/tentacler_tentacle_02.xml"> <InheritTransformComponent><Transform position.x="0" position.y="-8" ></Transform></InheritTransformComponent> </Base> </Entity>
|
||
|
|
||
|
<AudioLoopComponent
|
||
|
file="data/audio/Desktop/animals.bank"
|
||
|
event_name="animals/slimy_small/movement_loop"
|
||
|
set_speed_parameter="1"
|
||
|
auto_play="1">
|
||
|
</AudioLoopComponent>
|
||
|
|
||
|
</Entity>
|