~ Forums of Enroth ~

An Enroth diehard fan community
 
HomeHome  ChatChat  FAQFAQ  SearchSearch  RegisterRegister  Log inLog in  
Latest topics
» Creature Quest – The New Adventure from JVC (feat some old NWC members)
by Galaad 2017-06-23, 21:48

» The Floody Land
by Galaad 2017-06-21, 04:08

» H3SW: Character Portraits
by BoseDrache 2017-06-16, 09:04

» H3SW Recruitment Point - Enroth Needs You!
by qlczas_PL 2017-06-16, 07:51

» Welcome fellow Enrothians!
by qlczas_PL 2017-06-16, 07:46

» The Symphony of Heroes - Paul Romero with ochestra concert
by rrravyn 2017-06-14, 04:46

» Commanders?
by Ragoon 2017-06-09, 00:29

Poll
"Wait" in HoMM2?
Yes
81%
 81% [ 43 ]
No
19%
 19% [ 10 ]
Total Votes : 53
Most Viewed Topics
H3SW: General Graphics discussion
Ragoon's Graphics For HoMM3SW
H3SW General Discussion
H3SW: Dwelling Development
H3SW Map List: Work in progress
Dervish Faction General Concept
Enrothian Fan Art
H3SW Recruitment Point - Enroth Needs You!
Серия книг "Земли Меча и Магии"
Introduce yourself

Share | 
 

 Modding Questions

View previous topic View next topic Go down 
Go to page : Previous  1, 2
AuthorMessage
GodRage
Webmaster
Webmaster
avatar

Messages : 612
Quality Points : 144
Registration Date : 2009-09-21

PostSubject: Re: Modding Questions   2017-01-03, 00:15

rafter wrote:
Thank you GodRage. Smile That program may change the names in the game. But how  can I change the numbers in the game with that program ? I can not see any stat of creature with it. Question
Each creature will follow this order:
Code:
bytes    description
-----    -----------
0-1      cost in gold
2-6      ???
7        base growth per week
8-9      heal points (Résistance)
10       alignement[1]
11       speed
12       attaque
13       défense
14       dégâts minimaux
15       dégâts maximaux
16       Shoots (if ranged)
17-21    4-character ID string, plus null char
22       attack-type flags[2]
23       other flags[3]
24-25    padding (all bits zero)


[1] Alignement (case 10)
00 = Knight
01 = Barbarian
02 = Sorceress
03 = Warlock
04 = Wizard
05 = Nécromant
06 = neutrals

So...
in the left part (hexa decimal one),
the unicorn stats should start like that:
01 F4 00 00 00 00 02 40 02 5 0A 09 07 0E 00
I am not sure for the 00 00 00 00 and it may vary on each version of the game.
So, better so search (Ctrl F or Ctrl G... by memory) with values from the growing one: 02 40 02 5 0A 09 07 0E 00
And if you entered the right values, it will find only 1 result in your h2w.exe file. Smile

That's how you can find values of each things in the game. Smile
And so, if you ant to find the price of the magic guild, easiest way is to search for the lvl5: 0A 0A 0A 0A or maybe it will me 00 0A 00 0A 00 0A 00 0A.
0A means 10, so it's the price of each rare resource needed to build it, and it's the only building needing 10 of each. Smile


Decimal / Hexadecimal convertor :
http://www.binaryhexconverter.com/decimal-to-hex-converter

Stats of creatures :
http://homm2.free.fr/enroth.php?p=sorc&go=en

________________________
~Lands of Enroth~
Back to top Go down
http://homm2.free.fr
Baronus
Pikeman
Pikeman
avatar

Messages : 48
Quality Points : 2
Registration Date : 2016-06-12

PostSubject: Re: Modding Questions   2017-01-05, 19:07

In Heroes II you have names in exe eg. peasant. Its easy to find. But you can search statistis too. 0205030203 archer stats speed 2 etc. Buildings you can find using resources 0a000000050000 big numbers of 0000 and gold cost near. The same city buildings are one by one. Common buildins are before cities.
Back to top Go down
Orzie
Master Modder
Master Modder
avatar

Messages : 1480
Quality Points : 622
Registration Date : 2014-12-12
Age : 25
Location : Tomsk, Russia

PostSubject: Re: Modding Questions   2017-01-30, 03:10

For those who wanted a tool for changing creature stats:

AlexSpl's Universal Balance Patcher for HoMM2 GoG Version

________________________
In case someone cares for my music:
Mylinks_profile_page
Back to top Go down
Baronus
Pikeman
Pikeman
avatar

Messages : 48
Quality Points : 2
Registration Date : 2016-06-12

PostSubject: Re: Modding Questions   2017-01-31, 08:04

Working for heroes2w eng original too! I tested it. Very powerfull tool and easy to use! Beautyfully! :-)
Back to top Go down
 
Modding Questions
View previous topic View next topic Back to top 
Page 2 of 2Go to page : Previous  1, 2
 Similar topics
-
» Spudgun/Madeleine McCann. Same questions, same NON answers.
» Madeleine McCann: Unanswered Questions - Telegraph
» SHIELD Frequently Asked Questions [ASK HERE]
» MCMINUTE video: Why didn't Kate McCann answer these 48 QUESTIONS? Images added
» Questions The CPS Should Ask Kate McCann - In The Dock!!

Permissions in this forum:You cannot reply to topics in this forum
~ Forums of Enroth ~ :: Modding Guild :: General Modding-
Jump to: