Author Topic: Mayhem's Unofficial Hellgate Steam SP Modification V1.00  (Read 22921 times)

RJ Mayhem

  • Founder
  • Named
  • **
  • Posts: 144
  • Karma: 5
Re: Mayhem's Unofficial Hellgate Steam SP Modification V1.00
« Reply #45 on: Nov 08, 2023; 07:53 pm »
I noticed that the torso, shoulders and belt fall with a 100% chance, and also 100 skillpoints can now be bought from NPCs, I’m not sure which mod does this. To be precise, you can use 100 than previously 20

What are you talking about? What has a 100% chance? My Skills Mod increases the amount of skill points from +20 to +100.

I would like to know which file is responsible for the drop of items, and is it possible to increase the chance of the armor set falling on other items?

Can you explain further on what you're talking about?
HGG IGN
Jenara = 55/50 Engineer
Demonita = 55/50 Summoner
Gunard = 55/50 Guardian
Nonny = 50/3 Blademaster

RomaMartin

  • Named
  • **
  • Posts: 201
  • Karma: 1
Re: Mayhem's Unofficial Hellgate Steam SP Modification V1.00
« Reply #46 on: Nov 08, 2023; 09:34 pm »
I noticed that the torso, shoulders and belt fall with a 100% chance, and also 100 skillpoints can now be bought from NPCs, I’m not sure which mod does this. To be precise, you can use 100 than previously 20

What are you talking about? What has a 100% chance? My Skills Mod increases the amount of skill points from +20 to +100.

I would like to know which file is responsible for the drop of items, and is it possible to increase the chance of the armor set falling on other items?

Can you explain further on what you're talking about?
The chance of dropping items that you added to your mod, each time you kill a boss, an armor set drops out, I also wanted to ask how you were able to find these base defense items and add them, is it possible to increase the drop of items from bosses and unique monsters?

krym

  • Nameless
  • *
  • Posts: 1
  • Karma: 0
Re: Mayhem's Unofficial Hellgate Steam SP Modification V1.00
« Reply #47 on: Nov 09, 2023; 09:05 pm »

What are you talking about? What has a 100% chance? My Skills Mod increases the amount of skill points from +20 to +100.



I can only add+10 skill points!? :(

Bryan

  • Tactical Happenstance
  • Administrator
  • Great Eye / First
  • *****
  • Posts: 3031
  • Karma: 54
Re: Mayhem's Unofficial Hellgate Steam SP Modification V1.00
« Reply #48 on: Nov 09, 2023; 11:05 pm »
I would like to know which file is responsible for the drop of items
Generic drop settings (eg base item types, level ranges, rarity, and spawnability) are defined per item in items.txt. Drop tables and drop chances are determined in treasures.txt, and drop tables are assigned to monsters in monsters.txt. So you can:
  • Pinpoint an item of choice in items.txt, and ensure it can drop
  • Add said item to an existing or new treasure table in treasures.txt
  • Assign this treasure table to an enemy of choice in monsters.txt
That's for designated boss/named enemy drops, of course. If you just want to make an item drop generally, you can set it up this way in items.txt.

how you were able to find these base defense items and add them
All in-game items are in items.txt, so presumably that's where they were found. For plain items, I'm guessing Hanbit had messed up their settings or drop tables for them to not spawn. For cash shop items, well, they never intended for them to be drops so they didn't set them up as drops.

is it possible to increase the drop of items from bosses and unique monsters?
Yes, by following a procedure like the above. If you just want to increase existing tables' drop amounts or item quality, you can do so in treasures.txt.

I can only add+10 skill points!? :(
From what Mayhem describes, no. In Global/Steam it used to be +20, and this mod makes it +100.
"Dream big and crash often"
-Omerta

List of Global class guides.
The above guides may be obsolete for vanilla SP, but they may still hold true for the 2018 Steam version.

RomaMartin

  • Named
  • **
  • Posts: 201
  • Karma: 1
Re: Mayhem's Unofficial Hellgate Steam SP Modification V1.00
« Reply #49 on: Nov 09, 2023; 11:35 pm »
I would like to know which file is responsible for the drop of items
Generic drop settings (eg base item types, level ranges, rarity, and spawnability) are defined per item in items.txt. Drop tables and drop chances are determined in treasures.txt, and drop tables are assigned to monsters in monsters.txt. So you can:
  • Pinpoint an item of choice in items.txt, and ensure it can drop
  • Add said item to an existing or new treasure table in treasures.txt
  • Assign this treasure table to an enemy of choice in monsters.txt
That's for designated boss/named enemy drops, of course. If you just want to make an item drop generally, you can set it up this way in items.txt.

how you were able to find these base defense items and add them
All in-game items are in items.txt, so presumably that's where they were found. For plain items, I'm guessing Hanbit had messed up their settings or drop tables for them to not spawn. For cash shop items, well, they never intended for them to be drops so they didn't set them up as drops.

is it possible to increase the drop of items from bosses and unique monsters?
Yes, by following a procedure like the above. If you just want to increase existing tables' drop amounts or item quality, you can do so in treasures.txt.

I can only add+10 skill points!? :(
From what Mayhem describes, no. In Global/Steam it used to be +20, and this mod makes it +100.
can you tell me how I should write it correctly so that it would work? I'll attach some screenshots

Bryan

  • Tactical Happenstance
  • Administrator
  • Great Eye / First
  • *****
  • Posts: 3031
  • Karma: 54
Re: Mayhem's Unofficial Hellgate Steam SP Modification V1.00
« Reply #50 on: Nov 10, 2023; 08:52 am »
Ah, I always forget that Steam's files are written in such a different way compared to ours... The connections are still the same, mind you, as we've confirmed with Mayhem, but it's still rather bizarre for me to navigate.
But yes, I can try. Please describe what you'd like to do and I can try to direct you.
"Dream big and crash often"
-Omerta

List of Global class guides.
The above guides may be obsolete for vanilla SP, but they may still hold true for the 2018 Steam version.

RJ Mayhem

  • Founder
  • Named
  • **
  • Posts: 144
  • Karma: 5
Re: Mayhem's Unofficial Hellgate Steam SP Modification V1.00
« Reply #51 on: Nov 10, 2023; 07:41 pm »
can you tell me how I should write it correctly so that it would work? I'll attach some screenshots

First I want to mention that when editing the base files you'll lose the changes Contra & my mods made. Which can result in stuff reverting to base game and breaking. Fixes like the cube or boss drops. In order to keep the changes we made you would have to convert the newest file probably my mod from cooked.txt to txt. You would use the Hellpack.exe. You just drag the cooked.txt into the Hellpack.exe and it converts it. I used D2Excel Plus to then read the txt file to make changes. You don't really use Reanimator for much if your editing a file that was already edited. You can't import the changes into Reanimator it's limited in its functions for Steam.

The problem after you convert the cooked.txt to txt is there is a lot of errors that you need to fix manually. I would recommend Notepad++ to fix the problems its a lot easier to see & fix. The problem is when you convert the file is it takes some single lines and breaks it into multiple. You have to fix that or the file will cause errors and not work. There can be 100s of lines needing fixing.

You use the Items Index number from the tems.txt. In the tresure.txt you would use 3,ITEMS INDEX #,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0,0,0. That's what you would add to the items1-8 lines in the Treasure.txt.

Once your done with making changes you would drag your edited txt back into Hellpack.exe to convert it back to a cooked.txt that the game reads.

I've uploaded what I THINK is the files I used for the mod. That should give you a HUGE jump start as they are already fixed and have the changes Contra & my mod make. I do request that if you use the files and release a mod that you credit Contra & me on the mod.
« Last Edit: Nov 10, 2023; 08:13 pm by RJ Mayhem »
HGG IGN
Jenara = 55/50 Engineer
Demonita = 55/50 Summoner
Gunard = 55/50 Guardian
Nonny = 50/3 Blademaster

RomaMartin

  • Named
  • **
  • Posts: 201
  • Karma: 1
Re: Mayhem's Unofficial Hellgate Steam SP Modification V1.00
« Reply #52 on: Nov 12, 2023; 08:24 am »
can you tell me how I should write it correctly so that it would work? I'll attach some screenshots

First I want to mention that when editing the base files you'll lose the changes Contra & my mods made. Which can result in stuff reverting to base game and breaking. Fixes like the cube or boss drops. In order to keep the changes we made you would have to convert the newest file probably my mod from cooked.txt to txt. You would use the Hellpack.exe. You just drag the cooked.txt into the Hellpack.exe and it converts it. I used D2Excel Plus to then read the txt file to make changes. You don't really use Reanimator for much if your editing a file that was already edited. You can't import the changes into Reanimator it's limited in its functions for Steam.

The problem after you convert the cooked.txt to txt is there is a lot of errors that you need to fix manually. I would recommend Notepad++ to fix the problems its a lot easier to see & fix. The problem is when you convert the file is it takes some single lines and breaks it into multiple. You have to fix that or the file will cause errors and not work. There can be 100s of lines needing fixing.

You use the Items Index number from the tems.txt. In the tresure.txt you would use 3,ITEMS INDEX #,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0,0,0. That's what you would add to the items1-8 lines in the Treasure.txt.

Once your done with making changes you would drag your edited txt back into Hellpack.exe to convert it back to a cooked.txt that the game reads.

I've uploaded what I THINK is the files I used for the mod. That should give you a HUGE jump start as they are already fixed and have the changes Contra & my mod make. I do request that if you use the files and release a mod that you credit Contra & me on the mod.
As I understand it, the files that you dropped need to just add what I want, and then drag them to Hellpack.exe, but the point is, how can I find the item I need and indicate its drop location and chance?   

Bryan

  • Tactical Happenstance
  • Administrator
  • Great Eye / First
  • *****
  • Posts: 3031
  • Karma: 54
Re: Mayhem's Unofficial Hellgate Steam SP Modification V1.00
« Reply #53 on: Nov 12, 2023; 10:49 am »
First I want to mention that when editing the base files you'll lose the changes Contra & my mods made. Which can result in stuff reverting to base game and breaking. Fixes like the cube or boss drops. In order to keep the changes we made you would have to convert the newest file probably my mod from cooked.txt to txt.
Oh absolutely. I'd have mentioned this, but considered it a given.
So just noting this for future reference. Tweaking any mod requires using the mod's own files, since that's where the mod's changes are. Applying changes to the base files and using those would effectively revert any change the mod made to that file - and since most changes span across multiple files, this would also break a bunch of connections.

how can I find the item I need and indicate its drop location and chance?   
To find an item in items.txt, you may first need to look up its in-game name in the item strings (strings_items.xls). This is where item names are "translated"; eg, Hotshot is "FirebolterMk3 Unique 01", so you'd need to look for it under that name.
Once you do, you can follow the process I outlined above:
Generic drop settings (eg base item types, level ranges, rarity, and spawnability) are defined per item in items.txt. Drop tables and drop chances are determined in treasures.txt, and drop tables are assigned to monsters in monsters.txt. So you can:
  • Pinpoint an item of choice in items.txt, and ensure it can drop
  • Add said item to an existing or new treasure table in treasures.txt
  • Assign this treasure table to an enemy of choice in monsters.txt
That's for designated boss/named enemy drops, of course. If you just want to make an item drop generally, you can set it up this way in items.txt.

In your case, it sounds like you want to assign a specific item to a specific enemy. You have two choices in this regard; either change the enemy's entire treasure table into a new one, including your new item, or add your new item to its existing treasure.
I'll assume you want to do the latter, so here I'll provide the example of wanting to add Hotshot to Shulgoth's loot.

- Find Hotshot's name in strings_items.xls. Here this is "FirebolterMk3 Unique 01".
- Find Shulgoth's name in strings_monsters.xls. Here this is "shulgoth", so it's easy to locate, but in other cases it may be different.
- Find "shulgoth" in monsters.txt, and look for the entry in its "treasure" column to find the name of its treasure. Here this is "boss_shulgoth".
- Find "boss_shulgoth" in treasures.txt.

Here you'll see treasures in "item" columns often split into sublines that read "tc:[name]". This is what you'll also need to do for drop chance customizability, so
- Find the next available "item" column in "boss_shulgoth" and write "tc:Hotshot" (or whatever name you prefer). This is the name of the new subline you'll create.
- In the "value" column next to it, use the number of times you want the treasure line to apply. This will usually be 1.
- Go to the end of the file, and create a new line with the name "Hotshot" in the "treasureclass" column. This is what your "tc:Hotshot" entry from above will pull.
- In your new line's "item1" column, insert "FirebolterMk3 Unique 01". In the "value1" column next to it, use 1.
- To adjust drop rates, find the column "nodrop" in your new line and put in your number of choice. The number you use will be how often it does NOT drop; so if you want drop chances of 5%, you need a "nodrop" value of 95.
- Fill in the rest of the fields of your new line, so they match existing lines. If you need any specialized settings, you can experiment with them over time.

This is the basic process, but it does require some care and attention. Look for patterns and precedents; if a bunch of fields have "false" set throughout the file, your new line likely needs that too. Type names carefully, and take the time to really grasp how these connections happen; it's very easy to make mistakes if you don't.
"Dream big and crash often"
-Omerta

List of Global class guides.
The above guides may be obsolete for vanilla SP, but they may still hold true for the 2018 Steam version.

RJ Mayhem

  • Founder
  • Named
  • **
  • Posts: 144
  • Karma: 5
Re: Mayhem's Unofficial Hellgate Steam SP Modification V1.00
« Reply #54 on: Nov 12, 2023; 03:20 pm »
can you tell me how I should write it correctly so that it would work? I'll attach some screenshots

First I want to mention that when editing the base files you'll lose the changes Contra & my mods made. Which can result in stuff reverting to base game and breaking. Fixes like the cube or boss drops. In order to keep the changes we made you would have to convert the newest file probably my mod from cooked.txt to txt. You would use the Hellpack.exe. You just drag the cooked.txt into the Hellpack.exe and it converts it. I used D2Excel Plus to then read the txt file to make changes. You don't really use Reanimator for much if your editing a file that was already edited. You can't import the changes into Reanimator it's limited in its functions for Steam.

The problem after you convert the cooked.txt to txt is there is a lot of errors that you need to fix manually. I would recommend Notepad++ to fix the problems its a lot easier to see & fix. The problem is when you convert the file is it takes some single lines and breaks it into multiple. You have to fix that or the file will cause errors and not work. There can be 100s of lines needing fixing.

You use the Items Index number from the tems.txt. In the tresure.txt you would use 3,ITEMS INDEX #,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0,0,0. That's what you would add to the items1-8 lines in the Treasure.txt.

Once your done with making changes you would drag your edited txt back into Hellpack.exe to convert it back to a cooked.txt that the game reads.

I've uploaded what I THINK is the files I used for the mod. That should give you a HUGE jump start as they are already fixed and have the changes Contra & my mod make. I do request that if you use the files and release a mod that you credit Contra & me on the mod.
As I understand it, the files that you dropped need to just add what I want, and then drag them to Hellpack.exe, but the point is, how can I find the item I need and indicate its drop location and chance?

IIRC the name of the in game item you can find in Reanimator in the items.txt under String_String.



Was able to get Reanimator working again. Here is a screenshot of the column your looking for.
« Last Edit: Nov 12, 2023; 04:05 pm by RJ Mayhem »
HGG IGN
Jenara = 55/50 Engineer
Demonita = 55/50 Summoner
Gunard = 55/50 Guardian
Nonny = 50/3 Blademaster

Bryan

  • Tactical Happenstance
  • Administrator
  • Great Eye / First
  • *****
  • Posts: 3031
  • Karma: 54
Re: Mayhem's Unofficial Hellgate Steam SP Modification V1.00
« Reply #55 on: Nov 12, 2023; 03:30 pm »
Oh yeah, I'm basing file name directions on 2038's file names which may differ from Steam's. So definitely take Mayhem's word on these over mine.
"Dream big and crash often"
-Omerta

List of Global class guides.
The above guides may be obsolete for vanilla SP, but they may still hold true for the 2018 Steam version.

RJ Mayhem

  • Founder
  • Named
  • **
  • Posts: 144
  • Karma: 5
Re: Mayhem's Unofficial Hellgate Steam SP Modification V1.00
« Reply #56 on: Nov 12, 2023; 04:07 pm »
Oh yeah, I'm basing file name directions on 2038's file names which may differ from Steam's. So definitely take Mayhem's word on these over mine.

Yea. I haven't seen what 2038 files look like but from the sound of it much better labeled and organized then the Steam version.
HGG IGN
Jenara = 55/50 Engineer
Demonita = 55/50 Summoner
Gunard = 55/50 Guardian
Nonny = 50/3 Blademaster

RomaMartin

  • Named
  • **
  • Posts: 201
  • Karma: 1
Re: Mayhem's Unofficial Hellgate Steam SP Modification V1.00
« Reply #57 on: Nov 12, 2023; 08:24 pm »
can you tell me how I should write it correctly so that it would work? I'll attach some screenshots

First I want to mention that when editing the base files you'll lose the changes Contra & my mods made. Which can result in stuff reverting to base game and breaking. Fixes like the cube or boss drops. In order to keep the changes we made you would have to convert the newest file probably my mod from cooked.txt to txt. You would use the Hellpack.exe. You just drag the cooked.txt into the Hellpack.exe and it converts it. I used D2Excel Plus to then read the txt file to make changes. You don't really use Reanimator for much if your editing a file that was already edited. You can't import the changes into Reanimator it's limited in its functions for Steam.

The problem after you convert the cooked.txt to txt is there is a lot of errors that you need to fix manually. I would recommend Notepad++ to fix the problems its a lot easier to see & fix. The problem is when you convert the file is it takes some single lines and breaks it into multiple. You have to fix that or the file will cause errors and not work. There can be 100s of lines needing fixing.

You use the Items Index number from the tems.txt. In the tresure.txt you would use 3,ITEMS INDEX #,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0,0,0. That's what you would add to the items1-8 lines in the Treasure.txt.

Once your done with making changes you would drag your edited txt back into Hellpack.exe to convert it back to a cooked.txt that the game reads.

I've uploaded what I THINK is the files I used for the mod. That should give you a HUGE jump start as they are already fixed and have the changes Contra & my mod make. I do request that if you use the files and release a mod that you credit Contra & me on the mod.
As I understand it, the files that you dropped need to just add what I want, and then drag them to Hellpack.exe, but the point is, how can I find the item I need and indicate its drop location and chance?

IIRC the name of the in game item you can find in Reanimator in the items.txt under String_String.



Was able to get Reanimator working again. Here is a screenshot of the column your looking for.
It looks like I forced you to return to this again, if I find the name of the necessary items, then how to make them fall on a certain monster, let's say shulgot based on Covent Garden, a full set of armor and mythical weapons, as well as other goodies, I understand approximately that the lines need to be completely written out, but I'm afraid of breaking something. You added a set of armor to the dessicator, as well as a beryal, but at the beginning of the game I would like to get the full set for killing shulgot :D
« Last Edit: Nov 12, 2023; 08:28 pm by RomaMartin »

Bryan

  • Tactical Happenstance
  • Administrator
  • Great Eye / First
  • *****
  • Posts: 3031
  • Karma: 54
Re: Mayhem's Unofficial Hellgate Steam SP Modification V1.00
« Reply #58 on: Nov 12, 2023; 09:47 pm »
It just so happens that my example above uses Shulgoth, so simply modify it to suit your purposes:
- Find the names of the items you want to assign to Shulgoth; according to Mayhem this would be in items.txt under String_String.
- Locate your items of choice in items.txt.
- Find "boss_shulgoth" in treasures.txt, OR the respective treasure line that Shulgoth uses in Steam.
- Find the next available "item" column in "boss_shulgoth" and write "tc:" followed by your name of choice. Eg "tc:shulgoth_set".
- In the "value" column next to it, use the number of times you want the treasure line to apply. This will usually be 1.
- Go to the end of the file, and create a new line with the name "shulgoth_set" in the "treasureclass" column.
- In your new line's "item" columns, insert your items of choice. According to Mayhem, for this you would need the Items Index number from items.txt (and not item names like we do in 2038). In the "value" column next to each "item" field, use 1 (or whichever number you prefer).
- Since you want all items to drop at once, use "all" in the "picktype" column and leave the "picks" line blank.
- To adjust drop rates, find the column "nodrop" in your new line and put in your number of choice. The number you use will be how often it does NOT drop; so if you want drop chances of 5%, you need a "nodrop" value of 95. If you want it to drop all the time, use 0.
- Fill in the rest of the fields of your new line, so they match existing lines. If you need any specialized settings, you can experiment with them over time.
From there you can expand your lines accordingly. Eg, you can have one "tc:" subline for the armor set, another for Mythics, and so on, so that you can adjust drop rates, values, etc more accurately.

Keep in mind, however, that items themselves may have limitations (eg min or max level, themes, etc) that may prevent them from dropping outside of their original intended source. Eg, Mythic weapons may have a level restriction that prevents them from dropping from enemies at Shulgoth's level. So those you'd have to adjust manually in items.txt for each item you want to have Shulgoth drop.
"Dream big and crash often"
-Omerta

List of Global class guides.
The above guides may be obsolete for vanilla SP, but they may still hold true for the 2018 Steam version.

RomaMartin

  • Named
  • **
  • Posts: 201
  • Karma: 1
Re: Mayhem's Unofficial Hellgate Steam SP Modification V1.00
« Reply #59 on: Nov 13, 2023; 05:08 am »
It just so happens that my example above uses Shulgoth, so simply modify it to suit your purposes:
- Find the names of the items you want to assign to Shulgoth; according to Mayhem this would be in items.txt under String_String.
- Locate your items of choice in items.txt.
- Find "boss_shulgoth" in treasures.txt, OR the respective treasure line that Shulgoth uses in Steam.
- Find the next available "item" column in "boss_shulgoth" and write "tc:" followed by your name of choice. Eg "tc:shulgoth_set".
- In the "value" column next to it, use the number of times you want the treasure line to apply. This will usually be 1.
- Go to the end of the file, and create a new line with the name "shulgoth_set" in the "treasureclass" column.
- In your new line's "item" columns, insert your items of choice. According to Mayhem, for this you would need the Items Index number from items.txt (and not item names like we do in 2038). In the "value" column next to each "item" field, use 1 (or whichever number you prefer).
- Since you want all items to drop at once, use "all" in the "picktype" column and leave the "picks" line blank.
- To adjust drop rates, find the column "nodrop" in your new line and put in your number of choice. The number you use will be how often it does NOT drop; so if you want drop chances of 5%, you need a "nodrop" value of 95. If you want it to drop all the time, use 0.
- Fill in the rest of the fields of your new line, so they match existing lines. If you need any specialized settings, you can experiment with them over time.
From there you can expand your lines accordingly. Eg, you can have one "tc:" subline for the armor set, another for Mythics, and so on, so that you can adjust drop rates, values, etc more accurately.

Keep in mind, however, that items themselves may have limitations (eg min or max level, themes, etc) that may prevent them from dropping outside of their original intended source. Eg, Mythic weapons may have a level restriction that prevents them from dropping from enemies at Shulgoth's level. So those you'd have to adjust manually in items.txt for each item you want to have Shulgoth drop.
It would seem that everything is so easy, but for me it’s too difficult because I really can’t grasp the order of actions, there are a lot of numbers in the items column, I found the shulgot boss line but the column The items there are indicated by numbers and there are a lot of them, apparently the versions of the game are really very different, so I can’t understand where and what to enter.