How do we create a custom difficulty level?

By on June 26, 2012 3:37:52 AM from Elemental Forums Elemental Forums

StevenAus

Join Date 06/2010
+74

I think it would be useful for people to know, and I really want to know it!  I've posted a new thread so people who are interested don't have to know it was referred to in http://forums.elementalgame.com/427194/get;3181585.

7 Replies
Search this post
Subscription Options


Reason for Karma (Optional)
Successfully updated karma reason!
June 26, 2012 12:00:11 PM from Elemental Forums Elemental Forums

Find the CoreDifficultyLevels.xml in the Data/English folder in the game directory. It should have these basic tags:

 

<AIDifficultyLevel InternalName="AIDiffLvl_Challenging">
<DisplayName>Challenging</DisplayName>
<AIEconomicRatio>1.0</AIEconomicRatio>
<AIFOWCheat>0</AIFOWCheat>
<AIHPRatio>1.0</AIHPRatio>
<AIStartingFundsRatio>1.0</AIStartingFundsRatio>
<AISovereignHPRatio>1.0</AISovereignHPRatio>
<AIUsesCombatMagic>1</AIUsesCombatMagic>
<AIIntelligenceFactor>1.25</AIIntelligenceFactor>
</AIDifficultyLevel>

 

<AIFOWCheat>0</AIFOWCheat> at 0 it does not see through the fog of war. At 1 it does.

 

You will notice some terrifying expansion and troop movement with this enabled. Not everyone's cup of tea, but the AI is not ready to exist with out IMHO.

Reason for Karma (Optional)
Successfully updated karma reason!
June 26, 2012 9:32:23 PM from Elemental Forums Elemental Forums

Is there any way to create a new difficulty level, or do we have to change an existing one?

Reason for Karma (Optional)
Successfully updated karma reason!
June 27, 2012 2:28:05 AM from Elemental Forums Elemental Forums

In theory yes. Just copy an existing one and change the internal and display name. The only thing I am not 100% sure about is AI Intelligence. I think that is the time the AI will take to make decisions, but it may also be the research bonus. Given that Challenging is a totally fair AI, it would seem that it is not research.

Reason for Karma (Optional)
Successfully updated karma reason!
June 27, 2012 3:45:21 AM from Elemental Forums Elemental Forums

@seanw3. Could you maybe go and help the Warlock developers with some better AI as well I hate having a good game ruined by lack of AI

Reason for Karma (Optional)
Successfully updated karma reason!
June 27, 2012 6:28:36 AM from Elemental Forums Elemental Forums

Quoting joasoze,
@seanw3. Could you maybe go and help the Warlock developers with some better AI as well I hate having a good game ruined by lack of AI

Wait wait... there is an AI in warlock? I thought that was random monsters.

Sincerely
~ Kongdej

Reason for Karma (Optional)
Successfully updated karma reason!
June 27, 2012 9:18:37 AM from Elemental Forums Elemental Forums

@Kongdej - I was being polite

Reason for Karma (Optional)
Successfully updated karma reason!
June 27, 2012 9:27:35 AM from Elemental Forums Elemental Forums

Quoting joasoze,
@Kongdej - I was being polite

Pff polite, thats sooo last year...

Sincerely
~ Kongdej

Reason for Karma (Optional)
Successfully updated karma reason!
Stardock Forums v1.0.0.0    #108436  walnut3   Server Load Time: 00:00:00.0000110   Page Render Time: