Results 1 to 21 of 21

Thread: The MTW-hardcoded list!

Threaded View

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

    Default Re: The MTW-hardcoded list!

    Great idea Axalon. Also, I highly recommend that you edit the first post with the new entires to save people from having to trudge through umpteen pages of hardcoded stuff.

    I'd love to add to the list but I'm afraid I can't recite the details off the top of my head. Hmm, I'll try my best though and perhaps someone can correct me later:

    =================================
    The number of units in one unit_prod.txt is capped to 256. That's not the maximum number of entries, just the number of units labeled as either: INFANTRY, CAVALRY or ARTILLERY. Agents and ships can go beyond the 256'th entry, but infantry, cavalry and artillery cannot. As far as I know, there is no maximum on the number of entries.

    =================================
    The number of - and - the names of the unit textures folders are hardcoded. That is, the folders in "...\textures\men\" . There are two extra folders that you can add here that weren't included in the original game for new custom unit textures but their names escape me.

    =================================
    The number of entries in the projectile_stats.txt is limited to those already there. You cannot add new projectiles to the game but you can heavily modify them. The corresponding graphics for each projectile are also hardcoded (that is, you cannot change it so that xbows appear as cannonballs). It is possible to change the name of the entry (say - "mtlg" to "mounted_bows") but these names aren't used by MTW, instead MTW uses internal names for projectiles. I'd only change the name if you were planning on completely re-writing the projectile_stats.txt file.

    =================================
    The number of regions in one campaign is maxed to 256... I think This includes both land provinces and sea regions.

    =================================
    The values at which unit info appears at is hardcoded. You know when you look at units in the campaign map, and the scroll says "Good Attack", "Poor Morale", "Armed with Bows" etc. These are all hardcoded. You can change what they say, but you can't change when they show up. I have a table that shows all of this, perhaps I'll upload it later.

    =================================


    N.B:

    ° My additions are based on MTW-VI.

    ° I may stand corrected later on - please don't hesitate to suggest otherwise on the above list.

    ° Sorry if some of them are difficult to follow, just tell me which one and I'll best describe it and hopefully clear things up.
    Last edited by Raz; 03-28-2009 at 09:43.
    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