Externalizations (by Buggler)

- option for crepitus to attack a random player-controlled town, not just the originating town
- externalized creatures spreading hardcoded defines to Creatures_Settings.ini

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1913 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
Wanne
2014-01-06 15:36:51 +00:00
parent db39147ec6
commit da904f2ecb
7 changed files with 116 additions and 22 deletions
+53
View File
@@ -0,0 +1,53 @@
[Creatures Settings]
;Crepitus feeding sector. Will initiate creature quest if not started upon entering sector
CREPITUS_FEEDING_SECTOR_X = 9
CREPITUS_FEEDING_SECTOR_Y = 10
CREPITUS_FEEDING_SECTOR_Z = 2
; This is how often the creatures spread, once the quest begins. The smaller the gap,
; the faster the creatures will advance. This is also directly related to the reproduction
; rates which are applied each time the creatures spread. (in mins, 5 - 14400)
CREATURE_SPREAD_TIME_NOVICE = 510
CREATURE_SPREAD_TIME_EXPERIENCED = 450
CREATURE_SPREAD_TIME_EXPERT = 390
CREATURE_SPREAD_TIME_INSANE = 150
; This is how many creatures the queen produces for each cycle of spreading.
; The higher the numbers the faster the creatures will advance. (1 - 30)
QUEEN_REPRODUCTION_BASE_NOVICE = 6
QUEEN_REPRODUCTION_BASE_EXPERIENCED = 7
QUEEN_REPRODUCTION_BASE_EXPERT = 9
QUEEN_REPRODUCTION_BASE_INSANE = 15
; Random bonus for each cycle of spreading. (0 - 10)
QUEEN_REPRODUCTION_BONUS_NOVICE = 1
QUEEN_REPRODUCTION_BONUS_EXPERIENCED = 2
QUEEN_REPRODUCTION_BONUS_EXPERT = 3
QUEEN_REPRODUCTION_BONUS_INSANE = 5
; Once the queen is added to the game, we can instantly let her spread x number of times
; to give her a head start. This can also be a useful tool for having slow reproduction rates
; but quicker head start to compensate to make the creatures less aggressive overall. (1 - 10)
QUEEN_INIT_BONUS_SPREAD_NOVICE = 1
QUEEN_INIT_BONUS_SPREAD_EXPERIENCED = 2
QUEEN_INIT_BONUS_SPREAD_EXPERT = 3
QUEEN_INIT_BONUS_SPREAD_INSANE = 5
; This value modifies the chance to populate a given sector. This is different from the previous definition.
; This value gets applied to a potentially complicated formula, using the creature habitat to modify
; chance to populate, along with factoring in the relative distance to the hive range (to promote deeper lair
; population increases), etc. Would recommend not tweaking the value too much in either direction from
; zero due to the fact that this can greatly effect spread times and maximum populations. Basically, if the
; creatures are spreading too quickly, increase the value, otherwise decrease it to a negative value. (-5 to 5)
CREATURE_POPULATION_MODIFIER_NOVICE = 0
CREATURE_POPULATION_MODIFIER_EXPERIENCED = 0
CREATURE_POPULATION_MODIFIER_EXPERT = 0
CREATURE_POPULATION_MODIFIER_INSANE = 0
; Augments the chance that the creatures will attack a town. The conditions for attacking a town
; are based strictly on the occupation of the creatures in each of the four mine exits. For each creature
; there is a base chance of 10% that the creatures will feed sometime during the night. (-100 to 100)
CREATURE_TOWN_AGGRESSIVENESS_NOVICE = -10
CREATURE_TOWN_AGGRESSIVENESS_EXPERIENCED = 0
CREATURE_TOWN_AGGRESSIVENESS_EXPERT = 10
CREATURE_TOWN_AGGRESSIVENESS_INSANE = 50
+4 -4
View File
@@ -2609,11 +2609,12 @@ TRIGGER_MASSIVE_ENEMY_COUNTERATTACK_AT_DRASSEN = TRUE
; 2: 1 + major offensives depending on game progress ; 2: 1 + major offensives depending on game progress
AGGRESSIVE_STRATEGIC_AI = 2 AGGRESSIVE_STRATEGIC_AI = 2
;------------------------------------------------------------------------------------------------------------------------------ ; Determines whether crepitus / creatures show up in SCI-FI MODE only (they can never show up in realistic mode)
; Determines whether crepitus / creatures show up in SCI-FI MODE (only - they can never show up in realistic mode)
ENABLE_CREPITUS = TRUE ENABLE_CREPITUS = TRUE
; Crepitus will attack other player-controlled town sectors, not just the originating town. Vanilla - FALSE
CREPITUS_ATTACK_ALL_TOWNS = FALSE
;------------------------------------------------------------------------------------------------------------------------------ ;------------------------------------------------------------------------------------------------------------------------------
; Mine Shut-down Event ; Mine Shut-down Event
; ;
@@ -2628,7 +2629,6 @@ ENABLE_CREPITUS = TRUE
; 5 = Chitzena ; 5 = Chitzena
; 6 = Grumm ; 6 = Grumm
;------------------------------------------------------------------------------------------------------------------------------ ;------------------------------------------------------------------------------------------------------------------------------
WHICH_MINE_SHUTS_DOWN = -1 WHICH_MINE_SHUTS_DOWN = -1
+1 -7
View File
@@ -255,10 +255,4 @@ CREATURE_MEANWHILE_CUTSCENE = TRUE
;victory celebration stuff ;victory celebration stuff
VICTORY_SECTOR_X = 3 VICTORY_SECTOR_X = 3
VICTORY_SECTOR_Y = 16 VICTORY_SECTOR_Y = 16
VICTORY_POSITION = 5687 VICTORY_POSITION = 5687
[Creatures]
;Crepitus feeding sector. Will initiate creature quest if not started upon entering sector
CREPITUS_FEEDING_SECTOR_X = 9
CREPITUS_FEEDING_SECTOR_Y = 10
CREPITUS_FEEDING_SECTOR_Z = 2
+53
View File
@@ -0,0 +1,53 @@
[Creatures Settings]
;Crepitus feeding sector. Will initiate creature quest if not started upon entering sector
CREPITUS_FEEDING_SECTOR_X = 9
CREPITUS_FEEDING_SECTOR_Y = 10
CREPITUS_FEEDING_SECTOR_Z = 2
; This is how often the creatures spread, once the quest begins. The smaller the gap,
; the faster the creatures will advance. This is also directly related to the reproduction
; rates which are applied each time the creatures spread. (in mins, 5 - 14400)
CREATURE_SPREAD_TIME_NOVICE = 510
CREATURE_SPREAD_TIME_EXPERIENCED = 450
CREATURE_SPREAD_TIME_EXPERT = 390
CREATURE_SPREAD_TIME_INSANE = 150
; This is how many creatures the queen produces for each cycle of spreading.
; The higher the numbers the faster the creatures will advance. (1 - 30)
QUEEN_REPRODUCTION_BASE_NOVICE = 6
QUEEN_REPRODUCTION_BASE_EXPERIENCED = 7
QUEEN_REPRODUCTION_BASE_EXPERT = 9
QUEEN_REPRODUCTION_BASE_INSANE = 15
; Random bonus for each cycle of spreading. (0 - 10)
QUEEN_REPRODUCTION_BONUS_NOVICE = 1
QUEEN_REPRODUCTION_BONUS_EXPERIENCED = 2
QUEEN_REPRODUCTION_BONUS_EXPERT = 3
QUEEN_REPRODUCTION_BONUS_INSANE = 5
; Once the queen is added to the game, we can instantly let her spread x number of times
; to give her a head start. This can also be a useful tool for having slow reproduction rates
; but quicker head start to compensate to make the creatures less aggressive overall. (1 - 10)
QUEEN_INIT_BONUS_SPREAD_NOVICE = 1
QUEEN_INIT_BONUS_SPREAD_EXPERIENCED = 2
QUEEN_INIT_BONUS_SPREAD_EXPERT = 3
QUEEN_INIT_BONUS_SPREAD_INSANE = 5
; This value modifies the chance to populate a given sector. This is different from the previous definition.
; This value gets applied to a potentially complicated formula, using the creature habitat to modify
; chance to populate, along with factoring in the relative distance to the hive range (to promote deeper lair
; population increases), etc. Would recommend not tweaking the value too much in either direction from
; zero due to the fact that this can greatly effect spread times and maximum populations. Basically, if the
; creatures are spreading too quickly, increase the value, otherwise decrease it to a negative value. (-5 to 5)
CREATURE_POPULATION_MODIFIER_NOVICE = 0
CREATURE_POPULATION_MODIFIER_EXPERIENCED = 0
CREATURE_POPULATION_MODIFIER_EXPERT = 0
CREATURE_POPULATION_MODIFIER_INSANE = 0
; Augments the chance that the creatures will attack a town. The conditions for attacking a town
; are based strictly on the occupation of the creatures in each of the four mine exits. For each creature
; there is a base chance of 10% that the creatures will feed sometime during the night. (-100 to 100)
CREATURE_TOWN_AGGRESSIVENESS_NOVICE = -10
CREATURE_TOWN_AGGRESSIVENESS_EXPERIENCED = 0
CREATURE_TOWN_AGGRESSIVENESS_EXPERT = 10
CREATURE_TOWN_AGGRESSIVENESS_INSANE = 50
+4 -4
View File
@@ -2608,11 +2608,12 @@ TRIGGER_MASSIVE_ENEMY_COUNTERATTACK_AT_DRASSEN = FALSE
; 2: 1 + major offensives depending on game progress ; 2: 1 + major offensives depending on game progress
AGGRESSIVE_STRATEGIC_AI = 0 AGGRESSIVE_STRATEGIC_AI = 0
;------------------------------------------------------------------------------------------------------------------------------ ; Determines whether crepitus / creatures show up in SCI-FI MODE only (they can never show up in realistic mode)
; Determines whether crepitus / creatures show up in SCI-FI MODE (only - they can never show up in realistic mode)
ENABLE_CREPITUS = TRUE ENABLE_CREPITUS = TRUE
; Crepitus will attack other player-controlled town sectors, not just the originating town. Vanilla - FALSE
CREPITUS_ATTACK_ALL_TOWNS = FALSE
;------------------------------------------------------------------------------------------------------------------------------ ;------------------------------------------------------------------------------------------------------------------------------
; Mine Shut-down Event ; Mine Shut-down Event
; ;
@@ -2627,7 +2628,6 @@ ENABLE_CREPITUS = TRUE
; 5 = Chitzena ; 5 = Chitzena
; 6 = Grumm ; 6 = Grumm
;------------------------------------------------------------------------------------------------------------------------------ ;------------------------------------------------------------------------------------------------------------------------------
WHICH_MINE_SHUTS_DOWN = -1 WHICH_MINE_SHUTS_DOWN = -1
+1 -7
View File
@@ -255,10 +255,4 @@ CREATURE_MEANWHILE_CUTSCENE = TRUE
;victory celebration stuff ;victory celebration stuff
VICTORY_SECTOR_X = 3 VICTORY_SECTOR_X = 3
VICTORY_SECTOR_Y = 16 VICTORY_SECTOR_Y = 16
VICTORY_POSITION = 5687 VICTORY_POSITION = 5687
[Creatures]
;Crepitus feeding sector. Will initiate creature quest if not started upon entering sector
CREPITUS_FEEDING_SECTOR_X = 9
CREPITUS_FEEDING_SECTOR_Y = 10
CREPITUS_FEEDING_SECTOR_Z = 2
Binary file not shown.