162 lines
4.0 KiB
XML
162 lines
4.0 KiB
XML
<Entity tags="glue_NOT" name="$animal_minipit" >
|
|
|
|
<PhysicsAIComponent
|
|
target_vec_max_len="15.0"
|
|
force_coeff="20.0"
|
|
force_balancing_coeff="1.2"
|
|
force_max="100"
|
|
torque_coeff="50"
|
|
torque_max="50.0"
|
|
damage_deactivation_probability="30"
|
|
damage_deactivation_time_min="20"
|
|
damage_deactivation_time_max="60" >
|
|
</PhysicsAIComponent>
|
|
|
|
<PhysicsBodyComponent
|
|
allow_sleep="1"
|
|
angular_damping="0.02"
|
|
fixed_rotation="0"
|
|
is_bullet="0"
|
|
linear_damping="0"
|
|
on_death_leave_physics_body="1" >
|
|
</PhysicsBodyComponent>
|
|
|
|
<PhysicsShapeComponent
|
|
is_circle="1"
|
|
radius_x="8"
|
|
radius_y="8"
|
|
friction="0.0"
|
|
restitution="0.3" >
|
|
</PhysicsShapeComponent>
|
|
|
|
<LightComponent
|
|
_enabled="1"
|
|
radius="200"
|
|
r="135"
|
|
g="10"
|
|
b="180" >
|
|
</LightComponent>
|
|
|
|
<Base file="data/entities/base_enemy_flying.xml" >
|
|
<AnimalAIComponent
|
|
_enabled="1"
|
|
preferred_job="JobDefault"
|
|
dont_counter_attack_own_herd="1"
|
|
attack_ranged_min_distance="0"
|
|
attack_ranged_max_distance="50"
|
|
creature_detection_range_x="300"
|
|
creature_detection_range_y="300"
|
|
sense_creatures="1"
|
|
attack_ranged_enabled="1"
|
|
attack_melee_enabled="0"
|
|
can_fly="1"
|
|
needs_food="0"
|
|
attack_ranged_entity_file="data/entities/projectiles/orb_purple.xml"
|
|
attack_ranged_frames_between="10"
|
|
eye_offset_y="-10"
|
|
attack_ranged_offset_y="0"
|
|
aggressiveness_min="30"
|
|
aggressiveness_max="60"
|
|
>
|
|
</AnimalAIComponent>
|
|
|
|
<DamageModelComponent
|
|
hp="8"
|
|
ragdoll_material="meat_slime"
|
|
ragdoll_filenames_file=""
|
|
blood_material="blood_fungi"
|
|
blood_spray_material="blood_fungi"
|
|
fire_probability_of_ignition="0"
|
|
air_needed="0"
|
|
blood_sprite_directional="data/particles/bloodsplatters/bloodsplatter_directional_purple_$[1-3].xml"
|
|
blood_sprite_large="data/particles/bloodsplatters/bloodsplatter_purple_$[1-3].xml"
|
|
>
|
|
<damage_multipliers
|
|
melee="0.3"
|
|
projectile="0.3"
|
|
explosion="0.4"
|
|
electricity="0.1"
|
|
fire="0" >
|
|
</damage_multipliers>
|
|
</DamageModelComponent>
|
|
|
|
<SpriteComponent
|
|
alpha="0.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="0"
|
|
can_fly="1"
|
|
jump_speed="0"
|
|
>
|
|
</PathFindingComponent>
|
|
|
|
<GenomeDataComponent
|
|
herd_id="slimes"
|
|
food_chain_rank="7"
|
|
is_predator="1" >
|
|
</GenomeDataComponent>
|
|
|
|
<CharacterPlatformingComponent
|
|
jump_velocity_y="0"
|
|
run_velocity="24" >
|
|
</CharacterPlatformingComponent>
|
|
|
|
<HitboxComponent
|
|
_enabled="1"
|
|
aabb_max_x="8"
|
|
aabb_max_y="8"
|
|
aabb_min_x="-8"
|
|
aabb_min_y="-8"
|
|
>
|
|
</HitboxComponent>
|
|
|
|
<CameraBoundComponent
|
|
max_count="30"
|
|
distance="160000">
|
|
</CameraBoundComponent>
|
|
|
|
<CharacterDataComponent
|
|
collision_aabb_min_x="-4"
|
|
collision_aabb_max_x="4"
|
|
collision_aabb_min_y="-6"
|
|
collision_aabb_max_y="2"
|
|
mass="1.9"
|
|
>
|
|
</CharacterDataComponent>
|
|
|
|
<SpriteStainsComponent
|
|
_enabled="0"
|
|
>
|
|
</SpriteStainsComponent>
|
|
</Base>
|
|
|
|
<SpriteComponent
|
|
_tags="character"
|
|
image_file="data/entities/animals/special/minipit.png"
|
|
offset_x="8"
|
|
offset_y="8"
|
|
has_special_scale="1"
|
|
special_scale_x="1"
|
|
>
|
|
</SpriteComponent>
|
|
|
|
<CellEaterComponent
|
|
radius="9"
|
|
eat_probability="100">
|
|
</CellEaterComponent>
|
|
|
|
<Entity> <Base file="data/entities/animals/special/verlet_chains/minion_tentacle.xml"> <InheritTransformComponent><Transform position.x="-2" position.y="-2" ></Transform></InheritTransformComponent> </Base> </Entity>
|
|
<Entity> <Base file="data/entities/animals/special/verlet_chains/minion_tentacle.xml"> <InheritTransformComponent><Transform position.x="2" position.y="-2" ></Transform></InheritTransformComponent> </Base> </Entity>
|
|
<Entity> <Base file="data/entities/animals/special/verlet_chains/minion_tentacle.xml"> <InheritTransformComponent><Transform position.x="0" position.y="2" ></Transform></InheritTransformComponent> </Base> </Entity>
|
|
|
|
</Entity>
|