Modding:Overview: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
m (Add some additional pages to the link outline)
(replaced list with cargo query)
Line 7: Line 7:


Likewise, on Linux: ~/.config/unity3d/Freehold Games/CavesOfQud/Mods/MyAwesomeMod
Likewise, on Linux: ~/.config/unity3d/Freehold Games/CavesOfQud/Mods/MyAwesomeMod
 
{{#cargo_query:table=_pageData|fields=_pageName=Page|format=category|where=_categories HOLDS 'Modding' AND _pageName <> 'Modding: Overview'}}
* [[Modding: General Best Practices|General Best Practices]]               
* [[Modding: Creating a Workshop Mod|Creating a Workshop Mod]]               
* [[Modding: Objects|Object Modding]]               
* [[Modding: Encounters and Population|Encounter and Population Modding]]               
* [[Modding: Tiles|Tile Modding]]
* [[Modding: Text Color Codes & Object Rendering|Text Color Codes & Object Rendering]] 
** [[Modding: Code page 437|Code page 437]]           
* [[Modding: .cs Scripting|Scripting for Mods (C#)]]
** [[Modding: Creating New Mutations|Adding New Mutations]]
** [[Modding: Activated Abilities|Adding Activated Abilities]]
** [[Modding:Random Functions|Generating Random Numbers‎‎]]
** [[Modding: Serialization (Saving/Loading)|Serialization (Saving/Loading Data)]]
* [[Modding: Maps|Map Modding]]               
* [[Modding: Quests|Quest Modding]]
* [[Modding: Conversation|Modding Conversations]]
* [[Modding: Sounds|Sound Modding]]
* [[Wishes]]
 
== Modding FAQ/Frequent Issues ==
== Modding FAQ/Frequent Issues ==



Revision as of 14:28, 9 July 2019

Caves of Qud presents a broadly extensible engine. The game's core definition files reside in %game directory%\CoQ_Data\StreamingAssets\Base.

You can create mods for the game by creating a Mods folder in your game save directory, and then creating a sub-folder inside of the Mods folder for your new mod. New content can be created and existing content can be modified or replaced via data files and textures placed in this directory.

For example, on Windows: C:\Users\Brian\AppData\LocalLow\Freehold Games\CavesOfQud\Mods\MyAwesomeMod

Likewise, on Linux: ~/.config/unity3d/Freehold Games/CavesOfQud/Mods/MyAwesomeMod

C

M


Modding FAQ/Frequent Issues

Q: I keep getting an error when trying to save my game.

A: Most likely, you have a list in your mod. Qud's default method of saving doesn't handle lists, so you need to handle it yourself. To see how, check out this article on how to override Qud's default saving/loading.

Q: I'm stuck and don't know what to do.

A: Feel free to ask for help or guidance in #modding on the official Caves of Qud discord server! There are several modders there who use the channel to talk through and ask for feedback on their mods.