About This File
PalMagic v0.2
by MonoDrago and Collaborators from the Palworld modding community!
Presenting my open-source Palworld runtime model swapper PalMagic~!
PalMagic has the following features
- Load JSON files with custom model information and apply it to Pals
- Load extra material files if required to apply to Pals
- Apply random custom models from the JSON lists to all applicable wild Pals
- Selectively apply custom models based on the Pal's characteristics
- Allow different custom models per Pal species
- Save the selected custom models selected for Player owned Pals in an individual manner
- Support for ShapeKeys/Morphs, they will be applied randomly to wild Pals and the settings will be saved for Player owned Pals
- Captured Pals will be saved with the settings they are caught with
- A cap of 1000 saved Pals was implemented to avoid making a massive save file, giving priority to the recently used ones
-
A couple of hotkeys to cycle through the available custom models for each individual Pal
Controls
- Shift + Z: will cycle through the available custom models for the closest Pal in proximity to the player (Can target Summoned Pals)
-
Shift + X / Hold Controller Y/Triangle: will cycle through the available custom models for the Pal your crosshair is aiming at (Cannot target Summoned Pals)
Installation
Copy the contents of the corresponding platform to your "Content" folder
Custom model paks should be placed in "~mods" while the Custom model JSON files should be put inside "~mods/ModelJSON"
Once you have the files in their proper places, run the included "__ManifestList_Create.bat" file
PalMagic uses a unique format for the model JSON files
A python script is included (thank you xMenar!) to convert from other formats to PalMagic format, just place it on the other mod's swap JSON folder
and it will automatically convert all the files and neatly place them in a ModelJSON folder just to be moved to the "~mods" folder
NOTICE: The script will delete any other extra fields and conditions that aren't included in the ModelJSON example
if the pack you are downloading already comes in a ModelJSON folder, it doesn't needs converting!
the file contains an example of the JSON structure to follow, along explanations for the fields used
Roadmap of features
More skin conditions, like temperature, HP values, Rank, etc
Skin weights so people can make the skin more or less likely to be selected for randomly
Skin locks (?) so a Pal gets locked in that skin and cannot be changed if desired to lock it
FNV-1a for skin hashing
Replication (whereas possible) of skins via the previous hashing (ie. all people who are in a multiplayer game can see the same skin if all players have it available)
Proper saving of multiplayer game persist files (Currently all of the client sessions will be saved in a single file)
Support of special/compatible skeleton models (this is in very heavy research, and may or may not work, but i will do my best to research it)
Make sure to also check out Poki's alternative so you can pick the best mod for your needs~!
DynamicPals at NexusMods
Also join our Discord servers to download the source file, extra support and meet chill people~!
T-Box's Server
Jackal's Den