Consistency/data/entities/animals/thundermage_big.xml

295 lines
6.4 KiB
XML
Raw Normal View History

2021-08-20 01:53:47 +00:00
<Entity name="$animal_thundermage_big" tags="thundermage,touchmagic_immunity" >
<Base file="data/entities/base_enemy_basic.xml" >
<ItemChestComponent level="2" > </ItemChestComponent>
<AnimalAIComponent
_enabled="1"
preferred_job="JobDefault"
attack_melee_damage_min="0.4"
attack_melee_damage_max="0.7"
creature_detection_range_x="300"
creature_detection_range_y="300"
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/thunderball_line.xml"
attack_ranged_action_frame="4"
attack_melee_action_frame="4"
attack_ranged_frames_between="240"
attack_ranged_offset_y="-20"
>
</AnimalAIComponent>
<DamageModelComponent
hp="10"
ragdoll_material="diamond"
ragdoll_filenames_file=""
fire_probability_of_ignition="0"
blood_material="diamond"
blood_spray_material="diamond"
ragdoll_fx_forced="DISINTEGRATED"
blood_sprite_directional=""
blood_sprite_large=""
critical_damage_resistance="0.0"
physics_objects_damage="0"
air_needed="0"
healing_particle_effect_entity="data/entities/particles/heal_effect.xml"
>
<damage_multipliers
explosion="0.0"
electricity="-1">
</damage_multipliers>
</DamageModelComponent>
<SpriteComponent
image_file="data/enemies_gfx/thundermage_big.xml"
offset_x="0"
offset_y="0">
</SpriteComponent>
<PathFindingComponent
can_jump="1" >
</PathFindingComponent>
<PathFindingGridMarkerComponent
marker_work_flag="16" >
</PathFindingGridMarkerComponent>
<GenomeDataComponent
herd_id="mage"
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="1"
aabb_min_x="-6.5"
aabb_max_x="6.5"
aabb_min_y="-22"
aabb_max_y="3"
>
</HitboxComponent>
<CharacterDataComponent
collision_aabb_min_x="-2.5"
collision_aabb_max_x="3.0"
collision_aabb_min_y="-22"
collision_aabb_max_y="3"
mass="1.4"
>
</CharacterDataComponent>
</Base>
<SpriteParticleEmitterComponent
sprite_file="data/particles/spark_electric.xml"
delay="0"
lifetime="0"
color.r="1" color.g="1" color.b="1" color.a="1"
color_change.r="0" color_change.g="0" color_change.b="0" color_change.a="0"
velocity.x="0" velocity.y="0"
gravity.x="0" gravity.y="10"
velocity_slowdown="0"
rotation="0"
angular_velocity="0"
use_velocity_as_rotation="0"
scale.x="1" scale.y="1"
scale_velocity.x="0" scale_velocity.y="0"
emission_interval_min_frames="5"
emission_interval_max_frames="10"
count_min="1" count_max="1"
randomize_rotation.min="-3.1415"
randomize_rotation.max="3.1415"
randomize_position.min_x="-6"
randomize_position.max_x="6"
randomize_position.min_y="-12"
randomize_position.max_y="2"
>
</SpriteParticleEmitterComponent>
<ElectricChargeComponent
_tags="enabled_in_hand,item_identified"
charge_time_frames="2"
electricity_emission_interval_frames="8"
>
</ElectricChargeComponent>
<LightComponent
_enabled="1"
r="120"
g="180"
b="220"
radius="64" >
</LightComponent>
<SpriteComponent
_tags="character"
_enabled="1"
alpha="1"
image_file="data/enemies_gfx/thundermage_big_emissive.xml"
offset_x="0"
offset_y="0"
emissive="1"
additive="1"
next_rect_animation=""
rect_animation="walk" >
</SpriteComponent>
<ItemPickUpperComponent
is_in_npc="1">
</ItemPickUpperComponent>
<MusicEnergyAffectorComponent
energy_target="1">
</MusicEnergyAffectorComponent>
<AudioLoopComponent
file="data/audio/Desktop/animals.bank"
event_name="animals/thundermage/movement_loop"
set_speed_parameter="1"
auto_play="1">
</AudioLoopComponent>
<Entity>
<InheritTransformComponent />
<GameEffectComponent
effect="PROTECTION_FREEZE"
frames="-1"
>
</GameEffectComponent >
</Entity>
<Entity>
<InheritTransformComponent />
<GameEffectComponent
effect="PROTECTION_ELECTRICITY"
frames="-1"
>
</GameEffectComponent >
</Entity>
<LuaComponent
execute_every_n_frame="-1"
script_death="data/scripts/animals/thundermage_big_death.lua"
>
</LuaComponent>
<Entity>
<InheritTransformComponent>
<Transform
position.x="0"
position.y="-22"
>
</Transform>
</InheritTransformComponent>
<Base file="data/entities/base_torch_particle.xml" >
<ParticleEmitterComponent
x_pos_offset_min="-4"
x_pos_offset_max="4"
y_pos_offset_min="-4"
y_pos_offset_max="4"
>
</ParticleEmitterComponent>
<ParticleEmitterComponent
color="ff5ac1df"
x_pos_offset_min="-4"
x_pos_offset_max="4"
y_pos_offset_min="-4"
y_pos_offset_max="4"
>
</ParticleEmitterComponent>
<ParticleEmitterComponent
emitted_material_name="plasma_fading"
x_pos_offset_min="-4"
x_pos_offset_max="4"
y_pos_offset_min="-4"
y_pos_offset_max="4"
>
</ParticleEmitterComponent>
<ParticleEmitterComponent
x_pos_offset_min="-4"
x_pos_offset_max="4"
y_pos_offset_min="-4"
y_pos_offset_max="4"
emitted_material_name="fire_blue"
>
</ParticleEmitterComponent>
</Base>
</Entity>
<HotspotComponent
_tags="hand_l"
sprite_hotspot_name="hand"
transform_with_scale="1" >
</HotspotComponent>
<Entity name="hand_l">
<Base file="data/entities/base_torch_particle.xml" >
<ParticleEmitterComponent
count_min="2"
count_max="3"
x_pos_offset_min="-2"
x_pos_offset_max="2"
y_pos_offset_min="-1"
y_pos_offset_max="2"
>
</ParticleEmitterComponent>
<ParticleEmitterComponent
color="ff5ac1df"
count_min="2"
count_max="3"
x_pos_offset_min="-2"
x_pos_offset_max="2"
y_pos_offset_min="-1"
y_pos_offset_max="2">
</ParticleEmitterComponent>
<ParticleEmitterComponent
emitted_material_name="plasma_fading"
x_pos_offset_min="-2"
x_pos_offset_max="2"
y_pos_offset_min="-3"
y_pos_offset_max="2">
</ParticleEmitterComponent>
<ParticleEmitterComponent
emitted_material_name="fire_blue"
>
</ParticleEmitterComponent>
</Base>
<InheritTransformComponent
parent_hotspot_tag="hand_l"
only_position="1" >
</InheritTransformComponent>
</Entity>
</Entity>