Consistency/data/entities/animals/roboguard_big.xml

118 lines
2.6 KiB
XML

<Entity name="$animal_piranha" >
<Base file="data/entities/base_enemy_robot.xml" >
<AnimalAIComponent
_enabled="1"
preferred_job="JobDefault"
attack_melee_damage_min="0.4"
attack_melee_damage_max="0.7"
creature_detection_range_x="300"
creature_detection_range_y="300"
escape_if_damaged_probability="0"
food_material="blood"
needs_food="0"
sense_creatures="1"
attack_ranged_enabled="1"
can_fly="0"
attack_ranged_entity_file="data/entities/projectiles/machinegun_bullet_roboguard_big.xml"
attack_ranged_frames_between="3"
attack_melee_action_frame="3"
aggressiveness_min="20"
aggressiveness_max="100"
attack_ranged_offset_x="10"
attack_ranged_min_distance="20"
attack_melee_max_distance="20"
>
</AnimalAIComponent>
<DamageModelComponent
hp="8"
ragdoll_material="steel"
ragdoll_filenames_file="data/ragdolls/roboguard_big/filenames.txt"
blood_material="oil"
fire_probability_of_ignition="0" >
<damage_multipliers
projectile="0.0"
>
</damage_multipliers>
</DamageModelComponent>
<SpriteComponent
image_file="data/enemies_gfx/roboguard_big.xml"
offset_x="0"
offset_y="0">
</SpriteComponent>
<PathFindingGridMarkerComponent
marker_work_flag="16" >
</PathFindingGridMarkerComponent>
<PathFindingComponent
distance_to_reach_node_x="20"
distance_to_reach_node_y="20"
frames_to_get_stuck="120"
can_jump="1" >
</PathFindingComponent>
<GenomeDataComponent
herd_id="robot"
food_chain_rank="5"
is_predator="1" >
</GenomeDataComponent>
<CharacterPlatformingComponent
swim_idle_buoyancy_coeff="0.8"
jump_velocity_y="-12"
run_velocity="12" >
</CharacterPlatformingComponent>
<HitboxComponent
_enabled="1"
aabb_max_x="8"
aabb_max_y="4"
aabb_min_x="-8"
aabb_min_y="-12"
>
</HitboxComponent>
<CameraBoundComponent
max_count="30"
distance="160000">
</CameraBoundComponent>
<CharacterDataComponent
collision_aabb_min_x="-3.6"
collision_aabb_max_x="3.6"
collision_aabb_min_y="-12"
collision_aabb_max_y="3"
mass="2.6"
>
</CharacterDataComponent>
</Base>
<ItemPickUpperComponent
is_in_npc="1">
</ItemPickUpperComponent>
<!-- protection from FREEZING -->
<Entity>
<InheritTransformComponent />
<GameEffectComponent
effect="PROTECTION_FREEZE"
frames="-1"
>
</GameEffectComponent >
</Entity>
<SpriteComponent
_tags="character"
alpha="1"
image_file="data/enemies_gfx/roboguard_big_emissive.xml"
emissive="1"
additive="1"
rect_animation="walk" >
</SpriteComponent>
</Entity>