Results 1 to 11 of 11

Thread: Desperately need help

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Desperately need help

    I've been trying for about three hours now to test out a new unit I'm adding to England for a mod I'm helping with. I just want to add it to see how it looks, and then pass it along to our real coder. I keep getting CTD's on startup, with nothing in the logfile but unspecified errors, which I learned are related to the modelsdb file. here is the entry I've added, basically using the entry for german reiters and calling them a new name.

    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
    11 EN_Dragoons 1 4
    53 unit_models/_Units/RN_Half_3Q_Plate/reiters_lod0.mesh 121
    53 unit_models/_Units/RN_Half_3Q_Plate/reiters_lod1.mesh 900
    53 unit_models/_Units/RN_Half_3Q_Plate/reiters_lod2.mesh 2500
    53 unit_models/_Units/RN_Half_3Q_Plate/reiters_lod3.mesh 6400
    1
    7 england
    77 unit_models/_units/RN_Half_3q_plate/textures/rn_half_3q_plate_england.texture 76 unit_models/_Units/RN_Half_3Q_Plate/textures/rn_half_3q_plate_normal.texture 35 unit_sprites/hre_Reiters_sprite.spr 1 7 england
    65 unit_models/AttachmentSets/Final European CB Gun_hre_diff.texture
    65 unit_models/AttachmentSets/Final European CB Gun_hre_norm.texture
    0 1
    5 Horse
    14 MTW2_HR_Pistol
    13 MTW2_HR_Spear
    1
    22 MTW2_HR_Pistol_Primary
    1
    21 MTW2_HR_spear_Primary
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
    11 reiters_ug1 1 4
    57 unit_models/_Units/RN_Half_3Q_Plate/reiters_ug1_lod0.mesh 121
    57 unit_models/_Units/RN_Half_3Q_Plate/reiters_ug1_lod1.mesh 900
    57 unit_models/_Units/RN_Half_3Q_Plate/reiters_ug1_lod2.mesh 2500
    57 unit_models/_Units/RN_Half_3Q_Plate/reiters_ug1_lod3.mesh 6400
    1
    7 england
    77 unit_models/_units/RN_Half_3q_plate/textures/rn_half_3q_plate_england.texture 76 unit_models/_Units/RN_Half_3Q_Plate/textures/rn_half_3q_plate_normal.texture 39 unit_sprites/hre_Reiters_ug1_sprite.spr 1 7 england
    65 unit_models/AttachmentSets/Final European CB Gun_hre_diff.texture
    65 unit_models/AttachmentSets/Final European CB Gun_hre_norm.texture
    0 1
    5 Horse
    14 MTW2_HR_Pistol
    13 MTW2_HR_Spear
    1
    22 MTW2_HR_Pistol_Primary
    1
    21 MTW2_HR_spear_Primary



    I really just want to test the unit out and see how well it looks and works. I've scoured the forums and examined this string meticulously, but I have absolutely zero experience coding. Anyone out there who can tell me what's going wrong?
    "But love will best judge what may hurt or edify; and if we let love be our guide, all will be safe." -John Calvin

  2. #2

    Default Re: Desperately need help

    Do you see the line at the very top? That shouldn't be there. However, you should have a line similar to it at the bottom, like so:
    Code:
    11 EN_Dragoons 1 4 
    53 unit_models/_Units/RN_Half_3Q_Plate/reiters_lod0.mesh 121 
    53 unit_models/_Units/RN_Half_3Q_Plate/reiters_lod1.mesh 900 
    53 unit_models/_Units/RN_Half_3Q_Plate/reiters_lod2.mesh 2500 
    53 unit_models/_Units/RN_Half_3Q_Plate/reiters_lod3.mesh 6400 
    1 
    7 england 
    77 unit_models/_units/RN_Half_3q_plate/textures/rn_half_3q_plate_england.texture 76 unit_models/_Units/RN_Half_3Q_Plate/textures/rn_half_3q_plate_normal.texture 35 unit_sprites/hre_Reiters_sprite.spr 1 7 england 
    65 unit_models/AttachmentSets/Final European CB Gun_hre_diff.texture 
    65 unit_models/AttachmentSets/Final European CB Gun_hre_norm.texture 
    0  1 
    5 Horse 
    14 MTW2_HR_Pistol 
    13 MTW2_HR_Spear 
    1 
    22 MTW2_HR_Pistol_Primary 
    1 
    21 MTW2_HR_spear_Primary
     16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002 
    11 reiters_ug1 1 4 
    57 unit_models/_Units/RN_Half_3Q_Plate/reiters_ug1_lod0.mesh 121 
    57 unit_models/_Units/RN_Half_3Q_Plate/reiters_ug1_lod1.mesh 900 
    57 unit_models/_Units/RN_Half_3Q_Plate/reiters_ug1_lod2.mesh 2500 
    57 unit_models/_Units/RN_Half_3Q_Plate/reiters_ug1_lod3.mesh 6400 
    1 
    7 england 
    77 unit_models/_units/RN_Half_3q_plate/textures/rn_half_3q_plate_england.texture 76 unit_models/_Units/RN_Half_3Q_Plate/textures/rn_half_3q_plate_normal.texture 39 unit_sprites/hre_Reiters_ug1_sprite.spr 1 7 england 
    65 unit_models/AttachmentSets/Final European CB Gun_hre_diff.texture 
    65 unit_models/AttachmentSets/Final European CB Gun_hre_norm.texture 
    0  1 
    5 Horse 
    14 MTW2_HR_Pistol 
    13 MTW2_HR_Spear 
    1 
    22 MTW2_HR_Pistol_Primary 
    1 
    21 MTW2_HR_spear_Primary
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002

    Coder on Dark Ages: Roman Revival, the alternate history mod for BI.

    Under the Patronage of Augustus Lucifer, member of the House of Ward.

  3. #3

    Default Re: Desperately need help

    Yeah, I wasn't sure where that line should go, as the tutorials vary, but it's both at the beginning and the end of the string. I placed this entry between reiters and stradiots, though, and they all seem to use this same line, so I'm at a loss. Still getting the unspecified error, still can't check the in-game appearance.
    Last edited by surprisedbyjoy; August 25, 2008 at 04:01 PM.
    "But love will best judge what may hurt or edify; and if we let love be our guide, all will be safe." -John Calvin

  4. #4

    Default Re: Desperately need help

    So it doesn't work even with that line sorted out??

    Coder on Dark Ages: Roman Revival, the alternate history mod for BI.

    Under the Patronage of Augustus Lucifer, member of the House of Ward.

  5. #5

    Default Re: Desperately need help

    No, it still CTD's.
    "But love will best judge what may hurt or edify; and if we let love be our guide, all will be safe." -John Calvin

  6. #6

    Default Re: Desperately need help

    Did you increase the number of models in the file (the number at the top)?

    Coder on Dark Ages: Roman Revival, the alternate history mod for BI.

    Under the Patronage of Augustus Lucifer, member of the House of Ward.

  7. #7

    Default Re: Desperately need help

    I did not. Which number exactly is that?
    "But love will best judge what may hurt or edify; and if we let love be our guide, all will be safe." -John Calvin

  8. #8

    Default Re: Desperately need help

    Ah. There's your problem. At the top of the file should be a line like this:
    Code:
    22 serialization::archive 3 0 0 0 0 920 0 0
    (Well, somewhat like that, my DMB has been seriously edited) Increase the bolded number by two, since you added two entries. (It should be around 730) That should do the trick.

    Coder on Dark Ages: Roman Revival, the alternate history mod for BI.

    Under the Patronage of Augustus Lucifer, member of the House of Ward.

  9. #9

    Default Re: Desperately need help

    Well, dang. I got all excited there for a minute. I changed the entry from 701 to 703, and just for kicks I tried 702, but this isn't working either, and I'm still getting the same error messages. Thanks so far, anything else occurring to you?
    "But love will best judge what may hurt or edify; and if we let love be our guide, all will be safe." -John Calvin

  10. #10
    B. Ward's Avatar ★★★★ RockNRolla ★★★★
    Join Date
    Feb 2007
    Location
    East Coast, United States
    Posts
    4,376

    Default Re: Desperately need help

    You may have a spacing error somewhere in your entry.

  11. #11

    Default Re: Desperately need help

    Here's the raw entry, spaces and all:
    11 EN_Dragoons 1 4 53 unit_models/_Units/RN_Half_3Q_Plate/reiters_lod0.mesh 121 53 unit_models/_Units/RN_Half_3Q_Plate/reiters_lod1.mesh 900 53 unit_models/_Units/RN_Half_3Q_Plate/reiters_lod2.mesh 2500 53 unit_models/_Units/RN_Half_3Q_Plate/reiters_lod3.mesh 6400 1 7 england 77 unit_models/_units/RN_Half_3q_plate/textures/rn_half_3q_plate_england.texture 76 unit_models/_Units/RN_Half_3Q_Plate/textures/rn_half_3q_plate_normal.texture 35 unit_sprites/hre_Reiters_sprite.spr 1 7 england 65 unit_models/AttachmentSets/Final European CB Gun_hre_diff.texture 65 unit_models/AttachmentSets/Final European CB Gun_hre_norm.texture 0 1 5 Horse 14 MTW2_HR_Pistol 13 MTW2_HR_Spear 1 22 MTW2_HR_Pistol_Primary 1 21 MTW2_HR_spear_Primary 16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002 11 reiters_ug1 1 4 57 unit_models/_Units/RN_Half_3Q_Plate/reiters_ug1_lod0.mesh 121 57 unit_models/_Units/RN_Half_3Q_Plate/reiters_ug1_lod1.mesh 900 57 unit_models/_Units/RN_Half_3Q_Plate/reiters_ug1_lod2.mesh 2500 57 unit_models/_Units/RN_Half_3Q_Plate/reiters_ug1_lod3.mesh 6400 1 7 england 77 unit_models/_units/RN_Half_3q_plate/textures/rn_half_3q_plate_england.texture 76 unit_models/_Units/RN_Half_3Q_Plate/textures/rn_half_3q_plate_normal.texture 39 unit_sprites/hre_Reiters_ug1_sprite.spr 1 7 england 65 unit_models/AttachmentSets/Final European CB Gun_hre_diff.texture 65 unit_models/AttachmentSets/Final European CB Gun_hre_norm.texture 0 1 5 Horse 14 MTW2_HR_Pistol 13 MTW2_HR_Spear 1 22 MTW2_HR_Pistol_Primary 1 21 MTW2_HR_spear_Primary 16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002

    I copied and pasted the reiters entry, and just changed some of the filenames and of course the country from hre to england.
    "But love will best judge what may hurt or edify; and if we let love be our guide, all will be safe." -John Calvin

Posting Permissions

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