User Tools

Site Tools


democap:modding

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
democap:modding [2024/07/26 09:57] – [Project Preparation] dragonlorddemocap:modding [2024/09/06 09:33] (current) – [Modding] dragonlord
Line 8: Line 8:
 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 ======
  
Line 81: Line 84:
 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 ====
Line 96: Line 99:
 Replace ''C:\Users\DragonDreams\MyMod'' with the path to your ''MyMod'' directory. These calls create first the ''overlay'' directory. Then the ''content'' and ''scripts'' directories from inside your ''MyMod'' directory are symbolic-linked to the ''overlay'' directory. Replace ''C:\Users\DragonDreams\MyMod'' with the path to your ''MyMod'' directory. These calls create first the ''overlay'' directory. Then the ''content'' and ''scripts'' directories from inside your ''MyMod'' directory are symbolic-linked to 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. 
 +<WRAP center round important 60%> 
 +Once you are finished developing your modification remove these two symbolic links (''content'' and ''scripts'' directories)Otherwise they keep overlaying DEMoCap even if you test-install your own modification after uploading it to Mod.io. 
 +</WRAP>
  
 ===== Content Modifications ===== ===== Content Modifications =====
Line 116: Line 122:
 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.
democap/modding.1721987870.txt.gz · Last modified: 2024/07/26 09:57 by dragonlord