Results 1 to 9 of 9

Thread: unit_stats_land

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Faridus's Avatar Centenarius
    Join Date
    Dec 2007
    Location
    Florida, USA
    Posts
    851

    Default unit_stats_land

    hello everyone,
    i haven't posted in the TWC forums for a long time and i have recently purchased ETW (retail cd version). obviously after a few turns of my first campain, i started getting restless and started reading through the forums to figure out how to edit ETW to suit my gameplay.
    however, so far it has not been working very well for me.
    i'm kinda slow understanding the how to's that are already in the ETW tutorials. so i am looking for someone to patiently guide me (and the others like me) through how to make changes to some of the files and actually appear in-game!


    what i have done so far:
    1. downloaded PFM, DBE and Mod manager
    2. used PFM and found the table i wanted to edit: main.pack/db/unit_stats_land_tables/units_stats_land
    3. then right-clicked on it and extracted it to a newly created folder My_Mod_Folder (on my desktop)
    4. i created a new .pack file with PFM (clicked on file then new) and when prompted: make packed files relative to which directory, i selected the folder i created above: My_Mod_Folder
    5. i clicked on Choose a Pack Action, then clicked on Mod
    6. then i clicked on Choose a Pack Action and then Add File(s), then added the extracted units_stats_land that i had previously placed in My_Mod_Folder. then saved: My_Mod.pack. i changed the name of my table to land_units.
    so now, i have a new mod that consists of a new My_Mod.pack file containing a single table: land_units.

    then i made some changes to a test unit to see whether the changes appear in-game. the unit in question is: euro line infantry britain. i chaged the unit size (160 > 200), the accuracy (45 > 50), the reloading skills (30 > 50) and melee/defense skills and charge bonus at 10 each then saved.

    after that, i copied/pasted My_Mod.pack into the ETW data file, opened mod manager, saw my newly created My_Mod (under Mod Packs) with one conflict, then clicked on the lauch button. the game starts but i could not see the changes i made to the Line Infantry unit.

    so, what did i miss or do wrong?
    changing my mod pack to movie, caused ctd.

    by the way, i could not find:
    "C:\Documents and Settings\<username>\Application Data\The Creative Assembly\scripts" in order to use the "user.script.txt." method.

    i would really appreciate any help with getting this simple step of changing the stats of a single unit. thank you kindly.

  2. #2
    Ducenarius
    Join Date
    Aug 2010
    Location
    Poland --> Upper Silesia region (pl=Górny Śląsk).
    Posts
    920

    Icon4 Re: unit_stats_land

    ==================================================================================

    OK i will try to help.

    First of all your user_script.txt file is located in "hidden" folder.

    Use "Folders Options" panel in Windows, to enable the hidden files and folders to see...

    Next, i suggest to change the mod type to "movie" type.

    I made too, some changes in units_stats_land table in patch.pack file and they weren't visible in game.

    The conflicts between packs are not important --> one of my mod have 1300 conflicts and still works.....

    I edited vanilla pack ( not recommended ) db table inside patch.pack and i changed pack type to movie type --> no CTD.

    Movie type pack is loaded last ( overwrite previous changes ), so that enable the changes.

    Of course you will hear, that making pack file a movie type isn't so smart.

    Yes, most mods works without any problem --> put them inside data file and launch via Mod Manager, but some mods are not working good as a "mod type".

    I hope this help!


    P.S.

    It is important which pack file you want to set to "movie".

    Setting i.e patch.pack file to "mod type" make a sweet CTD.

    I had no problems with ETW, when i changed some pack files to movie type.

    By the way i asked the same question long time ago and noone was interested in answer....



    ================================================================================
    Last edited by p.jakub88; October 24, 2010 at 03:10 AM.
    Remember of the Alamo!

  3. #3
    Faridus's Avatar Centenarius
    Join Date
    Dec 2007
    Location
    Florida, USA
    Posts
    851

    Default Re: unit_stats_land

    jakub,
    thank you for your help,
    i found the user script.txt and added the line my_mod.pack, the changes showed up in game.
    however, changing the option to movie did ctd at start up though.
    again, thank you for your help.

  4. #4
    Ducenarius
    Join Date
    Aug 2010
    Location
    Poland --> Upper Silesia region (pl=Górny Śląsk).
    Posts
    920

    Icon4 Re: unit_stats_land

    ==================================================================================

    No problem for my dude!

    If you have additional questions, feel free to ask.

    Editing unit stats isn't as easy as it sounds....

    You need to be quite skilled in use of Pack File Manager or DB Editor.

    ==================================================================================
    Remember of the Alamo!

  5. #5
    Faridus's Avatar Centenarius
    Join Date
    Dec 2007
    Location
    Florida, USA
    Posts
    851

    Default Re: unit_stats_land

    hello,
    i've been making some progress in learning how to change certain things so far, however, i hit a snag recently.

    i have created a mod to test the changes i've mede, it consists of one file (units_stats_land_tables) and made different changes to unit sizes, mainly.

    then i added a new file to my_mod.pack to modify building stats, but the PFM keeps giving me headaches. this is what i'm having hard time with:



    i can't seem to add or make any new changes to my_mod.pack when i add a new file to it. i can't even access the old "my_mod" unit file using PFM 1.13 or DBE. any advice?

  6. #6
    Ducenarius
    Join Date
    Aug 2010
    Location
    Poland --> Upper Silesia region (pl=Górny Śląsk).
    Posts
    920

    Icon5 Re: unit_stats_land

    ================================================================================

    If you would like to add a new file or new directory to new mod pack, those files should be placed in your ETW data directory ( otherwise you will have a PFM error and probably crash ).

    Simply extract this file ( or the whole folder ) from PFM 1.13 ( extract option ) to data directory.

    Then you could add this directory ( with db table ) to a new mod pack and edit this file inside this new mod pack.


    ================================================================================

    You said, that you made a new mod pack type, good.

    Try maybe, to make those changes inside existing pack, but make a backup copy first!

    Which version of Empire Total War you have ( 1.5 or the newest 1.6 ) ?

    Post your images as attachments not spoilers ( sorry hard to see, too large...).


    ================================================================================

    I suggest that you should create once more a new mod pack :


    1) Create a new mod, then set it to "mod".

    2) Add new files ( or the whole directory with files ) and save changes ( i.e save the new mod pack to your desktop ( do not replace any of existing packs!! ).

    3) Put your new mod inside ETW data directory.

    4) Launch it via Mod Manager 1.5



    I hope this help!
    ================================================================================
    Last edited by p.jakub88; October 31, 2010 at 03:45 PM.
    Remember of the Alamo!

  7. #7

    Default Re: unit_stats_land

    this was so much easier in RTW, i dont know if i want to even try this now.
    I was a Roma Surrectum 2.0 Beta Tester

    Total War Veteran

Posting Permissions

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