Results 1 to 5 of 5

Thread: How to Change a Unit Model?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default How to Change a Unit Model?

    Hello everyone,

    I am trying to find out how to change the US Marines and US Legion unit model to a normal Line Infantry model (the ones they have look silly ). I looked at the "How to Create Your Own Unit" tutorial, but what it said to do just lead to a CTD.

    Can anyone help?

    Cheers,
    Pikemen
    "Aye Sir?" - Stronghold
    EVGA GTX 295
    i7 920
    6 GB DDR3 @1600
    HAF 932 Full Gaming Tower Case
    1.5 TB HD W/ 7200 rpm

    I never beg for ReP... I just ask for it
    ----------------------------------

  2. #2

    Default Re: How to Change a Unit Model?

    I just had the same problem, I was trying to make Militia use the Pikeman model. I recommend following this tutorial: http://www.twcenter.net/forums/showthread.php?t=291282

    You should follow the first part, where it talks about editing an existing unit rather than creating a new one. Then instead of editing stats just change the model name to that of whichever model you want to use. For example, my Militia entry looks like this in my_unit_stats_land_tables:

    http://img.photobucket.com/albums/v4...unitstable.jpg

    I apologise if that's a bit tiny, but the Model Name column says euro_pikeman. Hope you find that helpful anyway.

  3. #3

    Default Re: How to Change a Unit Model?

    Thats what I did, but it still crashes. I changed the 8th row "Model Name" from "united_states_marine_corps" to "euroline".

    It still crashes. Does it have to do with the fact it is a DLC unit? I had a problem modding the USMC unit before, so...
    "Aye Sir?" - Stronghold
    EVGA GTX 295
    i7 920
    6 GB DDR3 @1600
    HAF 932 Full Gaming Tower Case
    1.5 TB HD W/ 7200 rpm

    I never beg for ReP... I just ask for it
    ----------------------------------

  4. #4

    Default Re: How to Change a Unit Model?

    Is 'euroline' the correct unit name? I've managed to make a unit of Ghoorka Riflemen using the Ghoorka skin from my Special Forces Edition, and that works fine.

    Having just had a look at the 'units_table' file, try using 'euro_line_infantry' instead of just 'euroline'

  5. #5
    Geronimo2006's Avatar TAR Local Moderator
    Join Date
    Oct 2007
    Location
    Ireland
    Posts
    7,400

    Default Re: How to Change a Unit Model?

    I was able to change the Portuguese marine model that appears on the ships - but I haven't been able to make them recruitable in the game itself. I will show you how I did it.

    You need to create a mod with the following tables:"unit stats naval crew tables", "warscape_animated_lod_tables" and "warscape_animated_tables":
    Spoiler Alert, click show to read: 


    Then you need to open DB Editor and use it to create a table each of the following: "unit_stats_naval_crew_tables", "warscape animated lod tables" and "warscape animated tables". Open the "units_stats_naval_crew_tables" and select the row that contains the marines for the US. Copy it, and then go to "File< Create new unit_stats_naval_crew_tables". You will be asked to either enter the tables into a new mod file or an existing one. Choose new and give it a name.

    For example, here is the row controlling the textures of the Portuguese marines on ships in Naval Battles. In the "Model" field, enter the name of your custom texture. Mine is called "TercodoArmada" and I made it in Photoshop. Then go to File <Save. That saves that table to you new mod.
    Spoiler Alert, click show to read: 
    Next, open the "Warscape animated tables" in DB Editor and click "File< Create new warscape_animated_tables" and choose to insert it into the same new mod as the last new table. There will be three columns. In column one, type the name of your texture file (without the diffuse/normal/gloss endings), and in column 2, type the path to the file (i.e. UnitModels/Textures/nameoffile. Then click File<Save.
    Spoiler Alert, click show to read: 
    One more table to go. Next, open the "Warscape Animated Tables" and create a new table and again choose to put it into your new mod file. There should be four LOD (level of detail) model files - either custom mesh files that you imported in your mod's "UnitModels" folder or an existing default model in the game. You need four lines. In the "Path" column, type the path to your model (not the texture but the LOD files - unlike last time) as shown below. In the "Unknown 3" column, type the filename (without the diffuse/normal/gloss file extensions) of the texture you want to apply to the model.
    Spoiler Alert, click show to read: 
    The pictures you have seen are how I did it to change the Portuguese marines to those below, which are more historically accurate than those in the game:
    Spoiler Alert, click show to read: 
    Colonialism 1600AD - 2016 Modding Awards for "Compilations and Overhauls".



    Core i7 2600 @ 3.4ghz - NVIDIA GTX950 2GB

    Colonialism 1600 AD blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •