Welcome to the TWC Wiki! You are not logged in. Please log in to the Wiki to vote in polls, change skin preferences, or edit pages. See HERE for details of how to LOG IN.

Difference between revisions of "Porting a Mod to Rome Remastered"

From TWC Wiki
Jump to navigationJump to search
Line 1: Line 1:
 +
The files used in the mod currently need to be compatible with the game version the mod will be played on.  E.g. if the mod is to be played on the Barbarian Invasion game, then it needs to contain the same internal faction names, or include ALL the files that mention faction names.
  
 
Before trying to get your actual mod into RR try setting up a new modfolder copying in the map files from BI and make a small change e.g. to the playable/non-playable list of factions so you can see if that change has worked and game will load.
 
Before trying to get your actual mod into RR try setting up a new modfolder copying in the map files from BI and make a small change e.g. to the playable/non-playable list of factions so you can see if that change has worked and game will load.
  
 
==Temporary issues with Barbarian Invasion==
 
==Temporary issues with Barbarian Invasion==
 +
The BI files in Remastered currently have some inherent problems if called from a mod-folder.  Hopefully these issues will be fixed in a future update.
 +
 
Using Barbarian Invasion currently gives a -show_err messages on exit about wardogs, and then hounds, these can mask other more useful messages, to fix this (until Feral do), include a version of the RR descr_animals.txt file with the following sections added, these are just duplicates of the existing entries with the plural name:
 
Using Barbarian Invasion currently gives a -show_err messages on exit about wardogs, and then hounds, these can mask other more useful messages, to fix this (until Feral do), include a version of the RR descr_animals.txt file with the following sections added, these are just duplicates of the existing entries with the plural name:
  
Line 28: Line 31:
  
 
After fixing those issues you should start to get -show_err messages about problems in your mod (if you have any)
 
After fixing those issues you should start to get -show_err messages about problems in your mod (if you have any)
 +
 +
==Map Differences==
 +
Remastered needs all settlements included in descr_strat, regions that are included in the .tga and descr_regions but not listed in descr_strat will give an ''"You have chosen an invalid tile..."'' -show_err KTM

Revision as of 00:04, 6 May 2021

The files used in the mod currently need to be compatible with the game version the mod will be played on. E.g. if the mod is to be played on the Barbarian Invasion game, then it needs to contain the same internal faction names, or include ALL the files that mention faction names.

Before trying to get your actual mod into RR try setting up a new modfolder copying in the map files from BI and make a small change e.g. to the playable/non-playable list of factions so you can see if that change has worked and game will load.

Temporary issues with Barbarian Invasion

The BI files in Remastered currently have some inherent problems if called from a mod-folder. Hopefully these issues will be fixed in a future update.

Using Barbarian Invasion currently gives a -show_err messages on exit about wardogs, and then hounds, these can mask other more useful messages, to fix this (until Feral do), include a version of the RR descr_animals.txt file with the following sections added, these are just duplicates of the existing entries with the plural name:

type		wardogs
class		wardog
model		wardog
radius		0.75
x_radius	0.35
height		1.0
width		1.7
offset		1.0
mass		1.0 

type		hounds
class		hound
model		hound
radius		0.75
x_radius	0.35
height		1.0
width		1.7
offset		1.0
mass		1.0

After these you get an error about line 15689 in bi/data/export_descr_character_traits.txt, copy that file into the mod folder and comment out the trigger referencing the Law building type.

After fixing those issues you should start to get -show_err messages about problems in your mod (if you have any)

Map Differences

Remastered needs all settlements included in descr_strat, regions that are included in the .tga and descr_regions but not listed in descr_strat will give an "You have chosen an invalid tile..." -show_err KTM