PDA

View Full Version : Noob modding questions



Goofball
05-08-2011, 19:45
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...

Poulp'
05-08-2011, 20:43
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.

xploring
05-09-2011, 14:11
1) Change faction starting money

2) Change game end date

3) Speed up tech tree discoveries

Thanks in advance...

2. Extended Campaign Victory Conditions (http://www.twcenter.net/forums/showthread.php?t=438857) or Monthly Turn Mod (http://www.twcenter.net/forums/showthread.php?t=440670)

3. Radious Technology Mod !!!!! (http://www.twcenter.net/forums/showthread.php?t=441595) 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

Goofball
05-10-2011, 01:25
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?

xploring
05-10-2011, 03:37
I'm sorry I don't know. I am a noob too. Probably best to ask at TWC like Poulp suggested.

Goofball
05-10-2011, 03:58
Doh!

Goofball
05-11-2011, 00:27
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...

DaVinci
05-18-2011, 05:33
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).

happy-i-am
06-25-2011, 08:26
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/downloads.php?do=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.