Skip to content

A repository containing scripts that Dagovax created to make modding Rome: Total War easier

Notifications You must be signed in to change notification settings

Dagovax/Rome-Total-War-Tools-and-Features

Repository files navigation

Rome:Total War -- Tools and Features

A repository containing scripts that Dagovax created to make modding Rome: Total War easier

3ds Max

Various scripts that helps modding in 3ds Max

Installation

Installation of 3ds Max scripts is quite easy:

Place the .ms script inside your 'Autodesk\3ds Max [version]\scripts' folder.
To make them start up together with 3ds Max, place them in the 'Startup' folder.
You can find the scripts under the Utility tab. 

DAE Export Multiple LODS

This script will export a model using openCOLLADA, generating 4 LODS. If your model uses multi bone weighting, the LOD0 will preserve this feature, while for all other LODS the weighting is automatically set to single bone weighting.

Usage

1. Finish modeling your model, and run the script.
2. Change the spinner to your desired minimal vertex value. The default is 150. This means that all objects in the scene under this vertex amount, will not be optimized.
3. Click the Export button
4. Choose your path and file name. The script will generated 4 different .dae files. Use IWTE to convert them to .cas

NOTE:: This is a heavy script. Be sure to save your scene before using it (as it might crash sometimes).

RTW Building Export

This script let you export building coordinates to be used in settlement plans.

Usage

1. Select any object and/or groups
2. Click the 'Export Selected Building(s)' button
3. Follow the instructions.
4. Just copy/paste the result into your settlement plan to get it working.

HINT: Name the buildings/groups like they should be regarding their name in DBB. You then don't need to change the names of the output afterwards!

RTW Cas Tools

This script contains support for .CAS files import and export. Currently there is only support for Animations extracted from data/animations/pack.dat. Works with both OG and IWTE (openCOLLADA) imported models.

Differences with old CAS Importer/Exporter

This script is a big upgrade over the original .CAS animation import/export plugin, because this enables and fixes entries in the animation file.

List of changes:

  • Frame speed is automatically limited to 20 fps, as this is the animation speed RTW uses
  • All animation keys (both positioning and rotation) should be done on REAL bones, so no more animating on the Scene Root bone. This is not a bone, which was confusing with the old script
  • You can now also move the bones individually; previously you could only move the root bone.
  • Be careful with bone positioning if you have models with multi-weighted vertices; this can cause glitches inside the game.

Although this script supports the models imported using the old CAS script, I highly recommend you start using IWTE and openCOLLADA!

RTW Multiple Vertex Bone Weight To Single

This script will loop through all your objects, and set all vertex weights to single bone only.

Usage

1. Click the 'Single Vertex Weights' button

RTW Skeleton Position Export

This script let you export bone coordinates of new skeletons in the right format for skeleton text files!.

Usage

1. Position the bones using the move tool, don't use the rotate function because that won't work.
2. Click the 'Export Bone Coordinates' button
3. Select the skeleton you used, in order to get the best result
4. Copy/paste the result coordinates into your skeleton file where you need to set the bone position.

NOTE: A skeleton file is very advanced extracted stuff, so don't mess with removing zero's or other important stuff. Only change the same section!

RTW Tools

This script has various quick commands that can be useful for certain modding areas. From help with engine radius calculation to calculating projectile_offsets.

RTW Multiple Turns Per Year

This tool is a WinForm application which is an improvement and renewal of the old script (and available on later Windows versions).

Simply download the executable and run it (as administrator when you encounter problems). Any questions? Use the contact link.

RTW Name Converter

This tool will convert OG descr_names.txt file to Remastered descr_namelist.txt format.

Download: folder

You need to download all files from the folder, in order to work.

RTW Name Parser

With this tool you can add names (from internet) for new factions and automatically create the files required for the game.

Download: folder

You need to download all files from the folder, in order to work.

RTW Text Duplicator

This tool will just duplicate a certain text entry for given amount of times

Download: executable

RTW Text Translator

Use this tool to automatically use Google Translate to make your mod's text file localizable.

Download: folder

You need to download all files from the folder, in order to work.

RTW Packer / Unpacker

This tool is an upgrade over the old XPAK tool created by Vercingetorix. It kinda works in the same way, but with improved features.

Download: executable

Packing files

  • Drag and drop a .pak file onto the executable to start unpacking. It will unpack all the files relative to the source.

Unpacking files

  • Drag and drop a .txt file onto the executable to start packing
    -> The first line of the '.txt' file needs to be the name of the pack and it's extension
    -> After that, add all files you want inside the pack, starting with the 'data' folder

  • You can also use the asterisk symbol *, with the following options:

data\models_unit\*                 | this will pack all files from this directory
data\models_unit\**                | same as above, but this will pack all files from sub-directories too
data\models_unit\textures\*.dds    | this will pack all files in this directory with the given extension
data\models_unit\textures\**.dds   | same as above, but this will pack all files from sub-directories too
  • An example of a text file can be seen below:

===================================================

mod_0.pak
data\export_descr_buildings.txt
data\descr_items.db
data\world\maps\campaign\imperial_campaign\map.rwm
data\characters\**.cas

===================================================

RTW Settlement Plan Editor

This tool is an unique rework based on the ancient chinese tool to edit walls.
Currently, you can import and export walls with this tool, with easier manipulation and movement.

Contact me for more details.

Download: executable

License

All tools and features on this repository are created by Sirrianus Dagovax. All Tools and Features are Free to use, but you are not allowed to spread this scripts and modify them without my permission. If you know someone who misuses my scripts, don't hesitate to contact me.

About

A repository containing scripts that Dagovax created to make modding Rome: Total War easier

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published