Consistency/data/entities/animals/illusions/wizard_swapper.xml

133 lines
2.9 KiB
XML
Raw Normal View History

2021-08-20 01:53:47 +00:00
<Entity tags="glue_NOT" name="$animal_wizard_swapper" >
<Base file="data/entities/base_enemy_basic.xml" >
<ItemChestComponent level="2" > </ItemChestComponent>
<AnimalAIComponent
_enabled="1"
preferred_job="JobDefault"
attack_melee_enabled="0"
creature_detection_range_x="400"
creature_detection_range_y="400"
food_material="blood"
needs_food="0"
sense_creatures="1"
attack_ranged_enabled="1"
can_fly="1"
attack_ranged_entity_file="data/entities/projectiles/orb_swapper.xml"
attack_ranged_action_frame="5"
attack_ranged_frames_between="180"
attack_ranged_offset_y="0"
attack_ranged_min_distance="0"
attack_ranged_max_distance="300"
>
</AnimalAIComponent>
<DamageModelComponent
_enabled="0"
>
</DamageModelComponent>
<LuaComponent
execute_times="-1"
remove_after_executed="0"
script_damage_received="data/scripts/animals/wizard_swapper_damage.lua" >
</LuaComponent>
<SpriteComponent
image_file="data/enemies_gfx/wizard_swapper.xml"
alpha="0.5"
offset_x="0"
offset_y="0">
</SpriteComponent>
<PathFindingComponent
can_jump="1" >
</PathFindingComponent>
<PathFindingGridMarkerComponent
marker_work_flag="16" >
</PathFindingGridMarkerComponent>
<GenomeDataComponent
herd_id="ghost"
food_chain_rank="6"
is_predator="1" >
</GenomeDataComponent>
<CharacterPlatformingComponent
jump_velocity_y="-12"
swim_idle_buoyancy_coeff="1.0"
run_velocity="18" >
</CharacterPlatformingComponent>
<CameraBoundComponent
max_count="30"
distance="160000">
</CameraBoundComponent>
<HitboxComponent
_enabled="0"
>
</HitboxComponent>
<CharacterDataComponent
collision_aabb_min_x="-3.0"
collision_aabb_max_x="3.0"
collision_aabb_min_y="-7"
collision_aabb_max_y="3"
>
</CharacterDataComponent>
</Base>
<SpriteComponent
_tags="character"
_enabled="1"
alpha="1"
image_file="data/enemies_gfx/wizard_tele_emissive.xml"
alpha="0.5"
offset_x="0"
offset_y="0"
emissive="1"
additive="1"
next_rect_animation=""
rect_animation="walk"
>
</SpriteComponent>
<HotspotComponent
_tags="cape_root"
sprite_hotspot_name="cape" >
</HotspotComponent>
<AudioLoopComponent
file="data/audio/Desktop/animals.bank"
event_name="animals/wizard/movement_loop"
set_speed_parameter="1"
auto_play="1">
</AudioLoopComponent>
<AudioComponent
file="data/audio/Desktop/animals.bank"
event_root="animals/wizard" >
</AudioComponent>
<LifetimeComponent
lifetime="600"
>
</LifetimeComponent>
<AudioComponent
file="data/audio/Desktop/animals.bank"
event_root="animals/illusion">
</AudioComponent>
<LuaComponent
script_source_file="data/scripts/animals/illusion_disappear.lua"
execute_every_n_frame="-1"
execute_on_removed="1"
>
</LuaComponent>
</Entity>