Results 1 to 3 of 3

Thread: "extending" another mod

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Nuxes's Avatar Civis
    Join Date
    Mar 2009
    Location
    Arkansas
    Posts
    155

    Default "extending" another mod

    I'm a first time TW modder, and using the tutorials I created a Pirate Dragoon unit. I took the values from Darthmod 0,6 and am able to play with the unit using The Great Campaign Expanded-Faction Inclusion Mod.
    Spoiler Alert, click show to read: 


    I made the mod by copying darthmod and renaming it mydarthmod, edited the existing files (adding the lines needed to create new units), and copied over other files from patch.pack.

    My question is, how do I create a mod that can extend Darthmod, adding new units, without copying any of his work? I know that if I created my own pack, it would overwrite any files that also existed in Darthmod. Is there anyway make a pack modify parts of existing files without completely overriding them? Like if I just wanted to add a few lines to the end of units_stats_land?


    System: i5 2500k, 8GB DDR3, 5870, Win7 Pro 64, 60GB SSD + 1TB SATA, X-Fi Pro Elite

  2. #2
    l33tl4m3r's Avatar A Frakkin' Toaster
    Join Date
    Mar 2009
    Location
    Soldier of Fortune
    Posts
    6,330

    Default Re: "extending" another mod

    This can be done!

    You would load darthmod first in your sequence, then load your mod with your new units.

    --

    You should be able to do this with units db and the unit_stats_land db as well as all the other files you need to create a new unit.

    Once you have your pack built, given unique names to the tables, and saved it as a mod type, load it after darth's.

    When you do this, if your db files are uniquely named and only contain the lines for your new units, you should have no trouble expanding on any mod.

    ---

    Let me know if you need any more info!
    [House of Caesars|Under the Patronage of Carl von Döbeln]

  3. #3
    Nuxes's Avatar Civis
    Join Date
    Mar 2009
    Location
    Arkansas
    Posts
    155

    Default Re: "extending" another mod

    Thanks l33tlam3r, it works now! +rep


    Mod released here:
    http://www.twcenter.net/forums/showthread.php?t=246056
    Last edited by Nuxes; April 03, 2009 at 02:32 PM.


    System: i5 2500k, 8GB DDR3, 5870, Win7 Pro 64, 60GB SSD + 1TB SATA, X-Fi Pro Elite

Posting Permissions

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