Modding gamedata

Locked
User avatar
Witchcraft
Posts: 89
Joined: Sun Aug 02, 2015 3:13 pm

Re: Modding gamedata

Post by Witchcraft » Sun Oct 01, 2017 2:07 pm

THanks.

And get well!

User avatar
Witchcraft
Posts: 89
Joined: Sun Aug 02, 2015 3:13 pm

Re: Modding gamedata

Post by Witchcraft » Wed Oct 04, 2017 3:22 pm

I still don't get it, how to change the Cure Disease Spells to the Summon Bear spells. I don't need these useless spells, instead of it, I want to replace the Spells LV 1 - 9 with the LV 1 - 9 Summon Bear spells. But I totally forgot, how I modified the digits in the hex editor last time and I can't decode the changes I've made this time.

User avatar
Kamina
Posts: 24
Joined: Fri Sep 05, 2014 2:59 pm

Re: Modding gamedata

Post by Kamina » Thu Oct 05, 2017 5:14 am

Here are some notes i made for the editor.

To change these spells to summonning spells just copy "summon bear" and replace the ID with Cure Disease Spell IDs or change all parameters to the summon bear spell and just change the Unit ID.
Attachments
GameData Editor Notes.jpg
(280.84 KiB) Not downloaded yet

User avatar
rupuzioks
Site Admin
Posts: 555
Joined: Sun Nov 13, 2011 2:57 pm

Re: Modding gamedata

Post by rupuzioks » Thu Oct 05, 2017 7:18 am

you can just replace spell effect ID of "Cure Disease" with the spell effect ID of "Summon Bear"
the offset you need to look for is viewtopic.php?f=29&t=272
all "summon bear" spell effects from lvl 1 are already in the gamedata, they are just not implemented
spell type ID for the "summon bear" is 6D 00; for the "cure disease" is 18 00

also, if you want to rename those scrolls and spells you can do it here at this offset viewtopic.php?f=29&t=259
Tempus et vita, tempus et mortis

User avatar
Witchcraft
Posts: 89
Joined: Sun Aug 02, 2015 3:13 pm

Re: Modding gamedata

Post by Witchcraft » Thu Oct 05, 2017 6:05 pm

This is exactly the thing I did, but it didn't work. First I've just replaced the spell IDs from 18 00 to 6D 00, but nothing happened. Then I've tried to change the complete Cure Disease LV 2 Spell to Summon Bear Spell LV 1, now the spells look like this:

What editor do you mean? I've only found one editor here, and it didn't work on my PC.
Attachments
Screenshot00004.jpg
(1.56 MiB) Not downloaded yet

User avatar
Kamina
Posts: 24
Joined: Fri Sep 05, 2014 2:59 pm

Re: Modding gamedata

Post by Kamina » Thu Oct 05, 2017 7:18 pm

seems like the game didn't find your used spell IDs. maybe you mixed up the hex numbers.
I use the GameData Editor by Insigar.
viewtopic.php?f=14&t=304

User avatar
rupuzioks
Site Admin
Posts: 555
Joined: Sun Nov 13, 2011 2:57 pm

Re: Modding gamedata

Post by rupuzioks » Thu Oct 05, 2017 8:44 pm

I forgot something, here is an example for the lvl 2 changes:
viewtopic.php?f=29&t=272 - for the correct ui under the portrait
D6 00 4B 02 - here you need to change like this D6 00 E5 05
viewtopic.php?f=29&t=270 - actual spell effect ID changed
D5 00 01 4B 02 D6 00 01 4B 02 - here like this D5 00 01 E5 05 D6 00 01 E5 05
viewtopic.php?f=29&t=271 - correct scroll ui in inventory and spell ui in spellbook
D5 00 02 75 69 5F 73 70 65 6C 6C 5F 57 4D 5F 4E 61 74 75 72 65 5F 43 75 72 65 44 69 73 65 61 73 65 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 - D5 00 02 75 69 5F 73 70 65 6C 6C 5F 57 4D 5F 4E 61 74 75 72 65 5F 54 72 61 6E 73 66 6F 72 6D 42 65 61 72 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00
D6 00 01 75 69 5F 73 70 65 6C 6C 5F 57 4D 5F 4E 61 74 75 72 65 5F 43 75 72 65 44 69 73 65 61 73 65 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 - D6 00 01 75 69 5F 73 70 65 6C 6C 5F 57 4D 5F 4E 61 74 75 72 65 5F 54 72 61 6E 73 66 6F 72 6D 42 65 61 72 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Tempus et vita, tempus et mortis

Locked