Hex Madness: Custom Difficulty, etc. - by Saracoth
optimummind on 20/6/2004 at 20:14
Quote Posted by Salvage
I came here looking to figure out how to do this manually, so this is a nice treat.
Tripled the cost of everything except the gloves(which now cost 10,000). Lowered the Expert difficulty loot percent to 80%(for the poor widow).
Inline Image:
http://s95328126.onlinehome.us/uploader/uploads/pics/ty.gifI used Sacaroth's program to change the price of all the items except for the fire
arrow and the climbing gloves. Even though I set it 1 gold, in the game, it returns to their original prices.
How did you manage to change the prices of those items? I tried opening the gamesys file with frhed but I don't know what to do!!
Saracoth on 21/6/2004 at 23:14
It seems likely that the prices for some items are just stored elsewhere. In the area maps would be my guess. Salvage probably made the same mistake I did--assume I was right :)
I just haven't had time to verify all the prices thanks to other projects taking up my time. The only remaining E100 0000 (225 decimal) values in my gamesys are totally unrelated to fire arrows (or anything useful), so the data must be stored elsewhere. I presume the same for the climbing gloves. If someone with more time and energy on their hands would like to do so, go ahead and track down the file(s) and offset(s). If not, I'll get to it eventually.
In Dromed, you could override base item properties for items you've placed in a level. There may be something similar going on here. Maybe when someone tweaked the prices for these items they did so in the mission as well as the gamesys.
Since I'm posting anyway, I'll warn everyone not to go overboard on items. Try sticking to 32767 (the 2-bit signed integer limit) or less to avoid crashes--I'll be changing the limits with the next version.
Tezcatlipoca on 23/6/2004 at 08:59
Quote Posted by Salvage
Lowered the Expert difficulty loot percent to 80%(for the poor widow).
Exactly how is this acheived? I'm interested in tweaking the Loot requirement settings for all the difficulty levels to custom percentages.
Saracoth on 23/6/2004 at 22:23
Quote Posted by Tezcatlipoca
Quote Posted by Salvage
Lowered the Expert difficulty loot percent to 80%(for the poor widow).
Exactly how is this acheived? I'm interested in tweaking the Loot requirement settings for all the difficulty levels to custom percentages.
You can download (
http://members.socket.net/~manta/TDSGameSys.zip) my program (and the .Net Framework, if needed) or get a hex editor, go to the appropriate offsets listed in the fist post, and change them yourself. The program has a tab for all the difficulty settings--just change it and click save. No problem :)
Tezcatlipoca on 24/6/2004 at 08:52
Quote Posted by Saracoth
You can download (
http://members.socket.net/~manta/TDSGameSys.zip) my program (and the .Net Framework, if needed) or get a hex editor, go to the appropriate offsets listed in the fist post, and change them yourself. The program has a tab for all the difficulty settings--just change it and click save. No problem :)
Um....problem. "The dynamic link library mscoree.dll could not be found". This is with your program being run from both desktop and, failing that, from the Thief system directory.
I would ordinarily just use your Hex Edit instructions, but I'm not 100% sure on
what to edit. I can open up the necessary file, but the hexidecimal addresses given in your first post don't appear in my list.
Tezcatlipoca on 24/6/2004 at 09:59
Quote Posted by Tezcatlipoca
Um....problem. "The dynamic link library mscoree.dll could not be found". This is with your program being run from both desktop and, failing that, from the Thief system directory.
I would ordinarily just use your Hex Edit instructions, but I'm not 100% sure on
what to edit. I can open up the necessary file, but the hexidecimal addresses given in your first post don't appear in my list.
***UPDATE*** Disregard the above. Managed to trace a copy of the .dll on the web and can now run the program. Thanks.
bartouze on 24/6/2004 at 14:50
Hope you can fix sometimes the fire arow and gloves.
Your editor has saved my first plythrough, leaving some challenge although getting quite a lot of loot in the levels.
I'm waiting a ne version of your programm to start my second play through :)
Saracoth on 30/6/2004 at 18:26
Just a slight update. Not to the program, unfortunately. I'm officially 100% through screwing around this summer. I have under two months to finish making a game and redesign/recode a database before the next semester starts. If someone else finds the file and offsets for the "missing"/improper offsets (climbing glove and fire arrow prices; prolly other things), then I'm willing to take a few minutes to code them in and upload the updated program. Otherwise.... Well, bartouze, you're going to have to start that next playthrough sooner than expected (assuming you haven't already).
Otherwise, barring a miracle, don't expect anything new anytime soon :(
sergelac on 3/8/2004 at 15:19
what are the offset for "times caught" and "bodies found" for the city area
i have set it to 0 times caught and 0 bodies found for expert, and i want it for the city to have perfect stats
S_Hole on 3/8/2004 at 21:41
how about being more careful?
what's the point of getting good scores without trying?