Skip to content

Commit

Permalink
Re-struct monster sections.
Browse files Browse the repository at this point in the history
  • Loading branch information
Neloreck committed Mar 12, 2024
1 parent 4d9b74c commit 49b2962
Show file tree
Hide file tree
Showing 12 changed files with 527 additions and 521 deletions.
6 changes: 6 additions & 0 deletions src/engine/configs/$scheme/creatures.scheme.ltx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ feel_enemy_who_just_hit_max_distance.type = f32
feel_enemy_who_made_sound_max_distance.optional = true
feel_enemy_who_made_sound_max_distance.type = f32

[$monsters_common]
strict = true
stay_after_death_time_interval.type = u32
script_move_min_offset_from_leader.type = f32
script_move_max_offset_from_leader.type = f32

[$monster_shared_jumper]
jump_delay.type = u32
jump_factor.type = f32
Expand Down
6 changes: 6 additions & 0 deletions src/engine/configs/creatures/base.ltx
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,9 @@ custom_data = misc\default_custom_data.ltx ; option for Level Editor
feel_enemy_who_made_sound_max_distance = 20
feel_enemy_who_just_hit_max_distance = 40
feel_enemy_max_distance = 15

[monsters_common]
$scheme = $monsters_common
stay_after_death_time_interval = 65535 ; in hours
script_move_min_offset_from_leader = 3
script_move_max_offset_from_leader = 8
62 changes: 31 additions & 31 deletions src/engine/configs/creatures/m_dog.ltx
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,36 @@ vision_danger_section = dog_vision_danger
; �������� visibility_threshold ������ ���� ����� ��� ������� � ���,
; ����� ��������� ��������� � ������� ��������� ��� �������� �� ������� �� ���.

[dog_normal]:m_dog_e
$spawn = "monsters\dogs\dog_02_normal"
visual = monsters\dog\dog_red
corpse_visual = monsters\dog\dog_red_dead
icon = ui_npc_monster_dog_red
panic_threshold = 0.0 ; 0.2
rank = 4
immunities_sect = dog_immunities_normal
attack_params = dog_attack_params_normal
spec_rank = normal
community = dog

[dog_weak]:dog_normal
$spawn = "monsters\dogs\dog_01_weak"
visual = monsters\dog\dog_white
corpse_visual = monsters\dog\dog_white_dead
icon = ui_npc_monster_dog_white

[dog_strong]:dog_normal
$spawn = "monsters\dogs\dog_03_strong"
visual = monsters\dog\dog
corpse_visual = monsters\dog\dog_dead
icon = ui_npc_monster_dog

[dog_cute]:dog_normal
$spawn = "monsters\dogs\dog_04_cute"
visual = monsters\dog\dog_bulterier
corpse_visual = monsters\dog\dog_bulterier_dead
icon = ui_npc_monster_dog

[dog_vision_free]
$scheme = $monster_vision
min_view_distance = 0.5 ; �����������, ������� �������� �� eye_range, � ����������� �� ����
Expand Down Expand Up @@ -238,7 +268,7 @@ chemical_burn_immunity = 1.0
explosion_immunity = 1.0
fire_wound_immunity = 1.0

[m_Dog_damage]
[m_dog_damage]
; bone_name = <hit_scale>,-1,<wound_scale>
; <hit_scale> - �����. ��������� ���� (���������� ��������)
; <wound_scale> - �����. ��������� �������� �������� ����
Expand Down Expand Up @@ -329,18 +359,6 @@ bip01_r_finger0
bip01_r_finger01
bip01_l_thigh

[dog_normal]:m_dog_e
$spawn = "monsters\dogs\dog_02_normal"
visual = monsters\dog\dog_red
corpse_visual = monsters\dog\dog_red_dead
icon = ui_npc_monster_dog_red
panic_threshold = 0.0 ; 0.2
rank = 4
immunities_sect = dog_immunities_normal
attack_params = dog_attack_params_normal
spec_rank = normal
community = dog

[dog_immunities_normal]
$scheme = $immunities
burn_immunity = 0.7
Expand All @@ -364,21 +382,3 @@ stand_attack_3 = 0.2, 0.45, 50, 0.0, 0.1, 0.0, -0.5, 0.5, -1.0, 1.0, 1.8
; Jump attack
jump_ataka_02 = 0.2, 0.45, 100, 0.0, 1.0, 4.0, -1.8, 1.8, -1.8, 1.8, 1.0
stand_atack_run_0 = 0.5, 0.45, 300, 0.0, 1.0, 1.0, -1.6, 1.6, -1.6, 1.6, 3.5

[dog_weak]:dog_normal
$spawn = "monsters\dogs\dog_01_weak"
visual = monsters\dog\dog_white
corpse_visual = monsters\dog\dog_white_dead
icon = ui_npc_monster_dog_white

[dog_strong]:dog_normal
$spawn = "monsters\dogs\dog_03_strong"
visual = monsters\dog\dog
corpse_visual = monsters\dog\dog_dead
icon = ui_npc_monster_dog

[dog_cute]:dog_normal
$spawn = "monsters\dogs\dog_04_cute"
visual = monsters\dog\dog_bulterier
corpse_visual = monsters\dog\dog_bulterier_dead
icon = ui_npc_monster_dog
48 changes: 24 additions & 24 deletions src/engine/configs/creatures/m_flesh.ltx
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,30 @@ vision_danger_section = flesh_vision_danger
; �������� visibility_threshold ������ ���� ����� ��� ������� � ���,
; ����� ��������� ��������� � ������� ��������� ��� �������� �� ������� �� ���.

[flesh_normal]:m_flesh_e
$spawn = "monsters\fleshes\flesh_02_normal"
visual = monsters\flesh\flesh
corpse_visual = monsters\flesh\flesh_dead
icon = ui_npc_monster_flesh
panic_threshold = 0.2
rank = 2
immunities_sect = flesh_immunities_normal
attack_params = flesh_attack_params_normal
spec_rank = normal
community = flesh

[flesh_strong]:m_flesh_e
$spawn = "monsters\fleshes\flesh_03_strong"
visual = monsters\flesh\flesh_strong
corpse_visual = monsters\flesh\flesh_dead
icon = ui_npc_monster_flesh_strong
panic_threshold = 0.05
rank = 3
immunities_sect = flesh_immunities_strong
attack_params = flesh_attack_params_strong
spec_rank = strong
community = flesh

[flesh_vision_free]
$scheme = $monster_vision
min_view_distance = 0.4 ; �����������, ������� �������� �� eye_range, � ����������� �� ����
Expand Down Expand Up @@ -260,18 +284,6 @@ ce_amplitude = -10.0
ce_period_number = 2.0
ce_power = 1.5 ; 0.7 ; power

[flesh_normal]:m_flesh_e
$spawn = "monsters\fleshes\flesh_02_normal"
visual = monsters\flesh\flesh
corpse_visual = monsters\flesh\flesh_dead
icon = ui_npc_monster_flesh
panic_threshold = 0.2
rank = 2
immunities_sect = flesh_immunities_normal
attack_params = flesh_attack_params_normal
spec_rank = normal
community = flesh

[flesh_immunities_normal]
$scheme = $immunities
burn_immunity = 0.3
Expand All @@ -293,18 +305,6 @@ stand_attack_1 = 0.30, 0.45, 150, 0.0, 0.5, 1.0, -1.0, 1.0, -1.0, 1.0, 2.5
stand_attack_2 = 0.30, 0.45, 150, 0.0, 0.5, 1.0, -1.0, 1.0, -1.0, 1.0, 2.5
stand_attack_3 = 0.40, 0.45, 150, 0.0, 0.5, 1.0, -1.0, 1.0, -1.0, 1.0, 2.5

[flesh_strong]:m_flesh_e
$spawn = "monsters\fleshes\flesh_03_strong"
visual = monsters\flesh\flesh_strong
corpse_visual = monsters\flesh\flesh_dead
icon = ui_npc_monster_flesh_strong
panic_threshold = 0.05
rank = 3
immunities_sect = flesh_immunities_strong
attack_params = flesh_attack_params_strong
spec_rank = strong
community = flesh

[flesh_immunities_strong]
$scheme = $immunities
burn_immunity = 0.2
Expand Down
22 changes: 11 additions & 11 deletions src/engine/configs/creatures/m_giant.ltx
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,15 @@ vision_danger_section = giant_vision_danger
; �������� visibility_threshold ������ ���� ����� ��� ������� � ���,
; ����� ��������� ��������� � ������� ��������� ��� �������� �� ������� �� ���.

[gigant_normal]:m_gigant_e
$spawn = "monsters\gigants\gigant_normal"
visual = monsters\psevdogigant\psevdogigant
corpse_visual = monsters\psevdogigant\psevdogigant_dead
icon = ui_npc_monster_psevdogigant
rank = 20
spec_rank = normal
community = pseudo_gigant

[giant_vision_free]
$scheme = $monster_vision
min_view_distance = 0.5 ; �����������, ������� �������� �� eye_range, � ����������� �� ����
Expand Down Expand Up @@ -279,9 +288,6 @@ ce_amplitude = 6.0
ce_period_number = 20.0
ce_power = 1.3 ; 0.7

[giant_terrain]
255,000,255,255

[giant_immunities]
$scheme = $immunities
burn_immunity = 0.1 ; ������������ ����������
Expand All @@ -294,11 +300,5 @@ chemical_burn_immunity = 0.1
explosion_immunity = 0.08
fire_wound_immunity = 0.04

[gigant_normal]:m_gigant_e
$spawn = "monsters\gigants\gigant_normal"
visual = monsters\psevdogigant\psevdogigant
corpse_visual = monsters\psevdogigant\psevdogigant_dead
icon = ui_npc_monster_psevdogigant
rank = 20
spec_rank = normal
community = pseudo_gigant
[giant_terrain]
255,000,255,255
Loading

0 comments on commit 49b2962

Please sign in to comment.