Adding/referencing new assets + various other questions
Hello,
It's been several years and updates since I last played Cortex Command, I expect the file system/module system has changed a lot since I last used it (not that I would remember how it was set up anyway). However, in between commitments I wish to make progress on what I was working on before.
So at the present time, there are a few things that I'm trying to do. I would like to add custom assets that I have made, to the map that I was working on, "Tettaia Dusts", preferably with editing the least base/stock game files as possible (if not none at all).
These assets this far include:
- New textures / (materials?)
- New terrain objects (with their associated material files and background files [colourmaps])
Current file structure (this *might* help):
Map module -
http://i.imgur.com/mLjmGDX.png Assets folder -
http://i.imgur.com/U532WoK.pngIndex.ini for TettaiaDusts.rte
DataModule
ModuleName = TettaiaDusts
IncludeFile = TettaiaDusts.rte/TettaiaDusts.ini
IncludeFile = TettaiaDusts.rte/Tettaia Dusts.ini
IncludeFile = TettaiaDusts.rte/Scenes.ini
IncludeFile = TettaiaObjects/Index.ini
Materials.ini
AddMaterial = Material
Index = 226
PresetName = Bentite Stone
Bounce = 0.7
Friction = 0.75
StructuralIntegrity = 80
DensityKGPerVolumeL = 3.75
GibImpulseLimitPerVolumeL = 15
GibWoundLimitPerVolumeL = 0.1
Priority = 6
Color = Color
R = 130
G = 130
B = 130
TextureFile = ContentFile
Path = TettaiaDusts.rte/Textures/Rock2aTTex.bmp
TettaiaObjects folder -
Index.ini
AddTerrainObject = TerrainObject
PresetName = Tettaia Mother Cave Cutout
MaterialFile = ContentFile
Path = TettaiaObjects/TettaiaMotherCaveSPACE.bmp
BGColorFile = ContentFile
Path = TettaiaObjects/TettaiaMothercave.bmp
BitmapOffset = Vector
X = 0
Y = 0
Objects.ini
////////////////////////////////////////////////////
// Bunker Modules
////////////////////////////////////////////////////
// For TettaiaDusts
AddTerrainObject = TerrainObject
PresetName = TettaiaMotherCave
AddToGroup = TettaiaDusts
GoldCost = 0
BGColorFile = ContentFile
Path = TettaiaObjects/TettaiaMothercave.bmp
BitmapOffset = Vector
X = 0
Y = 0
Most of these .ini files contain only one entry, I'm just trying to learn how to get these assets to load into Cortex Command without crashing before I continue with adding more.
Hopefully somebody could be able to help me get this working, then I should be able to carry on with these elements from example.
Thanks in advanced for the help.