Consistency/data/entities/animals/drone_lasership.xml

133 lines
2.9 KiB
XML
Raw Normal View History

2021-08-20 01:53:47 +00:00
<Entity name="$animal_drone_lasership" tags="drone_lasership">
<Base file="data/entities/base_enemy_robot.xml" >
<AnimalAIComponent
preferred_job="JobDefault"
creature_detection_range_x="250"
creature_detection_range_y="250"
food_material="blood"
needs_food="0"
sense_creatures="1"
attack_ranged_enabled="1"
attack_melee_enabled="0"
can_fly="1"
can_walk="0"
attack_ranged_entity_file="data/entities/projectiles/megalaser_blue.xml"
attack_ranged_min_distance="0"
attack_ranged_max_distance="150"
attack_ranged_state_duration_frames="80"
attack_ranged_frames_between="60"
attack_ranged_action_frame="6"
attack_ranged_offset_y="-1"
>
</AnimalAIComponent>
<DamageModelComponent
hp="3"
ragdoll_filenames_file="data/ragdolls/drone_lasership/filenames.txt" >
</DamageModelComponent>
<SpriteComponent
offset_x="22"
offset_y="12"
image_file="data/enemies_gfx/drone_lasership.xml" >
</SpriteComponent>
<PathFindingComponent
can_walk="0"
can_fly="1" >
</PathFindingComponent>
<PathFindingGridMarkerComponent
marker_work_flag="16" >
</PathFindingGridMarkerComponent>
<GenomeDataComponent
herd_id="robot"
food_chain_rank="5"
is_predator="1" >
</GenomeDataComponent>
<CharacterPlatformingComponent
jump_velocity_y="-10"
run_velocity="10"
fly_speed_max_up="30"
fly_speed_max_down="30"
fly_speed_mult="7"
fly_speed_change_spd="1"
swim_idle_buoyancy_coeff="0.8"
fly_velocity_x="30">
</CharacterPlatformingComponent>
<HitboxComponent
_enabled="1"
aabb_min_x="-8"
aabb_max_x="8"
aabb_min_y="-11"
aabb_max_y="3"
>
</HitboxComponent>
<CameraBoundComponent
max_count="30"
distance="160000">
</CameraBoundComponent>
<CharacterDataComponent
collision_aabb_min_x="-8"
collision_aabb_max_x="8"
collision_aabb_min_y="-8"
collision_aabb_max_y="6"
mass="0.8"
>
</CharacterDataComponent>
</Base>
<ParticleEmitterComponent
emitted_material_name="spark_blue"
x_pos_offset_min="-8"
x_pos_offset_max="8"
y_pos_offset_min="5"
y_pos_offset_max="7"
x_vel_min="0"
x_vel_max="0"
y_vel_min="40"
y_vel_max="120"
friction="1"
count_min="1"
count_max="1"
lifetime_min="0.2"
lifetime_max="0.7"
create_real_particles="0"
emit_cosmetic_particles="1"
emission_interval_min_frames="1"
emission_interval_max_frames="3"
fade_based_on_lifetime="1"
is_emitting="1" >
</ParticleEmitterComponent>
<AudioComponent
file="data/audio/Desktop/animals.bank"
event_root="animals/drone_lasership" >
</AudioComponent>
<AudioLoopComponent
file="data/audio/Desktop/animals.bank"
event_name="animals/drone_lasership/movement_loop"
set_speed_parameter="1"
auto_play="1">
</AudioLoopComponent>
<Entity>
<InheritTransformComponent />
<GameEffectComponent
effect="PROTECTION_FREEZE"
frames="-1"
>
</GameEffectComponent >
</Entity>
</Entity>