Skip to content

Posts from Transformation of undead in the Temple of the Underworld.

No ratings yet — be the first to rate!
User Avatar
#1
Auto-translated
Hello! In Necropolis, there is a special building called the Temple of the Underworld, which transforms any creature into undead according to the creature's level. Is it possible to implement a transformation based on the TransformTable from \GameMechanics\RPGStats\DefaultStats.xdb? Otherwise, it results in an absurdity; for example, any creature of level 7, regardless of what it is, is transformed into a bone dragon. As I understand it, a script needs to be written to transform the stack and attached to the transformation button. Can anyone create such a mod or write a script? I'm a texture artist, and I'm not very good with scripts.
#2
Auto-translated
I think I found the file with that.
User Avatar
#3
Auto-translated
Scripts cannot be bound to interface buttons; they can only be bound to script dialog boxes or triggers. As for modding tools... I'm not sure. If you connect an NCF file, you can create duplicates of the creatures you need, but with a different level. When entering the Necropolis, replace the normal creature with the duplicate; when entering a battle or leaving the city, switch it back (to preserve the game mechanics tied to the creature's level). Create the new creature using modding tools and change it with scripts. Although, as always, I'm just generating complex solutions.
 

К А
Стикеры GBF в Telegram
User Avatar
#4
Auto-translated
Thank you for the clarification, now it’s clear that things are not so simple. We will take a different approach.
User Avatar
#5
Auto-translated
black-hat
Hello! In Necropolis, there is a special building called the Temple of the Underworld, which transforms any creature into undead according to the creature's level.
Is it possible to implement the transformation according to the TransformTable from \GameMechanics\RPGStats\DefaultStats.xdb?
Otherwise, it becomes absurd; for example, a level 7 creature, regardless of what it is, transforms into a bone dragon.
It seems that everything is transformed logically; dragons become dragons, humanoid creatures of higher levels become undead, and bone dragons definitely don't result from titans, devils, or angels.
Oh yes, sorry, I made a mistake; I remembered that the temple only transforms creatures according to their level.
Attachments 1
1 file attached • Total size: 279.5 KB
In reply to black-hat
User Avatar
#6
Auto-translated
black-hat
Thank you for clarifying, now it's clear that things are not so simple. We will go a different way.


I wonder, which way exactly?
I just don't see any other options.
In reply to atlant108
User Avatar
#7
Auto-translated
atlant108

I wonder, in what way exactly?
I simply don't see any other options.

Here's an option: make the transformation button inactive in the interface. Instead, after building the Temple, add a scripted transformation spell to the hero's spellbook (or allow activating a spell already written in the book) that transforms the town into a Necropolis. I've seen such a spell in the NHF 0.84 mod and in Reanimation Mod 1.2. The town transformation would have conditions, such as requiring money, resources, or the hero's level being higher than or equal to the town's level, etc.
User Avatar
#8
Auto-translated
black-hat, did you manage to implement a script that transforms a town into a Necropolis?