Skip to main content

m_mutant.ltx


warning

This article is under construction

General​

Parameter NameParameter DescriptionExample ValuePossible Parameters
GroupControlSectionspawn_group
SpaceRestrictionSectionspace_restrictor zone_mosquito_bald zone_witches_galantine zone_burning_fuzz1 zone_mincer zone_gravi_zone
$spawn"monsters\bloodsuckers\bloodsucker_base"
$npcon
$prefetchPreload order16
visualModel of a living mutantmonsters\krovosos\krovosos
corpse_visualDead mutant modelmonsters\krovosos\krovosos_dead
destroyed_vis_namevisual, what remains when destroying a monster in an anomaly
cformparameter for dynamic objects; necessary for correct creation of the skeleton modelskeletonskeleton
classengine mutant classSM_BLOODSM_BLOOD -
script_bindingbind_monster.bind
rank16
spec_rankMonster rank displayed in statisticsnormal
communityWhat type of monster belongs tobloodsuckerTaken from game_relations.ltx
speciesbiological speciesbloodsucker
monster_typeindoor outdoor
can_spawn_phantomCan spawn phantomstruetrue or 1 or on - Yes false or 0 or off - No
spawn_phantomm_phantom_bloodsucker
killer_clsidsGame classes of objects from which a mutant can die in offlineZ_MINCER Z_GALANT ZS_BFUZZ ZS_MBALD ZS_GALAN ZS_MINCE
materialMutant materialcreatures\mediumUnused
selector_approach
terrainbloodsucker_terrain
step_paramsStep parametersm_bloodsucker_step_params
LegsCountLegs count2

AI​

Parameter NameParameter DescriptionExample ValuePossible Parameters
berserk_alwaystruetrue or 1 or on - Yes false or 0 or off - No
DayTime_BeginBeginning of a mutant's day22Game Time
DayTime_EndEnd of a mutant's day5Game Time
Min_SatietyMinimum hunger value0.000055
Max_SatietyMaximum hunger value0.9
ef_creature_typeMutant AI type13-1 - No AI? 1 - ? 2 - Rat 3 - Zombie 4 - Zombified Man? 5 - Poltergeist 6 - Blind Dog 7 - Flesh 8 - ? 9 - ? 10 - ? 11 - Boar 12 - Controller 13 - Bloodsucker 14 - Soldier? 15 - ? 16 - Military Stalker? 17 - Stalker 18 - Burer 19 - Psevdogiant 20 - Chimera 21 - Fracture
ef_weapon_type2
ef_detector_typeType of detector used11 - no detector 2 - simple detector 3 - visual detector
panic_thresholdThe threshold below which there will be panic0.01
weapon_usageAbility to use weapons(?)0
Scheduledon
Humanoff
HealthAmount of lives in offline700
MinSpeedMinimum speed to move in offline2.0
MaxSpeedMaximum speed to move in offline4.5
going_speed3.0
current_level_going_speed3.0
search_speed
smart_terrain_choose_interval00:15:00

Feels​

Parameter NameParameter DescriptionExample ValuePossible Parameters
feel_enemy_who_just_hit_max_distanceMaximum distance of feeling hit by the enemy
feel_enemy_max_distanceMaximum enemy feeling distance
max_hear_distMaximum hearing distance60
feel_enemy_who_made_sound_max_distanceMaximum distance of feeling the sound of the enemy

Group behavior​

Parameter NameParameter DescriptionExample ValuePossible Parameters
separate_factorSeparation power in the group (How far the monsters keep from each other)
separate_rangeSeparation radius (Minimum distance between allies)

Bones​

Parameter NameParameter DescriptionExample ValuePossible Parameters
bone_headHead bonebip01_headBone name
bone_firebip01_headBone name
bone_eye_leftLeft eye bonebip01_ponytail1Bone name
bone_eye_rightRight eye bonebip01_ponytail2Bone name
bone_spinbip01_spine1Bone name

Inventory​

Parameter NameParameter DescriptionExample ValuePossible Parameters
iconInventory iconui_npc_monster_krovosos
Spawn_Inventory_Item_SectionWhat can be found during the searchmutant_krovosos_jawTaken from the file monster_items.ltx
Spawn_Inventory_Item_ProbabilityThe chance of a body part falling out0.0if you set it to 1.0, it will always fall out. If set to 2.0, two pieces will fall out

Aura​

Fire​

Parameter NameParameter DescriptionExample ValuePossible Parameters
fire_max_distance0
fire_max_power5
fire_linear_factor0
fire_quadratic_factor0.025

Psy​

Parameter NameParameter DescriptionExample ValuePossible Parameters
psy_max_distance0
psy_max_power5
psy_linear_factor0.05
psy_quadratic_factor0

Radiation​

Parameter NameParameter DescriptionExample ValuePossible Parameters
radiation_max_distance0
radiation_max_power0.01
radiation_linear_factor1
radiation_quadratic_factor1
radiation_pp_effector_namepostprocess_rad
radiation_pp_highest_at0.02

Physics​

Parameter NameParameter DescriptionExample ValuePossible Parameters
ph_box0_center0.0, 0.9, 0.0
ph_box0_size0.35, 0.9, 0.35
ph_box1_center0.0, 0.6, 0.0
ph_box1_size0.40, 0.6, 0.40
ph_foot_size0.20, 0.23, 0.20
ph_crash_speed_min100
ph_crash_speed_max200
ph_collision_damage_factor0.1
ph_mass150
ph_skeleton_airr_lin_factor2.0
ph_skeleton_airr_ang_factor0.0
ph_skeleton_hinger_factor11.0
ph_skeleton_ddelayTime of change in the value of friction in the joint since the creation of the shell15.0
ph_skel_fatal_impulse_factor12.0
ph_after_death_velocity_factor0.75
ph_skel_shot_up_factor0.25

Movement​

Velocities​

Parameter NameParameter DescriptionExample ValuePossible Parameters
Velocity_Stand
Velocity_RunFwdNormalRunning speed
Velocity_RunFwdDamagedRunning speed when wounded
Velocity_WalkFwdNormalWalking velocity
Velocity_WalkFwdDamagedWalking velocity when wounded
Velocity_DragVelocity when dragging an object
Velocity_StealSneak velocity

Accelerations​

Parameter NameParameter DescriptionExample ValuePossible Parameters
Accel_GenericTotal mutant speed1.5
Accel_CalmMutant acceleration in calm state2.5
Accel_AggressiveMutant acceleration in aggressive state20.0

Attack​

Parameter NameParameter DescriptionExample ValuePossible Parameters
MinAttackDistMinimum attack distance2.0
MaxAttackDistMaximum attack distance2.8
EffectDistance20.0
hit_typeType of damage to the targetwound
as_min_dist2.0
as_step0.0
Run_Attack_Dist3.5, 4.5
Run_Attack_Delay1000, 3000
attack_paramsm_bloodsucker_attack_params
attack_effectorm_bloodsucker_attack_effector
Melee_Rotation_FactorAngular velocity during melee2.0

Attack on move​

Parameter NameParameter DescriptionExample ValuePossible Parameters
aom_enabledWhether attack on the move is enabled1true or 1 or on - Yes false or 0 or off - No
aom_max_go_close_timeMaximum time to approach the target8.0
aom_far_radiusRange to start the attack15.0
aom_attack_radiusAttack radius3.0
aom_update_side_periodFrequency of changing the side of attack1.5
aom_prediction_factorTarget motion prediction factor1.2
aom_prepare_radiusAttack preparation radius5.0
aom_prepare_timePreparation time before the attack5
aom_animation_leftLeft attack animationstand_run_attack_left_
aom_animation_rightRight attack animationstand_run_attack_right_

Entity condition​

Parameter NameParameter DescriptionExample ValuePossible Parameters
satiety_vRate of decrease in satiety over time0.0001
radiation_vRadiation reduction rate0.00001
satiety_power_vIncreasing stamina with decreasing satiety0.005
satiety_health_vIncreasing health with decreasing satiety0.001
satiety_criticalThe critical satiety value at which health begins to decrease
radiation_health_vReduced health when exposed to radiation0.0
morale_vRate of Moral Restoration0.01
health_hit_partthe percentage of the hit that goes to take away health?1.0
power_hit_partthe percentage of the hit that goes to take away power?1.0
psy_health_vSpeed of psy health recovery0.1
health_restore_vRestoring health over time?0.0001
immunities_sectMutant immunities sectionbloodsucker_immunities
protections_sectSection with protection parametersbloodsucker_protections
bleeding_vBlood loss at nominal wound per second0.008
wound_incarnation_vthe steepness of the healing curve (what percentage of the wound remains after healing in a game second)?0.02
min_wound_sizeMinimum value at which bleeding will start0.0226
DamagedThresholdThe value at which the wound animation starts to play0.36

| skin_armor | Armor (damage resistance) | | | | hit_fraction_monster | Damage modifier | | |

Sleep​

Parameter NameParameter DescriptionExample ValuePossible Parameters
sleep_healthRestoring health when sleeping?1.0
sleep_powerRecovering strength when sleeping1.0
sleep_satietyDecreased strength when sleeping1.0
sleep_radiationdamage from radiation while sleeping in a radioactive zone1.0
sleep_psy_healthRestoring psi health when sleeping?1.0

Eat​

Parameter NameParameter DescriptionExample ValuePossible Parameters
eat_freqbite frequency5.0Specified in seconds
eat_sliceincrease in satiety at one bite0.05
eat_slice_weightreduction of food from a corpse in one bite10.0
satiety_thresholdIf the value is lower than specified, the monster becomes hungry0.8
distance_to_corpseDistance to corpse to start playing eating animation0.8

Morale​

Parameter NameParameter DescriptionExample ValuePossible Parameters
Morale_Hit_Quant0.1
Morale_Attack_Success_Quantincrease in morale during a successful attack0.1
Morale_Take_Heart_Speed0.1
Morale_Despondent_Speed0.01
Morale_Stable_Speed0.01
Morale_Despondent_Threashold0.5

Sounds​

Parameter NameParameter DescriptionExample ValuePossible Parameters
sound_idleIdle soundmonsters\bloodsucker\idle_
sound_eatsound of eatingmonsters\bloodsucker\eat_
sound_aggressivesound of aggressionmonsters\bloodsucker\sucker_breath_mix_
sound_attack_hitSound of attackmonsters\bloodsucker\attack_hit_
sound_take_damagesound of taking damagemonsters\bloodsucker\hit_
sound_dieSound of deathmonsters\bloodsucker\die_
sound_panicSound of panicmonsters\bloodsucker\hit_
sound_die_in_anomalySound when dying in an anomaly
sound_distant_idleThe sound of idling in the distance?monsters\bloodsucker\die_
distant_idle_sound_delayDelay of idle distant sounds80000
distant_idle_sound_rangeDistance of distant idle sounds100.0
idle_sound_delayDelayed idle sounds950000 to N
eat_sound_delayDelayed eating sounds30000 to N
attack_sound_delayDelayed attack sounds10000 to N
SoundThreshold0.05range [0 - 1]

Damages​

Parameter NameParameter DescriptionExample ValuePossible Parameters
damagem_bloodsucker_damage
critical_wound_thresholdCritical wound threshold-1
critical_wound_decrease_quant0
critical_wound_anim_headAnimation of a critical head woundcritical_hit_torso_0
critical_wound_bones_headHead bone sectionbloodsucker_critical_wound_bones_head
critical_wound_anim_torsoAnimation of a critical torso woundcritical_hit_torso_0
critical_wound_bones_torsoTorso bone sectionbloodsucker_critical_wound_bones_torso
critical_wound_anim_legsAnimation of a critical leg woundcritical_hit_torso_0
critical_wound_bones_legsLegs bone sectionbloodsucker_critical_wound_bones_legs

Ability​

Unique abilitys for mutants. Each mutant may have its own individual abilities, or none at all.

Vision​

Parameter NameParameter DescriptionExample ValuePossible Parameters
eye_fovField of view180
eye_rangeVisibility range150
DynamicObjectsCountDetermines how many objects the mutant can remember seeing32
vision_free_sectionResponsible for vision when the NPC is in a calm statebloodsucker_vision_free
vision_danger_sectionResponsible for vision when the NPC is in an alarmed statebloodsucker_vision_danger
min_view_distanceMinimum visibility distance0.8coefficient, which is multiplied by eye_range, depending on the angle
max_view_distanceMaximum visibility distance1.0coefficient, which is multiplied by eye_range, depending on the angle
visibility_thresholdValue, when the sum is reached, the object is considered visible190.0
always_visible_distanceVision factor at which an NPC can see under all conditions, regardless of lighting and other parameters0.05
time_quantUsed when calculating the visibility of one creature to another (the formula involves time, time quantum, illumination, speed of an object, and distance to it)0.0005
decrease_valueValue by which the weight is reduced if the object is caught in the frustum, but is detached for some reason0.01
velocity_factorThe higher the value, the faster we will be detected by NPCs when we move0.2
luminocity_factorlight factor0.6
transparency_thresholdThe higher the value, the less you will be visible behind objects containing “transparent areas” such as bushes, reeds, etc.0.1

Special Effectors​

Parameter NameParameter DescriptionExample ValuePossible Parameters
duality_hHorizontal doubling0.08
duality_vVertical doubling0.06
grayDiscoloration0.5
blurBlurring0.71
noise_intensityNoise intensity0.5
noise_grainNoise granularity0.3
noise_fpsNoise Frequency (FPS)30
color_baseBase color (RGB)0.255, 0.0, 0.0
color_grayColor at discoloration (RGB)0.333, 0.333, 0.333
color_addAdditive color (RGB)0,0,0
timeTotal effect time0.65
time_attackEffect build-up time0.1
time_releaseEffect decay time0.45
ce_timeCamera shake time0.6
ce_amplitudeShaking amplitude10
ce_period_numberNumber of shaking periods1.0
ce_powerEffect power2.0

Anti-aim​

Parameter NameParameter DescriptionExample ValuePossible Parameters
anti_aim_effectorsExistence of effectors
anti_aim_animationDodge animation