Page 1 of 4 1234 LastLast
Results 1 to 20 of 78

Thread: How to add an Empire Total War unit in Napoleon Total War

  1. #1
    maxsim666's Avatar Miles
    Join Date
    May 2008
    Location
    Ancona Italy
    Posts
    329

    Default How to add an Empire Total War unit in Napoleon Total War

    How to add an Empire Total War unit in Napoleon Total War

    First of all you have to open the pack file with your unit with PFManager
    Then export tables related to your unit:
    Battle_personalities_table
    Building_units_allowed_table
    unit_required_technology_junctions
    unit_to_unit_abilities_junctions
    units_to_exclusive_faction_permissions
    units_to_gov_type_permissions
    units_to_groupings_military_permissions
    warscape_animated_lod
    warscape_animated
    then you have to export also mesh and texture files related to your units;
    they are in
    unitmodels mesh files
    unitmodels/texture texture files
    last step is export from Napoleon data.pack
    Battle_personalities_table
    Building_units_allowed_table
    unit_stats_land
    units
    once made as above you have to create your new mod in PFManager
    do not forget to change pack type from release to mod
    then import:
    Battle_personalities_table both the ones from NTW and the ones from OLD ETW MOD
    Building_units_allowed_table boththe ones from NTW and the ones from OLD ETW MOD
    unit_required_technology_junctions
    unit_to_unit_abilities_junctions
    units_to_exclusive_faction_permissions
    units_to_gov_type_permissions
    units_to_groupings_military_permissions
    warscape_animated_lod
    warscape_animated
    unitmodels mesh files
    unitmodels/texture texture files
    and
    Napoleon data.pack unit_stats_land
    Napoleon data.pack units
    Ok now save it all and name it as you wish, hint, give it prefix MOD, (MOD_my_mod.pack)
    Done this rename all the tables with a prefix you wish, as
    MyMod_ units_to_gov_type_permissions
    MyMod_ units_to_exclusive_faction_permissions
    MyMod_ Building_units_allowed_table
    And so on.
    After that delete all row in each table not needed by your unit.
    For Napoleon data.pack unit_stats_land table and units table you have no row about your unit of course.
    In these tables you must delete all rows except the one about a unit similar to the one you want to import.
    If you want to import a grenadiers unit leave a grenadier unit row.
    Now with old ETW PFManager open in your old ETW mod including your unit, these tables:
    unit_stats_land
    units
    copy in each table the row about your unit and paste it in same named table of your new mod for Napoleon Total War
    look for each cell if there is any value entry missed or changed and correct it.
    Next step is to import or open in another istance of PFManager Nappy’s Battle_personalities_table and look for personalities present in your new unit_stats_land row.
    In Empire TW surely lacks flutist and some euro_ prefixed personalities are now prefixed generic_
    Updated euro prefixed personalities and add flutist, correct eruo_standard_bearer warscape equipmentcell with generic_standard
    Same staff must be done to Building_units_allowed_table since building type is changed in NTW and if you leave old ones from your OLD ETW MOD Building_units_allowed_table result is CTD!
    Import
    unitmodels mesh files
    unitmodels/texture texture files
    save it and … play
    for Icon some do not work in NTW, alas I did not succeded in import them so if you are unlucky as me you have to make new ones.
    the same for info's tabs and masks
    for name and description both long and short, you have to export local_xx.pack or unit_pack_compatibility_project_napoleon_xxxx.pack /text/localisation.loc table as tsv and edit it in notepad (copy your old entries and paste them into) save changes and import tsv in same pack, save it and its done.
    Cheers
    here is the result http://www.twcenter.net/forums/attac...5&d=1269036376
    Last edited by maxsim666; March 28, 2010 at 05:41 AM.
    "In hostem celerrime volant"


    - Voloire -

  2. #2

    Default Re: How to add an Empire Total War unit in Napoleon Total War

    If this works would be fantastic. A couple of questions: I suppose that some tables like units_to_gov_type_permissions, unit_required_technology_junctions are not necessary if the units are not assigned in a technology or government type, are they? If you use generic personalities is battle_personalities necessary? Also you should warn that buildings in Napoleon have deferent names so I suppose you cannot just import the Empire one. I am starting tests.

    Edit: Did you try to add icon paths in Units table and it didn't work?
    Last edited by husserlTW; March 23, 2010 at 11:19 AM.




  3. #3
    Civis
    Join Date
    May 2009
    Location
    Southern Germany at the Swiss Border
    Posts
    155

    Default Re: How to add an Empire Total War unit in Napoleon Total War

    Thanx, for writing that down in a thread, maxim
    rep++

    MODMEMBER SKINNING/RESEARCH

    ---DON'T MENTION THE WAR!---

  4. #4
    Ordinarius
    Join Date
    Jul 2009
    Location
    Italy
    Posts
    737

    Default Re: How to add an Empire Total War unit in Napoleon Total War

    marvelous This is the first important step towards an Empire integration in Napoleon.

  5. #5

    Default Re: How to add an Empire Total War unit in Napoleon Total War

    Icons seems to work fine as you can see here:



    But it crashes when I try to enter in battle it has almost filled the loading bar (90%). I know that this is probably a model related issue but I cannot find. This which I do not understand is how the model from warscape tables is assigned to the unit. In Empire this happens in unit stat land in model column. Here I have to put the generic euroline or else it crashes at the beginning of the loading bar.
    Last edited by husserlTW; March 23, 2010 at 01:05 PM.




  6. #6
    maxsim666's Avatar Miles
    Join Date
    May 2008
    Location
    Ancona Italy
    Posts
    329

    Default Re: How to add an Empire Total War unit in Napoleon Total War

    Quote Originally Posted by husserlTW View Post
    If this works would be fantastic. A couple of questions: I suppose that some tables like units_to_gov_type_permissions, unit_required_technology_junctions are not necessary if the units are not assigned in a technology or government type, are they? If you use generic personalities is battle_personalities necessary? Also you should warn that buildings in Napoleon have deferent names so I suppose you cannot just import the Empire one. I am starting tests.

    Edit: Did you try to add icon paths in Units table and it didn't work?
    Yes husserl it works, almost with the 2nd somersetshire grenadiers as in the mod I posted at the end of tutorial
    of course if there are no entry for your unit in any tables, you have to delete them all.
    Yes building are different and I forget/missed to mention it.
    thanks as you know in first attempt to write a tutorial something (frequent much) miss
    "In hostem celerrime volant"


    - Voloire -

  7. #7
    maxsim666's Avatar Miles
    Join Date
    May 2008
    Location
    Ancona Italy
    Posts
    329

    Default Re: How to add an Empire Total War unit in Napoleon Total War

    Quote Originally Posted by husserlTW View Post
    Icons seems to work fine as you can see here:



    But it crashes when I try to enter in battle it has almost filled the loading bar (90%). I know that this is probably a model related issue but I cannot find. This which I do not understand is how the model from warscape tables is assigned to the unit. In Empire this happens in unit stat land in model column. Here I have to put the generic euroline or else it crashes at the beginning of the loading bar. Anyway i have attached a pack with only one unit that I've tested can you please take a look to see where is my mistake?
    Husserl as always in life you were lucky. For my old etw icon when I attempt to import it PFM crashes.
    you not have to leave euroline but exactly as in etw effective model type, then edit the two warscape table, like in etw, I guessed this when I found euroline entries in such tables and in unitmodels/texture.
    I will tell you about your mod later now I must go in meantime look at my mod, original unit comes from toontotalwar, now integrated in American Revolution Mod
    cheers
    "In hostem celerrime volant"


    - Voloire -

  8. #8

    Default Re: How to add an Empire Total War unit in Napoleon Total War

    Quote Originally Posted by maxsim666 View Post
    Husserl as always in life you were lucky. For my old etw icon when I attempt to import it PFM crashes.
    you not have to leave euroline but exactly as in etw effective model type, then edit the two warscape table, like in etw, I guessed this when I found euroline entries in such tables and in unitmodels/texture.
    I will tell you about your mod later now I must go in meantime look at my mod, original unit comes from toontotalwar, now integrated in American Revolution Mod
    cheers
    No lack. I've found the mistake before (forgot to rename warscape tables) but it didn;t work. With generic euroline it works but it appears the.... generic euroline in battlefield. If i change it crashes in the beginning od battle loading. I'll wait for a pack to see it.

    Anyway +rep , it is fantastic to move our packs from ETW.




  9. #9

    Default Re: How to add an Empire Total War unit in Napoleon Total War

    Spoiler Alert, click show to read: 


    Yes, Yes, Yes, Yes, Yes, Yes, Yes, Yes,.... It does works!!!!!!!

    Last edited by husserlTW; March 23, 2010 at 02:26 PM.




  10. #10
    maxsim666's Avatar Miles
    Join Date
    May 2008
    Location
    Ancona Italy
    Posts
    329

    Default Re: How to add an Empire Total War unit in Napoleon Total War


    HusserlTW
    works fine, you should put in it also officer and bugler textures (if there are) I made it playable for austria, so is quicker to play in single battle.
    please send me correction I should add to tutorial, I reckon such procedure is not so simple
    cheers
    Last edited by maxsim666; March 23, 2010 at 01:49 PM.
    "In hostem celerrime volant"


    - Voloire -

  11. #11

    Default Re: How to add an Empire Total War unit in Napoleon Total War

    Do you think that it Would it be possible to use the empire maps in NTW?

  12. #12

    Default Re: How to add an Empire Total War unit in Napoleon Total War

    Quote Originally Posted by panzerschreck View Post
    Do you think that it Would it be possible to use the empire maps in NTW?
    It's probably possible. Whether or not it's practical is another question.

  13. #13
    maxsim666's Avatar Miles
    Join Date
    May 2008
    Location
    Ancona Italy
    Posts
    329

    Default Re: How to add an Empire Total War unit in Napoleon Total War

    Quote Originally Posted by erasmus777 View Post
    It's probably possible. Whether or not it's practical is another question.
    Hope so, but .... really I guess map scrambling throu theatre system is harcoded in game engine.
    actually this one of the reason Nappy is smoother then empire, if you use taskmanager or better Sysinternal Process Explorer surely you'll see that memory used is less then empire huge usage, this last was quite always near the critical limit of 2 gb of memory. to avoid CTD I had to tell windows kernel to allow empire (luckly it is largeaddressaware) to address above the 2gb
    Last edited by maxsim666; March 24, 2010 at 12:19 AM.
    "In hostem celerrime volant"


    - Voloire -

  14. #14
    ♔Icebear77♔'s Avatar Biarchus
    Join Date
    Jan 2009
    Location
    Switzerland and Germany
    Posts
    673

    Default Re: How to add an Empire Total War unit in Napoleon Total War

    THANKS!!!!!Great tut and good to see that its possible!!!! i would rep you if i could...

  15. #15
    maxsim666's Avatar Miles
    Join Date
    May 2008
    Location
    Ancona Italy
    Posts
    329

    Default Re: How to add an Empire Total War unit in Napoleon Total War

    thanks Ice
    "In hostem celerrime volant"


    - Voloire -

  16. #16

  17. #17
    MCM's Avatar Saint of lost causes
    Join Date
    Jun 2006
    Location
    Tokyo, Japan
    Posts
    2,906

    Default Re: How to add an Empire Total War unit in Napoleon Total War

    Nice work Maxsim +rep to you sir!

  18. #18

    Default Re: How to add an Empire Total War unit in Napoleon Total War

    So that means the variant_model_mesh can be edited withe the converter ?
    I mean Does the mesh models have the same structure of vertex ?
    Last edited by kungfuserge; March 26, 2010 at 02:13 AM.

  19. #19

    Default Re: How to add an Empire Total War unit in Napoleon Total War

    I don't think so. NTW uses an advanced graphic engine. That's why there are new model files (atlas) and the same time compatibility with ETW units as you can see in data.pack\unitmodels. As far as I know these atlas files are still unknown.




  20. #20

    Default Re: How to add an Empire Total War unit in Napoleon Total War

    What I don't get is how can you play a unit from ETW imported to NTW if the unit vertex obey to a different order set ?
    Did someone have tried to open a .variant_model_mesh with the same python converter ?
    I have just finished to update my mod ; So I'm free to create units if I understand how to open the mesh

Page 1 of 4 1234 LastLast

Posting Permissions

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