Results 1 to 13 of 13

Thread: calvary charges crash my game,help please

  1. #1

    Default calvary charges crash my game,help please

    i messed around with the eastern infantry stats like so:

    type east infantry
    dictionary east_infantry ; Eastern Infantry
    category infantry
    class spearmen
    voice_type Light_1
    soldier persian_sparabara, 60, 0, 1
    mount_effect horse +4, chariot +4, camel +4
    attributes sea_faring, hide_forest, can_sap
    formation 1, 1, 2, 2, 5, square, phalanx
    stat_health 1, 0
    stat_pri 7, 6, no, 0, 0, melee, simple, piercing, spear, 25 ,0.73
    stat_pri_attr no
    stat_sec 5, 2, no, 0, 0, melee, simple, piercing, sword, 25 ,1
    stat_sec_attr no
    stat_pri_armour 3, 2, 5, leather
    stat_sec_armour 2, 2, metal
    stat_heat 0
    stat_ground 2, 1, 0, -1
    stat_mental 2, normal, highly_trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 100, 100, 40, 50, 100
    ownership eastern, slave

    the game works,but everytime (in a battle)if cavalry charge into them the game crashes, and no err sign shows up and i have show_err on it so i dont know whats wrong.can anyone help me?
    VAE VICTUS-PaNtOcRaToR
    Quote Originally Posted by Tomi says
    Honour is that which preserves the dignity of the human spirit.
    It’s how you treat people, that makes you an honourable person.
    Not how many battles you win.
    The glory of your victories will soon be forgotten.
    But the kindness and respect you show for others, will not.
    So is there really any honour in Total War games?
    No.
    But there is in some of it’s players…

  2. #2
    Back in style Member Lentonius's Avatar
    Join Date
    Nov 2005
    Location
    U.K
    Posts
    445

    Default Re: calvary charges crash my game,help please

    I would not be able to certify this, but in my mind the line

    mount_effect horse +4, chariot +4, camel +4


    may be mucked up, as it is the only thing that would effect cavalry charges. I think it's the horse bit maybe, not having a comma before it..

    If that bit was mucked up when the 'horses' engaged in a battle the game would not recognise their bonuses to the infantry...

    good luck
    Hey, Im back

  3. #3

    Default Re: calvary charges crash my game,help please

    well it seems that only cavalry units have that line so i deleted and i still have the same problem.thia is what it looks like now:


    type east infantry
    dictionary east_infantry ; Eastern Infantry
    category infantry
    class spearmen
    voice_type Light_1
    soldier persian_sparabara, 60, 0, 1
    attributes sea_faring, hide_forest, can_sap
    formation 1, 1, 2, 2, 5, square, phalanx
    stat_health 1, 0
    stat_pri 7, 6, no, 0, 0, melee, simple, piercing, spear, 25 ,0.73
    stat_pri_attr no
    stat_sec 5, 2, no, 0, 0, melee, simple, piercing, sword, 25 ,1
    stat_sec_attr no
    stat_pri_armour 3, 2, 5, leather
    stat_sec_armour 2, 2, metal
    stat_heat 0
    stat_ground 2, 1, 0, -1
    stat_mental 2, normal, highly_trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 100, 100, 40, 50, 100
    ownership eastern, slave

    any ideas?
    VAE VICTUS-PaNtOcRaToR
    Quote Originally Posted by Tomi says
    Honour is that which preserves the dignity of the human spirit.
    It’s how you treat people, that makes you an honourable person.
    Not how many battles you win.
    The glory of your victories will soon be forgotten.
    But the kindness and respect you show for others, will not.
    So is there really any honour in Total War games?
    No.
    But there is in some of it’s players…

  4. #4

    Default Re: calvary charges crash my game,help please

    correction, even when they come into contact with ground units the game will crash with no explanation
    VAE VICTUS-PaNtOcRaToR
    Quote Originally Posted by Tomi says
    Honour is that which preserves the dignity of the human spirit.
    It’s how you treat people, that makes you an honourable person.
    Not how many battles you win.
    The glory of your victories will soon be forgotten.
    But the kindness and respect you show for others, will not.
    So is there really any honour in Total War games?
    No.
    But there is in some of it’s players…

  5. #5

    Default Re: calvary charges crash my game,help please

    Thats easy. You left out the attribute for stat_pri_attr.

  6. #6
    The Dark Knight Member wlesmana's Avatar
    Join Date
    Jan 2005
    Location
    Indonesia
    Posts
    602

    Default Re: calvary charges crash my game,help please

    If EDU.txt is bugged, the game probably wouldn't load.
    Did you edit DMB at all? Are you using the right skeleton?

  7. #7

    Default Re: calvary charges crash my game,help please

    Its most likely he doesnt have a cavalry swordman skeleton in the DBM and so when the unit switches it crashes.

    Is it only one unit? If it is its in the DBM, Unit file is parsed on loading the game, the Model file is only parsed when loading a battle.

    Lt
    LT_1956 Creator of SPQR: Total War


    SPQR:TW Mod forums

  8. #8
    Ming the Merciless is my idol Senior Member Watchman's Avatar
    Join Date
    Aug 2004
    Location
    Helsinki, Finland
    Posts
    7,967

    Default Re: calvary charges crash my game,help please

    Shouldn't phalanx troops have all kinds of things in stat_pri_att ? Like some sort of "spear" and, assuming it's the latest patch, bonus_spear or whatever that now was ?
    "Let us remember that there are multiple theories of Intelligent Design. I and many others around the world are of the strong belief that the universe was created by a Flying Spaghetti Monster. --- Proof of the existence of the FSM, if needed, can be found in the recent uptick of global warming, earthquakes, hurricanes, and other natural disasters. Apparently His Pastaness is to be worshipped in full pirate regalia. The decline in worldwide pirate population over the past 200 years directly corresponds with the increase in global temperature. Here is a graph to illustrate the point."

    -Church of the Flying Spaghetti Monster

  9. #9
    The Dark Knight Member wlesmana's Avatar
    Join Date
    Jan 2005
    Location
    Indonesia
    Posts
    602

    Default Re: calvary charges crash my game,help please

    No, those are not required.

  10. #10
    Member Member Dromikaites's Avatar
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    151

    Default Re: calvary charges crash my game,help please

    It looks to me that those sparabara experience the old "spears + sword" bug.

    There seems to be a problem with models that use the combination of spearman skeleton for the primary weapon and swordsman for the secondary one.

  11. #11

    Default Re: calvary charges crash my game,help please

    That bug only applied to infantry not cavalry. and in 1.5 its fixed.

    I would say he is missing a skeleton and has the secondary sword causing the crash, I have seen this before many times.

    Lt
    LT_1956 Creator of SPQR: Total War


    SPQR:TW Mod forums

  12. #12
    Member Member Dromikaites's Avatar
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    151

    Default Re: calvary charges crash my game,help please

    Quote Originally Posted by lt1956
    That bug only applied to infantry not cavalry. and in 1.5 its fixed.

    I would say he is missing a skeleton and has the secondary sword causing the crash, I have seen this before many times.

    Lt
    You're probably right about the sword. However in 1.5/1.6 if the model has a primary weapon and a secondary one but only one skeleton, the game doesn't load and there's an error report telling us we're missing one skeleton (I don't know if this was also the case fore 1.2). If he uses 1.5/1.6 with -show_err he should be able to spot that.

    So he either doesn't use 1.5/1.6 or there's another skeleton combination causing the CTD, but you are right, the problem is due to the sword. What if he simply didn't add the sword as the secondary weapon to the model?

  13. #13
    The Dark Knight Member wlesmana's Avatar
    Join Date
    Jan 2005
    Location
    Indonesia
    Posts
    602

    Default Re: calvary charges crash my game,help please

    Or using the wrong skeleton. For instance using fs_javelinman. Because that is buggy for actual melee. He might have been using an entry for DMB that has 2 skeletons but in EDU he only gave it primary attack or changed missile into melee.

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