Skip to content

Attempt to add new spells and skills.

User Avatar
#4
Auto-translated
vasik
Is changing the zeros guaranteed to produce the desired effect?
Can all of this be changed without assembly code, simply by replacing bytes (read the file as a set of bytes, change the necessary ones, and write them back to another file; this would actually be easier).
I'll try it tonight as well.
Damn... I wrote a complete code for this specific DD! For whom?

68 DD 00 00 00

push 000000DDh - this is a 4-byte value; it's not certain that the game engine will handle an array of this size, but two bytes might work, meaning that the second byte is already used for 256! Increasing it to 1000 in the .exe file is not a problem at all! The main thing is to be able to add functionality for this 1000!

Added 1 hour 23 minutes ago
Gerter
Scripted mechanics will work normally, including for the AI, so if it's really possible to add new IDs (255 will work fine) to version 3.1, I would gladly add something like that.
Listen, is it possible to add new spells using scripts?
С уважением, Psatkha (Псатха)

---------------------------------------------

Неудачное планирование ведёт к неудаче ...

NCF - мод, добавляющий дополнительных существ в HeroesV 3.1