Changes

Jump to navigation Jump to search
73 bytes added ,  23:17, 29 June 2020
m
Added a link for Console
Line 2: Line 2:     
== Debugging console ==
 
== Debugging console ==
You'll need the in-game console to properly test your mods and check if everything is working as it should. The debugging console is enabled by binding the console key at the bottom of the key binding menu in the options window.
+
You'll need the in-game console to properly test your mods and check if everything is working as it should. The debugging console is enabled by binding the console key at the bottom of the key binding menu in the options window. More information about how to use console can be found on [[Console]].
    
== Folder structure ==
 
== Folder structure ==
Unless downloaded from the Steam Workshop, mods are placed in the root of the game folder, depending on which type of mod your are making. Each mod should be placed in its own folder within the following folders (Note that these folders might not exist in the first place, so you should create them yourself):
+
Unless downloaded from the Steam Workshop, mods are placed in the root of the game folder, depending on which type of mod you are making. Each mod should be placed in its own folder within the following folders (Note that these folders might not exist in the first place, so you should create them yourself):
 
* Software types and personalities should be placed in the '''Mods''' folder.
 
* Software types and personalities should be placed in the '''Mods''' folder.
 
* Furniture should be placed in the '''Furniture''' folder.
 
* Furniture should be placed in the '''Furniture''' folder.
Line 16: Line 16:     
== Localizations ==
 
== Localizations ==
All mods can have their own custom localizations defined, to make it easier to translate, or support multiple languages out of the box. Simply add a '''Localization''' folder to the root of your mod's folder, and then put a folder with the name of each language you want to translate to, which should at minimum contain '''English'''. Translations are just a list of [[TyD|TyD]] records, however software types and features are a little more complex, and you should follow the layout in the '''Software.Tyd''' file in the main English localization folder. Your translations will be loaded and used based on the name of the language the player is currently using.
+
All mods can have their own custom localizations defined, to make it easier to translate or support multiple languages out of the box. Simply add a '''Localization''' folder to the root of your mod's folder, and then put a folder with the name of each language you want to translate to, which should at a minimum contain '''English'''. Translations are just a list of [[TyD|TyD]] records, however, software types and features are a little more complex, and you should follow the layout in the '''Software.Tyd''' file in the main English localization folder. Your translations will be loaded and used based on the name of the language the player is currently using.
    
== Mod types ==
 
== Mod types ==
Line 37: Line 37:  
[[Code Modding|Read the documentation here.]]
 
[[Code Modding|Read the documentation here.]]
   −
If you want to dive even further, you can put .cs files directly with the game, and it will compile and load your scripts on startup. For more control you can compile your own DLL files for the game to load.
+
If you want to dive even further, you can put .cs files directly with the game, and it will compile and load your scripts on startup. For more control, you can compile your own DLL files for the game to load.
    
=== Localizations ===
 
=== Localizations ===
To create a localization you can copy the English folder from the Localization folder and fill in your own text in the appropriate fields. Localization files are written entirely in [[TyD|TyD]], to be easily human readable.
+
To create a localization you can copy the English folder from the Localization folder and fill in your own text in the appropriate fields. Localization files are written entirely in [[TyD|TyD]], to be easily human-readable.
    
Localizations can also contain '''femalefirstnames.txt''', '''malefirstnames.txt''' and '''lastnames.txt''' files to overwrite the default employee names in the game. These should contain a list of names separated by new lines, ordered by how common the name is.
 
Localizations can also contain '''femalefirstnames.txt''', '''malefirstnames.txt''' and '''lastnames.txt''' files to overwrite the default employee names in the game. These should contain a list of names separated by new lines, ordered by how common the name is.
52

edits

Navigation menu