Consistency/data/entities/animals/wraith_glowing.xml

152 lines
3.2 KiB
XML
Raw Permalink Normal View History

2021-08-20 01:53:47 +00:00
<Entity name="$animal_wraith_glowing">
<Base file="data/entities/base_enemy_flying.xml" >
<ItemChestComponent level="1" > </ItemChestComponent>
<AnimalAIComponent
attack_ranged_enabled="0"
attack_dash_enabled="0"
needs_food="0"
can_fly="1">
</AnimalAIComponent>
<DamageModelComponent
hp="7"
fire_probability_of_ignition="0"
ragdoll_fx_forced="DISINTEGRATED"
ragdoll_material="rock_static_glow"
blood_material="plasma_fading"
blood_spray_material="plasma_fading"
ragdoll_material="plasma_fading"
blood_sprite_directional=""
blood_sprite_large=""
minimum_knockback_force="100000"
>
<damage_multipliers
projectile="0.1"
explosion="0.1"
electricity="0.5"
fire="0.5"
slice="0.1"
ice="0.1"
>
</damage_multipliers>
</DamageModelComponent>
<PathFindingComponent
can_fly="1"
can_walk="0"
>
</PathFindingComponent>
<SpriteComponent
image_file="data/enemies_gfx/wraith_glowing.xml"
offset_x="0"
offset_y="0">
</SpriteComponent>
<GenomeDataComponent
herd_id="mage"
food_chain_rank="15"
is_predator="1" >
</GenomeDataComponent>
<HitboxComponent
_enabled="1"
aabb_min_x="-7.0"
aabb_max_x="7.0"
aabb_min_y="-7"
aabb_max_y="7"
is_enemy="1"
is_item="0"
is_player="0" >
</HitboxComponent>
<CharacterDataComponent
_enabled="1"
climb_over_y="4"
collision_aabb_min_x="-2.0"
collision_aabb_max_x="2.0"
collision_aabb_min_y="-6"
collision_aabb_max_y="4"
mass="0.9"
>
</CharacterDataComponent>
<AudioComponent
file="data/audio/Desktop/animals.bank"
event_root="animals/wraith_glowing" >
</AudioComponent>
</Base>
<LightComponent
_enabled="1"
radius="30"
r="99"
g="205"
b="139"
offset_y="-9"
>
</LightComponent>
<AudioLoopComponent
file="data/audio/Desktop/animals.bank"
event_name="animals/wraith_glowing/movement_loop"
set_speed_parameter="1"
auto_play="1">
</AudioLoopComponent>
<Entity> <Base file="data/entities/verlet_chains/wraith_cape/wraith_glowing/wraith_cape.xml"> <InheritTransformComponent><Transform position.x="0" position.y="2" ></Transform></InheritTransformComponent> </Base> </Entity>
<LuaComponent
execute_every_n_frame="-1"
script_damage_received="data/scripts/animals/wraith_glowing_damage.lua"
>
</LuaComponent>
<Entity>
<InheritTransformComponent>
<Transform
position.x="0"
position.y="0"
>
</Transform>
</InheritTransformComponent>
<Base file="data/entities/base_torch_particle.xml" >
<ParticleEmitterComponent
x_pos_offset_min="-2"
x_pos_offset_max="2" >
</ParticleEmitterComponent>
<ParticleEmitterComponent
color="ffFFFFFF"
x_pos_offset_min="-2"
x_pos_offset_max="2" >
</ParticleEmitterComponent>
<ParticleEmitterComponent
emitted_material_name="spark_white"
x_pos_offset_min="-2"
x_pos_offset_max="2" >
</ParticleEmitterComponent>
<ParticleEmitterComponent
emitted_material_name="spark_white"
>
</ParticleEmitterComponent>
</Base>
</Entity>
<SpriteComponent
alpha="0.55"
image_file="data/particles/fog_of_war_hole.xml"
smooth_filtering="1"
fog_of_war_hole="1" >
</SpriteComponent>
</Entity>