Results 1 to 5 of 5

Thread: CTD on RollOver Unit Card

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Kolwen's Avatar Artifex
    Join Date
    Jul 2010
    Location
    Spain
    Posts
    1,217

    Default CTD on RollOver Unit Card

    Hello.
    I've added a new unit to my mod and the game loads good.
    However when I try a custom battle and roll the mouse over the new unit I get a CTD.
    Anyone knows where could I find the problem?

    ·If the game crash on the splash screen, then is a ModelDB issue
    ·If the game crash during the loading of a battle, then is a missing file issue
    ·If the game crash onRollOver a unit card, then the issue is ¿¿??

    The Log show nothing relevant. Here you can see the last lines:

    Spoiler Alert, click show to read: 
    Code:
    01:33:18.108 [data.missing] [warning] Missing unit card data/ui/units/moors/#tiranoc_light_chariot.tga
    01:33:18.124 [system.io] [info] exists:   found mods/The_Sundering/data/ui/generic/generic_unit_card.tga (from: E:\Juegos\Medieval II Total War)
    01:33:18.124 [system.io] [info] exists: missing mods/The_Sundering/data/ui/units/moors/#bolt_thrower.tga
    01:33:18.124 [system.io] [info] exists: missing data/ui/units/moors/#bolt_thrower.tga
    01:33:18.124 [data.missing] [warning] Missing unit card data/ui/units/moors/#bolt_thrower.tga
    01:33:18.124 [system.io] [info] exists:   found mods/The_Sundering/data/ui/generic/generic_unit_card.tga (from: E:\Juegos\Medieval II Total War)
    01:33:18.358 [system.rpt] [error] Uh oh. This isn't good. No idea why, but exiting now. Sorry pal.


    Thank you all for your help

  2. #2
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: CTD on RollOver Unit Card

    The log says you don't have the unit card for two units (not fatal) - guess the last one is the 'crash' unit?

    You most likely haven't entered the text correctly in data\text\export_units - could be a formatting\typo error. It appears the game tries to retrieve the text info (the little pop up) and can't find it.










  3. #3
    Kolwen's Avatar Artifex
    Join Date
    Jul 2010
    Location
    Spain
    Posts
    1,217

    Default Re: CTD on RollOver Unit Card

    Quote Originally Posted by Gigantus View Post
    The log says you don't have the unit card for two units (not fatal) - guess the last one is the 'crash' unit?

    You most likely haven't entered the text correctly in data\text\export_units - could be a formatting\typo error. It appears the game tries to retrieve the text info (the little pop up) and can't find it.
    I thought that too, but the unit have not an entry in the export_unit, so it should show the text "unlocalized placement text". Anyways I added the entry and it doesn't solved the problem.
    The same for the Unit Card. It should show the generic (Peasant) unit card, just like the rest of units that haven't cards.
    Last edited by Kolwen; January 15, 2011 at 11:56 PM.

  4. #4

    Default Re: CTD on RollOver Unit Card

    The problem could still be a model.db entry, just not a string count error. I had this problem when adding anims for wardogs and the entries in descr_skeleton were not complete. So check the anim section of your .db entry.

  5. #5
    Kolwen's Avatar Artifex
    Join Date
    Jul 2010
    Location
    Spain
    Posts
    1,217

    Default Re: CTD on RollOver Unit Card

    Yeah!
    You were right.
    I forgot to add the number "0" before the animations.
    I don't know what is the meaning of that number but it fixed the problem.
    Thank you very much. +rep for both of you

    Code:
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002 
    21 mount_tiranoc_chariot
    1 1
    76 unit_models/_units/warhammer/mount/tiranoc_chariot/tiranoc_chariot_lod0.mesh 6400 
    1
    5 moors 
    83 unit_models/_Units/warhammer/mount/tiranoc_chariot/textures/tiranoc_chariot.texture 
    90 unit_models/_Units/warhammer/mount/tiranoc_chariot/textures/tiranoc_chariot_normal.texture 0
    0 
    1 
    8 elephant 
    11 fs_chariot2 0  
    0 0 -1 0 0 0 0 0 0

Posting Permissions

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