Jump to content


Replying to Is there a way to remove the unit health modifiers given by the difficulty setting for the Campaign in DC or SS?


Post Options

    • Can't make it out? Click here to generate a new image

  or Cancel


Topic Summary

Oh_Horizon_x

Posted 25 March 2023 - 09:57 AM

Sorry for the necroposting, but this is apparently the ONLY place on the internet that even addresses this topic, may as well keep it going.

I have a year of Corsix experience, mostly for DC. I am trying to change the values similar to OP up there. I can tell you confidently that editing difficultylevel.scar and/or the modifiers under the tuning file have ZERO effect on the health of units in-game. I've even completely deleted sections of SCAR coding and it didn't even so much as show up in the warnings.log. Because I am a novice, I can only speculate as to why. It appears to me that the files I am editing in this case are benign for some reason, but that doesn't make much sense. I have a general understanding of how Vanilla > WA > DC > SS are related to each other in terms of files and folders, but modding via Corsix for multiplayer and skirmish is very direct, whereas this has me scratching my head.

Can anyone help me?


Moreartillery

Posted 23 March 2021 - 11:17 PM

In corsix open attrib>tables>tuning and look in metamap_difficulty_modifiers.

Don't modify wxpdifficultylevel.scar, doing that caused a crash for me in soulstorm.


jONES1979

Posted 21 March 2021 - 03:41 AM

It is coded somewhere in attributes or in company settings, as far as I remember


Daemonjax

Posted 14 March 2021 - 06:49 AM

According to the wiki for Dark Crusade (https://dow.fandom.c...rusade/Campaign):

 

Easy:
    Player units have 250% health
    Enemy units have 25% health
Normal:
    Player units have 200% health
    Enemy units have 100% health
Hard:
    Player units have 100% health
    Enemy units have 150% health
 
I want to set Hard's enemy health modifier to 100% instead of 150%.  The reason is: I'm playing Dark Crusade with the backported Skirmish AI 3.20 mod (and I modified that so that the mapdb feature is enabled for the campaign), and it's just too hard.  I can beat the campaign on hard with the 2.60 version, but the 3.20 version is just too good when they have 150% health.
 
I looked for the code myself by grepping all the DC extracted files.  Closest thing I found was in difficultylevel.scar and wxpdifficultylevel.scar (by updating the entity list to include tau and necron units & buildings), but that must be from the base game and winter assault because the entity lists in those files haven't been updated with the new races in DC, so they can't work.  
 
I suspect it's hardcoded, but I figured I'd ask here.  
 
If this has never been done before (because it is hardcoded), I suppose I could fix the functions in difficultylevel.scar and wxpdifficultylevel.scar and use them to undo the hardcoded modifiers (by multiplying all enemy unit health by 2/3).  But I'd rather be wrong about it being hardcoded and I'm just missing something.

Review the complete topic (launches new window)