Results 1 to 5 of 5

Thread: number of units in vanilla export_descr_unit

  1. #1

    Default number of units in vanilla export_descr_unit

    I am getting annoyed now. I have spent ages trying to get this god damned mod to work properly, which it still isn't, and I have run into a CTD of unknown origin (lol). My thinking for this is that I have exceeded the 500 unit limit in the EDU, however I value my life too much to count each and every unit in there, only to find out that I haven't reached 500. Anyway, I was just wondering if there is anyway to find out, or if anyone already knows. This would be REALLY helpful.
    Thanks
    The modelling swordsman? - slaughtered
    The textures legionary? - died randomly
    The resource-and-region adding demon? - eviscerated
    The faction name editing man? - ran away in fear
    The faction symbol editing woman? - with the help of Makanyane, devised a mod folder of deadly efficiency _____
    The alpha-daemon of many unit card based things? - locked in a room

  2. #2
    Axebitten Modder Senior Member Dol Guldur's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,550

    Default Re: number of units in vanilla export_descr_unit

    You could just do a global replace of a common term (that appears once in each unit block), replacing it of course with the same term. The editor should tell you how many instances were "replaced". Note that the header and commented-out blocks will add to this number however.

    Most new modders take a year or two to get things working so don't stress out if you've just started. A good idea is to download some respected mods and see how they do things. This, along with tutorials, will help a lot.
    "One of the most sophisticated Total War mods ever developed..."

  3. #3

    Default Re: number of units in vanilla export_descr_unit

    Ah, I am going to try that now :).
    I just find it annoying as I spend ages creating new units, factions, settlements etc. Then I change something that causes a CTD and I don't know why

    Thanks though

    EDIT: Hmmm, how does one go about this global replace of a common term? I have tried "find and replace" in notepad but it didn't tell me how many instances where replaced


    EDIT2: Nevermind, did it in word, 273 units, its not the EDU. Although I have gathered that the CTD is caused by something campaign based, as battles work fine... except for the wrong generals/captains :@... but at least battles load and play fine. If anyone has any suggestions/techniques that I could use to work through the files and identify what is causing the CTD, that would be great
    Last edited by jcd1993; 08-17-2009 at 13:47.
    The modelling swordsman? - slaughtered
    The textures legionary? - died randomly
    The resource-and-region adding demon? - eviscerated
    The faction name editing man? - ran away in fear
    The faction symbol editing woman? - with the help of Makanyane, devised a mod folder of deadly efficiency _____
    The alpha-daemon of many unit card based things? - locked in a room

  4. #4
    Axebitten Modder Senior Member Dol Guldur's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,550

    Default Re: number of units in vanilla export_descr_unit

    You really have to code very very carefully. Make changes one step at a time and then you can will know what has caused the CTD.
    "One of the most sophisticated Total War mods ever developed..."

  5. #5

    Default Re: number of units in vanilla export_descr_unit

    Right-o, I'm off to do that
    The modelling swordsman? - slaughtered
    The textures legionary? - died randomly
    The resource-and-region adding demon? - eviscerated
    The faction name editing man? - ran away in fear
    The faction symbol editing woman? - with the help of Makanyane, devised a mod folder of deadly efficiency _____
    The alpha-daemon of many unit card based things? - locked in a room

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