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.
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.
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....
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:Originally Posted by Duke John
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
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....
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.
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....
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.
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