95 lines
2.1 KiB
XML
95 lines
2.1 KiB
XML
<Entity name="$animal_necromancer" tags="polymorphable_NOT" >
|
|
|
|
<Base file="data/entities/base_enemy_flying.xml" >
|
|
<ItemChestComponent level="1" > </ItemChestComponent>
|
|
|
|
<AnimalAIComponent
|
|
attack_ranged_entity_file="data/entities/projectiles/polyorb.xml"
|
|
attack_ranged_enabled="1"
|
|
attack_dash_enabled="0"
|
|
attack_ranged_frames_between="200"
|
|
attack_ranged_offset_x="4"
|
|
attack_ranged_offset_y="-6"
|
|
attack_ranged_action_frame="5"
|
|
attack_melee_enabled="1"
|
|
attack_melee_damage_min="0.8"
|
|
attack_melee_damage_max="1.4"
|
|
attack_melee_max_distance="15"
|
|
attack_ranged_min_distance="15"
|
|
attack_melee_action_frame="5"
|
|
needs_food="0"
|
|
can_fly="1" >
|
|
</AnimalAIComponent>
|
|
|
|
<DamageModelComponent
|
|
hp="2.5"
|
|
ragdoll_material="meat_cursed_dry"
|
|
blood_material="bone"
|
|
blood_spray_material="bone"
|
|
ragdoll_filenames_file="data/ragdolls/necromancer/filenames.txt"
|
|
blood_sprite_directional=""
|
|
fire_probability_of_ignition="4"
|
|
blood_sprite_large=""
|
|
air_needed="0"
|
|
>
|
|
</DamageModelComponent>
|
|
|
|
<PathFindingComponent
|
|
can_fly="1"
|
|
can_walk="0"
|
|
>
|
|
</PathFindingComponent>
|
|
|
|
<SpriteComponent
|
|
image_file="data/enemies_gfx/necromancer.xml"
|
|
offset_x="0"
|
|
offset_y="0">
|
|
</SpriteComponent>
|
|
|
|
<HitboxComponent
|
|
_enabled="1"
|
|
aabb_min_x="-6.5"
|
|
aabb_max_x="6.5"
|
|
aabb_min_y="-16.0"
|
|
aabb_max_y="3"
|
|
is_enemy="1"
|
|
is_item="0"
|
|
is_player="0" >
|
|
</HitboxComponent>
|
|
|
|
<GenomeDataComponent
|
|
herd_id="mage" >
|
|
</GenomeDataComponent>
|
|
|
|
<CharacterDataComponent
|
|
collision_aabb_min_x="-5.0"
|
|
collision_aabb_max_x="5.0"
|
|
collision_aabb_min_y="-16"
|
|
collision_aabb_max_y="3"
|
|
mass="2.1"
|
|
>
|
|
</CharacterDataComponent>
|
|
</Base>
|
|
|
|
<LightComponent
|
|
_enabled="1"
|
|
radius="70"
|
|
r="149"
|
|
g="235"
|
|
b="255">
|
|
</LightComponent>
|
|
|
|
<AudioComponent
|
|
file="data/audio/Desktop/animals.bank"
|
|
event_root="animals/necromancer" >
|
|
</AudioComponent>
|
|
|
|
<AudioLoopComponent
|
|
file="data/audio/Desktop/animals.bank"
|
|
event_name="animals/wizard_slow/movement_loop"
|
|
set_speed_parameter="1"
|
|
auto_play="1">
|
|
</AudioLoopComponent>
|
|
|
|
</Entity>
|