Results 1 to 19 of 19

Thread: Modding Trade Goods?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Beauty hunter Senior Member Raz's Avatar
    Join Date
    Aug 2006
    Location
    Australia.
    Posts
    1,089

    Default Re: Modding Trade Goods?

    NB: I haven't touched MTW for year(s) now. some things i say are vague memories of speculations, but for the most part are educated assumptions are whilst not (and never would be) 100% accurate, is close enough as you're probably going to get it.
    Also NB: I'm rushing this post, my humour may shine through, and said humour may be witty, but is much more likely to be not-so-witty. please bear with me.

    It's the raw resources that are hardcoded: iron, copper, gold etc.
    You can add the resources to any region, but you can't create new resources.
    (though you can rename and re-picture or otherwise replace them to become effectively like a new resource [and that is beyond the scope of this thread])

    But you ask of trade goods, and trade goods are MOST definitely modifiable.
    You can add your own to the game (I'm sure of it), and add any of them to any region.

    I'd assume there'd be an absurd upper limit for the number that can be added to one individual region, possibly something like 31, but a more realistic upper limit of about ~9 before the resource icons trail off the parchment in game (view screenshot).

    I added these to the region of Anjou in the Early period in under 5 minutes.


    As you can gauge, you'd probably be able to get about 9 trade goods in a single region before the game becomes aesthetically challenged (more so).

    However, I did encounter a small, but almost invisible problem!

    In the startpos txt for the Early period, i encountered in the SetTradableGoods section (line 1739 in my books) that the region of Anjou had its tradegoods set twice. The problem highlighted red/orange here:

    edit: Sorry, screenshot says HIGH.txt, the superfluous entry is listed in ALL of the startpos text files.

    In my first attempt I'd added the goods to the top one, the first one declared. However, in testing, the goods were not added.
    From this, I can only deduce that if the region is declared multiple times, it is only the last one that will actually appear in the game.
    It's best simply to delete any superfluous, second additions like this.
    Perhaps this is what's happening to you TC?

    If you have any questions I'd be glad to help!
    I might be able to compose a step-by-step tutorial like I used to back in the days when I modded MTW like crazy, but who knows, I might not have the time anymore.
    (I promised someone else late last year around these parts that i'd help with his modding, but i never got a chance to... i suppose I feel rather guilty for saying that i'd help him. )
    Last edited by Raz; 01-17-2011 at 11:55. Reason: grammar, spelling, poor wit, there's more i'll fix later.
    Quote Originally Posted by drone
    I imagine an open-source project to recreate [Medieval: Total War] would be faced with an army of high-valour lawyers.

    Live your life out on Earth; I'm going to join the Sun.

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