116 lines
2.8 KiB
XML
116 lines
2.8 KiB
XML
|
<Entity tags="teleportable_NOT,enemy,robot" >
|
||
|
<Base file="data/entities/base_humanoid.xml" >
|
||
|
<AnimalAIComponent
|
||
|
preferred_job="JobDefault"
|
||
|
creature_detection_range_x="300"
|
||
|
creature_detection_range_y="300"
|
||
|
attack_melee_damage_min="0.2"
|
||
|
attack_melee_damage_max="0.4"
|
||
|
attack_dash_enabled="0"
|
||
|
attack_ranged_enabled="0"
|
||
|
food_material="blood"
|
||
|
needs_food="1"
|
||
|
sense_creatures="1"
|
||
|
can_fly="0"
|
||
|
aggressiveness_min="1"
|
||
|
aggressiveness_max="100"
|
||
|
>
|
||
|
</AnimalAIComponent>
|
||
|
|
||
|
<DamageModelComponent
|
||
|
hp="0.5"
|
||
|
materials_create_messages="1"
|
||
|
ragdoll_material="steel"
|
||
|
ragdoll_filenames_file="data/ragdolls/zombie/filenames.txt"
|
||
|
blood_material="oil"
|
||
|
blood_spray_material="oil"
|
||
|
fire_probability_of_ignition="0"
|
||
|
materials_that_damage="acid,lava"
|
||
|
materials_how_much_damage="0.001,0.0007"
|
||
|
blood_sprite_directional="data/particles/bloodsplatters/bloodsplatter_directional_oil_$[1-3].xml"
|
||
|
blood_sprite_large="data/particles/bloodsplatters/bloodsplatter_oil_$[1-3].xml"
|
||
|
air_needed="0"
|
||
|
>
|
||
|
<damage_multipliers
|
||
|
fire="0.0"
|
||
|
drill="0.1"
|
||
|
slice="0.1"
|
||
|
melee="0.3"
|
||
|
projectile="0.5"
|
||
|
radioactive="0.0"
|
||
|
explosion="1.0"
|
||
|
electricity="2.0"
|
||
|
physics_hit="2.0"
|
||
|
>
|
||
|
</damage_multipliers>
|
||
|
</DamageModelComponent>
|
||
|
|
||
|
<SpriteComponent
|
||
|
image_file="data/enemies_gfx/zombie.xml"
|
||
|
z_index="-1">
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<PathFindingComponent
|
||
|
distance_to_reach_node_x="20"
|
||
|
distance_to_reach_node_y="20"
|
||
|
frames_to_get_stuck="20"
|
||
|
can_jump="0" >
|
||
|
</PathFindingComponent>
|
||
|
|
||
|
<PathFindingGridMarkerComponent
|
||
|
marker_work_flag="16" >
|
||
|
</PathFindingGridMarkerComponent>
|
||
|
|
||
|
<GenomeDataComponent
|
||
|
herd_id="robot"
|
||
|
food_chain_rank="10"
|
||
|
is_predator="1" >
|
||
|
</GenomeDataComponent>
|
||
|
|
||
|
<CharacterPlatformingComponent
|
||
|
accel_x="4"
|
||
|
pixel_gravity="600"
|
||
|
jump_velocity_y="-8"
|
||
|
run_velocity="12"
|
||
|
run_animation_velocity_switching_enabled="1"
|
||
|
run_animation_velocity_switching_threshold="50" >
|
||
|
</CharacterPlatformingComponent>
|
||
|
|
||
|
<HitboxComponent
|
||
|
aabb_min_x="-4.5"
|
||
|
aabb_max_x="4.5"
|
||
|
aabb_min_y="-5.5"
|
||
|
aabb_max_y="3"
|
||
|
>
|
||
|
</HitboxComponent>
|
||
|
|
||
|
<CharacterDataComponent
|
||
|
_enabled="1"
|
||
|
climb_over_y="4"
|
||
|
collision_aabb_min_x="-2.0"
|
||
|
collision_aabb_max_x="2.0"
|
||
|
collision_aabb_min_y="-3"
|
||
|
collision_aabb_max_y="3"
|
||
|
buoyancy_check_offset_y="-6">
|
||
|
</CharacterDataComponent>
|
||
|
|
||
|
<CameraBoundComponent
|
||
|
max_count="20"
|
||
|
distance="160000">
|
||
|
</CameraBoundComponent>
|
||
|
|
||
|
<AudioComponent
|
||
|
file="data/audio/Desktop/animals.bank"
|
||
|
event_root="animals/robot">
|
||
|
</AudioComponent>
|
||
|
|
||
|
<!-- gets rid of generic animal sounds (e.g. attack_melee) -->
|
||
|
<AudioComponent
|
||
|
file="data/audio/Desktop/animals.bank"
|
||
|
event_root=""
|
||
|
set_latest_event_position="1" >
|
||
|
</AudioComponent>
|
||
|
|
||
|
</Base>
|
||
|
</Entity>
|