I’ve almost finished creating a succubus for Heroes 3. deftool messed up creating a shadow but that’s no problem, I’ll do it again. I have a question about how to delay the animation of firing a projectile. I’m posting the results of my work below in a YouTube link
From docs:
https://vcmi.eu/modders/Entities_Format/Creature_Format/
// Frame at which shooter shoots his projectile (e.g. releases arrow)
"attackClimaxFrame" : 0,
// Position where projectile image appears during shooting in specific direction
"offset" :
{
"upperX" : 0,
"upperY" : 0,
"middleX" : 0,
"middleY" : 0,
"lowerX" : 0,
"lowerY" : 0
},
Position of firing arrows is not convinient to set, but in modders-tool-pack (available from launcher) there’s folder Shooters projectile template with graphics to make you set proper values or ask @Macron1
ok, I’ll check out this mood pack, I found CRANIM.TXT in the game files and I thought I had to change something here. I just want to delay the moment when the gog fires the projectile because I swapped it for a succubus to test it
Only original creatures use data from creanim.json. Modded creatures must have written these numbers in json file using vcmi format.
ok, can you tell me which values should be changed to delay the moment of firing the projectile
"attackClimaxFrame"
For example - for WoG’s Lord of Thunder
6
means, fire animation will be released at 6th frame
eh, I’m doing something wrong but understanding is black magic to me. I entered 12 in this column but still nothing changes. I also loaded these frames into deftoll again and some strange pixels came out, some come out black and some change from white to yellow. Am I doing something wrong in Photoshop? By default I save the image in 256 colors and 8 bits. In addition, adding a shadow with the deftoll program makes it visible in the game. Tomorrow or the day after tomorrow I’ll sit down at the computer again because today I spent about an hour
Do you have 12 frames of shooting animation? If you type number bigger than amount of frames - delay won’t work.
Can you uplad here def and creature json?
ok, I will share the file tonight. I don’t know how to make a json file. I just replaced the original gog files from inferno and edited the CRANIM.TXT text document and I thought it would work somehow