PDA

View Full Version : How do i mod dificulty?


Tibster
10-08-2008, 12:18 PM
I'm looking for the entries in ses.kfs related to dificulty.
What i want to do is a dificulty lvl where the enemies are powerful,u get less gold but u have acelerated exp and rage?
Bman coud u help?

bman654
10-08-2008, 02:01 PM
edit logic.txt. There's a few things related to difficulty in there.

Tibster
10-08-2008, 02:16 PM
Thx.

Afreet
11-16-2008, 11:06 PM
Does anyone know what some of the difficulty variables mean? Below is the section of logic.txt that deals with difficulty, with each variable split into 4 options, but what do they mean? "bossatk" and "bosshp" are easy, as is "money", but is "exp" the amount of experience you receive, or is "spexp"? They go in opposite directions... "alead" I think would be the leadership of the enemies you encounter, which is the variable I'm most interested in, but can anyone confirm this? Thanks!

difficulty_k {

exp=0.5|1.0|1.30|1.7 // êîýô. ðàñòÿæåíèÿ òàáëèöû îïûòà ãåðîÿ
alead=0.5|1.0|1.30|1.7 // êîýô. ëèäåðñòâà âðàãà
spexp=0.5|1.0|1.15|1.3 // êîýô. ðàñòÿæåíèÿ òàáëèöû îïûòà äóõîâ ÿðîñòè
money=4.0|1.0|0.77|0.6 // êîýô. ïîëó÷åííûõ äåíåã
rage=2.0|1.0|0.85|0.7 // êîýô. ïðèõîäà ÿðîñòè â áîþ
manarage=2.0|1.0|0.80|0.5 // êîýô. ïðèõîäà ìàíû íà êàðòå, à äëÿ ÿðîñòè ñêîðîñòè ïàäåíèÿ


bossatk=1.0|1.0|1.4|2.0 // êîýô. àòàêè áîññà
bosshp=1.0|1.0|1.4|2.0 // êîýô. æèçíè áîññà

deadmoney=1.0|1.0|0.5|0.0 // êîýô. ïîëó÷åííûõ äåíåã çà ïîòåðè â áîþ

}

Keneth
11-17-2008, 12:58 AM
Each of the 4 options represent each difficulty, that is, easy|normal|hard|impossible respectively. As for the variables, exp is the experience you recieve, alead is leadership requirement, spexp is spirit experience, money is money, rage is how much rage you recieve in battle, manarage is probably how fast mana and rage increase and decrease respectively, bossatk and bosshp are boss stats, deadmoney is how much gold you recieve when you get wiped out. These are all just simple factors that multiply their respective values depending on the difficulty you play on. These are all just educated guesses since you pasted gibberish for where description should be and I'm too lazy to check for myself. :P

MajorS
11-17-2008, 02:50 AM
exp is probably the multiplier to the base exp cost per level. Thats why you will actually end up with almost the same level (impossible has bigger stacks = more xp, but more xp required)

alead possible decides stack sides for wandering armies and heroes

Keneth
11-17-2008, 12:12 PM
Yup, MajorS is right about those two, checked description in the file myself this morning. Next to exp it says "stretches the xp table of the hero" and next to alead it says "leadership of enemies". Oh and spexp stretches the spirit xp table too.

Gatts
11-21-2008, 07:19 AM
Cool, should my girlfriend become too good in the game (even is she still didn't finish impossible now, she can beat me in HOMM 5 more often than it would be good for my ego) I will just edit the impossible stats to be even more impossible on her PC... whooo... how evil am I

Keneth
11-21-2008, 11:25 AM
You're not evil, just a hypocrite. :P

Gatts
11-21-2008, 12:42 PM
You're not evil, just a hypocrite. :P

Well, I would love to say that I am just evil, but sadly I am hypocrite (and not only that when it goes for latin words describing bad personality or behaviour)

Keneth
11-25-2008, 09:54 PM
If you had no text files in data.kfs, your game wouldn't work. :rolleyes:

Keneth
11-25-2008, 10:19 PM
Those are found in $installdir\sessions\base\ses.kfs

Keneth
11-25-2008, 10:31 PM
No problem. Wir waren alle Anfänger irgendwann. :P

MajorS
11-25-2008, 11:33 PM
No problem. Wir waren alle Anfänger irgendwann. :P

Ich nicht :grin:

Keneth
11-26-2008, 12:15 AM
What did you do with the file after editing it?

MajorS
11-26-2008, 11:28 AM
The heal value is per one unit not stack. So 50 heal is a bit too much. (18 Priests could heal a Giant full from 1HP)