Jump to content


Photo

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


2 replies to this topic

#1 Daemonjax

Daemonjax
  • Members
  • 7 posts

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.

Edited by Daemonjax, 14 March 2021 - 07:28 AM.


#2 jONES1979

jONES1979

    eL-jONESON

  • Members
  • 1,720 posts
  • Location:Еду в Саратов стрелять в пиратов!

Posted 21 March 2021 - 03:41 AM

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


Edited by jONES1979, 21 March 2021 - 03:41 AM.


#3 Moreartillery

Moreartillery
  • Members
  • 218 posts
  • Projects:Cinematic Battles

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.


Developer of the Cinematic Battles mod.

https://www.moddb.co...nematic-battles




Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users