Results 1 to 10 of 10

Thread: I got an unexpected problem when loading a battle using a new general [officer].

Hybrid View

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

    Default I got an unexpected problem when loading a battle using a new general [officer].

    I got an unexpected problem when loading a battle using a new general [officer].

    I am wondering if there is a limit on how many officers I can add or if the coding is wrong, here’s the error message;



    Here’s the coding;


    type amazon_general
    skeleton fs_dagger
    skeleton_horse fs_hc_swordsman
    skeleton_elephant fs_forest_elephant_rider
    skeleton_chariot fs_chariot_sword
    skeleton_camel fs_hc_swordsman
    scale 1.20
    indiv_range 40
    texture scythia, MYTH/data/models_unit/textures/AMAZON_CHARIOT_ARCHERS.TGA
    model_flexi data/models_unit/unit_greek_amazon_high.cas, 15
    model_flexi data/models_unit/unit_greek_amazon_med.cas, 30
    model_flexi data/models_unit/unit_greek_amazon_low.cas, 40
    model_flexi data/models_unit/unit_greek_amazon_lowest.cas, max
    model_sprite scythia, 60.0, data/sprites/slave_greek_amazons_sprite.spr
    model_tri 400, 0.5f, 0.5f, 0.5f
    Formerly quetzalcoatl. Proud leader of STW3 and member of the RTR, FATW and QNS teams.

  2. #2

    Default Re: I got an unexpected problem when loading a battle using a new general [officer].

    Weird, never saw it before. Now, before any experienced coder comes to the rescue, try to eliminate the following (most likely useless) process :

    Delete the scythia stuff, because I think it is not needed.

    type amazon_general
    skeleton fs_dagger
    skeleton_horse fs_hc_swordsman
    skeleton_elephant fs_forest_elephant_rider
    skeleton_chariot fs_chariot_sword
    skeleton_camel fs_hc_swordsman
    scale 1.20
    indiv_range 40
    texture MYTH/data/models_unit/textures/AMAZON_CHARIOT_ARCHERS.TGA
    model_flexi data/models_unit/unit_greek_amazon_high.cas, 15
    model_flexi data/models_unit/unit_greek_amazon_med.cas, 30
    model_flexi data/models_unit/unit_greek_amazon_low.cas, 40
    model_flexi data/models_unit/unit_greek_amazon_lowest.cas, max
    model_sprite 60.0, data/sprites/slave_greek_amazons_sprite.spr
    model_tri 400, 0.5f, 0.5f, 0.5f

  3. #3

    Default Re: I got an unexpected problem when loading a battle using a new general [officer].

    Well the amazons/Scythians need generals, and those were working before, but I added standard bearers. Hence I am wondering if there is a limit to how many officers you can have ~ and we just crossed the line as we have a lot of them for all our hero units. Mind you I have deleted the entries for the pre marian officers so that should have made room if that was the problem.
    Formerly quetzalcoatl. Proud leader of STW3 and member of the RTR, FATW and QNS teams.

  4. #4

    Default Re: I got an unexpected problem when loading a battle using a new general [officer].

    yes, but why define scythia in that file ? You just add it in EDU, right ?

  5. #5

    Default Re: I got an unexpected problem when loading a battle using a new general [officer].

    Which line is 1267 exactly? And can you show the units that come before and after that one in the file?
    RIP Calvin, you won't be forgotten.

  6. #6

    Default Re: I got an unexpected problem when loading a battle using a new general [officer].

    yes, but why define scythia in that file ? You just add it in EDU, right ?
    Well the faction is denoted in both the edu and dmb, but I don’t see what is wrong with the coding.

    Which line is 1267 exactly? And can you show the units that come before and after that one in the file?
    Well I presume it’s the line that denotes type I.e. in this case; type amazon_general

    I don’t understand what a type identifier is apart from that? The massage seams to say that something needs to be added before adding more models. Confusing, I have never seen that message before.
    Formerly quetzalcoatl. Proud leader of STW3 and member of the RTR, FATW and QNS teams.

  7. #7

    Default Re: I got an unexpected problem when loading a battle using a new general [officer].

    Can you show the coding for the preceding model in the file?
    RIP Calvin, you won't be forgotten.

  8. #8

    Default Re: I got an unexpected problem when loading a battle using a new general [officer].

    The preceding coding is the vanilla slave general;

    type slave_lesser_general
    skeleton fs_dagger
    skeleton_horse fs_hc_swordsman
    skeleton_elephant fs_forest_elephant_rider
    skeleton_chariot fs_chariot_sword
    skeleton_camel fs_hc_swordsman
    scale 1.20
    indiv_range 40
    texture slave, data/models_unit/textures/unit_rebel_lesser_general.tga
    model_flexi_m data/models_unit/unit_rebel_lesser_general_high.cas, 15
    model_flexi_m data/models_unit/unit_rebel_lesser_general_med.cas, 30
    model_flexi_m data/models_unit/unit_rebel_lesser_general_low.cas, 40
    model_flexi_m data/models_unit/unit_rebel_lesser_general_lowest.cas, max
    model_sprite 60.0, data/sprites/slave_lesser_general_sprite.spr
    model_tri 400, 0.5f, 0.5f, 0.5
    Formerly quetzalcoatl. Proud leader of STW3 and member of the RTR, FATW and QNS teams.

  9. #9
    Jarlaxe's Avatar Heavy Building Industry
    Join Date
    Mar 2009
    Location
    Greece
    Posts
    1,610

    Default Re: I got an unexpected problem when loading a battle using a new general [officer].

    is there an amazon_general.tga in your models_unit/textures folder?
    your error mensions this texture and not AMAZON_CHARIOT_ARCHERS.TGA
    is there any chance the type amazon_general to excists two times in DMB?
    - Leader / Modeller/ Skinner / City Builder of Hegemonia City States -
    - Modeller/ Skinner / City Builder of Fourth Age -

    - Under the patronage of the cream pie lover -
    - jimkatalanos -



  10. #10

    Default Re: I got an unexpected problem when loading a battle using a new general [officer].

    Its ok I found the problem, I had two instances of the coding below, so the game was trying to find a non existent unit I.e. the rest of the coding that goes above the model tri part. Btw it wasn’t for the general/officer as I thought, it was where I used the same skin to check out what it looked like as a unit, and that is where i found the duplicate coding.

    So if anyone gets a similar message that’s your problem.

    model_tri 400, 0.5f, 0.5f, 0.5

    Thanks for your help everyone!
    Formerly quetzalcoatl. Proud leader of STW3 and member of the RTR, FATW and QNS teams.

Posting Permissions

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