Updated Merc Random Stats Feature (Jenilee)

- randomized gear kits are now an ini setting: MERCS_RANDOM_GEAR_KITS = TRUE/FALSE.
I made the gear randomization optional because it seems to cause trouble for people that don't use AIMNAS. SO hopefully this still lets them enjoy the random merc feature!

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1890 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
Wanne
2013-12-06 18:02:46 +00:00
parent f47f264dd6
commit 392b9b306b
3 changed files with 20 additions and 12 deletions
+10 -6
View File
@@ -369,6 +369,9 @@ SHOW_SKILLS_IN_HIRING_PAGE = FALSE
; hardcoded formula for 3 is BaseAttribute + 4 * EXP + Random(9) + Random(8)
; 4 = full randomization of mercs, including traits, gear kits and all statistics
;
; MERCS_RANDOM_GEAR_KITS: This option only takes effect, if MERCS_RANDOM_STATS = 4
; Set this option to TRUE, so mercs (AIM and MERC) get random gear kits, otherwise they have their original kits.
;
; MERCS_RANDOM_BELL_DISTRIBUTION random values use bell-curve distribution if 'TRUE'; 'FALSE', use uniform distribution
;
; MERCS_RANDOM_STAT_RANGE applicable if MERCS_RANDOM_STATS = 1-2.
@@ -388,18 +391,19 @@ SHOW_SKILLS_IN_HIRING_PAGE = FALSE
; Exp = 1/9 will not random
;------------------------------------------------------------------------------------------------------------------------------
MERCS_RANDOM_STATS = 0
MERCS_RANDOM_BELL_DISTRIBUTION = TRUE
MERCS_RANDOM_STAT_RANGE = 10
MERCS_RANDOM_EXP_RANGE = 1
MERCS_RANDOM_STATS = 0
MERCS_RANDOM_GEAR_KITS = TRUE
MERCS_RANDOM_BELL_DISTRIBUTION = TRUE
MERCS_RANDOM_STAT_RANGE = 10
MERCS_RANDOM_EXP_RANGE = 1
;------------------------------------------------------------------------------------------------------------------------------
; Use random starting salaries for mercenaries based on their "TableData\MercProfiles.xml" values? (JA2 Vanilla setting = FALSE)
; If MERCS_RANDOM_START_SALARY set TRUE, MAX_MODIFIER is the allowed +/- random percentage range (0-100, default = 30)
;------------------------------------------------------------------------------------------------------------------------------
MERCS_RANDOM_START_SALARY = TRUE
MERCS_RANDOM_START_SALARY_PERCENTAGE_MAX_MODIFIER = 30
MERCS_RANDOM_START_SALARY = TRUE
MERCS_RANDOM_START_SALARY_PERCENTAGE_MAX_MODIFIER = 30
;******************************************************************************************************************************
+10 -6
View File
@@ -367,6 +367,9 @@ SHOW_SKILLS_IN_HIRING_PAGE = FALSE
; hardcoded formula for 3 is BaseAttribute + 4 * EXP + Random(9) + Random(8)
; 4 = full randomization of mercs, including traits, gear kits and all statistics
;
; MERCS_RANDOM_GEAR_KITS: This option only takes effect, if MERCS_RANDOM_STATS = 4
; Set this option to TRUE, so mercs (AIM and MERC) get random gear kits, otherwise they have their original kits.
;
; MERCS_RANDOM_BELL_DISTRIBUTION random values use bell-curve distribution if 'TRUE'; 'FALSE', use uniform distribution
;
; MERCS_RANDOM_STAT_RANGE applicable if MERCS_RANDOM_STATS = 1-2.
@@ -387,18 +390,19 @@ SHOW_SKILLS_IN_HIRING_PAGE = FALSE
;
;------------------------------------------------------------------------------------------------------------------------------
MERCS_RANDOM_STATS = 0
MERCS_RANDOM_BELL_DISTRIBUTION = TRUE
MERCS_RANDOM_STAT_RANGE = 10
MERCS_RANDOM_EXP_RANGE = 1
MERCS_RANDOM_STATS = 0
MERCS_RANDOM_GEAR_KITS = FALSE
MERCS_RANDOM_BELL_DISTRIBUTION = TRUE
MERCS_RANDOM_STAT_RANGE = 10
MERCS_RANDOM_EXP_RANGE = 1
;------------------------------------------------------------------------------------------------------------------------------
; Use random starting salaries for mercenaries based on their "TableData\MercProfiles.xml" values? (JA2 Vanilla setting = FALSE)
; If MERCS_RANDOM_START_SALARY set TRUE, MAX_MODIFIER is the allowed +/- random percentage range (0-100, default = 30)
;------------------------------------------------------------------------------------------------------------------------------
MERCS_RANDOM_START_SALARY = FALSE
MERCS_RANDOM_START_SALARY_PERCENTAGE_MAX_MODIFIER = 30
MERCS_RANDOM_START_SALARY = FALSE
MERCS_RANDOM_START_SALARY_PERCENTAGE_MAX_MODIFIER = 30
;******************************************************************************************************************************
Binary file not shown.