|
|
AlexSpl

   
    
Responsible
Supreme Hero
|
posted December 13, 2018 12:52 PM |
|
|
Quote: For some reason Sharpshooters and Enchanters cannot appear at Refugee Camps, can anybody help me change that?
Write @ 0C9028h: EB 1C
|
|
phoenix4ever

 
     
Legendary Hero
Heroes is love, Heroes is life
|
posted December 13, 2018 02:01 PM |
|
|
Thanks Alex
But are you sure this is correct?, I have spent the last half hour testing and I can't get any of them to appear… (I tested with hundreds of Refugee Camps)
|
|
AlexSpl

   
    
Responsible
Supreme Hero
|
posted December 13, 2018 02:19 PM |
|
|
Keep trying. Before posting I checked this patch manually.
|
|
phoenix4ever

 
     
Legendary Hero
Heroes is love, Heroes is life
|
posted December 13, 2018 02:56 PM |
|
|
Done more testing, but I'm sorry to say it does'nt work for me.
I have had every other neutral creature from level 1-6 appear several times, but not any Sharpshooters or Enchanters.
At C9028 I'm supposed to change 6A 00 -> EB 1C correct?
|
|
AlexSpl

   
    
Responsible
Supreme Hero
|
posted December 13, 2018 02:57 PM |
|
Edited by AlexSpl at 15:01, 13 Dec 2018.
|
Well, I tested it with SoD. Now I see that in HotA this function skipped 
UPD You need to change HotA.dll, but I'm not sure I have the latest version. Can you post MD5 of your HotA.dll?
|
|
phoenix4ever

 
     
Legendary Hero
Heroes is love, Heroes is life
|
posted December 13, 2018 03:08 PM |
|
|
MD5?
Yes I run latest version of HotA, actually it's their "test update" version with the classic Resistance skill 1.5.3e.
|
|
Maurice


Hero of Order
Part of the furniture
|
posted December 13, 2018 03:52 PM |
|
|
phoenix4ever said: MD5?
MD5 is the checksum value of the file in question.
____________
The last Reasonable Steward of Good Game Design and a Responsible Hero of HC. - Verriker
|
|
planetavril

 
   
Famous Hero
|
posted December 13, 2018 04:55 PM |
|
|
does anyone know how to remove transparency from images and bring them to 8 bits?
|
|
avatar

  
    
Promising
Supreme Hero
|
posted December 13, 2018 05:10 PM |
|
|
Seek option in your graphic editor like Remove transparency/delete transparency/remove alpha channel/delete alpha channel. And please don't write that vcmi mods are bad designed. As you know - all graphics in vcmi is displayed correctly (except your own mods).
____________
|
|
Morglin

 
 
Adventuring Hero
|
posted December 13, 2018 05:26 PM |
|
Edited by Morglin at 17:30, 13 Dec 2018.
|
You must convert image to bitmap with 256 colors, with some special colors at the beginning of the pallete (you can check one of orginal H3 images to see what colors you need).
There is a lot of info about that at the internet so I'm sure that you easilly find tutorial that shows you how to do it in your graphics software.
|
|
phoenix4ever

 
     
Legendary Hero
Heroes is love, Heroes is life
|
posted December 13, 2018 05:58 PM |
|
|
Maurice said: MD5 is the checksum value of the file in question.
Where can I find it?
|
|
planetavril

 
   
Famous Hero
|
posted December 13, 2018 06:11 PM |
|
|
you know how to do with photoshop or with gimp?
|
|
peter1985

 

Hired Hero
|
posted December 13, 2018 07:49 PM |
|
|
Dear Fans!
HOTA has new "banks": Mansion, Red Tower, Black Tower, Experimental Shop...... I searched for EXE but I did not find the settings. Can anybody help you in which hexa line are there?
|
|
planetavril

 
   
Famous Hero
|
posted December 13, 2018 10:58 PM |
|
|
|
AlexSpl

   
    
Responsible
Supreme Hero
|
posted December 15, 2018 11:23 AM |
|
|
Quote: Where can I find it?
You can use any online (for example, http://onlinemd5.com/) or offline (for example, https://www.slavasoft.com/hashcalc/) MD5 hash generator.
But anyway, hex-editing HotA.dll is mostly a waste of time, because almost every time the library is updated you'll need to write a new patch.
|
|
planetavril

 
   
Famous Hero
|
posted December 18, 2018 03:08 PM |
|
|
planetavril said:
Morglin said: Ok, I'll help.
Building coordinates are in h3hota.exe (for standards towns, not for Cove). It starts here: 28AA0C , from Castle buildings. First is Mage Guild level 1:
00 00 C3 02 A6 00
Number of frames for animation (inverted)
Coordinate x. It's inverted too. It means that it's not C3 02, but 02C3 which in decimal means 707.
Coordinate y. Also inverted, so 00A6 means 166.
Coordinates for all standart towns can be found in WoG sources:
https://github.com/GrayFace/wog/blob/master/T1/town_var.h
It starts at line 490.
where to insert the coordinates of the z-index and how to calculate in hexadecimal the negative value for example -5
I'm trying to recreate the Egyptian bastion but by recreating the images 800 by 374 do not fit, I calculated the coordinates in hex but the buildings with the z-index are superimposed and not behind
|
|
planetavril

 
   
Famous Hero
|
posted December 18, 2018 05:54 PM |
|
|
buy haspid immediately:
extract the archive in your HotA installation folder
|
|
Morglin

 
 
Adventuring Hero
|
posted December 18, 2018 06:38 PM |
|
|
I gave you offset for puzzle position. If you'll do for me properly working puzzle map for Forge (I don't have time for that), I'll spend my time on finding z parameter.
|
|
planetavril

 
   
Famous Hero
|
posted December 18, 2018 07:51 PM |
|
|
Morglin said: I gave you offset for puzzle position. If you'll do for me properly working puzzle map for Forge (I don't have time for that), I'll spend my time on finding z parameter.
ok just tell me if I have to make the images 800 x 374 there too
puzzle
you know some other offset or interesting portion of code, I'm looking for the one where we are entering the number of cities
the offsets of the puzzles start at 2818d0 and calculate the coordinates, we are always at the starting point, how do I do it?
|
|
RoseKavalier

     
    
Admirable
Supreme Hero
|
posted December 19, 2018 04:38 AM |
|
|
|
|