Results 1 to 5 of 5

Thread: Modding how many ranks deep a formation is?

Hybrid View

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

    Default Modding how many ranks deep a formation is?

    Can someone explain how to do this or would be willing to do it for me? I would be willing to arrange a reward for the person based on something from steam or a dlc perhaps? We can talk

    Anyways i have a big problem in that i want unit formation to be around 10 men deep instead of the orignal 4.This would make infantry combat longer by having slower killing times etc and would represent a more realistic infantry ball.

    Im desperate so please folks help an old timer out

  2. #2

    Default Re: Modding how many ranks deep a formation is?

    That's pretty easy mate. The ranks that units are deployed in is determined in the units_stats_land table. Simply export this table from patch14.pack with Pack File Manager, create a new .pack where you import the units_stats_land file you exported and then edit the column that says "Deployed Ranks" (or similar). Then make this new .pack file "movie" type, save it and place it in your data folder for Shogun 2 (start->run->s2d if you're using the PFM installer).

    You want to create a new .pack file and not edit the original patch14.pack file. New .pack file with the units_stats_land table will overrite the original game files when the game load but you can then easily uninstall it by removing the .pack from your data folder.

  3. #3

    Default Re: Modding how many ranks deep a formation is?

    Quote Originally Posted by AveiMil View Post
    make this new .pack file "movie" type, save it and place it in your data folder for Shogun 2
    Note that the intended way for mods is to make the mod type "mod", then add the pack to your user.script.text in the scripts folder (needs to be saved in Unicode).
    I'm not entirely sure what difference this makes exactly, but I assume it gives the game a better chance to resolve conflicts between the packs it loads.

    For larger mods, I definitely recommend using "mod" packs. Maybe you want to include a "create user.script.txt" in your installer.
    Tools: PFM 4.1 - EditSF 1.2.0
    (Download PFM - Download EditSF)
    Warscape Modding Guide
    Join the PFM User Group on Steam to receive PackFileManager update notifications.

    Respecto Patronum

  4. #4

    Default Re: Modding how many ranks deep a formation is?

    Quote Originally Posted by daniu View Post
    Note that the intended way for mods is to make the mod type "mod", then add the pack to your user.script.text in the scripts folder (needs to be saved in Unicode).
    I'm not entirely sure what difference this makes exactly, but I assume it gives the game a better chance to resolve conflicts between the packs it loads.

    For larger mods, I definitely recommend using "mod" packs. Maybe you want to include a "create user.script.txt" in your installer.
    As far I've been able to tell there is no different other than load order. And since "movie" type are loaded last I don't see any reason to use "mod" type at all. Why mess around with a user.script.text file when you can accomplish the same thing by just editing file names?

  5. #5

    Default Re: Modding how many ranks deep a formation is?

    I really don't know what's going on internally. The load order itself may actually be enough to justify it; and like I said, it may allow the game to resolve conflicts between several mods you have installed.
    Also, it would be possible to actually unload the tables at runtime to make the mod automatically MP-compatible (all it would have to do is reload the original packs when entering the MP section). I don't know if that's the case though and don't feel like risking my avatar to try it out
    Tools: PFM 4.1 - EditSF 1.2.0
    (Download PFM - Download EditSF)
    Warscape Modding Guide
    Join the PFM User Group on Steam to receive PackFileManager update notifications.

    Respecto Patronum

Posting Permissions

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