LOD TXT files those don't work
LOD TXT files those don't work
After long time of editing lots of TXT files from H3bitmap.LOD i am very disappointed now...
Man, i wasted so much time now to find out that the only important files those work in data are:
CRTRAITS
HCTRAITS
And all other important files which i modified like SPTRITS or SSTRAITS bail, some even cause crash like BUILDING...
Howcome they don't work?
Man, i wasted so much time now to find out that the only important files those work in data are:
CRTRAITS
HCTRAITS
And all other important files which i modified like SPTRITS or SSTRAITS bail, some even cause crash like BUILDING...
Howcome they don't work?
They are connected with other data in exe file. However more trait files is working try to look on undeadhalforc balance patch or yasmiel fireball mod.
{Search forum, I don't know links from head, will be in h1-4 section though}
{Search forum, I don't know links from head, will be in h1-4 section though}
"We made it!"
The Archives | Collection of H3&WoG files | Older albeit still useful | CH Downloads
PC Specs: A10-7850K, FM2A88X+K, 16GB-1600, SSD-MLC-G3, 1TB-HDD-G3, MAYA44, SP10 500W Be Quiet
The Archives | Collection of H3&WoG files | Older albeit still useful | CH Downloads
PC Specs: A10-7850K, FM2A88X+K, 16GB-1600, SSD-MLC-G3, 1TB-HDD-G3, MAYA44, SP10 500W Be Quiet
The TAB space is not present everywhere, but i keep in mind to keep a TAB distance between values.
Now why other files do not work?
For example in SSTRAITS if i change the sorcery skill expert value from 15 % to 50 % to deal spel combat damage, the spell still does 15 % more damage, not 50 %.
Or if i change the value of how much gold should the capitol provide per day from 4000 to 10000, it still provides 4000.
So what's up?
Now why other files do not work?
For example in SSTRAITS if i change the sorcery skill expert value from 15 % to 50 % to deal spel combat damage, the spell still does 15 % more damage, not 50 %.
Or if i change the value of how much gold should the capitol provide per day from 4000 to 10000, it still provides 4000.
So what's up?
Secondary skills are hard coded and can only be changed through ERM or programming, neither of which I consider myself very good at. SSTRAITS.txt only contains the skill descriptions, not the gameplay values. The value for Sorcery you changed only altered the text displayed when you right-click the skill, and didn't affect the spell damage and whatnot. That's hard coded.
As for the buildings, I'm not sure which file you edited but sadly I don't think building functions can be edited either - only costs and descriptions. You could alter the capitol's income with an ERM script though.
Unfortunately, the text files can only go so far, but you can still use them to edit all artifact properties, spell ranks and schools, creature stats, costs, and a few other things.
As for the buildings, I'm not sure which file you edited but sadly I don't think building functions can be edited either - only costs and descriptions. You could alter the capitol's income with an ERM script though.
Unfortunately, the text files can only go so far, but you can still use them to edit all artifact properties, spell ranks and schools, creature stats, costs, and a few other things.
Artas1984 wrote:The TAB space is not present everywhere, but i keep in mind to keep a TAB distance between values.
Now why other files do not work?
For example in SSTRAITS if i change the sorcery skill expert value from 15 % to 50 % to deal spel combat damage, the spell still does 15 % more damage, not 50 %.
Or if i change the value of how much gold should the capitol provide per day from 4000 to 10000, it still provides 4000.
So what's up?
Well, erm and asm are the only ways to change that.
You need to know at least basic asm to make the changes via executable.
For instance:
========
You want expert sorcery to do 50% more damage at expert via executable. (flat code is 9a99193e which means 15% damage).
If want to make 50%, you need to make this code: 0000003f
Last edited by BAD23ro on 13 Jul 2009, 06:27, edited 1 time in total.
Actually, its possible to edit as well, just not with simple text files. Needs editing .exe file.Corlagon wrote:No, just direct text files. Anything else is coded deep inside the game and can't be changed, unless you're good with ERM or the head of the WoG project.
Lol nevermind, bad already said the same thing.
Working with hex edit or assembler is basically not so much easy. Actually just programming in C it's lightweight task to that.
That's because here is difference if you just want to do some value switch, or trace where is it...
That's because here is difference if you just want to do some value switch, or trace where is it...
"We made it!"
The Archives | Collection of H3&WoG files | Older albeit still useful | CH Downloads
PC Specs: A10-7850K, FM2A88X+K, 16GB-1600, SSD-MLC-G3, 1TB-HDD-G3, MAYA44, SP10 500W Be Quiet
The Archives | Collection of H3&WoG files | Older albeit still useful | CH Downloads
PC Specs: A10-7850K, FM2A88X+K, 16GB-1600, SSD-MLC-G3, 1TB-HDD-G3, MAYA44, SP10 500W Be Quiet
Get an hexeditor, but I still need you to warn you that are in float 32 and I gave you an example for sorcery.Artas1984 wrote:Wow great, must downlaod that hexeditor and learn soemthing out!
For instance:
========
You want expert sorcery to do 50% more damage at expert via executable. Flat code is 9a99193e which means 15% damage).
If want to make 50%, you need to make this code: 0000003f(Little Endian aka Intel).
Is important this because if will be 3f000000(Big Endian) will get 8.8 more times and that's wrong.
So, remember, for Heroes II, III, IV you need Little Endian aka Intel.
Last edited by BAD23ro on 13 Jul 2009, 06:28, edited 1 time in total.
The changes must be done in main executable, not in SSTRAITS.Artas1984 wrote:Ok, now tell me where and what should i paste.
I opened SSTRAITS and changed the values in Hexedit, saved the files, inserted the configuration file in Config and the text file in Data. That ain't the thing, right? Ok, wth are those offsets, i don't see a god damned thing.
So, get an hexeditor, open H3 exe and look for the offsets that I gave you.
Who is online
Users browsing this forum: No registered users and 1 guest