Home » MODDING HQ 1.13 » v1.13 Modding, Customising, Editing » v1.13 Time Capsule (How-to Library) » Ham InI Setings.
Ham InI Setings.[message #211861] Thu, 02 April 2009 02:22 Go to next message
Off_Topic

 
Messages:1054
Registered:January 2009
Hi all,

Just in case anyone doesn't see Headrock's post in Release Notes, some of the options in HAM have been turned off or reset to Vanilla settings by default. HAM is part of the SVN update now so if you want suppression etc... you'll need to activate them.

The following are Headrock's original HAM settings as a guideline:

Code:

SUPPRESSION_EFFECTIVENESS = 0 (120)
INCREASE_AI_WILLINGNESS_TO_SUPPRESS = FALSE (True)



^ This should disable all the effects of suppression.

Code:

REALISTIC_TRACERS = 2
NUM_BULLETS_PER_TRACER = 5
CTH_BUMP_PER_TRACER = 0 (10)



^ This disables the new tracer system, although keeps the more realistic light-paths, which shouldn't bother anyone.


INCREASED_AIM_COST = FALSE (True)
DYNAMIC_AIM_LIMITS = FALSE (True)



^ Two new features that change gameplay significantly.


APPROXIMATE_CTH = FALSE (True)
MOVEMENT_EFFECT_ON_AIMING = 1.5 (2.5)
AUTOFIRE_BULLETS_PER_5AP_MODIFIER = 0 (1)
AUTORESOLVE_LUCK_FACTOR = 2.0 (1.0)
DIVERSE_ROAMING_MILITIA_GROUPS = FALSE (True)



New features and externalized values that should be set to JA2 defaults.

MILITIA_DROP_EQUIPMENT = 0 (1)
SMART_TRAINING-SLEEP_HANDLER = 0 (1)
SMART_TRAINING-WAKE_HANDLER = 0 (1)
SMART_TRAINING_REST = 0 (1)

Visit Headrock's page for more detailed info.


*********************

This file shows the RECOMMENDED settings for using HAM 3. Please note that this isn't an optimal set-up, it's just the one I use which works best FOR ME, and may ALTER THE GAME CONSIDERABLY. Most importantly, this turns ALMOST ALL OF HAM'S FEATURES ON, so you get to experience everything that HAM has to offer.

------------------------------------------------------------------

Settings in \Data-1.13\JA2_Options.INI:

/-------------------------------------------\
| |
| PLEASE NOTE: As of HAM 3.4, the following |
| lines no longer have any effect and |
| should be removed: |
| |
| DIVERSE_ROAMING_MILITIA_GROUPS |
| DAYS_FOR_BR_STANDARD_DELIVERY |
| DAYS_FOR_BR_FAST_DELIVERY |
| DAYS_FOR_BR_EXPRESS_DELIVERY |
| EARLIEST_DELIVERY_HOUR |
| LATEST_DELIVERY_HOUR |
| |
\-------------------------------------------/

------------------------------------------------------------------

[JA2 HAM Settings]
;*************************
; HAM B2.8
;*************************
MINE_INCOME_PERCENTAGE = 100
MAXIMUM_POSSIBLE_CTH = 99
MINIMUM_POSSIBLE_CTH = 0
MINIMUM_CTH_DIVISOR = 100
ALLOW_RESTRICTED_MILITIA_THROUGH_VISITED_SECTORS = FALSE
ALLOW_DYNAMIC_RESTRICTED_ROAMING = TRUE
CLEAR_SUPPRESSION_COUNTER = 1
SUPPRESSION_EFFECTIVENESS = 120
LIMITED_SUPPRESSION_AP_LOSS_PER_TURN = TRUE
LIMITED_SUPPRESSION_AP_LOSS_PER_ATTACK = TRUE
SUPPRESSION_SHOCK = TRUE
SUPPRESSION_SHOCK_EFFECTIVENESS = 100
AIM_PENALTY_PER_TARGET_SHOCK = 2
COWER_EFFECT_ON_SUPPRESSION = 150
REALISTIC_TRACERS = 1
NUM_BULLETS_PER_TRACER = 5
CTH_BUMP_PER_TRACER = 50
INCREASED_AIM_COST = TRUE
DYNAMIC_AIM_LIMITS = TRUE
MOVEMENT_EFFECT_ON_AIMING = 2.5
AUTOFIRE_BULLETS_PER_5AP_MODIFIER = 1
AUTORESOLVE_LUCK_FACTOR = 1.0
MAXIMUM_SUPPRESSION_SHOCK = 30
NEW_BURST-AUTO_CTH_BARS = 1
INCREASE_AI_WILLINGNESS_TO_SUPPRESS = TRUE
HEALTH_SUBPOINTS_TO_IMPROVE = 50
STRENGTH_SUBPOINTS_TO_IMPROVE = 50
WISDOM_SUBPOINTS_TO_IMPROVE = 50
DEXTERITY_SUBPOINTS_TO_IMPROVE = 50
AGILITY_SUBPOINTS_TO_IMPROVE = 50
MARKSMANSHIP_SUBPOINTS_TO_IMPROVE = 25
MECHANICAL_SUBPOINTS_TO_IMPROVE = 25
EXPLOSIVES_SUBPOINTS_TO_IMPROVE = 25
MEDICAL_SUBPOINTS_TO_IMPROVE = 25
LEADERSHIP_SUBPOINTS_TO_IMPROVE = 25
LEVEL_SUBPOINTS_TO_IMPROVE = 350
APPROXIMATE_CTH = TRUE
ALLOW_MILITIA_MOVE_THROUGH_MINOR_CITIES = TRUE
SMART_ROAMING_MILITIA_GENERATOR = TRUE
ROAMING_MILITIA_SPREADOUT_CHANCE = 50
CTH_PENALTY_FOR_COWERING_PRONE_TARGET_DIVISOR = 1
CTH_PENALTY_FOR_COWERING_CROUCHED_TARGET_HEAD_DIVISOR = 3
CTH_PENALTY_FOR_COWERING_CROUCHED_TARGET_TORSO_DIVISOR = 4
CTH_PENALTY_FOR_COWERING_CROUCHED_TARGET_LEGS_DIVISOR = 5
MIN_RANGE_FOR_FULL_COWERING_TARGET_PENALTY = 100
MAX_SHOOTER_COWERING_PENALTY = 0
MAX_TARGET_COWERING_PENALTY = 0
MILITIA_DROP_EQUIPMENT = 2
SMART_TRAINING-SLEEP_HANDLER = 2
SMART_TRAINING-WAKE_HANDLER = 2
SMART_TRAINING_REST = 1
;*************************
; HAM 3
;*************************
STRENGTH_TO_LIFT_HALF_KILO = 1.0
MINIMUM_LEADERSHIP_TO_TRAIN_MILITIA = 20
TEACHER_TRAIT_EFFECT_ON_LEADERSHIP = 150
LEADERSHIP_AFFECTS_MILITIA_QUANTITY = TRUE
REQ_LEADERSHIP_FOR_MAX_MILITIA = 80
NUM_KILLS_PER_PROGRESS_POINT_NOVICE = 10
NUM_KILLS_PER_PROGRESS_POINT_EXPERIENCED = 15
NUM_KILLS_PER_PROGRESS_POINT_EXPERT = 30
NUM_KILLS_PER_PROGRESS_POINT_INSANE = 60
ALTERNATE_PROGRESS_CALCULATION = TRUE
;*************************
; HAM 3.1
;*************************
FIRST_AIM_READY_COST_DIVISOR = 2
SHOW_MSG_FULLY_SUPPRESSED = TRUE
HUMVEE_OFFROAD = TRUE
;*************************
; HAM 3.2
;*************************
SUPPRESSION_TOLERANCE_MAX = 16
SUPPRESSION_TOLERANCE_MIN = 4
REINFORCEMENTS_ARRIVE_WITH_NO_AP = 1
FRIENDLIES_AFFECT_TOLERANCE = TRUE
MORTAR_CTH_DIVISOR = 3
COWERING_REDUCES_SIGHTRANGE = 1
CHANCE_BLINDED_BY_HEADSHOT = 2
CRITICAL_LEGSHOT_CAUSES_AP_LOSS = TRUE
NO_ENEMY_DETECTION_WITHOUT_RECON = TRUE
HOSPITAL_TRAINING_BONUS = 25
FACTORY_REPAIR_BONUS = 75
MIN_MECHANICAL_FOR_FACTORY_REPAIR_BONUS = 50
;*************************
; HAM 3.3
;*************************
MAX_CTH_PENALTY_FOR_MOVING_TARGET = 60
TILES_MOVED_PER_BONUS_TOLERANCE_POINT = 5
MIN_LEADERSHIP_TO_TRAIN_MOBILE_MILITIA = 40
LEADERSHIP_AFFECTS_MOBILE_MILITIA_QUANTITY = TRUE
REQ_LEADERSHIP_FOR_MAX_MOBILE_MILITIA = 90
EXPLOSIVES_CAUSE_SUPPRESSION = TRUE
MIN_DISTANCE_FRIENDLY_SUPPRESSION = 30
ALLOW_MOBILE_MILITIA_REINFORCE_TOWN_GARRISONS = TRUE
ALLOW_MOBILE_MILITIA_REINFORCE_SAM_GARRISONS = TRUE
;*******************
; HAM 3.4 Settings
;*******************
BULLET_HIDE = TRUE
BULLET_HIDE_INTENSITY = 100
PERCENT_ROAMING_MILITIA_ELITES = 20
PERCENT_ROAMING_MILITIA_REGULARS = 30


------------------------------------------------------------------

Settings in \Data-1.13\APBPConstants.INI:

------------------------------------------------------------------

AP_MAX_SUPPRESSED = 64
AP_MAX_TURN_SUPPRESSED = 200
AP_LOST_PER_MORALE_DROP = 24
AP_SUPPRESSION_MOD = 24
AP_MIN_LIMIT = -80
AP_LOSS_PER_LEGSHOT_DAMAGE = 4

AP_FIRST_CLICK_AIM_SCOPE = 4
AP_SECOND_CLICK_AIM_SCOPE = 5
AP_THIRD_CLICK_AIM_SCOPE = 6
AP_FOURTH_CLICK_AIM_SCOPE = 7
AP_FIFTH_CLICK_AIM_SCOPE = 8
AP_SIXTH_CLICK_AIM_SCOPE = 9
AP_SEVENTH_CLICK_AIM_SCOPE = 10
AP_EIGHTTH_CLICK_AIM_SCOPE = 11

[Updated on: Thu, 04 June 2009 01:15] by Moderator



Re: Ham InI Setings.[message #211864] Thu, 02 April 2009 02:34 Go to previous messageGo to next message
KEN C

 
Messages:258
Registered:May 2007
Location: Aberdeen Washington USA
How about putting some explanations in the INI for this stuff so next year we won't have to Google this thread to find out how to turn it off.
Re: Ham InI Setings.[message #211869] Thu, 02 April 2009 02:49 Go to previous messageGo to next message
Off_Topic

 
Messages:1054
Registered:January 2009
Hi Oldnooob,

I wasn't really trying to explain them, just make people aware of the situation regarding HAM. I just had a vision of the board tomorrow full of posts like "Why doesn't HAM have suppression anymore?"

I added the link HeadRock provided at the bottom to be safe...


Re: Ham InI Setings.[message #211898] Thu, 02 April 2009 11:54 Go to previous messageGo to next message
lalienxx

 
Messages:82
Registered:February 2006
OLDNOOOB
How about putting some explanations in the INI for this stuff so next year we won't have to Google this thread to find out how to turn it off.


We should add the info to wiki than.


Re: Ham InI Setings.[message #211900] Thu, 02 April 2009 12:06 Go to previous messageGo to next message
Majek

 
Messages:447
Registered:January 2003
Location: Slovenia
OLDNOOOB
How about putting some explanations in the INI for this stuff so next year we won't have to Google this thread to find out how to turn it off.

Have you even looked at the .ini? Explanations are there.
Re: Ham InI Setings.[message #211902] Thu, 02 April 2009 12:16 Go to previous messageGo to next message
Off_Topic

 
Messages:1054
Registered:January 2009
Are you sure? I just have "Missing Property Description" in all the HAM description fields.


Re: Ham InI Setings.[message #211905] Thu, 02 April 2009 12:42 Go to previous messageGo to next message
Majek

 
Messages:447
Registered:January 2003
Location: Slovenia
That's only in the .ini editor and i don't use that.
Re: Ham InI Setings.[message #211908] Thu, 02 April 2009 12:50 Go to previous messageGo to next message
Off_Topic

 
Messages:1054
Registered:January 2009
Ok, I'm with you now.

@Oldnooob: If you open your DATA 1.13 folder & then the JA2_Options you'll see what Majek is talking about. Scroll to the bottom for HAM related entries to see their description.


Re: Ham InI Setings.[message #211909] Thu, 02 April 2009 12:52 Go to previous messageGo to next message
Majek

 
Messages:447
Registered:January 2003
Location: Slovenia
It's still needs to be fixed though. Wonder why the INIEditor doesn't read them.

or if these things are written in INIEditorJA2Options.xml, then that file has to be updated with HAM desriptions.

[Updated on: Thu, 02 April 2009 12:56] by Moderator

Re: Ham InI Setings.[message #211912] Thu, 02 April 2009 13:53 Go to previous messageGo to next message
RoWa21

 
Messages:2046
Registered:October 2005
Location: Austria
Off_Topic
Are you sure? I just have "Missing Property Description" in all the HAM description fields.


The INI Editor XML Files needs to be adapted for the new HAM entries. Just take a look in the ja2_options.ini.
If I have some time in the next few days I will update the INI Editor's XML File.


Re: Ham InI Setings.[message #211920] Thu, 02 April 2009 16:47 Go to previous messageGo to next message
Kaerar

 
Messages:2090
Registered:January 2003
Location: Australia :D
Is there a way to get certain tags from the ini file itself rather than have to use xml's?


Re: Ham InI Setings.[message #211924] Thu, 02 April 2009 17:58 Go to previous messageGo to next message
RoWa21

 
Messages:2046
Registered:October 2005
Location: Austria
@kaerar: No, because the INI Editor supports differernt languages for the property comments.
There are no code changes needed for the INI Editor. The only thing which needs to be done is to add the missing properties with the descriptions (copy them from ja2_options.ini) to the INIEditorJA2Options.xml file.

So if someone has some time and likes to do that, that would be fine.


Re: Ham InI Setings.[message #211969] Thu, 02 April 2009 19:42 Go to previous messageGo to next message
Headrock

 
Messages:1795
Registered:March 2006
Location: Jerusalem
Yeah yeah I'll do it. No one else understands the settings anyway. Wink


Re: Ham InI Setings.[message #211970] Thu, 02 April 2009 19:53 Go to previous messageGo to next message
Headrock

 
Messages:1795
Registered:March 2006
Location: Jerusalem
Could someone please explain what "interval" does?


Re: Ham InI Setings.[message #211978] Thu, 02 April 2009 21:51 Go to previous messageGo to next message
Headrock

 
Messages:1795
Registered:March 2006
Location: Jerusalem
Here it is:

http://www.bookgallery.co.il/JA2PublicPosts/INIEditor.zip

Still requires German translations though.


Re: Ham InI Setings.[message #212021] Fri, 03 April 2009 05:05 Go to previous messageGo to next message
Headrock

 
Messages:1795
Registered:March 2006
Location: Jerusalem
Is there anybody out there?

Is there anybody out there?

[touching guitar solo]
[violin joins in]
[sounds of the seashore]

36-24-36!


Re: Ham InI Setings.[message #212053] Fri, 03 April 2009 18:22 Go to previous messageGo to next message
RoWa21

 
Messages:2046
Registered:October 2005
Location: Austria
Headrock
Could someone please explain what "interval" does?


The interval is used in the INI Editor for "Up/Down" controls. The interval specifies the increment/decrement steps when you click on "Up" or "Down".

Thanks for adding the properties. I will upload them to the SVN GameDir.

EDIT: New Files is uploaded.

[Updated on: Fri, 03 April 2009 18:25] by Moderator



Re: Ham InI Setings.[message #212057] Fri, 03 April 2009 18:46 Go to previous messageGo to next message
Headrock

 
Messages:1795
Registered:March 2006
Location: Jerusalem
Yeah I figured that part out. BTW, are there really no "float" controls in the editor?


Re: Ham InI Setings.[message #212059] Fri, 03 April 2009 19:06 Go to previous messageGo to next message
RoWa21

 
Messages:2046
Registered:October 2005
Location: Austria
Headrock
Yeah I figured that part out. BTW, are there really no "float" controls in the editor?


The INI Editor supports float controls. You just have to specify datatype="decimal" in the "INIEditorJA2Options.xml" for the property.

EDIT: If you have a updated version of the "INIEditorJA2Options.xml" just inform me in this thread.

[Updated on: Fri, 03 April 2009 19:07] by Moderator



Re: Ham InI Setings.[message #212073] Fri, 03 April 2009 22:20 Go to previous messageGo to next message
Headrock

 
Messages:1795
Registered:March 2006
Location: Jerusalem
I've changed some settings into "decimal", including one from the original INI.

http://www.bookgallery.co.il/ja2publicposts/inieditorxml.zip

Also, here's a question: What happened to the speed settings? Looks like they've been changed into 0-100 integers (in the CODE), instead of the original 0-1 floats. Is this ok? I mean, that means there's nothing between "fastest" and "normal"...

[Updated on: Fri, 03 April 2009 22:20] by Moderator



Re: Ham InI Setings.[message #218981] Thu, 04 June 2009 01:14 Go to previous messageGo to next message
Off_Topic

 
Messages:1054
Registered:January 2009
This file shows the RECOMMENDED settings for using HAM 3. Please note that this isn't an optimal set-up, it's just the one I use which works best FOR ME, and may ALTER THE GAME CONSIDERABLY. Most importantly, this turns ALMOST ALL OF HAM'S FEATURES ON, so you get to experience everything that HAM has to offer.

------------------------------------------------------------------

Settings in \Data-1.13\JA2_Options.INI:

/-------------------------------------------\
| |
| PLEASE NOTE: As of HAM 3.4, the following |
| lines no longer have any effect and |
| should be removed: |
| |
| DIVERSE_ROAMING_MILITIA_GROUPS |
| DAYS_FOR_BR_STANDARD_DELIVERY |
| DAYS_FOR_BR_FAST_DELIVERY |
| DAYS_FOR_BR_EXPRESS_DELIVERY |
| EARLIEST_DELIVERY_HOUR |
| LATEST_DELIVERY_HOUR |
| |
\-------------------------------------------/

------------------------------------------------------------------

[JA2 HAM Settings]
;*************************
; HAM B2.8
;*************************
MINE_INCOME_PERCENTAGE = 100
MAXIMUM_POSSIBLE_CTH = 99
MINIMUM_POSSIBLE_CTH = 0
MINIMUM_CTH_DIVISOR = 100
ALLOW_RESTRICTED_MILITIA_THROUGH_VISITED_SECTORS = FALSE
ALLOW_DYNAMIC_RESTRICTED_ROAMING = TRUE
CLEAR_SUPPRESSION_COUNTER = 1
SUPPRESSION_EFFECTIVENESS = 120
LIMITED_SUPPRESSION_AP_LOSS_PER_TURN = TRUE
LIMITED_SUPPRESSION_AP_LOSS_PER_ATTACK = TRUE
SUPPRESSION_SHOCK = TRUE
SUPPRESSION_SHOCK_EFFECTIVENESS = 100
AIM_PENALTY_PER_TARGET_SHOCK = 2
COWER_EFFECT_ON_SUPPRESSION = 150
REALISTIC_TRACERS = 1
NUM_BULLETS_PER_TRACER = 5
CTH_BUMP_PER_TRACER = 50
INCREASED_AIM_COST = TRUE
DYNAMIC_AIM_LIMITS = TRUE
MOVEMENT_EFFECT_ON_AIMING = 2.5
AUTOFIRE_BULLETS_PER_5AP_MODIFIER = 1
AUTORESOLVE_LUCK_FACTOR = 1.0
MAXIMUM_SUPPRESSION_SHOCK = 30
NEW_BURST-AUTO_CTH_BARS = 1
INCREASE_AI_WILLINGNESS_TO_SUPPRESS = TRUE
HEALTH_SUBPOINTS_TO_IMPROVE = 50
STRENGTH_SUBPOINTS_TO_IMPROVE = 50
WISDOM_SUBPOINTS_TO_IMPROVE = 50
DEXTERITY_SUBPOINTS_TO_IMPROVE = 50
AGILITY_SUBPOINTS_TO_IMPROVE = 50
MARKSMANSHIP_SUBPOINTS_TO_IMPROVE = 25
MECHANICAL_SUBPOINTS_TO_IMPROVE = 25
EXPLOSIVES_SUBPOINTS_TO_IMPROVE = 25
MEDICAL_SUBPOINTS_TO_IMPROVE = 25
LEADERSHIP_SUBPOINTS_TO_IMPROVE = 25
LEVEL_SUBPOINTS_TO_IMPROVE = 350
APPROXIMATE_CTH = TRUE
ALLOW_MILITIA_MOVE_THROUGH_MINOR_CITIES = TRUE
SMART_ROAMING_MILITIA_GENERATOR = TRUE
ROAMING_MILITIA_SPREADOUT_CHANCE = 50
CTH_PENALTY_FOR_COWERING_PRONE_TARGET_DIVISOR = 1
CTH_PENALTY_FOR_COWERING_CROUCHED_TARGET_HEAD_DIVISOR = 3
CTH_PENALTY_FOR_COWERING_CROUCHED_TARGET_TORSO_DIVISOR = 4
CTH_PENALTY_FOR_COWERING_CROUCHED_TARGET_LEGS_DIVISOR = 5
MIN_RANGE_FOR_FULL_COWERING_TARGET_PENALTY = 100
MAX_SHOOTER_COWERING_PENALTY = 0
MAX_TARGET_COWERING_PENALTY = 0
MILITIA_DROP_EQUIPMENT = 2
SMART_TRAINING-SLEEP_HANDLER = 2
SMART_TRAINING-WAKE_HANDLER = 2
SMART_TRAINING_REST = 1
;*************************
; HAM 3
;*************************
STRENGTH_TO_LIFT_HALF_KILO = 1.0
MINIMUM_LEADERSHIP_TO_TRAIN_MILITIA = 20
TEACHER_TRAIT_EFFECT_ON_LEADERSHIP = 150
LEADERSHIP_AFFECTS_MILITIA_QUANTITY = TRUE
REQ_LEADERSHIP_FOR_MAX_MILITIA = 80
NUM_KILLS_PER_PROGRESS_POINT_NOVICE = 10
NUM_KILLS_PER_PROGRESS_POINT_EXPERIENCED = 15
NUM_KILLS_PER_PROGRESS_POINT_EXPERT = 30
NUM_KILLS_PER_PROGRESS_POINT_INSANE = 60
ALTERNATE_PROGRESS_CALCULATION = TRUE
;*************************
; HAM 3.1
;*************************
FIRST_AIM_READY_COST_DIVISOR = 2
SHOW_MSG_FULLY_SUPPRESSED = TRUE
HUMVEE_OFFROAD = TRUE
;*************************
; HAM 3.2
;*************************
SUPPRESSION_TOLERANCE_MAX = 16
SUPPRESSION_TOLERANCE_MIN = 4
REINFORCEMENTS_ARRIVE_WITH_NO_AP = 1
FRIENDLIES_AFFECT_TOLERANCE = TRUE
MORTAR_CTH_DIVISOR = 3
COWERING_REDUCES_SIGHTRANGE = 1
CHANCE_BLINDED_BY_HEADSHOT = 2
CRITICAL_LEGSHOT_CAUSES_AP_LOSS = TRUE
NO_ENEMY_DETECTION_WITHOUT_RECON = TRUE
HOSPITAL_TRAINING_BONUS = 25
FACTORY_REPAIR_BONUS = 75
MIN_MECHANICAL_FOR_FACTORY_REPAIR_BONUS = 50
;*************************
; HAM 3.3
;*************************
MAX_CTH_PENALTY_FOR_MOVING_TARGET = 60
TILES_MOVED_PER_BONUS_TOLERANCE_POINT = 5
MIN_LEADERSHIP_TO_TRAIN_MOBILE_MILITIA = 40
LEADERSHIP_AFFECTS_MOBILE_MILITIA_QUANTITY = TRUE
REQ_LEADERSHIP_FOR_MAX_MOBILE_MILITIA = 90
EXPLOSIVES_CAUSE_SUPPRESSION = TRUE
MIN_DISTANCE_FRIENDLY_SUPPRESSION = 30
ALLOW_MOBILE_MILITIA_REINFORCE_TOWN_GARRISONS = TRUE
ALLOW_MOBILE_MILITIA_REINFORCE_SAM_GARRISONS = TRUE
;*******************
; HAM 3.4 Settings
;*******************
BULLET_HIDE = TRUE
BULLET_HIDE_INTENSITY = 100
PERCENT_ROAMING_MILITIA_ELITES = 20
PERCENT_ROAMING_MILITIA_REGULARS = 30


------------------------------------------------------------------

Settings in \Data-1.13\APBPConstants.INI:

------------------------------------------------------------------

AP_MAX_SUPPRESSED = 64
AP_MAX_TURN_SUPPRESSED = 200
AP_LOST_PER_MORALE_DROP = 24
AP_SUPPRESSION_MOD = 24
AP_MIN_LIMIT = -80
AP_LOSS_PER_LEGSHOT_DAMAGE = 4

AP_FIRST_CLICK_AIM_SCOPE = 4
AP_SECOND_CLICK_AIM_SCOPE = 5
AP_THIRD_CLICK_AIM_SCOPE = 6
AP_FOURTH_CLICK_AIM_SCOPE = 7
AP_FIFTH_CLICK_AIM_SCOPE = 8
AP_SIXTH_CLICK_AIM_SCOPE = 9
AP_SEVENTH_CLICK_AIM_SCOPE = 10
AP_EIGHTTH_CLICK_AIM_SCOPE = 11


Re: Ham InI Setings.[message #231827] Thu, 27 August 2009 13:30 Go to previous messageGo to next message
Haian
Messages:1
Registered:August 2009
Location: -
Sorry if this is the wrong thread to ask in:

; Divisor for rate of self-training; reduce to speed all skill training
SELF_TRAINING_DIVISOR = 1000

; The divisor for rate of training bonus due to instructors influence
; Reduce to speed trainer/student training
; This value gets added to the self training divisor when calculating training points
INSTRUCTED_TRAINING_DIVISOR = 3000

doesn't that mean that self training is 3x faster than trainer/student training? That doesn't make any sense to me

[Updated on: Thu, 27 August 2009 13:30] by Moderator

Re: Ham InI Setings.[message #231828] Thu, 27 August 2009 13:34 Go to previous messageGo to next message
Logisteric

 
Messages:3500
Registered:December 2008
Location: B
afaik it's a divisor isn't it - a/1000 is surely not thrice as fast as a/3000 when a is a certain amount of time necessary to gain something


edith: and yes it is the wrong thread - it's not ham-related

[Updated on: Thu, 27 August 2009 13:37] by Moderator

Re: Ham InI Setings.[message #254413] Mon, 21 June 2010 03:45 Go to previous messageGo to next message
Morbo

 
Messages:31
Registered:May 2008
Quote:
HAM 3.4 (and later versions) comes pre-packaged with several versions of DynamicRestrictions.XML. Each of these files contains a different set of restriction rules, which will radically change the way that Mobile Militia move around the map. You can choose the file you like the most!
>>>
Installing your favourite DynamicRestrictions file

To install any of the files above, follow this procedure:

1. Backup your original file for later use. The file to backup is (DataFolder)\TableData\Map\DynamicRestrictions.XML. You can rename it "DynamicRestrictions.BAK", for simplicity.
2. Extract your chosen XML file from the HAM package to your (DataFolder)\TableData\Map folder.
3. Rename the new file to "DynamicRestrictions.XML".

If you've installed HAM without performing the above, the game will use the fully-dynamic set by default.


Above from the HAM wiki. So ... where do i get these different versions of the dynamic restrictions.xml? Looks like it wasn't included in the SCI installer version. I've been wondering why my mobile militia aren't mobile. They just sit there after they are generated. (And yes, I've checked my INI, the settings are correct and turned on according to the HAM wiki.

Re: Ham InI Setings.[message #254415] Mon, 21 June 2010 03:53 Go to previous messageGo to next message
Morbo

 
Messages:31
Registered:May 2008
Hm, okay. By reading the ini, looks like the version included with HAM 3.6 is the DynamicRestrictions - Fully HAM-Dynamic.XML version

However, my mobile militia still don't move after they are created. They just stay in whatever sector they got popped into when they were trained

Here's my settings ini file:

[Mobile Militia Training Settings]
ALLOW_MOBILE_MILITIA = TRUE
MOBILE_MILITIA_TRAINING_DELAY = 1
NUM_MOBILE_MILITIA_TRAINED_PER_SESSION = 4
MUST_TRAIN_MOBILE_MILITIA = TRUE
CREATE_MOBILE_MILITIA_SQUAD_EACH_N_HOURS = 24
MIN_LEADERSHIP_TO_TRAIN_MOBILE_MILITIA = 40
LEADERSHIP_AFFECTS_MOBILE_MILITIA_QUANTITY = FALSE
REQ_LEADERSHIP_FOR_MAX_MOBILE_MILITIA = 90
LEADERSHIP_AFFECTS_MOBILE_MILITIA_QUALITY = TRUE
PERCENT_MOBILE_MILITIA_ELITES = 20
PERCENT_MOBILE_MILITIA_REGULARS = 30
[Mobile Militia Movement Settings]
RESTRICT_ROAMING = TRUE
ALLOW_MILITIA_MOVEMENT_THROUGH_EXPLORED_SECTORS = FALSE
ALLOW_DYNAMIC_RESTRICTED_ROAMING = TRUE
ALLOW_MILITIA_MOVEMENT_THROUGH_MINOR_CITIES = TRUE
ALLOW_MOBILE_MILITIA_REINFORCE_TOWN_GARRISONS = TRUE
ALLOW_MOBILE_MILITIA_REINFORCE_SAM_GARRISONS = TRUE
Re: Ham InI Setings.[message #254417] Mon, 21 June 2010 04:15 Go to previous messageGo to next message
Headrock

 
Messages:1795
Registered:March 2006
Location: Jerusalem
A) Yes, the HAM settings package no longer contains the extra movement files. I opted for the "easiest installation instructions possible" route.

B) Your problem is very odd, but I'm going to assume that something is wrong with the installation. What exactly did you install, and what files if any did you mess around with?


Re: Ham InI Setings.[message #254429] Mon, 21 June 2010 08:08 Go to previous messageGo to next message
Morbo

 
Messages:31
Registered:May 2008
Installed:
JA2 Gold (from CD)
Then
1.13.3356 SCI

No mods at all.

Files I've changed:
Facilities.xml (to fix the problem with one of the cambria sectors not being able to train militia despite there being a aca building)

ja2_options.ini

and i've used proedit.exe to look at the merc stats, but haven't changed anything.

I'm positive it's pointing to the correct ja2_options.ini file because some of the changes I've made mid game are taking effect (changed the "leadership affects militia training rate to on). I can't remember if I set the mobile militia settings at the start of the game or not ... Does mobile militia settings require a new game? Maybe that's why?

I had "Allow reinforcements" turned on at the start of the game. About halfway through the game, I turned it off. Don't know if that has any effect on mobile militia being able to roam ...
Re: Ham InI Setings.[message #254448] Mon, 21 June 2010 14:20 Go to previous messageGo to next message
Headrock

 
Messages:1795
Registered:March 2006
Location: Jerusalem
Quote:
Does mobile militia settings require a new game?


No.

Ok, my second guess would be that you're complaining prematurely. Is it possible that you haven't actually conquered an entire town yet, but are already training mobiles from that town?


Re: Ham InI Setings.[message #254523] Tue, 22 June 2010 03:16 Go to previous messageGo to next message
Morbo

 
Messages:31
Registered:May 2008
Nope. 76% through game, have all sectors occupied in drassen, cambria, balime, chitzena. 100% loyalty in drassen and chitzena.

Don't stress too much about it, I thought maybe it was something obvious I missed. I have been tweaking things here and there mid-game, since I'm trying out a lot of the new ini settings.

I'm almost done with this game, I'll try it again on the next game with the latest SCI, and pop out some mobile militia after conquering Drassen and monitor it without touching the ini file after i've started the new game.

Thx
Re: Ham InI Setings.[message #254526] Tue, 22 June 2010 04:21 Go to previous messageGo to next message
Headrock

 
Messages:1795
Registered:March 2006
Location: Jerusalem
Quote:
Don't stress too much about it, I thought maybe it was something obvious I missed. I have been tweaking things here and there mid-game, since I'm trying out a lot of the new ini settings.


But it IS something obvious, I'm just not done with the questions.

Please post the value of VFS_CONFIG in your JA2.INI file. Then post the contents of the VFS file itself.


Re: Ham InI Setings.[message #254755] Thu, 24 June 2010 08:37 Go to previous messageGo to next message
Morbo

 
Messages:31
Registered:May 2008
JA2.ini contents:
[Ja2 Settings]
CD = C
VFS_NO_UNICODE = FALSE
VFS_CONFIG_INI = vfs_config.JA2113.ini
DEFAULT_JA2_EXECUTABLE = ja2.exe
SCREEN_RESOLUTION = 2
EDITOR_SCREEN_RESOLUTION = 2
SCREEN_MODE_WINDOWED = 0
PLAY_INTRO = 1


VFS_CONFIG.JA2113.ini contents:
Toggle Spoiler
Re: Ham InI Setings.[message #254759] Thu, 24 June 2010 09:43 Go to previous messageGo to next message
Morbo

 
Messages:31
Registered:May 2008
Quote:

Ok, my second guess would be that you're complaining prematurely. Is it possible that you haven't actually conquered an entire town yet, but are already training mobiles from that town?


Thinking about this today ... I think I trained the mobile militia in Balime before i captured the last sector (G1). However, I do control it now, and control all of Balime's sectors, but the mobiles still don't move. So does the mobile militia code only fire the first time when they are created? Or does it do the check to see if you've captured all sectors of the town each day? Also, does it matter whether or not every sector in that town is filled to the brim with 30 normal militia?
Re: Ham InI Setings.[message #254769] Thu, 24 June 2010 15:10 Go to previous messageGo to next message
Headrock

 
Messages:1795
Registered:March 2006
Location: Jerusalem
Ok, please note that the game is reading your data files from DATA-1.13. Now that I know where the program is looking for files, please examine the contents of the files:

Data-1.13\JA2_Options.INI
and
Data-1.13\TableData\Map\DynamicRestrictions.XML.

In particular, check that this specific JA2_Options.INI is indeed set to the values you described earlier.

Quote:
So does the mobile militia code only fire the first time when they are created?


The movement pattern is set upon game-load, every time you completely liberate a city, and I think every hour or day of game-time. So, it updates as you play, and should've worked. That's why I think something in the files is amiss.

Quote:
Also, does it matter whether or not every sector in that town is filled to the brim with 30 normal militia?


That's where it gets a little complicated. Since your reported INI settings say that the mobiles are allowed to enter cities to reinforce them, those mobiles should've been moving into the city to fill any empty spots. However, it should be impossible to train mobiles at all until the city is full anyway, so there should be no empty spots to begin with, otherwise the Mobile Militia button would've been yellowed out and prevented training.

Also note that militia are attracted to mercs, so they might be trying to move into the tiles where your mercs are stationed. Try leaving the city and see if they start moving again.

This is very strange, and hard to debug. But we'll figure it out together, I hope.



Re: Ham InI Setings.[message #254788] Thu, 24 June 2010 20:30 Go to previous messageGo to next message
Morbo

 
Messages:31
Registered:May 2008
\Data 1.13\JA2_options.ini
Toggle Spoiler


Here's \Data 1.13\TableData\maps\DynamicRestrictions.xml
I'm pasting in just the Balime section:
Toggle Spoiler



Quote:
That's where it gets a little complicated. Since your reported INI settings say that the mobiles are allowed to enter cities to reinforce them, those mobiles should've been moving into the city to fill any empty spots. However, it should be impossible to train mobiles at all until the city is full anyway, so there should be no empty spots to begin with, otherwise the Mobile Militia button would've been yellowed out and prevented training.

Also note that militia are attracted to mercs, so they might be trying to move into the tiles where your mercs are stationed. Try leaving the city and see if they start moving again.


I conquered Balime sector H3 (mine) first. I camped out in H3 and trained up 30 regular militia. When i did that, it let me train mobile militia(i used Ira + my IMP). A set of 4 got popped into the road north of the mine (G3).

I then went on to conquer the rest of Balime. Since G1 and H1 and inaccessible from the main road/coast, i didn't bother to train any militia in there at all, hence not all 5 sectors of Balime are loaded up the brim with 30 militia in each sector.

There are some enemies on the road to Cambria (G5 and G6) that skyrider saw have been there over several weeks in game, and my mobile militia just sit in G3 picking their butt cracks. Smile I'm thinking about sending Grizzly back over there and beating some sense into them. Or maybe they could be enticed by Fox's feminine charms ... Razz
Re: Ham InI Setings.[message #254789] Thu, 24 June 2010 20:35 Go to previous messageGo to next message
Headrock

 
Messages:1795
Registered:March 2006
Location: Jerusalem
A) you mean Grumm, not Balime.

B) Perhaps there's some issue with changing the number of militia per sector. What happens if you drop it back to 20?

C) Do mobiles follow your mercs? Try moving ALL mercs out of the city, and move them to the road sector. See if the militia follow you into that sector.

D) Fill up Grumm with militia and see if anything changes.

E) Experiment as much as you can, and let me know if you spot any change.


Re: Ham InI Setings.[message #254790] Thu, 24 June 2010 20:42 Go to previous messageGo to next message
Morbo

 
Messages:31
Registered:May 2008
A.) Doh! Yes, you're right. Grumm. Yikes, turning 30 is killing my brain cells. Razz

B.) I can try that tonight

C.) Yes, they do follow me if I drag them along, and they do reinforce the city/sam if there is space in the city/sam sector I walk into. I dragged one set of mobile from Drassen to Cambria and they did reinforce after I took the first sector of Cambria. I will shift some militia out of the Grumm mine, and see if the mobiles in G3 move down into H3.

D.) I will try that tonight

E.) Okay, if i have time, I'll walk back to Drassen tonight and pop some mobile. Drassen is 100% loyal, with a full complement of 30 in all 3 sectors.

I'll report back if I find anything. Thanks for your help HeadSock Wink, I know troubleshooting this is tricky. At least troubleshooting this is more fun than troubleshooting peoplecode/sql for work. Smile
Re: Ham InI Setings.[message #254793] Thu, 24 June 2010 20:59 Go to previous messageGo to next message
Headrock

 
Messages:1795
Registered:March 2006
Location: Jerusalem
Quote:
C.) Yes, they do follow me if I drag them along, and they do reinforce the city/sam if there is space in the city/sam sector I walk into. I dragged one set of mobile from Drassen to Cambria and they did reinforce after I took the first sector of Cambria. I will shift some militia out of the Grumm mine, and see if the mobiles in G3 move down into H3.


Hmmm. Well that's not enough to diagnose the problem, but it does mean that the problem isn't with militia movement, but rather with the actual restrictions. If the militia do move into Grumm Mine from outside though, that means the restrictions ARE working...


Re: Ham InI Setings.[message #254824] Fri, 25 June 2010 06:37 Go to previous messageGo to next message
Kaerar

 
Messages:2090
Registered:January 2003
Location: Australia :D
Morbo
A.) Doh! Yes, you're right. Grumm. Yikes, turning 30 is killing my brain cells. Razz

No that be the beer from the party Wink


Re: Ham InI Setings.[message #255213] Thu, 01 July 2010 07:21 Go to previous messageGo to next message
Morbo

 
Messages:31
Registered:May 2008
Alrighty - update on the testing.

Went back to Drassen (which has all 3 sectors fully maxed out with militia), popped out some mobile militia. Fast forwarded time, and watched for a couple of days in game, and they do move correctly around the border of Drassen and the road leading from Drassen to Cambria/Alma, based on the xml file's restrictions.

So, it's working as expected there. I'm still in process of training up Grumm so it will be full with 30 militia per sector and will then pop out some mobiles. But prelim results point to this:

1. You are allowed to pop out mobile militia even if you don't control ALL sectors of a city, as long as the sectors you do control have full 30 militia each.
2. Once you pop out mobile, if you then take the rest of the sectors of said city, and don't fill up those newly conquered sectors with 30 militia each, then the mobile militia don't move.

So from what I can deduct, the issue here is that you can train mobiles when all sectors you CONTROL are filled to max # of militia. It doesn't check to see if you control ALL sectors of that city.
So you can get in a situation like my current game, where I popped out the mobiles, then immediately conquered more sectors thus rendering my mobiles unable to move because I no longer have the max # of militia in that city.

So bottom line, I guess it's not a bug, it's behaving exactly like Headrock described. It's just that you can get in a situation where you render your own mobiles from a city unable to move.
Re: Ham InI Setings.[message #255239] Thu, 01 July 2010 14:34 Go to previous messageGo to previous message
Headrock

 
Messages:1795
Registered:March 2006
Location: Jerusalem
A) Please don't make assumptions - that's my job. Test what happens after Grumm is filled with militia. I have a feeling it won't change anything.
B) The program tests cities for "liberated" status, which is completely independent from militia. So in theory, there should be no connection between these two things.
C) I've allowed training mobiles early because not everyone is using restrictions. And dynamic restrictions can also be altered to do all sorts of things which may or may not make early mobile training useful. This will be doubly so with HAM 4.0 where you can decide on the spot where militia is allowed or not allowed to go.
D) The fact that Mobiles can move around Drassen but not around Grumm may indicate that an older bug which I thought I squashed might not have been squashed at all. Or maybe the fix was not put into 1.13 yet (only the MP branch). I'll explore this option.


Previous Topic: "How does it work?" Part 3: Experience Level
Next Topic: editing IMP's in 1.13
Goto Forum:
  


Current Time: Fri Mar 24 19:43:17 EET 2017

Total time taken to generate the page: 0.00995 seconds