Consistency/data/entities/animals/necrobot_super.xml

198 lines
4.6 KiB
XML

<Entity name="$animal_necrobot_super" tags="necrobot_NOT">
<Base file="data/entities/base_enemy_robot.xml" >
<AnimalAIComponent
escape_if_damaged_probability="0"
attack_dash_enabled="0"
attack_melee_enabled="0"
creature_detection_range_x="300"
creature_detection_range_y="300"
needs_food="0"
can_fly="1"
aggressiveness_min="1"
aggressiveness_max="100"
attack_ranged_enabled="1"
attack_landing_ranged_enabled="1"
attack_ranged_action_frame="5"
attack_ranged_min_distance="0"
attack_ranged_max_distance="220"
attack_ranged_entity_file="data/entities/projectiles/dotshot_strong.xml"
attack_ranged_frames_between="80"
attack_ranged_offset_x="2"
attack_ranged_offset_y="-4"
>
</AnimalAIComponent>
<SpriteComponent
image_file="data/enemies_gfx/necrobot_super.xml"
offset_x="0"
offset_y="0" >
</SpriteComponent>
<DamageModelComponent
hp="14"
ragdoll_material="steel"
ragdoll_filenames_file="data/ragdolls/necrobot/filenames.txt"
blood_material="oil"
blood_spray_material="oil"
fire_probability_of_ignition="0"
minimum_knockback_force="100000"
>
</DamageModelComponent>
<PathFindingComponent
can_jump="1"
can_fly="1"
frames_to_get_stuck="20" >
</PathFindingComponent>
<PathFindingGridMarkerComponent
marker_work_flag="24" >
</PathFindingGridMarkerComponent>
<HitboxComponent
_enabled="1"
aabb_max_x="4"
aabb_max_y="2"
aabb_min_x="-4"
aabb_min_y="-16" >
</HitboxComponent>
<CharacterPlatformingComponent
jump_velocity_y="-100"
run_velocity="18"
fly_speed_change_spd="0.8"
fly_velocity_x="28"
accel_x="0.03"
swim_idle_buoyancy_coeff="0.8" >
</CharacterPlatformingComponent>
<GenomeDataComponent
herd_id="robot"
food_chain_rank="5"
is_predator="1" >
</GenomeDataComponent>
<CharacterDataComponent
collision_aabb_min_x="-3.0"
collision_aabb_max_x="3.0"
collision_aabb_min_y="-11"
collision_aabb_max_y="3"
mass="1.8" >
</CharacterDataComponent>
</Base>
<SpriteComponent
_tags="character"
_enabled="1"
alpha="1"
image_file="data/enemies_gfx/necrobot_super_emissive.xml"
offset_x="0"
offset_y="0"
emissive="1"
additive="1"
next_rect_animation=""
rect_animation="walk" >
</SpriteComponent>
<ParticleEmitterComponent
_tags="jetpack"
emitted_material_name="rocket_particles"
offset.x="-4"
offset.y="-4"
x_pos_offset_min="-1"
x_pos_offset_max="1"
y_pos_offset_min=""
y_pos_offset_max="0"
x_vel_min="-7"
x_vel_max="7"
y_vel_min="80"
y_vel_max="180"
count_min="3"
count_max="7"
lifetime_min="0.1"
lifetime_max="0.2"
create_real_particles="0"
emit_cosmetic_particles="1"
emission_interval_min_frames="0"
emission_interval_max_frames="1"
is_emitting="1" >
</ParticleEmitterComponent>
<ItemPickUpperComponent
is_in_npc="1">
</ItemPickUpperComponent>
<HotspotComponent
_tags="hand_hotspot,hand"
sprite_hotspot_name="hand"
offset.x="0"
offset.y="0">
</HotspotComponent>
<Entity>
<Base file="data/entities/misc/animal_energy_shield_sector.xml">
</Base>
</Entity>
<AudioComponent
file="data/audio/Desktop/animals.bank"
event_root="animals/assassin" >
</AudioComponent>
<Entity>
<InheritTransformComponent />
<GameEffectComponent
effect="PROTECTION_FREEZE"
frames="-1"
>
</GameEffectComponent >
</Entity>
<AudioLoopComponent
file="data/audio/Desktop/animals.bank"
event_name="animals/tank/movement_loop"
set_speed_parameter_only_based_on_x_movement="1"
set_speed_parameter="1"
auto_play="1">
</AudioLoopComponent>
<AudioLoopComponent
file="data/audio/Desktop/animals.bank"
event_name="animals/assassin/movement_loop"
set_speed_parameter="1"
auto_play="1">
</AudioLoopComponent>
<ParticleEmitterComponent
emitted_material_name="smoke"
offset.x="0"
offset.y="0"
x_pos_offset_min="-2"
x_pos_offset_max="2"
y_pos_offset_min="-2"
y_pos_offset_max="2"
x_vel_min="-7"
x_vel_max="7"
y_vel_min="80"
y_vel_max="180"
count_min="1"
count_max="2"
lifetime_min="0.1"
lifetime_max="0.2"
create_real_particles="1"
emit_cosmetic_particles="0"
emission_interval_min_frames="3"
emission_interval_max_frames="5"
is_emitting="1" >
</ParticleEmitterComponent>
<LuaComponent
script_source_file="data/scripts/animals/necrobot_super.lua"
execute_every_n_frame="40"
>
</LuaComponent>
</Entity>