Home » MODDING HQ 1.13 » v1.13 Idea Incubation Lab » New: Alternative IMP Backgrounds Selection (show IMP backgrounds based on choices made in skills/character/disability)
New: Alternative IMP Backgrounds Selection[message #365973]
|
Wed, 20 March 2024 00:20
|
|
Kitty |
|
Messages:473
Registered:October 2017 Location: Germany |
|
|
Two new options, ALTERNATIVE_IMP_CREATION and REDUCED_IMP_CREATION, are available in ja2options.ini, can be found under the (new) category "Backgrounds".
If the options ALTERNATIVE_IMP_CREATION and REDUCED_IMP_CREATION are enabled in ja2_options.ini, choices made for skills, character traits and disablities, will have an impact on which IMP backgrounds are available during selection.
That's based on tags in backgrounds (in backgrounds.xml) which would contradict with content of skills, character traits and disablities (and a few reasonable exceptions where it's based on something else, i.e. (my) common sense would indicate it)
Not all skills, character traits and disablities are part of this, some simply had no background tags that would interfere with their content (i.e. snitch).
Also not all possible contradictions have been considered, mostly only one or two (with a few expceptions) where picked, typically some with larger impact.
Examples:
Sociable grants a bonus to being spotter, so if background has a tag with negative value for spotter, this background won't be shown
Loner is the opposite, it hands out a penalty to being spotter, so this time, if background has tag with positive value for spotter, it won't be shown
Heat Intolerant hands out a penalty while in desert or tropical sectors, so if background has tag which would instead add a bonus, it won't be shown
Squadleader grants a bonus to suppression ressistance to nearby others, so no background with negative value for surpression resistance will be shown
Bodybuilding adds a bonus to carrying weight capacity, so if there's a negative value in tag <carrystrength> in background, it won't be shown
Details:
What's considered contradicting is currently hardcoded, if I find a way how I can externalize this, I'll probably do. Till then, see the overview below.
If there is more than one tag mentioned, it's enough for one of them to be in background to result in a no show
For major traits, relevant tags can differ between single and dual (expert), if so, the single is less restrictive than the dual (different tags or values)
(i.e.: doctor dual - if speedbandaging and/or medical is negative, don't show background -> two potentialy restricting tags
doctor single - if speedbandaging is negative, don't show background -> one potentialy restricting tag
h.weapons dual - if AP-needed-artillery is positive (which would be a penalty), don't show background -> no penalty tolerated
h.weapons single - if AP-needed-artillery is above 5 (which would be penalty), don't show background -> a small penalty tolerated for non-expert)
click to see overview:
The < and > signs are meant to show if it's about negative or positve value in tag, if there's just a 1, that's for tags that only have on/off properties
Overview hardcoded restricting factors
-
(Character Traits)
SOCIABLE: <xenophobic> 1 <spotter> <0
LONER: <leadership> >0 <spotter> >0
OPTIMIST: <traplevel> 1
ASSERTIVE: <interrogation> <0 <approach_threaten> <0
INTELLECTUAL: <administration_assignment> <0
PRIMITIVE: <administration_assignment> >0
AGGRESSIVE: <traplevel> 1 <disarm_trap> >0
PHLEGMATIC: <ap_assault> >0
DAUNTLESS: <croucheddefense> <0
MALICIOUS: <approach_friendly> >0
COWARD: <capitulation> >0
(Disabilities)
HEAT_INTOLERANT: <ap_desert> >0 <ap_tropical> >0
CLAUSTROPHOBIC: <level_underground> 1
NONSWIMMER: <ap_river> >0 <ap_coastal> >0
FEAR_OF_INSECTS: <ap_swamp> >0 <ap_tropical> >0
FORGETFUL: <ap_inventory> <0 <ap_assault> <0
PSYCHO: <leadership> >5
DEAF: <hearing_night> >0 <hearing_day> >0
SHORTSIGHTED: <increased_maxcth> >0 <spotter> >0
HEMOPHILIAC: <resistance_disease> >0
AFRAID_OF_HEIGHTS: <ap_height> >0 <ap_airdrop> >0
SELF_HARM: <resistance_disease> >0
(Minor Traits)
MELEE: <cth_blades> <0
STEALTHY: <stealth> <0
DEMOLITIONS: <breachingcharge> <0 <explosives> <0
BODYBUILDING: <carrystrength> <0
AMBIDEXTROUS: <ap_inventory> >0
NIGHT_OPS: <sleep> >0 <hearing_night> <0
SURVIVAL: <travel_foot> <0 <resistance_disease> <0 <snake_defense> <0
<travel_car> <0
<travel_air> <0
(Major Traits) dual (expert) single (not expert)
HEAVY_WEAPONS: <ap_artillery> >0 <ap_artillery> >10
SNIPER: <increased_maxcth> <0 <increased_maxcth> <0
<marksmanship> <0
MARTIAL_ARTS: <resistance_physical> <0 <resistance_physical> <0
TECHNICIAN: <mechanical> <0 <mechanical> <0
DOCTOR: <speed_bandaging> <0 <speed_bandaging> <0
<medical> <0
SQUADLEADER: <resistance_suppression> <0 <resistance_suppression> <0
<resistance_fear> <0
-
-
Depending on choices made, this should result in a nice shuffle and can result in largely different outcomes.
With current default backgrounds, based on chosen combinations, the amount of no-show backgrounds can range from no impact up to a third or more.
To make up for this possible loss, additional backgrounds will be added when using ALTERNATIVE_IMP_CREATION and those are exclusive to these ini-options, they won't be shown without them.
Same rules will apply to those exclusive backgrounds as well, but the pool of available backgrounds will be larger and since they are unique to this option, they can also add to overall variety.
Using REDUCED_IMP_CREATION will be the opposite approach. It will result in only showing those aformentioned exclusive backgrounds, which at default will result in a smaller pool. Again, the rules will still be applied, but they still should cover a range of essentials
Backgrounds.xml:
Backgrounds.xml does have a new tag, <alt_impcreation>, for ALTERNATIVE_IMP_CREATION and REDUCED_IMP_CREATION
If a background in Backgrounds.xml contains <alt_impcreation>1</alt_impcreation>
- the background will be exclusivly used for ALTERNATIVE_IMP_CREATION and REDUCED_IMP_CREATION
- a background with this tag won't be shown without those options being TRUE in ja2_options.ini
- it's only effective with IMP-backgrounds
For the ease of editing, the above list of relevant tags has also been included directly into Backgrounds.xml
Currently I've added 25 backgrounds for this (23 available for female, 22 for male).
Developers Note:
If editing backgrounds, I'd like to encourage you to not paying too much mind to those possible restrictions. It would of course be possible to nerf out any restrictions with choice of tags, but that would be kinda against the purpose. Just edit them the way you would for default IMP creation, don't let down the players which would prefer to use the default way of IMP creation by holding back on anything.
That said, maybe if editing the additional backgrounds, be a little considerate to avoid a complete no show with REDUCED_IMP_CREATION
Anyway, up to anyone to do what they like, just my thoughts on the matter - have fun.
-
Pictures of current background pools and an example using ALT IMP CREATION
picture 01: default backgrounds
That is the default pool without the new options
-
-
picture 02: only the additional backgrounds
that is the pool when using REDUCED IMP CREATION
-
-
picture 03: an example of using ALTERNATIVE IMP CREATION
the pool consists of default backgrounds plus the additional ones
choices made for skills/character/disabilities effected all in pool
therefore not all backgrounds in pool are shown, only those that won't contradict with a chosen skills/character traits/disablities content
-
-
picture 04: which backgrounds will not be shown with example from picture 03
same choices as in picture 3 - results
-
-
some details about example (pictures 03 and 04)
details on why which background isn't shown at the selection with choices used in that example
click to see details
details for explanation Picture 03 and 04
-
Picture 03 and 04:
Example of using ALTERNATIVE IMP CREATION
(only that, REDUCED IMP CREATION was off in what's shown at pic 03)
with choices: sociable, forgetfull, sniper (single, not expert), deputy (single, not expert), night ops and being female
since ALTERNATIVE IMP CREATION was activated, the pool consists of default backgrounds plus the additional ones from this option
choices resulted in following backgrounds not being shown:
Background tags causing skill/character/disablity
not shown not shown associated to tag
default BG's:
Lawyer <ap_assault> <0 forgetfull
Nurse <ap_assault> <0 forgetfull
<ap_inventory> <0 forgetfull
Skydiver <ap_inventory> <0 forgetfull
Hitman <ap_inventory> <0 forgetfull
Bodyguard <ap_inventory> <0 forgetfull
Miner <ap_assault> <0 forgetfull
Paratrooper <ap_inventory><0 forgetfull
Undertaker <ap_inventory> <0 forgetfull
Shopkeeper <ap_assault> <0 forgetfull
Car Mechanic <ap_assault> <0 forgetfull
Smith <ap_inventory> <0 forgetfull
Office Worker <spotter> <0 sociable
<ap_assault> <0 forgetfull
<resistance_suppression> <0 deputy (single)
Backstage Crew <hearing_night> <0 night ops
Tech Wiz <ap_inventory> <0 forgetfull
<ap_assault> <0 forgetfull
Graduate <spotter> <0 sociable
<ap_inventory> <0 forgetfull
<ap_assault> <0 forgetfull
<resistance_suppression> <0 deputy (single)
Prof. Thief <ap_inventory> <0 forgetfull
Mime <ap_inventory> <0 forgetfull
<ap_assault> <0 forgetfull
B-movie star <resistance_suppression> <0 deputy (single)
Sapper <ap_inventory> <0 forgetfull
Stalker <ap_assault> <0 forgetfull
Accademic <spotter> <0 sociable
<ap_assault> <0 forgetfull
<resistance_suppression> <0 deputy (single)
GP doctor <ap_inventory> <0 forgetfull
<ap_assault> <0 forgetfull
Surgeon <ap_inventory> <0 forgetfull
Renegade <xenophobic> 1 sociable
Black bloc <xenophobic> 1 sociable
Con artist <ap_assault> <0 forgetfull
<resistance_suppression> <0 deputy (single)
Arulcan rebel <xenophobic> 1 sociable
----------
additional BG's:
Badge bunny <sleep> >0 night ops
Failed attorney <ap_assault> <0 forgetfull
Poacher <sleep> >0 night ops
Nerd <increased_maxcth> <0 sniper (single)
Field physician <ap_inventory> <0 forgetfull
Housewife <ap_inventory> <0 forgetfull
Blaster <hearing_night> <0 night ops
Artilleryman <hearing_night> <0 night ops
Mad prepper <xenophobic> 1 sociable
<resistance_suppression> <0 deputy (single)
EMT <ap_inventory> <0 forgetfull
Plumber <ap_inventory> <0 forgetfull
Cemetary guard <spotter> <0 sociable
<increased_maxcth> <0 sniper (single)
Drug Pusher <ap_inventory> <0 forgetfull
<sleep> >0 night ops
Scaredy cat <resistance_suppression> <0 deputy (single)
-
-
Good to know:
In SkillSettings.ini we can increase the number of available skill traits for IMP
default:
MAX_NUMBER_OF_TRAITS_FOR_IMP = 3
NUMBER_OF_MAJOR_TRAITS_ALLOWED_FOR_IMP = 2
Increasing those obviously will allow more skills to be chosen during IMP creation
And the more skills are chosen, the more possible restrictions can kick in
This will add up, keep in mind
I've tested the options with up to:
MAX_NUMBER_OF_TRAITS_FOR_IMP = 6
NUMBER_OF_MAJOR_TRAITS_ALLOWED_FOR_IMP = 5
and it still worked fine, there are still enough backgrounds to chose from even with more skills selected
but, keep in mind that any higher values in SkillSettings.ini may can cause a real significant loss of available backgrounds,
or would result in having to be real cautious about combinations
-----
All of this is optional. The new options are off by default. Unless setting them deliberatly to true in ja2options.ini, the IMP backgrounds during IMP creation will be unchanged.
Added in version JA2_113-v1-134-gfad3a27-G276cL0144 (2024-03-19)
-----
Hazapuza fixed typos, reworded some parts of the new backgrounds (thanks!)
added in version JA2_113-v1-134-gfad3a27-G72e5L0144 (2024-03-20)
-----
[Updated on: Thu, 21 March 2024 19:34]
How to get: latest 1.13, 7609 and more | 7609 SCI (eng) | Compiling+SVN
I need more details. (Didi Hallervorden) Report message to a moderator
|
|
|
|
|
|
Goto Forum:
Current Time: Wed Nov 27 04:43:47 GMT+2 2024
Total time taken to generate the page: 0.01078 seconds
|