- Introduction
- Casconv help
- Example Models
- 01 Campaign terrain pieces
- 02 Crop field model
- 03 Wall destruction model with animation
- 04 Character units
- 05 Building models
- 06 Unit animation
- 07 Campaign models
- 08 Batch files
- Resources
This is the casconv tool. This tool will convert fbx files into cas files & vice-versa. The tool is a commandline tool that allows you to take an fbx file and export it into a cas file that can be loaded by the game.
It has an interactive help that provides more details on the format of the different commands.
Command: casconv.exe -h
Passing "-i ."" as input will convert every fbx in the folder to cas file. Without "-o dirctory" the output directory is going to be the same as the input files.
Included below are 7 different examples that the cas converter can convert into game assets. These should be used as examples when making your own models.
Command: casconv.exe -i . asset_location = "data\terrain\campaign\pieces"
- This piece is placed in "data\terrain\campaign\pieces"
Command: casconv.exe -i . --no-backfacecull asset_location = "data\terrain\campaign\models_building"
- This piece is placed in "data\models_building".
- Then delete "data/descr_item.db" and run the game.
Command: casconv.exe" -i . --calculate-missing-bones asset_location = "data\models_building\models_walls" / "data\items"
--calculate-missing-bones
is needed when there are no bones in the animation, but the mesh is animated itself.- This piece is placed in "data\models_building\models_walls".
- Delete the item file version of the cas.
- Then delete "data/descr_item.db" and run the game (game will take a little longer to load due to generating the deleted files).
Command: casconv.exe -f cas --input-directory <path to input fbx files> --output-directory <path to output cas files> --ignore-textures asset_location = "data\characters"
- Only only the highest lod can have 2 bone skinning weight influences(lod0)
- All other lods only support 1 in the game engine.
Command: casconv.exe -f cas --input-directory <path to input fbx files> --output-directory <path to output cas files> (--no-backfacecull)
- Meshes can only have 1 material assigned, if you cas file will have more make sure they are seperate meshes
- Asset must be parented under a node named "Scene_Root", this can be a Location (Maya) or an Empty (Blender)
- Once your cas file is create and named accordingly, replace the file you want to update in the game data
TODO
- 3D models / assets found within data\models_strat are simple to edit and replace, relative to all other in-game assets.
- The models seen within this folder make up the majority of the 3D objects seen on the campaign map, including towns, walls, resources, wonders, ect.
- Essentially, they are .fbx files, created in your 3D software of choice, converted to .cas (using the .exe converter provided).
- After conversion to the .cas format, they can then be dropped directly into game data, with no .item file regeneration necessary, as is required with some other assets within game data.
- Textures for these assets are found (and should be saved) within 2 folders found in data/models_strat;
- data\models_strat\textures
- data\models_strat\residences\textures
You'll find an in-game model provided, in.fbx format, trade_boat.fbx.
Refer to this as a working example of a campaign map model. Note the use of an empty or a locator (name differs dependant on 3D software), titled Scene_Root, this is a requirement.
Below you can find 4 batch scripts for Windows that will allow you to bulk pack and unpack cas files.
We'd like to thank the modder Dagovax for sharing these Windows bat scripts with the community.
Resources seen on the campaign map have been changed in Total War: Rome Remastered compared to the original title.
In an effort to reduce the number of 3D models on the map, resources within close proximity on the map are grouped and replaced with a different model to signify a larger quantity.
These entries can be seen and edited within descr_sm_resources.txt