Consistency/data/entities/animals/basebot_hidden.xml

118 lines
2.5 KiB
XML

<Entity name="$animal_hidden">
<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/hiddenshot.xml"
attack_ranged_min_distance="0"
attack_ranged_max_distance="40"
attack_ranged_frames_between="120"
attack_ranged_action_frame="3"
attack_ranged_offset_y="-1"
>
</AnimalAIComponent>
<DamageModelComponent
hp="7"
ragdoll_filenames_file="data/ragdolls/basebot/filenames_hidden.txt"
healing_particle_effect_entity="data/entities/particles/heal_effect.xml"
>
<damage_multipliers
projectile="0.0"
electricity="-1.0"
>
</damage_multipliers>
</DamageModelComponent>
<SpriteComponent
offset_x="0"
offset_y="0"
image_file="data/enemies_gfx/basebot_hidden.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="-40"
run_velocity="40"
fly_speed_max_up="60"
fly_speed_max_down="60"
fly_speed_mult="10"
fly_speed_change_spd="1"
swim_idle_buoyancy_coeff="0.8"
fly_velocity_x="60">
</CharacterPlatformingComponent>
<HitboxComponent
_enabled="1"
aabb_min_x="-8"
aabb_max_x="8"
aabb_min_y="-7"
aabb_max_y="8"
>
</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>
<AudioComponent
file="data/audio/Desktop/animals.bank"
event_root="animals/drone_lasership" >
</AudioComponent>
<Entity>
<InheritTransformComponent />
<GameEffectComponent
effect="PROTECTION_FREEZE"
frames="-1"
>
</GameEffectComponent >
</Entity>
<Entity>
<InheritTransformComponent />
<GameEffectComponent
effect="INVISIBILITY"
frames="-1"
>
</GameEffectComponent >
</Entity>
</Entity>