Results 1 to 30 of 55

Thread: spearmen with secondary CTD

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Senior Member Senior Member Duke John's Avatar
    Join Date
    May 2003
    Location
    Netherlands
    Posts
    2,917

    Default Re: spearmen with secondary CTD

    If you do not give the unit the spear attribute then the engine might CTD because it cannot decide which weapon to use. They are both equal in attributes and that might the only thing it looks for.

  2. #2
    Member Member Legionario's Avatar
    Join Date
    Feb 2005
    Location
    Aetruria
    Posts
    91

    Default Re: spearmen with secondary CTD

    Sorry Duke John,you must be the lucky one then,tested it on a plain vanilla Rome up to 1.2 ,no way,I gave the Triarii those same stats you proposed,tried with and without shadows,and as soon as they enter in melee combat,with swords in hand,it's a CTD...always!
    this applies to all the spearmen i tried,just not to stick to Triarii only....
    same old story....back to the code,I'm afraid this is a real issue to be fixed,
    we can't play Merlin the Magician,turnin' things on or off to achieve this,there's something wrong that has to be fixed,if in 9 PCs out of 10 it does not work.....
    Il dado è tratto....

  3. #3
    CA CA JeromeGrasdyke's Avatar
    Join Date
    Dec 2002
    Location
    At a new top-secret (non-CA) location, surrounded by lots of steel and glass, high atriums, hordes of lovely marketing ladies, and with a new and spacious desk with plenty of room for body-moving.
    Posts
    257

    Default Re: spearmen with secondary CTD

    Quote Originally Posted by Duke John
    If you do not give the unit the spear attribute then the engine might CTD because it cannot decide which weapon to use. They are both equal in attributes and that might the only thing it looks for.
    Good to see that someone else has reproduced a working case, although I'm pretty sure the game won't ctd for such a minor issue. Here are the stats for the unit and model as I have them:

    type roman triarii
    dictionary roman_triarii ; Triarii
    category infantry
    class spearmen
    voice_type Medium_1
    soldier roman_triarii, 40, 0, 1
    officer roman_early_centurion
    officer roman_early_standard
    mount_effect horse +4, chariot +4, camel +4
    attributes sea_faring, hide_forest, can_sap
    formation 1, 1, 2, 2, 3, square
    stat_health 1, 0
    stat_pri 7, 7, no, 0, 0, melee, simple, piercing, spear, 25 ,0.73
    stat_pri_attr no
    stat_sec 9, 4, no, 0, 0, melee, simple, piercing, sword, 25 ,1
    stat_sec_attr no
    stat_pri_armour 7, 5, 5, metal
    stat_sec_armour 0, 0, flesh
    stat_heat 4
    stat_ground 2, 0, 0, 0
    stat_mental 10, disciplined, highly_trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 500, 210, 50, 80, 500
    ownership romans_julii,romans_brutii,romans_scipii,romans_senate

    and

    type roman_triarii
    skeleton fs_spearman, fs_swordsman ; combat spear
    indiv_range 40
    texture romans_julii, data/models_unit/textures/unit_roman_triarii_julii.tga
    texture romans_brutii, data/models_unit/textures/unit_roman_triarii_brutii.tga
    texture romans_scipii, data/models_unit/textures/unit_roman_triarii_scipii.tga
    texture romans_senate, data/models_unit/textures/unit_roman_triarii_senate.tga
    model_flexi_m data/models_unit/unit_roman_triarii_high.cas, 15
    model_flexi_m data/models_unit/unit_roman_triarii_med.cas, 30
    model_flexi_m data/models_unit/unit_roman_triarii_low.cas, 40
    model_flexi data/models_unit/unit_roman_triarii_lowest.cas, max
    model_sprite romans_senate, 60.0, data/sprites/romans_senate_roman_triarii_sprite.spr
    model_sprite romans_scipii, 60.0, data/sprites/romans_scipii_roman_triarii_sprite.spr
    model_sprite romans_brutii, 60.0, data/sprites/romans_brutii_roman_triarii_sprite.spr
    model_sprite romans_julii, 60.0, data/sprites/romans_julii_roman_triarii_sprite.spr
    model_tri 400, 0.5f, 0.5f, 0.5f

    And that seems to work ok.

    BTW, the spear attribute is purely an engine-stats modifier. The pike weapon attributes on the other hand are more complex as they tie into the display and animation, so it is possible you may have some trouble if you start adding it to units which did not have the attribute before, and also if you have a unit which has phalanx formation but not pike. Pike but no phalanx formation would probably be ok, although a little pointless
    Last edited by JeromeGrasdyke; 02-17-2005 at 10:59.
    "All our words are but crumbs that fall down from the feast of the mind."
    -- from 'The Prophet' by Kahlil Gibran

  4. #4
    Member Member Legionario's Avatar
    Join Date
    Feb 2005
    Location
    Aetruria
    Posts
    91

    Default Re: spearmen with secondary CTD

    Jerome,those are the standard stats for Triarii,what I use...and it does not work... never mind giving the spear attribute or not,it won't go...apart from Duke John,is there anybody else which managed to make it work?
    As long as I know,all the people wich tried this ,got CTDs all over.....
    I noted also that letting them wait to be attacked,they stay in place and fight with sword,as long as you give 'em order to attack or move, it.... CTD
    so......
    Il dado è tratto....

  5. #5
    Father of the EB Isle Member Aymar de Bois Mauri's Avatar
    Join Date
    Nov 2003
    Location
    Staring West at the setting sun, atop the Meneltarma
    Posts
    11,561

    Default Re: spearmen with secondary CTD

    Do the CTDs appear because of worksheet formating, space between data?

    Edit: Forget it. Then the game would crash while loading the unit to the battlemap.
    Last edited by Aymar de Bois Mauri; 02-17-2005 at 18:32.

  6. #6
    Member Member Legionario's Avatar
    Join Date
    Feb 2005
    Location
    Aetruria
    Posts
    91

    Default Re: spearmen with secondary CTD

    No Aymar,I'm pretty concerned about formatting,so it's Ok .....
    I triple check it everytime....too many times I've gone mad for formatting errors...
    Il dado è tratto....

  7. #7
    Alienated Senior Member Member Red Harvest's Avatar
    Join Date
    Jan 2003
    Location
    Searching for the ORG's lost honor
    Posts
    4,657

    Default Re: spearmen with secondary CTD

    Jerome and Duke John,

    I've tried again. It still doesn't work, regardless of my vid settings, or what I put in the units file (excluding phalanx of course). I turned all my in game vid settings to minimum, added, spear, and even reduced secondary weapon stats to be lower than primary. Shadows and all other special items are off. When my now peg legged triarii started into melee I got a black screen and CTD same as usual. I pulled up the following details:

    DDHELP caused an invalid page fault in
    module <unknown> at 0084:baaba47e.
    Registers:
    EAX=baaba47e CS=0177 EIP=baaba47e EFLGS=00010286
    EBX=00000020 SS=017f ESP=007dfd3c EBP=007dfd4c
    ECX=00000000 DS=017f ESI=00008dc2 FS=3507
    EDX=00008dde ES=017f EDI=007dfd54 GS=34ef
    Bytes at CS:EIP:

    And now, if I try to run RTW (before I reboot) it tells me that it can't find DX9.

    I am puzzled as to how you are getting this to work DJ.
    Rome Total War, it's not a game, it's a do-it-yourself project.

  8. #8
    Senior Member Senior Member Duke John's Avatar
    Join Date
    May 2003
    Location
    Netherlands
    Posts
    2,917

    Default Re: spearmen with secondary CTD

    I have most of my settings set to highest. I've got a ATI Radeon 9600.

    I only deleted phalanx formation and the long_pike attribute in the greek phalanx entry. That is all. If you are doing exactly that and the games CTD than it is getting weird indeed.

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