Results 1 to 9 of 9

Thread: Noob modding questions

  1. #1
    Dyslexic agnostic insomniac Senior Member Goofball's Avatar
    Join Date
    Jan 2004
    Location
    Victoria, British Columbia
    Posts
    4,211

    Default Noob modding questions

    Okay, been a long time TW player, but haven't played since RTW and have just bought and begun playing S2TW. So far there is not a lot of meat in the modding forum as far as specific "how to" advice, but I gather that modding S2TW is much different than modding RTW and previous games, correct? For example, have the text files been eliminated as a means of modding?

    Anyway, there are basically three things I want to know how to do, and I hope my fellow orgahs can help:

    1) Change faction starting money

    2) Change game end date

    3) Speed up tech tree discoveries

    Thanks in advance...
    "What, have Canadians run out of guns to steal from other Canadians and now need to piss all over our glee?"

    - TSM

  2. #2
    Pincushioned Ashigaru Member Poulp''s Avatar
    Join Date
    Sep 2006
    Location
    Paris, France
    Posts
    464

    Default Re: Noob modding questions

    No, the text files are still here... deeply hidden in database tables.
    You must first convert them before attempting any modding. But there's a trick; you can no longer remove entries, only overwrite them in another file (a pack mod).

    Now for your 3 questions, I don't know the how-tos.
    I'd tell yo to head for twcenter, post your questions and hope for an answer...

    Good luck and long patience, you'll need both.

  3. #3

    Default Re: Noob modding questions

    Quote Originally Posted by Goofball View Post

    1) Change faction starting money

    2) Change game end date

    3) Speed up tech tree discoveries

    Thanks in advance...
    2. Extended Campaign Victory Conditions or Monthly Turn Mod

    3. Radious Technology Mod !!!!! fixed bonus speed (25% or 50%)

    Don't know about the first one, but there are mods for changing building costs and unit upkeep etc. You can go through the mods released so far here:
    http://www.twcenter.net/forums/showthread.php?t=443581
    Last edited by xploring; 05-09-2011 at 14:14.

  4. #4
    Dyslexic agnostic insomniac Senior Member Goofball's Avatar
    Join Date
    Jan 2004
    Location
    Victoria, British Columbia
    Posts
    4,211

    Default Re: Noob modding questions

    Thanks xploring, that was a big help. Except I think I am doing something wrong. I have downloaded his modded filed and placed them in the TW data folder, but nothing has changed when I start a new campaign. What am I doing wrong?
    "What, have Canadians run out of guns to steal from other Canadians and now need to piss all over our glee?"

    - TSM

  5. #5

    Default Re: Noob modding questions

    I'm sorry I don't know. I am a noob too. Probably best to ask at TWC like Poulp suggested.

  6. #6
    Dyslexic agnostic insomniac Senior Member Goofball's Avatar
    Join Date
    Jan 2004
    Location
    Victoria, British Columbia
    Posts
    4,211

    Default Re: Noob modding questions

    Doh!
    "What, have Canadians run out of guns to steal from other Canadians and now need to piss all over our glee?"

    - TSM

  7. #7
    Dyslexic agnostic insomniac Senior Member Goofball's Avatar
    Join Date
    Jan 2004
    Location
    Victoria, British Columbia
    Posts
    4,211

    Default Re: Noob modding questions

    Okay, after much frustrating research, it appears I need to modify my user.scripts.txt file. However, this file doesn't appear where it's supposed to. Do I need to create one? And once I have the file, what needs to go in it for this mod : http://www.twcenter.net/forums/showthread.php?t=441595 to work? All the other examples I saw were to activate mods that had inserted .pack files into the Shogun 2 data folder. But this mod only inserts a .rar file. Please help! I know someone in here knows how to do this, since the .org is awesome. Someone please end my pain...
    "What, have Canadians run out of guns to steal from other Canadians and now need to piss all over our glee?"

    - TSM

  8. #8
    TW Modder Since 2005 Member DaVinci's Avatar
    Join Date
    May 2005
    Location
    Hamburg, Germany/EU
    Posts
    848

    Default Re: Noob modding questions

    Quote Originally Posted by Goofball View Post
    Okay, after much frustrating research, it appears I need to modify my user.scripts.txt file. However, this file doesn't appear where it's supposed to. Do I need to create one? And once I have the file, what needs to go in it for this mod : http://www.twcenter.net/forums/showthread.php?t=441595 to work? All the other examples I saw were to activate mods that had inserted .pack files into the Shogun 2 data folder. But this mod only inserts a .rar file. Please help! I know someone in here knows how to do this, since the .org is awesome. Someone please end my pain...
    End the pain? End the disknowledge!
    You got a .rar file ... ok. Here we go.

    General explanation: A .rar file is an archive like ie. a .zip file, means a compressed folder or single compressed files.
    Compressed files must be decompressed for the usage (other words for decompress: extract, unpack, unzip).
    For decompressing you need an according program installed on your system, ie. 7Zip or Winrar or Winzip (which can be found via google-search in the net).

    Simplest method in case of a mod usage: (... after you have installed ie. 7Zip, which i personally recommend, as it is complete free and very capable)

    - Move the .rar file (could also be a .zip file) to the folder where it belongs, in case of TW games usually the data folder.
    - Right-click the .rar file, check the context menu and find/apply "extract here" (the compressed files will be decompressed in this folder).
    - Ready is the installation (you can if you want remove the .rar file from the data folder, but it won't do a harm if it stays).
    Last edited by DaVinci; 05-18-2011 at 05:41.
    TWC Wiki: List of TW Modding Contributions 2005-2011
    Release 12.2012: Third Age TW Realism+
    Release 04.2013: Rise of the Samurai Realism+


    Support: Greenpeace
    LIVING ...WITH... WAR
    What's really more disappointing than dis-information and non-education?
    A certain degree of intentional ignorance paired with obvious stupidy /DV

  9. #9
    Member Member happy-i-am's Avatar
    Join Date
    Jun 2011
    Location
    New Zealand
    Posts
    3

    Default Re: Noob modding questions

    Quote Originally Posted by Goofball View Post
    Okay, after much frustrating research, it appears I need to modify my user.scripts.txt file. However, this file doesn't appear where it's supposed to. Do I need to create one? And once I have the file, what needs to go in it for this mod : http://www.twcenter.net/forums/showthread.php?t=441595 to work? All the other examples I saw were to activate mods that had inserted .pack files into the Shogun 2 data folder. But this mod only inserts a .rar file. Please help! I know someone in here knows how to do this, since the .org is awesome. Someone please end my pain...
    Yes, necroing.

    But here is the information you're after:

    For each .pack(Mod ones) you have in the data dirctory, add mod "PackFileName.pack";
    You need to add a mod "Date.pack"; per line, for every mod you have.

    Example(My userscript.txt):

    mod "Date.pack";
    mod "Radious_FoodV1.pack";
    mod "Radious_UpkeepV1.pack";
    mod "Radious_TechnologyV2.pack";


    Also if you want to add money to a faction do this:

    Download http://www.twcenter.net/forums/downl...o=file&id=3343

    Extract it, open up PackFileManager.exe

    Then click file > open
    If it doesn't go to your data file, then go to it.

    Open up data.pack

    Click the + next to data.pack

    Click the + next to Campaigns

    Click the + next to jap_shogun

    Right click scripting.lua, extract it.

    Now find whereever you extracted it to, edit the scripting.lua with notepad

    Add "scripting.game_interface:treasury_mod("date", 999999999)"

    Between becoming_shogun_advice = true & scripting.game_interface:add_restricted_building_level_record("SHO_Port_3_Nanban_Trade_Port")

    Now, you can change "date" to any fraction! Must be lower case. Now save the .lua

    Now, back in pack file manager, click file, new. Click the Campaigns folder which the .lua is in.

    It will now save untitled.pack, right click it and click rename. Name it to the fraction you're adding gold too.

    Right click it again, click change pack type, go to mod.

    Now click file, save as. Save it too your data dirctory where all other .packs are.

    Add mod "PutYour.PackNameHere.pack"; to a new line in the user.script.txt file.

    Save it, you have now just 'modded' the game. (:
    If I wasn't clear, or missed a step just PM me.

    Also, if you use the mod manager I created, it will automaticly place the .pack into the user.script.txt and the data folder.

    Hope this helps.
    Total War: Shogun 2 Mod Manager
    https://sourceforge.net/p/tws2mm/wiki/Versions/

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO