The Player editor and portraits

Discuss IB/IBx engine ideas, bugs, etc.
Post Reply
cartons
Posts: 68
Joined: Mon Jan 11, 2021 5:38 pm

The Player editor and portraits

Post by cartons »

I'd like to create a module that allows for both player generated characters, and pre-made joinable PCs peppered throughout the game. I'm probably missing something obvious here, but how do I fix a portrait to a pre-made character? I'm able to afix an icon/sprite (also, is there anyway to make it not changeable?) but the portrait question is puzzling me.
User avatar
slowdive
Site Admin
Posts: 485
Joined: Wed Jan 15, 2020 4:37 am

Re: The Player editor and portraits

Post by slowdive »

I opened up the toolset v196_1 and it appears that the Player Editor does not have a place for choosing the portrait. You will need to edit the Player's ".json" file directly (they should be in the module's "data" folder I believe). There is a line for the token and a line for the portrait like this:

Code: Select all

"tokenFilename": "tkn_miki",
"portraitFilename": "F0165_L",
I'm not sure that there currently is a way to stop someone from changing the portrait in game or prevent them from editing the ".json" file as well.
cartons
Posts: 68
Joined: Mon Jan 11, 2021 5:38 pm

Re: The Player editor and portraits

Post by cartons »

I got it, thank you!
Post Reply