Help with Model Swap by editing Plr.txt

Post here about all aspects of D2 mod making whether it's information, problems or whatever. Please specify whether your post is relating to Classic D2 or the Expansion.

Moderator: Nizari

Post Reply
Bill09
Posts: 3
Joined: Fri May 03, 2024 2:53 pm
Canada

Help with Model Swap by editing Plr.txt

Post by Bill09 » Fri May 03, 2024 4:00 pm

Hello, I am new here and I hope everyone is having a good day.

I have some experience with mods and editing files, but I need some help trying to Model Swap. I want to use the Assassin Character Model over top of the Paladin.

I have Ladiks MPQ editor, and I can edit Plr.txt, which has a row for Names and a row for Tokens. This is where I am unsure of how to proceed. I tried changing the Rows for "Paladin PA" to "Assassin AI" but that didn't seem to do anything.

Any advice on how to continue would be wonderful, or perhaps a specific tutorial that could point me in the right direction. I looked on these forums and in the knowledge base but I couldn't seem to find what I was looking for. Although it is possible I've missed it.

Thanks in advance for any help!

Also I'm using Project Diablo 2, if that is relevant.


Bill09
Posts: 3
Joined: Fri May 03, 2024 2:53 pm
Canada

Re: Help with Model Swap by editing Plr.txt

Post by Bill09 » Tue May 07, 2024 6:05 pm

Hey thanks for taking the time to respond!

I tried changing only the token it like you said, so it says "Paladin AI" but unfortunately it doesn't seem to have worked.

User avatar
Ogodei
Senior Moderator
Angel
Posts: 518
Joined: Thu Mar 10, 2016 8:31 am
Italy

Hand-picked

Re: Help with Model Swap by editing Plr.txt

Post by Ogodei » Tue May 07, 2024 7:34 pm

I just tried Paladin SO and it worked, turning the paladin into a sorceress.

Can you check if your mod is running with the -direct-txt command to read modified txt files and your PlrType.txt is inside your D2 directory, in data\global\excel?

If you want to keep all the changes you do inside the .mpq file, though, you still have to recompile the txts as .bin files: in order to do so, perform the step I described above and then copy the newly created .bin files inside your patch_d2.mpq

Bill09
Posts: 3
Joined: Fri May 03, 2024 2:53 pm
Canada

Re: Help with Model Swap by editing Plr.txt

Post by Bill09 » Sat May 11, 2024 5:12 pm

I will try these suggestions thank you!

I am not running the -direct-txt command, it sounds like I should be, oops! Do I enter this command on the properties of the game shortcut?
My PlrType.txt is located in my D2 directory. In my Diablo folder, I Open d2.exp in the MPQ editor and navigate through data\global\excel and find PlrType.txt there. Should I be opening patch_d2.mpq instead?

I may have not been recompiling correctly either, I was just saving in the MPQ editor after making changes.

Thank you again for helping, I will try again!

Post Reply

Return to “General Mod Making”