147 lines
3.3 KiB
XML
147 lines
3.3 KiB
XML
<Entity name="$animal_assassin">
|
|
|
|
<Base file="data/entities/base_enemy_robot.xml" >
|
|
<AnimalAIComponent
|
|
escape_if_damaged_probability="0"
|
|
hide_from_prey="1"
|
|
hide_from_prey_target_distance="200"
|
|
hide_from_prey_time="480"
|
|
attack_melee_damage_min="1.0"
|
|
attack_melee_damage_max="1.6"
|
|
attack_dash_enabled="1"
|
|
attack_dash_lob="1.1"
|
|
attack_dash_damage="0.9"
|
|
needs_food="0"
|
|
can_fly="1"
|
|
aggressiveness_min="1"
|
|
aggressiveness_max="50"
|
|
>
|
|
</AnimalAIComponent>
|
|
|
|
<SpriteComponent
|
|
image_file="data/enemies_gfx/assassin.xml"
|
|
offset_x="8"
|
|
offset_y="13" >
|
|
</SpriteComponent>
|
|
|
|
<DamageModelComponent
|
|
hp="4"
|
|
ragdoll_material="steel"
|
|
ragdoll_filenames_file="data/ragdolls/assassin/filenames.txt"
|
|
blood_material="oil"
|
|
blood_spray_material="oil"
|
|
fire_probability_of_ignition="0" >
|
|
</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="-11" >
|
|
</HitboxComponent>
|
|
|
|
<CharacterPlatformingComponent
|
|
jump_velocity_y="-140"
|
|
run_velocity="31"
|
|
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="-9"
|
|
collision_aabb_max_y="3"
|
|
mass="1.8" >
|
|
</CharacterDataComponent>
|
|
</Base>
|
|
|
|
<SpriteComponent
|
|
_tags="character"
|
|
_enabled="1"
|
|
alpha="1"
|
|
image_file="data/enemies_gfx/assassin_emissive.xml"
|
|
offset_x="8"
|
|
offset_y="13"
|
|
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>
|
|
|
|
<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>
|
|
|
|
<AudioLoopComponent
|
|
file="data/audio/Desktop/animals.bank"
|
|
event_name="animals/assassin/movement_loop"
|
|
set_speed_parameter="1"
|
|
auto_play="1">
|
|
</AudioLoopComponent>
|
|
|
|
<Entity>
|
|
<InheritTransformComponent />
|
|
|
|
<GameEffectComponent
|
|
effect="PROTECTION_FREEZE"
|
|
frames="-1"
|
|
>
|
|
</GameEffectComponent >
|
|
</Entity>
|
|
|
|
</Entity>
|