Both sides previous revisionPrevious revisionNext revision | Previous revision |
democap:modding [2024/07/26 09:59] – [Windows] dragonlord | democap:modding [2024/09/06 09:33] (current) – [Modding] dragonlord |
---|
DEMoCap supports modifications developer by anybody using the [[https://mod.io/g/democap|Mod.io]] platform. Various modifications can be made including (but not limited to): characters, props, worlds and script code. | DEMoCap supports modifications developer by anybody using the [[https://mod.io/g/democap|Mod.io]] platform. Various modifications can be made including (but not limited to): characters, props, worlds and script code. |
| |
| ====== Examples ====== |
| |
| Example modifications can be found on the [[https://github.com/LordOfDragons/democap/tree/main/modding/examples|Github Repository]]. |
====== Using Modifications ====== | ====== Using Modifications ====== |
| |
Open file browser with path ''~/.config/delauncher/games/e31f1c11-3ca6-c66b-adca-95484bedfc1f''. Create directory ''overlay''. Content in this directory will be overlaid in DEMoCap. Open the ''overlay'' directory. Open your ''MyMod'' directory in another file browser. Create symbolic links of ''content'' and ''scripts'' into the ''overlay'' directory. | Open file browser with path ''~/.config/delauncher/games/e31f1c11-3ca6-c66b-adca-95484bedfc1f''. Create directory ''overlay''. Content in this directory will be overlaid in DEMoCap. Open the ''overlay'' directory. Open your ''MyMod'' directory in another file browser. Create symbolic links of ''content'' and ''scripts'' into the ''overlay'' directory. |
| |
Now when you run DEMoCap your modification content will be used as if a user has installed your final modification. Once you are finished developing your modification remove these two symbolic links. | Now when you run DEMoCap your modification content will be used as if a user has installed your final modification. |
| |
==== Windows ==== | ==== Windows ==== |
end | end |
</code> | </code> |
| <WRAP center round important 60%> |
The ''namespace'' line is important. DEMoCap searches for modification script files only in this namespaces. | The ''namespace'' line is important. DEMoCap searches for modification script files only in this namespace. |
| </WRAP> |
| |
Use for ''MyModification'' a unique namespace name for your modification to keep files from mixing with other modifications. Place your script files in this namespace. You can choose your file structure as you like. It is not required to mirror namespace structure but doing so can help organize your files. | Use for ''MyModification'' a unique namespace name for your modification to keep files from mixing with other modifications. Place your script files in this namespace. You can choose your file structure as you like. It is not required to mirror namespace structure but doing so can help organize your files. |