Skip to content

critters.yaml

Tekla edited this page May 31, 2021 · 1 revision

Example:

cfg_0:
    Boar:
        level_min: 1
        level_max: 3
        level_lvlUpChance: 25
        health_multi: 1.8
        damage_multi: 1.2
        size: 1.2
        color: "#FF001824"
        scale_by_day:
            level_min: { days: 60, value: 1 }
            level_max: { days: 60, value: 1 }
            health_multi: { days: 60, value: 2 }
            damage_multi: { days: 60, value: 1.2 }
        scale_by_boss:
            level_min: { moder: 1, bonemass: 1, yagluth: 1 }
            level_max: { eikthyr: 1, the_elder: 1 }
            level_lvlUpChance: { eikthyr: 1, the_elder: 1 }
            health_multi: { eikthyr: 1.1 }
            damage_multi: { the_elder: 1.2 }
    Greyling:
        level_fixed: 2

cfg_1:
    Troll:
        level_fixed: 3

Flags

Type Flag Description Range
--- --- Flat Modifiers--- ----------------------------------------------------
int level_min Set min level at which given critter can appear. [1,level_max]
int level_max Set max level at which given critter can appear. [level_min,∞]
int level_lvlUpChance Set chance of critter levelling up from min to max level. [0,100]
int level_fixed Overrides critter level. [1,∞]
float health_multi Multiplies base critter health by this amount. [1,∞]
float damage_multi Multiplies base critter damage by this amount. [1,∞]
string color Hex format: #, 00-red, 00-green, 00-blue, 00-alpha. Alpha have to be pretty low for the original texture to be visible. Use values from 20 to 40 aprox. [#00000024, #ffffff24]
float size Multiplies critter size by given amount. A value of 2 will double the size while a value of 0.5 will halve it. [0.1,50]
--- --- Scale Modifiers--- ----------------------------------------------------
int level_min Adds some value to "level_min" whenever conditions are met.
int level_max Adds some value to "level_max" whenever conditions are met.
int level_lvlUpChance Adds some value to "level_lvlUpChance" whenever conditions are met.
int level_fixed Adds some value to "level_fixed" whenever conditions are met.
float health_multi Multiplies base "health_multi" by some value whenever conditions are met.
float damage_multi Multiplies base "damage_multi" by some value whenever conditions are met.
--- --- Character Variables --- ----------------------------------------------------
float crouch_speed
float walk_speed
float speed
float turn_speed
float run_speed
float run_turn_speed
float fly_slow_speed
float fly_fast_speed
float fly_turn_speed
float acceleration
float jump_force
float jump_force_forward
float jump_force_tired_factor
float air_control
bool can_swim
float swim_depth
float swim_speed
float swim_turn_speed
float swim_acceleration
bool flying
float jump_stamina_usage
bool tolerate_water
bool tolerate_fire
bool tolerate_smoke
float health
bool stagger_when_blocked
float stagger_damage_factor
----- --- Base AI Variables --- ----------------------------------------------------
string path_agent_type Humanoid, TrollSize, HugeSize, HorseSize, HumanoidNoSwim, HumanoidAvoidWater, Fish, Wolf, BigFish, GoblinBruteSize, HumanoidBigNoSwim
float view_range
float view_angle
float hear_range
float idle_sound_interval
float idle_sound_chance
float move_min_angle
bool smooth_movement
bool serpent_movement
float serpent_turn_radius
float jump_interval
float random_circle_interval
float random_move_interval
float random_move_range
bool random_fly
float chance_to_takeoff
float chance_to_land
float ground_duration
float air_duration
float max_land_altitude
float fly_altitude_min
float fly_altitude_max
float takeoff_time
bool avoid_fire
bool afraid_of_fire
bool avoid_water
string spawn_message
string death_message
----- --- Monster AI Variables --- ----------------------------------------------------
float alert_range
bool flee_if_hurt_when_target_cant_be_reached
bool flee_if_not_alerted
float flee_if_low_health
bool circulate_while_charging
bool circulate_while_charging_flying
bool enable_hunt_player
bool attack_player_objects
bool attack_player_objects_when_alerted
float intercept_time_max
float intercept_time_min
float max_chase_distance
float min_attack_interval
float circle_target_interval
float circle_target_duration
float circle_target_distance
bool sleeping
bool noise_wakeup
float noise_range_scale
float wakeup_range
bool avoid_land
float consume_range
float consume_search_range
float consume_search_interval
float consume_heal
Clone this wiki locally
  翻译: