Ironworks Gaming Forum

Ironworks Gaming Forum (http://www.ironworksforum.com/forum/index.php)
-   Wizards & Warriors Forum (http://www.ironworksforum.com/forum/forumdisplay.php?f=14)
-   -   Ironworks Forum mod for W&W (http://www.ironworksforum.com/forum/showthread.php?t=102443)

Shadow Stranger 02-05-2014 11:08 AM

Ironworks Forum mod for W&W
 
A real Ironworks Forum mod is still well off into the future. But I was able to achieve at least one thing. Altering the Skull item entry in CryptA.bol, by changing the 251 to 270, enabled me to place a Tome of Earth in the Crypt. 251 is the item number for Skull while 270 is the number for Tome of Earth.
This tome is the last one needed to become a Zenmaster, it is otherwise not found till near the end of the game.

Wyvern 02-06-2014 06:39 AM

Re: Ironworks Forum mod for W&W
 
That's a good achievement then! Not being able to make Zenmaster until late in the game was a common complaint. =^..^=

Shadow Stranger 02-07-2014 10:25 AM

Re: Ironworks Forum mod for W&W
 
Now we can see our way clear to solving some problems.
(1) Zenmaster ascension can happen much sooner, whenever convenient.
(a) Tome of Fire: near Hallway Maze in the Serpent Temple.
(b) Tome of Wind: You'll find it in a chest in the Boogre Hag's room.
(c) Tome of Water: in Collasium, near the library.
(d) Tome of Earth: In Cet's pyramid.
Tomes of Water and Earth can be placed in dungeons before Brimloch Roon?
Shurugeon Castle, Stout Mines and Dragon Spire are all possibilities. Dragonspire has an Oracle of Earth, that would be a good place for the Tome of Earth. Tome of Water can be placed anywhere there is water.

(2) Valkyrie ascension, I can try hacking the Warlock ascension in the Brimloch Roon Priest guild so that it grants the Valkyrie class not the Warlock. (If you want to do Warlock ascension in Brimloch Roon you can still do it at the League of Sorcery.)
A special Tome of the Valkyrie can be created, it can be required as one of the two ascension quest items. Shurugeon Castle is one place for it to be placed, the Castle is full of undead.

(3) Brimloch Roon Mage quests are given in the wrong order, Treant seeds can be left around some dungeon or other.
It might be possible to rewrite the relevant code in the GMData.pak, but that might take some time to figure out.

Edit:
Hacking the Brimloch Roon ascension for Warlock to produce a Valkyrie, this seemed to work as planned. There is currently no appropriate dialog for this approach. Existing dialog is based upon burning the lich's heart.
I turned a Whiskah Priest into a level 1 Valkyrie, complete with the Gravebind Trait.

Shadow Stranger 02-09-2014 05:32 AM

Re: Ironworks Forum mod for W&W
 
Here, CopyGMDATA.PAK is the original file and GMDATA.PAK is the file after I hacked the Brimloch Roon Priest Guild. I retrieved the alterations I made to the GMData.pak with the File Compare function, found in the MS-Dos Prompt:

C:\Program Files\Activision\WizardsWarriors>FC /B CopyGMDATA.PAK GMDATA.PAK
Comparing files CopyGMDATA.PAK and GMDATA.PAK

Quest Completed:
Change ascension quest from #13 (Warlock) to #21 (Valkyrie)
00006721: 0D 15
Change class acquired from 11 (Warlock) to 14 (Valkyrie)
00006727: 0B 0E
0000672E: 0B 0E
Quest Complete dialog changes:
00006731: 33 71
00006734: 34 74
00006737: 35 75
0000673A: 36 76

Quest Assigned:
Change ascension quest from #13 (Warlock) to #21 (Valkyrie)
0000688E: 0D 15
Quest assigned dialog changes:
00006894: 5F 69
00006897: 60 6A
0000689A: 61 6B
000068A0: 62 6C
000068A3: 63 6D
000068A6: 64 72
000068A9: 65 73
000068AC: 66 65

In the file, the quest completed code occurs before the quest assigned code.

Wyvern 02-09-2014 07:50 AM

Re: Ironworks Forum mod for W&W
 
Looks like you're making some really good progress!! =^..^=

Shadow Stranger 02-12-2014 06:52 AM

Re: Ironworks Forum mod for W&W
 
I can alter what items the guild wants for Valkyrie ascension. I have created a Valkyrie Tome in this regard, complete with a message telling the recipient to go to the Brimloch Roon Temple.
What I cannnot do is restrict ascension to women. Items can be created that are equippable by women only but I can't find a function in W&W that looks whether an item is equipped rather than just carried.

Wyvern 02-12-2014 08:52 AM

Re: Ironworks Forum mod for W&W
 
That still sounds like a good addition to me!! I've never really cared for gender restricted classes/attributes/whatevers ;)

Shadow Stranger 02-13-2014 05:14 AM

Re: Ironworks Forum mod for W&W
 
I have not checked that the Valkyrie actually attains the normal hit points, spells and skills when she gains levels. I believe she should, unless that is stored in the town record that I altered.
Edit:
I have just checked whether the Valkyrie seems to gain the usual spells and skills, as far as I could tell, she got all her usual spells and skills. Once the Valkyrie ascension is complete you may need to cancel the original Warlock training, the latter may still be running. Cancellation is quick and simple.
Only the Brimloch Roon Temple Warlock ascension is affected. If you are a member of the Priest Guild you can still do the Warlock ascension at the other two towns.

Monk ascension could be fixed too, about time. Maybe hack the Paladin ascension quest in one of the temples... Ishad N'ha comes to mind. You could hack the ascension there. As it is a hack of the Paladin ascension, you become a Monk immediately when you report back after praying at the Altar.

On second thoughts, the Monk ascension code is a bit different:
4, Ranger, 35, 255, 255, 1, 0, 0, 2, 0, 40, 4, 0, 0, 1, 0, 41, 0, 4, 0, 42
5, Bard, 35, 255, 255, 2, 0, 0, 2, 0, 40, 5, 0, 0, 1, 0, 41, 0, 5, 0, 42
6, Samurai, 35, 255, 255, 4, 0, 0, 2, 0, 40, 6, 0, 0, 1, 0, 41, 0, 6, 0, 42
7, Paladin, 35, 255, 255, 6, 0, 0, 2, 0, 40, 7, 0, 0, 1, 0, 41, 0, 7, 0, 42
8, Barbarian, 35, 255, 255, 8, 0, 0, 2, 0, 40, 8, 0, 0, 1, 0, 41, 0, 8, 0, 45, 0, 0, 42
9, Monk, 35, 255, 255, 9, 0, 0, 2, 0, 40, 9, 0, 0, 1, 0, 44, 0, 0, 41, 0, 9, 0, 42
9, Monk, 35, 255, 255, 9, 0, 0, 2, 0, 40, 9, 0, 0, 1, 0, 41, 0, 9, 0, 42
10, Ninja, 35, 255, 255, 11, 0, 0, 2, 0, 40, 10, 0, 0, 1, 0, 41, 0, 10, 0, 42
11, Warlock, 35, 255, 255, 13, 0, 0, 2, 0, 40, 11, 0, 0, 1, 0, 41, 0, 11, 0, 42
12, Assassin, 13, 236, 0, 40, 12, 0, 0, 1, 0, 41, 0, 12, 0, 42
13, Zenmaster, 35, 255, 255, 18, 0, 0, 1, 0, 40, 13, 0, 0, 1, 0, 41, 0, 13, 0, 42
14, Valkyrie, 35, 255, 255, 21, 0, 0, 2, 0, 40, 14, 0, 0, 1, 0, 41, 0, 14, 0, 42

I don't know if the extra 44,0,0 is needed or not. What I can do is make the "No" choice in "Do you want to cancel your Monk training? Yes/No" link to the start of the Monk ascension code. This also means that I don't have to hack the Paladin ascension.

Edit:
"13, 236, 0," means: remove item 236, the Assassin's Dagger. So the real function to enact the Role Ascension would be "40, 12, 0, 0, 1, 0, 41, 0, 12, 0, 42"?
The " 35, 255, 255," may be related to setting a quest as completed.

Shadow Stranger 02-14-2014 09:17 PM

Re: Ironworks Forum mod for W&W
 
I rigged the Brimloch Roon Dojo ascension for the Monk class, when I said "No" to cancelling it enacted the class change. It only involved altering two bytes:
000054B0: F7 00
000054B1: 07 02
Now I need to do this for the Ishad N'ha Dojo too. By using the No answer rather than the Yes answer I have made it still possible for players to totally cancel if they want to.
I will try the ascension for a basic character not John Hubbard's level 50+ Zenmaster.
If the PC is a member of the Priest Guild but not a member of the Bushi Guild, she can arrange the ascension quest at the former and cancel it at the latter.

One other thing I need to research, can you be a Warlock and then use the hacked Warlock ascension to become a Valkyrie?

Wyvern 02-15-2014 08:47 AM

Re: Ironworks Forum mod for W&W
 
Hope you can figure it out!!

Shadow Stranger 02-15-2014 10:41 PM

Re: Ironworks Forum mod for W&W
 
One other thing I need to research, can you be a Warlock and then use the hacked Warlock ascension to become a Valkyrie?
No, the person has "Completed Warlock Training", she can't then go on to use the Warlock ascension to become a Valkyrie...

The Monk ascension seemed to work properly. Here is how to hack it for the Ishad N'ha Dojo record, at offset 9,707:
9, 2, 78, 0, 79, 0, 80, 0, 10, 2, 255, 3, 41, 7
78,79,80 are conversation pieces:
78, Do you want to cancel your Monk training?
79, Yes
80, No
255,3 is the offset the program goes to when you choose the cancel option.
41,7 is a very commonly used offset, it is the second last byte in the record. It presumably ends the running of code.

193,1 is the start of the actual Monk class ascension. (This equates to 9,246 in absolute terms, from the start of the file, but this measurement is not used in the code. Said code starts all measurements from the start of the given shop record, it never accesses the records of other shops.)
At offsets 9,719 and 9,720 the idea is to replace 41 and 7 with 193 and 1: when you refuse to cancel Monk training the ascension is then enacted. Here is the hex for the alterations:
000025F7: 29 C1
000025F8: 07 01

You can keep to the original 48 hours if you want to, just don't cancel the training.
Ditto you can make the training time whatever you want, when you are ready for ascension just go to the Bushi guild and hit the cancel button.

Shadow Stranger 02-17-2014 02:06 PM

Re: Ironworks Forum mod for W&W
 
Mixed up order of quests at Brimloch Roon Wizard Guild, one solution is to have Sabastio hand over a Treant Seed, the code for this is 12 250 00, which translates to 0C FA 00 in hexadecimal. You can have any shopkeeper hand over a Seed.
Code amendment below deletes string 156, "I care not from which one you get it...", retains string 155 "The Seed of the Living Tree is all that I need..." and inserts code for giving a Seed.
00007AF1: 08 0C
00007AF2: 9B FA
00007AF5: 9C 9B

Currently I don't know how to add Treant Seeds to the inventory of a store.

I only understand about half of the shop record, this limits the alterations that I could make. In theory I could switch the quests around but I don't really know what I am doing.

Wyvern 02-18-2014 07:30 AM

Re: Ironworks Forum mod for W&W
 
You know a lot more than I do!!! =^..^=

Shadow Stranger 02-18-2014 11:11 PM

Re: Ironworks Forum mod for W&W
 
If you had the time and the interest in it, you could probably do it yourself. The key ingredients are a list of the items and a list of the dialog strings used for each store. I still only know about half of the stuff.

As far as I can tell, the Stone Blessing being required for enhancing an item's armor value is unfortunately correct. It might be a good idea to bring the Valkyrie into play earlier, around Shurugeon Castle, this makes it easier to draw up a party line-up. A Warlock can't buy levels in Stonecraft if he does not already have any. Among basic and elite roles, only a Wizard knows Stonecraft. Blessings are Priestly not Wizardly skills.

Found an interesting table in the record for Brimloch Roon Temple:
3 22 0 0 132 3 7 10 5 7 8 3
3 22 0 0 133 3 7 22 5 7 14 3
3 22 0 0 134 3 7 34 5 7 26 3
3 22 0 0 141 3 7 46 5 7 20 3
3 22 0 0 39 3 7 58 5 7 32 3
3 22 0 0 41 3 7 70 5 7 131 3
3 22 0 0 43 3 7 82 5 7 29 4
3 22 0 0 84 3 7 94 5 7 226 4
3 22 0 0 97 3 7 106 5 7 232 4
3 22 0 0 52 3 7 118 5 7 27 6
3 22 0 0 53 3 7 130 5 7 118 7
3 22 0 0 54 3 7 142 5 7 112 7
For the first seven columns, it has the same entries in all three temples. But then the Dojo has mostly different entries for the fifth column, so I figure this table varies with the type of shop.

Shadow Stranger 03-14-2014 08:32 AM

Re: Ironworks Forum mod for W&W
 
1 Attachment(s)
Here is a program that prints out the content of Bol files, just the thing to move the Serpent Idol to a more accessible part of the Serpent Holds.
Something I forgot to add: to create the file Generic.bol, just make a copy of TempleA.bol and rename it to Generic.bol.

If you have the Vanish spell that nasty bit is quite easy. When you are all starting to drown just cast Vanish and you end up right next to the Serpent Idol.

Now it also handles the three Tol (Outdoor Bol) files.

Trial and error will be required to say where each Bol file will be in effect. Look for unique items, monsters or props.

Occasionally you will see entries listed as BSPT, they may be references to BSP files.

Wyvern 03-15-2014 07:58 AM

Re: Ironworks Forum mod for W&W
 
THat's pretty kewl!!!

Shadow Stranger 08-27-2016 07:17 AM

Re: Ironworks Forum mod for W&W
 
From post #12:

Mixed up order of when Brimloch Roon Mage guild Living Seed and Open the Shrine quests are given, three possible approaches:
(1) Simplest, use items placed in a chest to achieve the desired result. Treant Seeds involved seem to be of the type Item 250. This should be easy.
(2) More complex, have Evil Treants summoned to the east of the Shrine. This involves straightforward alterations or additions to spoke11.tol
(3) Most involved option, alter the file GMDATA.PAK to correct the original error.

Another option:
(4) Alter the GMData.pak file so that a line of dialog is replaced by Sabastaio giving the PC a Treant Seed.
Post 12 above shows how you can do this.

With option (2), will the party be strong enough to fight wandering Evil Treants before they enter the Shrine of Anephas?
You can replace six of the eleven entries for Desert Raptors with the Treants.
Alternately you can add six new entries for Evil Treants. Cracking the coordinate system will tell you where to place your new Treants. In this file there are a lot of monsters whose locations are known: Bloodbeard, Talrik, Leprechaun, Oakenmir, Mystical Sphynx and 3-Headed Hydra... These can help you do the cracking.

Wyvern 08-27-2016 10:26 AM

Re: Ironworks Forum mod for W&W
 
You've done so much more with W&W than I ever did!! Being able to replace monsters would have been very neat!!
=^..^=


All times are GMT -4. The time now is 10:36 PM.

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
©2024 Ironworks Gaming & ©2024 The Great Escape Studios TM - All Rights Reserved