|
|
(418 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
− | 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== | + | ==History== |
− | === An Individual Unit Listing=== | + | ===General=== |
− | '''type''':indicates the new model type | + | <!---NOTE TO EDITORS: to add a new entry - copy and paste the section BETWEEN the ***** symbols below, add the title and name where indicated, optionally add the author's name and/or a BRIEF description or excerpt where indicated. (if possible add the entry in alphabetical order by title) |
| + | ***** |
| + | {{Entry |
| + | |title= |
| + | |url= |
| + | |author= |
| + | |description= |
| + | }} |
| + | ***** |
| + | ---> |
| | | |
− | '''skeleton''':which animation the Unit will use
| + | {{Entry |
− | :''but remember:the animation weapon must be the same as the weapons in export_descr_unit'' | + | |title=A Place in History: Andalusia |
− |
| + | |url=http://www.twcenter.net/forums/showthread.php?t=60506 |
− | '''indiv_range''':indicates at what point we start rendering men individually even if we can group render
| + | |author= |
| + | |description= |
| + | }} |
| + | {{Entry |
| + | |title=A Place in History: Bayeux |
| + | |url=http://www.twcenter.net/forums/showthread.php?t=60505 |
| + | |author=Perikles |
| + | |description=The city of Bayeux in Normandy, France has seen it's fair share of history over the past 1,000 years. Below I shall discuss 2 of the main events to happen in and around this small place. |
| + | }} |
| + | {{Entry |
| + | |title=Alcohol, its History and Place in Britains Society |
| + | |url=http://www.twcenter.net/forums/showthread.php?t=54964 |
| + | |author=Denny Crane! |
| + | |description=Alcohol has been around in many forms since time imemorial. In medecine, religion and social aspects, it has been vital in our development; having social, analgesic and antiseptic uses... |
| + | }} |
| | | |
− | '''texture''':at the beginning you need the faction name of the Unit and then you write there the path of the texture(.tga)file
| + | ===Antiquity=== |
| + | <!---NOTE TO EDITORS: to add a new entry - copy and paste the section BETWEEN the ***** symbols below, add the title and name where indicated, optionally add the author's name and/or a BRIEF description or excerpt where indicated. (if possible add the entry in alphabetical order by title) |
| + | ***** |
| + | {{Entry |
| + | |title= |
| + | |url= |
| + | |author= |
| + | |description= |
| + | }} |
| + | ***** |
| + | ---> |
| | | |
− | '''models_flexi''' and '''models_flexi_m''':location of the models of the unit
| + | {{Entry |
− | | + | |title=A City like no other- The History of Athens up to the Peloponnesian War |
− | '''models_sprite''':Location of the sprites of the Unit
| + | |url=http://www.twcenter.net/forums/showthread.php?691082-A-City-like-no-other-The-History-of-Athens-up-to-the-Peloponnesian-War&p=14558453#post14558453 |
− | | + | |author=Mausolos of Caria |
− | | + | |description= |
− | '''model_tri''':(optional) indicates that this model can be represented by a single triangle
| + | }} |
− | | + | {{Entry |
− | === Order of Listing === | + | |title=A Look in the Politics of the Western Roman Empire (454-480) |
− | 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: | + | |url=http://www.twcenter.net/forums/showthread.php?686686-A-look-in-the-politics-of-The-Western-Roman-Empire-(454-480) |
− | | + | |author= |
− | *Peasants seen in the city view
| + | |description=The late Roman Empire is a very interesting and vivid period. In this thread I want to give the reader a look into the events happening in the high politics of the dying Western court with a focus on Marcellinus and Julius Nepos... |
− | *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
| |