BetweenWalls / PD2-Singleplayer

Characters and items for PD2
52 stars 7 forks source link

All items in shared stash are max roll #6

Closed schovan closed 2 years ago

schovan commented 2 years ago

Is there any way to edit these items and lower some rolls? Hero editor doesn't work because PD2 characters cannot be loaded (they are loaded but all items are deleted). Character conversion from PD2 to vanilla in PD2-Converter doesn't work.

BetweenWalls commented 2 years ago

This isn't exactly convenient to do, but you could try modding your game files by adding new recipes in CubeMain.txt which generate whatever item you want with new (random) rolls. I was thinking about writing some basic info about how to do basic text-file modding in the Modification section of the README, but haven't got around to it yet.

schovan commented 2 years ago

Ok thank you and a guide about text file modding would be very helpful.

BetweenWalls commented 2 years ago

Added a basic explanation about text modding (with links for more resources/tutorials) to the readme

VigoTrold commented 2 years ago

Would it be possible to add UNID versions of the items, to get random rolls? Just to make testing closer to the items you got on your real chars.

schovan commented 2 years ago

Yep, that was my idea, to have better representation of real multiplayer characters in single player, all max rolled items are really OP, imagine only having max rolled torch and anni, that's really expensive. I will try to do some experiments with custom cube recipes and see what happens. @BetweenWalls How difficult is to implement .item chat command in single player?

BetweenWalls commented 2 years ago

@BetweenWalls How difficult is to implement .item chat command in single player?

I have no idea how that's done, so couldn't tell you. It might be possible to make a cube recipe that randomizes the rolls on a given unique/set item, though. If so, that'd at least be more convenient than making cube recipes for individual items.

BetweenWalls commented 2 years ago

As for adding UNID versions of the unique/set items, I wouldn't be against doing that in a new character's personal stash (or maybe on the Bases character?) but am not going to put in the work to generate them myself since I think text modding is a more comprehensive solution for people to get whatever they're looking for.

VigoTrold commented 2 years ago

I would need a video guide to do it.

Den 11. jan. 2022 kl. 22.23 skrev BetweenWalls @.***>:

 As for adding UNID versions of the unique/set items, I wouldn't be against doing that in a new character's personal stash (or maybe on the Bases character?) but am not going to put in the work to generate them myself since I think text modding is a more comprehensive solution for people to get whatever they're looking for.

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.

schovan commented 2 years ago

I made a progress with cubes recipes. I'm able to reroll unique items, set items, torches and annis. The cube recipe is item + key stack and result is rerolled item with removed corruptions and 0 sockets + key stack with removed one quantity. Torch class is randomized, so you need more attempts to get an expected result. Unfortunately it cannot be done in one cube recipe, you need a recipe for all items. This can be generated in C# code for example, using informations from UniqueItems.txt and SetItems.txt. If anyone knows, how to do it in one cube recipe, let me know (maybe it is not possible).

VigoTrold commented 2 years ago

That sounds amazing, and a thing i would use a lot, if it was working on all items. Not sure i can make it myself, but would be really happy to try the files you made! @schovan

schovan commented 2 years ago

Ok, when I have it in acceptable state, I will share the files.

VigoTrold commented 2 years ago

Ok, when I have it in acceptable state, I will share the files.

Sounds good! Im ready to test on torches. Maybe i would be able to understand the process if i see how its done.

schovan commented 2 years ago

I have finished the first version of cube reroll. Download this file data_reroll_v01.zip and unpack it to ProjectD2 directory. Than start the game with this command: PlugY.exe -direct -txt. Reroll works as I described it before. Uped items cannot be rerolled for some reason. If anything doesn't work, let me know. Maybe in the future I will add some new recipes.

VigoTrold commented 2 years ago

This is amazing! Where do i see the items you added?

schovan commented 2 years ago

At the end of cubemain.txt, there are new lines starting reroll xxx. And also UniqueItems.txt changed. Just compare it with the original one (original files you can get how described BetweenWalls)

VigoTrold commented 2 years ago

When they make a patch, we need to re-add the list u made in the files? So we don't miss the changes they make, drop chances etc right?

schovan commented 2 years ago

If they make some changes of set, unique, torch or anni item and you want to reroll the changed item, then yes, those files need to be re-generated. Otherwise you just start the game with command PlugY.exe -direct -txt, reroll your items, exit the game and start the game with command PlugY.exe only and play the single player normally, everything will be updated.

BetweenWalls commented 2 years ago

The item pack now includes a mod to make it easier to get items that don't just have max rolls, as well as some other custom cube recipes to help facilitate testing.