103 lines
2.4 KiB
XML
103 lines
2.4 KiB
XML
|
<Entity name="$animal_skullfly" >
|
||
|
|
||
|
<Base file="data/entities/base_enemy_flying.xml" >
|
||
|
<ItemChestComponent level="5" enemy_drop="1" > </ItemChestComponent>
|
||
|
|
||
|
<AnimalAIComponent
|
||
|
_enabled="1"
|
||
|
preferred_job="JobDefault"
|
||
|
|
||
|
escape_if_damaged_probability="50"
|
||
|
attack_ranged_min_distance="20"
|
||
|
attack_ranged_max_distance="200"
|
||
|
creature_detection_range_x="300"
|
||
|
creature_detection_range_y="300"
|
||
|
attack_ranged_action_frame="5"
|
||
|
attack_melee_action_frame="3"
|
||
|
attack_ranged_offset_x="6"
|
||
|
food_material="blood"
|
||
|
needs_food="0"
|
||
|
sense_creatures="1"
|
||
|
attack_ranged_enabled="1"
|
||
|
attack_melee_enabled="1"
|
||
|
can_fly="1"
|
||
|
attack_ranged_entity_file="data/entities/projectiles/darkflame.xml"
|
||
|
attack_ranged_frames_between="100" >
|
||
|
</AnimalAIComponent>
|
||
|
|
||
|
<DamageModelComponent
|
||
|
hp="2.3"
|
||
|
ragdoll_material="meat_slime_cursed"
|
||
|
ragdoll_filenames_file="data/ragdolls/skullfly/filenames.txt"
|
||
|
blood_material="slime"
|
||
|
blood_spray_material="slime"
|
||
|
blood_multiplier="0.2"
|
||
|
fire_probability_of_ignition="5"
|
||
|
air_lack_of_damage="0.2"
|
||
|
air_needed="1"
|
||
|
blood_sprite_directional="data/particles/bloodsplatters/bloodsplatter_directional_purple_$[1-3].xml"
|
||
|
blood_sprite_large="data/particles/bloodsplatters/bloodsplatter_purple_$[1-3].xml"
|
||
|
>
|
||
|
</DamageModelComponent>
|
||
|
|
||
|
<SpriteComponent
|
||
|
image_file="data/enemies_gfx/skullfly.xml"
|
||
|
offset_x="0"
|
||
|
offset_y="0">
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<PathFindingGridMarkerComponent
|
||
|
marker_work_flag="16" >
|
||
|
</PathFindingGridMarkerComponent>
|
||
|
|
||
|
<PathFindingComponent
|
||
|
frames_to_get_stuck="120"
|
||
|
can_jump="0"
|
||
|
can_fly="1"
|
||
|
jump_speed="0"
|
||
|
can_walk="0"
|
||
|
>
|
||
|
</PathFindingComponent>
|
||
|
|
||
|
<GenomeDataComponent
|
||
|
herd_id="ghost"
|
||
|
food_chain_rank="7"
|
||
|
is_predator="1" >
|
||
|
</GenomeDataComponent>
|
||
|
|
||
|
<CharacterPlatformingComponent
|
||
|
jump_velocity_y="0"
|
||
|
run_velocity="24" >
|
||
|
</CharacterPlatformingComponent>
|
||
|
|
||
|
<HitboxComponent
|
||
|
_enabled="1"
|
||
|
aabb_max_x="7"
|
||
|
aabb_max_y="1"
|
||
|
aabb_min_x="-7"
|
||
|
aabb_min_y="-16"
|
||
|
>
|
||
|
</HitboxComponent>
|
||
|
|
||
|
<CameraBoundComponent
|
||
|
max_count="30"
|
||
|
distance="160000">
|
||
|
</CameraBoundComponent>
|
||
|
|
||
|
<CharacterDataComponent
|
||
|
collision_aabb_min_x="-6"
|
||
|
collision_aabb_max_x="6"
|
||
|
collision_aabb_min_y="-6"
|
||
|
collision_aabb_max_y="2"
|
||
|
mass="2.0"
|
||
|
>
|
||
|
</CharacterDataComponent>
|
||
|
</Base>
|
||
|
|
||
|
<AudioComponent
|
||
|
file="data/audio/Desktop/animals.bank"
|
||
|
event_root="animals/skullfly" >
|
||
|
</AudioComponent>
|
||
|
|
||
|
</Entity>
|