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 "User:Makanyane/sandbox"

From TWC Wiki
Jump to navigationJump to search
(temporary demonstration)
Line 1: Line 1:
{|class="wikitable sortable" border="1" cellpadding="4" cellspacing="0"
+
The descr_model_battle.txt file controls how a unit should look on the battle map.
|+ style="background:#bfc0f7;" |'''Released Mods for Rome: Total War and Expansions'''
+
It controls which skins and models are used for each unit.
! style="background:#bfc0f7;" |Modification Name!!style="background:#bfc0f7;" |Platform!!style="background:#bfc0f7;" |Type!!style="background:#bfc0f7;" |Mod-Folder!!style="background:#bfc0f7;" |Campaign Map!!style="background:#bfc0f7;" |Era
 
|-
 
|[[77 BC - Twilight of the Republic]]||BI 1.6||Historic||<span style="display:none">yes</span>[[Image:Modfolder_yes.png|Totally contained in mod-folder]]||Yes: European||<span style="display:none">40</span>Roman Empire
 
|-
 
|[[Arthurian Total War]]||BI 1.6||Historic||<span style="display:none">no</span>[[Image:Modfolder_no.png|Mod folder version not available]]||<span style="display:none">yes</span>[[Image:ATW_heights.png|Britain]]||<span style="display:none">55</span>Dark Ages
 
|-
 
|[[Crusader Total War]]||BI 1.6||Historic||<span style="display:none">no</span>[[Image:Modfolder_no.png|Mod folder version not available]]||No||<span style="display:none">60</span>Medieval
 
|-
 
|[[The Crusades]]||BI 1.6||Historic||[[Image:Modfolder_no.png|Mod folder version not available]]||Yes: European||<span style="display:none">60</span>Medieval
 
|-
 
|[[Chivalry: Total War]]||BI 1.6||Historic||<span style="display:none">yes</span>[[Image:Modfolder_yes.png|Totally contained in mod-folder]]||Yes: European||<span style="display:none">60</span>Medieval
 
|-
 
|[[End of Days]]||BI 1.6||Fantasy||<span style="display:none">yeah but</span>[[Image:Modfolder_yeahbut.png|Contained in mod folder except for intro video]]||<span style="display:none">yes</span>[[Image:Eod_heights.png|European extended]]||<span style="display:none">55</span>Dark Ages
 
|-
 
|[[The Fourth Age: Total War]]||BI 1.6||Fantasy||<span style="display:none">yes</span>[[Image:Modfolder_yes.png|Totally contained in mod-folder]]||<span style="display:none">yes</span>[[Image:Fatw_heights.png|Middle-earth]]||<span style="display:none">00</span>Fourth Age of Middle-earth
 
|-
 
|[[Invasio_Barbarorum| Invasio Barbarorum (IBFD7)]] ||BI 1.6||Historic||<span style="display:none">yes</span>[[Image:Modfolder_yes.png|Totally contained in mod-folder]]||Yes: European||<span style="display:none">50</span>Fall of Roman Empire
 
|-
 
|[[Ogniem i Mieczem: Total War]]||BI 1.6||Historic||<span style="display:none">no</span>[[Image:Modfolder_no.png|Mod folder version not available]]||No ||<span style="display:none">60</span>Medieval
 
|-
 
|[[Three Kingdoms Total War]]||BI 1.6||Historic||<span style="display:none">no</span>[[Image:Modfolder_no.png|Mod folder version not available]]||Yes: New ||<span style="display:none">45</span>China AD 190
 
|-
 
|[[Troy total war| Troy Total War]]||BI 1.6||Historic||<span style="display:none">no</span>[[Image:Modfolder_no.png|Mod folder version not available]]||Yes: Greece ||<span style="display:none">10</span>Bronze Age
 
|-
 
|[[Vlad: Total War]]||BI 1.6||Historic||<span style="display:none">no</span>[[Image:Modfolder_no.png|Mod folder version not available]]||Yes: European ||<span style="display:none">50</span>Fall of Roman Empire
 
|-
 
|[[BareBonesWars]]||RTW 1.5||Historic||<span style="display:none">no</span>[[Image:Modfolder_no.png|Mod folder version not available]]||Yes: Various||<span style="display:none">35</span>Roman Republic to Empire
 
|-
 
|[[Blue Lotus]]||RTW 1.5||Fantasy||<span style="display:none">no</span>[[Image:Modfolder_no.png|Mod folder version not available]]||Yes: Fantasy||<span style="display:none">25</span>Eastern Mythology
 
|-
 
|[[Chivalry: Total War]]||RTW 1.5||Historic||<span style="display:none">yes</span>[[Image:Modfolder_yes.png|Totally contained in mod-folder]]||Yes: European||<span style="display:none">60</span>Medieval
 
|-
 
|[[DarthMod]]||RTW 1.5||Historic||<span style="display:none">no</span>[[Image:Modfolder_no.png|Mod folder version not available]]||Yes: European||<span style="display:none">35</span>Roman Republic to Empire
 
|-
 
|[[Extended Greek Mod]] ||RTW 1.5||Historic||<span style="display:none">yes</span>[[Image:Modfolder_yes.png|Totally contained in mod-folder]]||<span style="display:none">yes</span>[[Image:Xgm_heights.png|Extended European]]||<span style="display:none">35</span>Roman Republic to Empire
 
|-
 
|[[Europa Barbarorum|Europa Barbarorum v0.8]]||RTW 1.5||Historic||<span style="display:none">yeah but</span>[[Image:Modfolder_yeahbut.png|Mainly in mod folder but with some over-writes]]||Yes: European||<span style="display:none">35</span>Roman Republic to Empire
 
|-
 
|[[Iberia: Total War]]||RTW 1.5||Historic||<span style="display:none">no</span>[[Image:Modfolder_no.png|Uses JSME mod switcher program instead]]||Yes: European||<span style="display:none">35</span>Roman Republic
 
|-
 
|[[Terrae Expugnandae| Lusted's Terrae Expugnandae]]||RTW 1.5||Historic||<span style="display:none">no</span>[[Image:Modfolder_no.png|Mod folder version not available]]||Yes: European||<span style="display:none">35</span>Roman Republic to Empire
 
|-
 
|[[Napoleonic Total War 2]]||RTW 1.5||Historic||<span style="display:none">yes</span>[[Image:Modfolder_yes.png|Totally contained in mod-folder]]||No||<span style="display:none">70</span>Napoleonic
 
|-
 
|[[Res Gestae Total War]]||RTW 1.5||Historic||<span style="display:none">no</span>[[Image:Modfolder_no.png|Mod folder version not available]]||Unit changes only||<span style="display:none">35</span>Punic wars
 
|-
 
|[[Rise of Persia]]||RTW 1.5||Historic||<span style="display:none">no</span>[[Image:Modfolder_no.png|Mod folder version not available]]||Yes||<span style="display:none">20</span>Persia BC 559
 
|-
 
|[[Roma Surrectum]]||RTW 1.5||Historic||<span style="display:none">no</span>[[Image:Modfolder_no.png|Mod folder version not available]]||Yes: European||<span style="display:none">35</span>Roman Republic to Empire
 
|-
 
|[[Rome: Total Gameplay]]||RTW 1.5||Historic||<span style="display:none">no</span>[[Image:Modfolder_no.png|Mod folder version not available]]||Yes: European||<span style="display:none">35</span>Roman Republic to Empire
 
|-class="sortbottom"
 
|-
 
|[[Rome Total Realism]]||RTW 1.2||Historic||<span style="display:none">no</span>[[Image:Modfolder_no.png|Mod folder version not available]]||Yes: European||<span style="display:none">35</span>Roman Republic to Empire
 
|-
 
|[[Rome Total Realism |RTR Platimum Edition]]||RTW 1.5||Historic||<span style="display:none">yes</span>[[Image:Modfolder_yes.png|Totally contained in mod-folder]]||Yes: European||<span style="display:none">35</span>Roman Republic to Empire
 
|-
 
|[[SPQR Total War]]||RTW 1.5||Historic||<span style="display:none">no</span>[[Image:Modfolder_no.png|Mod folder version not available]]||Yes: European||<span style="display:none">35</span>Roman Republic to Empire
 
|-class="sortbottom"
 
|Modification Name||Platform||Type||Mod-folder||Campaign Map||Era
 
|}
 
  
----
+
==Structure of the descr_model_battle.txt file==
 +
=== An Individual Unit Listing===
 +
'''type''':indicates the new model type
  
factions table experiment
+
'''skeleton''':which animation the Unit will use
 +
:''but remember:the animation weapon must be the same as the weapons in export_descr_unit''
 +
 +
'''indiv_range''':indicates at what point we start rendering men individually  even if we can group render       
  
 +
'''texture''':at the beginning you need the faction name of the Unit and then you write there the path of the texture(.tga)file
  
List of factions from [[Medieval 2: Total War]] with culture, religion and playable status. <br>''Information taken from [[descr_sm_factions.txt]] and [[descr_strat.txt]]:''
+
'''models_flexi''' and '''models_flexi_m''':location of the models of the unit 
{|class="wikitable sortable" border="1" cellpadding="4" cellspacing="0"
 
|+ style="border: 2px solid grey;background:#d7c7c7;"|'''Sortable Factions List'''
 
! |Faction Name!! |Culture!! |Religion!!|Playable!!class="unsortable"|Colours*
 
|-
 
|[[England]]|| [[Northern European]] || [[Catholic]]||Yes ||style="background:#d70000; color:#ffd200" | '''________'''
 
|-
 
|[[France]] ||[[Northern European]] || [[Catholic]]||Yes ||'''________'''
 
|-
 
|[[Holy Roman Empire]] || [[Northern European]] || [[Catholic]]||Yes||
 
|-
 
|[[Spain]] || [[Southern European]] || [[Catholic]] || Yes||
 
|-
 
|[[Venice]] || [[Southern European]] || [[Catholic]] || Yes||
 
|-
 
|[[Sicily]] || [[Southern European]] || [[Catholic]] || Unlockable||
 
|-
 
|[[Milan]] || [[Southern European]] || [[Catholic]] || Unlockable||
 
|-
 
|[[Scotland]] || [[Northern European]] || [[Catholic]] || Unlockable ||
 
|-
 
|[[Byzantium]] || [[Greek]] || [[Orthodox]] || Unlockable||
 
|-
 
|[[Russia]] || [[Eastern European]] || [[Orthodox]] || Unlockable||
 
|-
 
|[[Moors]] || [[Middle Eastern]] || [[Islam]] || Unlockable||
 
|-
 
|[[Turks]] || [[Middle Eastern]] || [[Islam]] || Unlockable||
 
|-
 
|[[Egypt]] || [[Middle Eastern]] || [[Islam]] || Unlockable||
 
|-
 
|[[Denmark]] || [[Northern European]] || [[Catholic]] || Unlockable||
 
|-
 
|[[Portugal]] || [[Southern European]] || [[Catholic]] || Unlockable||
 
|-
 
|[[Hungary]] || [[Eastern European]] || [[Catholic]] || Unlockable||
 
|-
 
|[[Papal States]] || [[Southern European]] || [[Catholic]] || No||
 
|-
 
|[[Aztecs]] || [[Mesoamerican]] || [[Pagan]] || No||
 
|-
 
|[[Mongols]] || [[Middle Eastern]] || [[Islam]] || No||
 
|-
 
|[[Timurids]] || [[Middle Eastern]] || [[Islam]] || No||
 
|-
 
|[[Slave]] || [[Northern European]] || [[Heretic]] || No||
 
|}
 
  
*colours used on campaign map
+
'''models_sprite''':Location of the sprites of the Unit     
 +
 
 +
 
 +
'''model_tri''':(optional) indicates that this model can be represented by a single triangle
 +
 
 +
=== Order of Listing ===
 +
The order in which the units are listed in the descr_model_battle.txt is not important, but for reference the order in the RTW [[vanilla]] file is as follows:
 +
 
 +
*Peasants seen in the city view
 +
*Mounts and Animals
 +
*Generals and officers
 +
*Units of each Culture:
 +
**Barbarians
 +
**Carthaginians
 +
**Easterners
 +
**Egyptians
 +
**Greeks
 +
**Romans
 +
**Mercenaries
 +
 
 +
==How to edit the file==
 +
===Changing textures(.tga files)===
 +
 
 +
İf you have only a texture file which needs to be changed, go to the texture file of your Unit:
 +
 
 +
Example:
 +
 
 +
type barb_scythian_noblewoman
 +
skeleton fs_hc_archer, fs_hc_swordsman
 +
indiv_range 40
 +
'''texture seleucid, data/models_unit/textures/AR_unit_persian_median_cavalry.tga'''
 +
model_flexi_m data/models_unit/AR_unit_persian_median_cavalry_lod1.cas, 8
 +
model_flexi_m data/models_unit/AR_unit_persian_median_cavalry_lod1.cas, 15
 +
model_flexi data/models_unit/AR_unit_persian_median_cavalry_lod1.cas, 30
 +
model_flexi data/models_unit/AR_unit_persian_median_cavalry_lod1.cas, max
 +
model_sprite scythia, 60.0, data/sprites/scythia_barb_scythian_noblewoman_sprite.spr
 +
model_tri 400, 0.5f, 0.5f, 0.5f
 +
 
 +
'''And change it to the name of your .tga file:'''
 +
 
 +
texture seleucid, data/models_unit/textures/'''your unit.tga'''
 +
 
 +
NOTE:  Although the actual file name for your texture will be '''your unit.tga.dds''' you must not include the .dds part in the DMB file, it will cause a CTD!
 +
 
 +
don't forget to put the texture file into the textures folder in data/models_unit/textures
 +
 
 +
But notice that the texture file must match with the model file,if not,you will get an Unit like an Alien
 +
 
 +
İf there is no texture file,create one
 +
 
 +
This changes the Skin of the Unit now
 +
 
 +
 
 +
===Now how to change the Unit completely===
 +
 
 +
Now you need to change the models and textures.They are marked here bold:
 +
 
 +
type barb_scythian_noblewoman
 +
skeleton fs_hc_archer, fs_hc_swordsman
 +
indiv_range 40
 +
'''texture seleucid,      data/models_unit/textures/AR_unit_persian_median_cavalry.tga
 +
model_flexi_m data/models_unit/AR_unit_persian_median_cavalry_lod1.cas, 8
 +
model_flexi_m data/models_unit/AR_unit_persian_median_cavalry_lod1.cas, 15
 +
model_flexi data/models_unit/AR_unit_persian_median_cavalry_lod1.cas, 30
 +
model_flexi data/models_unit/AR_unit_persian_median_cavalry_lod1.cas, max'''
 +
model_sprite scythia, 60.0, data/sprites/scythia_barb_scythian_noblewoman_sprite.spr
 +
model_tri 400, 0.5f, 0.5f, 0.5f
 +
 
 +
Change the model_flexi and models_flexi_m to the model file(.cas) which you want.
 +
 
 +
And of course the texture like posted before.
 +
 
 +
'''Change the models and textures to this:'''
 +
 
 +
type barb_scythian_noblewoman
 +
skeleton fs_hc_archer, fs_hc_swordsman
 +
indiv_range 40
 +
'''texture seleucid, data/models_unit/textures/your unit.tga
 +
model_flexi_m data/models_unit/'''your unit.cas''', 8
 +
model_flexi_m data/models_unit/'''your unit.cas''', 15
 +
model_flexi data/models_unit/'''your unit.cas''', 30
 +
model_flexi data/models_unit/'''your unit.cas''', max'''
 +
model_sprite scythia, 60.0, data/sprites/scythia_barb_scythian_noblewoman_sprite.spr
 +
model_tri 400, 0.5f, 0.5f, 0.5f
 +
 
 +
 
 +
İf you changed the name to your models(.cas) and your texture(.tga) file then you need to put
 +
your models into data/models_unit and texture to  data/models_unit/textures folder
 +
 
 +
[[Category:Modding]]
 +
[[Category:RTWModding]]

Revision as of 02:13, 19 July 2007

The descr_model_battle.txt file controls how a unit should look on the battle map. It controls which skins and models are used for each unit.

Structure of the descr_model_battle.txt file

An Individual Unit Listing

type:indicates the new model type

skeleton:which animation the Unit will use

but remember:the animation weapon must be the same as the weapons in export_descr_unit

indiv_range:indicates at what point we start rendering men individually even if we can group render

texture:at the beginning you need the faction name of the Unit and then you write there the path of the texture(.tga)file

models_flexi and models_flexi_m:location of the models of the unit

models_sprite:Location of the sprites of the Unit


model_tri:(optional) indicates that this model can be represented by a single triangle

Order of Listing

The order in which the units are listed in the descr_model_battle.txt is not important, but for reference the order in the RTW vanilla file is as follows:

  • Peasants seen in the city view
  • Mounts and Animals
  • Generals and officers
  • Units of each Culture:
    • Barbarians
    • Carthaginians
    • Easterners
    • Egyptians
    • Greeks
    • Romans
    • Mercenaries

How to edit the file

Changing textures(.tga files)

İf you have only a texture file which needs to be changed, go to the texture file of your Unit:

Example:

type				barb_scythian_noblewoman
skeleton			fs_hc_archer, fs_hc_swordsman
indiv_range			40
texture			seleucid, data/models_unit/textures/AR_unit_persian_median_cavalry.tga
model_flexi_m		data/models_unit/AR_unit_persian_median_cavalry_lod1.cas, 8
model_flexi_m		data/models_unit/AR_unit_persian_median_cavalry_lod1.cas, 15
model_flexi			data/models_unit/AR_unit_persian_median_cavalry_lod1.cas, 30
model_flexi			data/models_unit/AR_unit_persian_median_cavalry_lod1.cas, max
model_sprite		scythia, 60.0, data/sprites/scythia_barb_scythian_noblewoman_sprite.spr
model_tri			400, 0.5f, 0.5f, 0.5f 

And change it to the name of your .tga file:

texture			seleucid, data/models_unit/textures/your unit.tga

NOTE: Although the actual file name for your texture will be your unit.tga.dds you must not include the .dds part in the DMB file, it will cause a CTD!

don't forget to put the texture file into the textures folder in data/models_unit/textures

But notice that the texture file must match with the model file,if not,you will get an Unit like an Alien

İf there is no texture file,create one

This changes the Skin of the Unit now


Now how to change the Unit completely

Now you need to change the models and textures.They are marked here bold:

type				barb_scythian_noblewoman
skeleton			fs_hc_archer, fs_hc_swordsman
indiv_range			40
texture			seleucid,      data/models_unit/textures/AR_unit_persian_median_cavalry.tga
model_flexi_m		data/models_unit/AR_unit_persian_median_cavalry_lod1.cas, 8
model_flexi_m		data/models_unit/AR_unit_persian_median_cavalry_lod1.cas, 15
model_flexi			data/models_unit/AR_unit_persian_median_cavalry_lod1.cas, 30
model_flexi			data/models_unit/AR_unit_persian_median_cavalry_lod1.cas, max
model_sprite		scythia, 60.0, data/sprites/scythia_barb_scythian_noblewoman_sprite.spr
model_tri			400, 0.5f, 0.5f, 0.5f 

Change the model_flexi and models_flexi_m to the model file(.cas) which you want.

And of course the texture like posted before.

Change the models and textures to this:

type				barb_scythian_noblewoman
skeleton			fs_hc_archer, fs_hc_swordsman
indiv_range			40
texture			seleucid, data/models_unit/textures/your unit.tga
model_flexi_m		data/models_unit/your unit.cas, 8
model_flexi_m		data/models_unit/your unit.cas, 15
model_flexi			data/models_unit/your unit.cas, 30
model_flexi			data/models_unit/your unit.cas, max
model_sprite		scythia, 60.0, data/sprites/scythia_barb_scythian_noblewoman_sprite.spr
model_tri			400, 0.5f, 0.5f, 0.5f 


İf you changed the name to your models(.cas) and your texture(.tga) file then you need to put your models into data/models_unit and texture to data/models_unit/textures folder