Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 3.5 - WoG and Beyond > Thread: How to edit HotA?
Thread: How to edit HotA? This Popular Thread is 111 pages long: 1 10 20 30 40 ... 49 50 51 52 53 ... 60 70 80 90 100 110 111 · «PREV / NEXT»
Salamandre
Salamandre


Admirable
Omnipresent Hero
Wog refugee
posted August 19, 2018 07:23 PM

phoenix4ever said:
^^ Is this a plug-in? HD Mod sadly does'nt support these anymore, so I can't use it.


Why not use latest HD mod compatible with plugins, as I do? Afaik there are no such amazing HD recent features which would require being updated.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
phoenix4ever
phoenix4ever


Legendary Hero
Heroes is love, Heroes is life
posted August 19, 2018 09:06 PM

Yeah I guess so, do you know what the latest version was that supported plug-ins?
Don't know why they removed the option in the first place, probably something in relation to fairness or compatibility of multiplayer games.
Still it would be nice to have plug-ins as an option, also for future releases.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Salamandre
Salamandre


Admirable
Omnipresent Hero
Wog refugee
posted August 19, 2018 09:21 PM

I use 5.0 beta 31 as it is the latest 100% era compatible, it works great and allows plugins.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
phoenix4ever
phoenix4ever


Legendary Hero
Heroes is love, Heroes is life
posted August 19, 2018 10:34 PM

Thank you.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Otuken
Otuken


Famous Hero
posted August 23, 2018 06:09 PM

I have got crtraits file from HotA_lng.lod then i did change some unit stats. After I did put the file in data folder but it didn't work. How do I change unit stats?
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
wuxiangjinxing
wuxiangjinxing


Hired Hero
posted August 28, 2018 02:34 AM
Edited by wuxiangjinxing at 04:23, 28 Aug 2018.

Is it possible to give neutral creatures a natural terrain, for example, desert?

Is it possible to make Sir Mullich's speciality affect the creature's speed outside combat, just like the speed bonus of creature specialities?  (This affects hero's movement points on the map)
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
iforgotpasswor
iforgotpasswor

Tavern Dweller
posted August 28, 2018 05:07 PM

Has anyone tried to decompile HotA.dll?
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
phoenix4ever
phoenix4ever


Legendary Hero
Heroes is love, Heroes is life
posted August 28, 2018 06:45 PM

Is it possible to make AI cast Remove Obstacle, Fire Wall, Quicksand, Land Mine and Force Field? (Normally AI is not allowed to cast these spells.)
I tried changing the values in sptraits.txt, but AI still does'nt cast them. HotA made AI use Berserk, so it is possible somehow...

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Karyoplasma
Karyoplasma


Hired Hero
posted August 29, 2018 01:22 AM
Edited by Karyoplasma at 01:23, 29 Aug 2018.

Ben80 said:
Yes, plug-in. It is very hard to make something complex only with hex editing. As far as I understand, RoseKavalier continuously wrote about it.


Problem is that with hex editing you have limited space to put you new function in, because the other parts around the area you want to edit do something else. So the best you can do is change some numbers around or change specialities/secondary skills, but if you want anything to work differently in its core (additional checks that don't exist in the base game, making a skill area targeted instead of mass at expert, etc.), you will need a plugin.

What a plugin basically does is wait until the game uses the function you wanted to modify and instead of executing it, it redirects to something you wrote yourself. Kinda like a Cheat Engine script.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
emmybecca
emmybecca

Tavern Dweller
posted August 29, 2018 09:41 AM

good one .. i like it
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Catshy
Catshy

Tavern Dweller
posted September 06, 2018 02:50 PM

Hello guys!

Do anybody have code for change Scouting Skill? I want to make plugin/code what change 1/2/3 to 1/3/5, can anybody help me?  
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Maurice
Maurice

Hero of Order
Part of the furniture
posted September 06, 2018 04:50 PM
Edited by Maurice at 16:50, 06 Sep 2018.

Catshy said:
Hello guys!

Do anybody have code for change Scouting Skill? I want to make plugin/code what change 1/2/3 to 1/3/5, can anybody help me?  


Details are in the opening post. Good luck!
____________
The last Reasonable Steward of Good Game Design and a Responsible Hero of HC. - Verriker

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Catshy
Catshy

Tavern Dweller
posted September 06, 2018 08:07 PM

Well... I cant find nothing about Scouting Skill in this topic.
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Maurice
Maurice

Hero of Order
Part of the furniture
posted September 06, 2018 08:15 PM

Baronus said:
It is possible edit all hero skills in Heroes III. Everybody can.
First you need Hex editor. Eg. Frhed. Freeware.
http://frhed.sourceforge.net/en/
And open HotA.exe. See heroes3.exe to compare.
You can find in HotA exe the same area like Heroes3.exe and look at this:
http://www.celestialheavens.com/forum/7/14543
Modding guide in polish:
http://soe.bnx.pl/readarticle.php?article_id=6
Basic Heroes III Hero editing:
Line 0x279DD0 (in  heroes3.exe in Hota near this value)
0A 00 00 00 0B 00 00 00 0C 00 00 00 D1 00 00 00 P1 00 00 00 D2 00
00 00 P2 00 00 00 SB 00 00 00 FF FF FF FF
S1 00 00 00 S2 00 00 00 S3 00 00 00 XX XX XX 00 YY YY YY 00 01 01
First hero:
00 00 00 00 07 00 00 00 00 00 00 00 06 00 00 00 01 00 00 00 01 00
00 00 01 00 00 00 00 00 00 00 FF FF FF FF
00 00 00 00 02 00 00 00 04 00 00 00 44 F1 67 00 34 F1 67 00 01 01
0A - sex [ 00 - m /01 - w]
0B - race [07 - human]
0C - profession [00 - knight 01 - cleric, 02 - ranger etc. see herotraits table for number or erm
tool guide. ]
D1 - first skill [00 - pathfinding, 01 - archery see herotraits table for number or erm tool guide. ]
P1 - first skill level [ 01 - basic, 02 - advanced, 03 - expert]
D2 - second skill
P2 - sec. sk. level
SB - spellbook yes 01, no - 00 .
FF FF FF FF - starting spell (no for knight) see spell table txt for number or erm tool guide.
S1, S2, S3 - start units 00 - pikeman , 01- halabardier etc. se crtraits.txt for number or erm tool
guide.
XX XX XX - dont change
YY YY YY - dont change
00 01 01 - ????

HotaA heroes editing.

Found by Dixlot.

HotA heroes are in HotA dat. Its a short file and  heroes are at the start. First is biography and rest the same like heroes3.exe. You can edit all using HexD editor.

Changing skills. Editing skills is too possible. See:
www.celestialheavens.com/forum/7/8806?start=100
Here are the offsets along with some of the commonly used percent values that I wrote down.
offset: 0x0023e998(luck)
offset: 0x0023e9a8(leadership)
offset: 0x0023e9b8(necromancy)
offset: 0x0023e9c8(mysticism)
offset: 0x0023e9d8(scouting)
offset: 0x0023e9e8(archery)
offset: 0x0023e9f8(offence)
offset: 0x0023ea08(armorer)
offset: 0x0023ea18(estates)
offset: 0x0023ea28(eagle eye)
offset: 0x0023ea38(diplomacy)
offset: 0x0023ea48(resistance)
offset: 0x0023ea58(learning)
offset: 0x0023ea68(logistics)
offset: 0x0023ea78(sorcery)
offset: 0x0023ea88(intelligence)
offset: 0x0023ea98(first aid)
Some Percentages:
05% - CD CC 4C 3D
07% - 29 5C 8F 3D
0.0833333333 - AB AA AA 3D
10% - CD CC CC 3D
14% - 29 5C 0F 3E
15% - 9A 99 19 3E
0.1666666667 - AB AA 2A 3E
18% - EC 51 38 3E
20% - CD CC 4C 3E
25% - 00 00 80 3E
30% - 9A 99 99 3E
40% - CD CC CC 3E
45% - 67 66 E6 3E
60% - 9A 99 19 3F
Here's a site that converts values.
http://babbage.cs.qc.edu/IEEE-754/
20 % you must write 0.2, 80% = 0.8 etc.

Movement is in tables (Logistics).
Catapult too in txt. Elemental magic you can edit too in txt.
You must edit HotA txt tables NOT game txt tables. And then HotA DAT using HexD editor.
HotAeng.lod
Using MMArchive and Txtedit
https://sites.google.com/site/sergroj/mm

And thats all. :-)


Bolded the Scouting entry. The instructions on how to edit the stuff is around it.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Otuken
Otuken


Famous Hero
posted September 07, 2018 11:26 AM

I didn't understand the guide exactly so does anybody upload related images since I couldn't have found these numbers,letters.
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
FfuzzyLogik
FfuzzyLogik


Known Hero
posted September 07, 2018 02:57 PM
Edited by FfuzzyLogik at 15:01, 07 Sep 2018.

Otuken said:
I didn't understand the guide exactly so does anybody upload related images since I couldn't have found these numbers,letters.
Good afternoon,

Here first thing, we're trying here to "hex edit" the .exe of game. Basically its not "done to be modded" so its not really easy and I highly recommend to make a copy in case of mistakes... You change the .exe with in the language its "compiled" and not the language it was originally written. So many persons serach where is written and how are written some of intresting things in those datas and this knowlege can be used to mod things. Being better, you shall find yourself things in datas but its quite hard...
That beind said, how to do ?

1/ First use a hex editor to open the .exe (hota.exe or Heroes3.exe dependind of what you want to mod ; detail : some datas may not exactly be to the same place if its not the same version).
2/ Here go to the position of intrest : 0x0023e9d8 (scouting).
3/ Then at this location you can find some values (for scouting its not percentages but just basic values as I remember). You need to understand how are written values here and "what" is written to the location you found.
4/ Here change those values to the one of intrest. Notice its written in hexadecimal (in "our language" 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18... is written in there 01, 02, 03, 04, 05, 06, 07, 08, 09, 0a, 0b, 0c, 0d, 0e, 0f, 10, 1a, 1b...). So basically if you find the value "10" is not "ten" but generally it means 16 in the .exe.
5/ Test if it works as expected (after saving your copy)...

I hope these things will be of use to better use the guide.
Good luck in modding,
____________
FfuzzyLogik.

If I'm crazy ? Sure, because its madness to be normal...

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Otuken
Otuken


Famous Hero
posted September 07, 2018 07:24 PM
Edited by Otuken at 19:25, 07 Sep 2018.



I have this file  so I couldn't have found "0x0023e9d8" because the symbol of x does not exist in offset.


____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
RoseKavalier
RoseKavalier


Admirable
Supreme Hero
posted September 07, 2018 09:02 PM

0x is one of the base 16 indicators (hexadecimal), just read what is after.
____________
My Let's Plays: Metataxer's Revenge - The Empire of The World 2

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
Maurice
Maurice

Hero of Order
Part of the furniture
posted September 08, 2018 12:27 AM

I recommend you search on the internet for hexadecimal notation in computer programs (for data as well as memory addressing) and how to edit them. It might also be useful to read a bit about assembly and compiling source codes and the like. With that knowledge, this whole thread makes more sense and allow you to understand what is being said in this topic as well as what you actually have to do to bring about the changes you are looking for.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Otuken
Otuken


Famous Hero
posted September 08, 2018 01:28 AM

Actually I can edit  somethings in SoD by ejecting files from H3bitmap.lod such as hctraits,hotraits etc. Then I put these files to data folder and it works but this method does not work for HotA.

Is there any differeny way to edit HotA? I am interested in changing unit stats,heroes,dwelling costs,requirements etc...
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This Popular Thread is 111 pages long: 1 10 20 30 40 ... 49 50 51 52 53 ... 60 70 80 90 100 110 111 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.1472 seconds