ModsFileNamingConventions: Difference between revisions

From The Colonists
Jump to navigation Jump to search
redirect Modding in Unity
→Image Files: add new global storage resource category - menu lower left
Line 46: Line 46:
::e.g. "terraindetail_200.png" (see [[TerrainTypeDetailSpecs|TerrainTypeDetail]] )
::e.g. "terraindetail_200.png" (see [[TerrainTypeDetailSpecs|TerrainTypeDetail]] )
::e.g. "misccategory_201.png" (input image in building's Production, Research, or Boatyard Dock panel - see [[MiscCatModIds]])
::e.g. "misccategory_201.png" (input image in building's Production, Research, or Boatyard Dock panel - see [[MiscCatModIds]])
::e.g. "category_201.png" (image for a resource category , e.g. [[File:Resource_Category_Alcohol.png|64px|alcohol]])
::e.g. "category_200.png" (image for a resource category , e.g. [[File:Resource_Category_Alcohol.png|64px|alcohol]])
::e.g. "globalstoragecategory_200.png" (see [[globalstoragecategory|Global Storage Resource Category Menu ]] )
::e.g. "resourcecategory_201.png" (image for new a resource category , alternate naming)
::e.g. "resourcecategory_201.png" (image for new a resource category , alternate naming)
::e.g. "naturalresource_200.png" (image for natural resource, e.g. used in creating a new natural resource in Custom Maps - see [[ModNatural_Resources#Icon|Icon]])
::e.g. "naturalresource_200.png" (image for natural resource, e.g. used in creating a new natural resource in Custom Maps - see [[ModNatural_Resources#Icon|Icon]])
Line 58: Line 59:
:<s>floor_buildings.png</s> (obsolete)
:<s>floor_buildings.png</s> (obsolete)
:<s>floor_base.png</s> (obsolete)
:<s>floor_base.png</s> (obsolete)
:<s>floor_extra.png</s> (obsolete)
:<s>floor_extra.png</s> (obsolete)


=3D Model Files=
=3D Model Files=
:See [[ModsUnityAssetBundles|Modding in Unity]] for using 3D models from Unity in The Colonists mods
:See [[ModsUnityAssetBundles|Modding in Unity]] for using 3D models from Unity in The Colonists mods

Revision as of 01:33, 8 January 2023

The Colonists Mod file naming conventions

The following filenames in a mod folder will be "read" and processed.
The file "custom_log.txt" should show results of processing each file.

NOTE: most filenames are forgiving of case.
E.g. "landroutefloor_200.png", "LandRouteFloor_200.png", "LANDROUTEFLOOR_200.png", or "Landroutefloor_200.png" should all work the same.

Special Files

bot_names.txt
global.json
map_generation.json
market.json
player.json
render.json
terrain.json
translation.csv
ui.json

meta.json
PublishedFileId.txt

Object Specific Files

Json files containing multiple entries can take the form of all_object.json or object.json. E.g. all_animals.json or animals.json.
Json files for single entries should have the prefix 'object_' . E.g. animal_201.json or animal_mynewanimal_202.json.

animals.json
boats.json
buildings.json
flora.json
landroutes.json
naturalresources.json
projectiles.json
resources.json
structures.json
techs.json
trains.json
units.json

Image Files

Files that match the object ID in the mod
e.g. "animal_200.png" -(image in building's in certain situations - see "Notes" in MiscCatModIds )
e.g. "boat_200.png" (see Icon )
e.g. "building_200_L2.png" (see Icon )
e.g. "buildingfloor_200_L2.png" (see Building Floor )
e.g. "dynamicfloor_200_L2.png" (see Structure Dynamic Floor )
e.g. "structurefloor_200_L2.png" (see Struture Floor )
e.g. "resource_200.png" (see Icon )
e.g. "terraindetail_200.png" (see TerrainTypeDetail )
e.g. "misccategory_201.png" (input image in building's Production, Research, or Boatyard Dock panel - see MiscCatModIds)
e.g. "category_200.png" (image for a resource category , e.g. alcohol)
e.g. "globalstoragecategory_200.png" (see Global Storage Resource Category Menu )
e.g. "resourcecategory_201.png" (image for new a resource category , alternate naming)
e.g. "naturalresource_200.png" (image for natural resource, e.g. used in creating a new natural resource in Custom Maps - see Icon)
e.g. "tech_200.png" (image for new research technology in Technology Panel -see Icon
e.g. "landroutefloor_200.png" (see LandRouteFloor )
e.g. "landroute_200.png" (see Image File )
thumbnail.png (image for Mod)
bot_material_main.png (image for Bot Materials)
bot_material_ramp.png (image for Bot Materials ramp)
floor_buildings.png (obsolete)
floor_base.png (obsolete)
floor_extra.png (obsolete)

3D Model Files

See Modding in Unity for using 3D models from Unity in The Colonists mods