Results 1 to 14 of 14

Thread: Pak extractor

  1. #1

    Default Pak extractor

    I've got a prob, i don't understand vercingterox's explanation on how to use his extractor. can anyone help?


    Hippies! - Eric Cartman

  2. #2
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: Pak extractor

    To unpack all you do is copy the xpak.exe and xpak.bat into your data/packs folder and double click the xpak.bat file. That should then just get on with it and give you folder at data/packs/data with the contents of the .paks in it.

    The only thing that won't unpack unless some-one updated it is the patch_0.pak and patch_1.pak. to get them open you need to change the xpak.bat file.
    To do that change its name to xpak.txt (ignore windows when it says that will make file unusable) open file in notepad etc and add those file names to the two lines eg:
    xpak.exe -mkdir models_building_textures.pak......sprites_0.pak patch_0.pak patch_1.pak
    xpak.exe models_building_textures.pak ......sprites_0.pak patch_0.pak patch_1.pak

    then re-save it as xpak.bat

    Packing something is slightly more complicated but not difficult and you don't often have to do it - post again if that is what you wanted help on.
    Not used mods before? Looking for something small and fun?!
    Download the:

  3. #3

    Default Re: Pak extractor

    Ahhhh.... Yes..... Thanx Makanyane :) That did the trick.


    Hippies! - Eric Cartman

  4. #4

    Default Re: Pak extractor

    Oh and also, how do i minimize the number of rebels appearing if i can't shut it off totally? Thanx!! :)


    Hippies! - Eric Cartman

  5. #5
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: Pak extractor

    To decrease the number of rebels you need to increase the number against the spawn value in descr_strat - it looks as though its meant to be an out of 100 number, but you can actually put 9999 in there and that seems to almost stop them appearing.
    brigand_spawn_value 99
    pirate_spawn_value 99
    Not used mods before? Looking for something small and fun?!
    Download the:

  6. #6

    Default Re: Pak extractor

    where is descr_strat? is it under data? i can't find it..


    Hippies! - Eric Cartman

  7. #7
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: Pak extractor

    its in data/world/maps/campaign/campaign_name
    folder where campaign_name is either main/imperial_campaign or whichever provincial campaign you are trying to mod
    Not used mods before? Looking for something small and fun?!
    Download the:

  8. #8

    Default Re: Pak extractor

    oh... ic.... ok i've made the change and yeah after a few rds it does seem that the rebels are not tt frequent..

    Thanx again Makanyane, you've been a great help!

    another thing, is it possible to change the weapon type of a unit? i want to make the eastern heavy infantry (spearmen) carry a bow and shoot arrows.

    thanx!


    Hippies! - Eric Cartman

  9. #9
    The Dark Knight Member wlesmana's Avatar
    Join Date
    Jan 2005
    Location
    Indonesia
    Posts
    602

    Default Re: Pak extractor

    You will have to edit the model in 3DSMax for that.

  10. #10

    Default Re: Pak extractor

    wlesmana, what's 3DSMax?


    Hippies! - Eric Cartman

  11. #11
    Has a real big Member Kuni's Avatar
    Join Date
    Mar 2007
    Location
    Philippines
    Posts
    128

    Default Re: Pak extractor

    since I'm here I might as well answer the question directed at wlesmana..

    3dsmax it's a purchasable 3d design tool, used in this case to change/create the models of the units/buildings/world. problem is, it's not free. :biggrin:

    If the unit's appearance is not too important to you, you can edit text in both export_descr_unit and descr_model_battle to let them fire arrows with their shields and spears.. ^_^;;;;
    before you ask a RTW modding question make sure you have done these things:

    1. At least read these two stickies in the Modding Questions forum: Introduction and Welcome
    2. used the search function (upper right corner of your screen) to know if your Q has been asked before.
    3. browsed the Modding Answers subforum, and the Scriptorium.


  12. #12

    Default Re: Pak extractor

    Oh, ic thanx kuni. It's ok i'll skip tt.

    Anyway, is there anyway to change the level of an agent so that it can be recruited at a high level? Thanx!


    Hippies! - Eric Cartman

  13. #13
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: Pak extractor

    Agent recruitment is defined in export_descr_building.txt, e.g...
    governors_villa requires factions { barbarian, carthaginian, eastern, parthia, egyptian, greek, roman, }
    {
    capability
    {
    agent diplomat 0 requires factions { eastern, }
    If you want agent at later city level you need to delete the recruitment line from there and make sure it is available at required level of city building. If you want agent to have different traits if he is recruited from higher levels you need to amend trait / ancillary triggers (though that might need him to remain in city for a turn)

    Athena, as general note, if at any stage you find you aren't getting answers you need under this topic you might want to create a new thread in modding questions, so that new thread title reflects question you are asking...
    Not used mods before? Looking for something small and fun?!
    Download the:

  14. #14

    Default Re: Pak extractor

    Hey Makanyane thanx for answering again :)

    i'll start a new thread for the agent question, thanx


    Hippies! - Eric Cartman

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