Log in

View Full Version : CTD in battles problem



The Blind King of Bohemia
07-10-2003, 20:34
I've added 2 new units: Scottish Pikemen and African Long Spearmen. I made a new custom bif file with topless black guys (very cool) and decided to elongate the spear weapons in the topless loon folder and this new one (which also contains African Warriors, basically black slav warriors) and add it as a fourth weapon in the 'Weapons' file. I start the battles with them and everything's fine for about 2 minutes until it crashes to desktop. This tends to happen when the opposing army is about halfway between us and their starting position. Can anyone tell me why this happens and hopefully tell me how to rectify it? Thanks.

Duke John
07-11-2003, 00:13
Did you have the problem when the enemy has Negro Pikemen or when your army has? It might be that from a distance everything seems fine but when getting closer other more detailed graphics are displayed. Do you have both the hi-res and low-res bif?
It's not a problem with shields or coordinates since these are checked when pressing the buttons.

The Blind King of Bohemia
07-11-2003, 11:59
I haven't tried them as opposing units so it normally happens when I play. Some battles though with lots of units have worked fine. I have both bifs also.

Lord Krazy
07-12-2003, 00:55
I'v been thinking about this and I still don't know
what is wrong .
I tought the same as Duke John
untill you said it worked with more units.
I could be wrong but I tought that would lead
to the low res bif being used more.

What I do know is :

These are generalizations but pretty constant
On the basis you are talking about custom battles mostly.


If the game boots with a prod11 present
(it will boot without one )
and a matching deadpage coords.txt
(the deadpage coords.txt will give an error in VI
only if you have double entry)
That should mean the said files are in order.
Regarding format and valid entries for the code.

If you can get to the review panel to pick your units
for the battle and go on to start the battle and let it run
at all, means that the units :

are tagged to the right texture\men bif in the prod11
or a valid one anyhow.
(could cause crash if not valid but before)

The review panel bif is in order (will crash before if not)
The names file is in order
( as you would have noticed before now )


If the annimations are not glitching then
the actionspage is in order and linked to the right textures\men bif also.
( this would not cause a crash if the bif is valid anyway)


The lbm icons for battles are not needed
and will not cause a crash.
(I do notice if one is not present it slows things down ,
but that could just be me .) http://www.totalwar.org/forum/non-cgi/emoticons/biggrin.gif

The info pics are only for campaigns and not your problem

So if you understand that then you know some of the things
it's not. http://www.totalwar.org/forum/non-cgi/emoticons/biggrin.gif

Seen as it works sometimes then you have gone beyond my knowledge of how a new unit can crash the game .
If I get the battle to start with a new unit selected
that's job done with regard to adding the unit for battles
the rest is just making sure the right actionpage
has been linked for the coordinates and angles.

Remove the new units from the prod11 and deadpage coords
and see if it works ok then.

If not it's another problem


btw after all that the first question should have been which version are you modding. http://www.totalwar.org/forum/non-cgi/emoticons/biggrin.gif

LK http://www.totalwar.org/forum/non-cgi/emoticons/smokin.gif

The Blind King of Bohemia
07-12-2003, 15:59
All of them are in order. I've added units before and experience no such problems. I feel it could be down to the elongated weapons. I'm using the Viking Invasion BTW.

Lord Krazy
07-13-2003, 06:05
Quote[/b] ]I feel it could be down to the elongated weapons

I don't think so . It's not possible for the
items coordinates to do such a thing as far as I know.
weapons.txt provides the coords and scale

The items texts define how they are displayed in relation
to the unit sprite .
So if it works at all it should work all the time.

One easy way to find out if it's the items texts
that are causing the problem , is to remove them ,
leave the rest the same and see if it stops crashing.

Does it happen at all if you have a battle without
the units in question?

LK http://www.totalwar.org/forum/non-cgi/emoticons/smokin.gif

Double_down
07-15-2003, 11:41
i had the samething happen to me when i first started creating units, it turned out to be a very simple mistake. i put my armour value to 0 which caused it to ctd anytime the unit got within a certain distence from the enemy. the lowest possible armour value is 1, i didnt know this and it took me forever to figure it out. if u cloned an exsisting unit to create the actionpage, weapons, deadpage, etc.. for ur new unit, u can copy & paste the original unit's prodfile line (that uses the same bif, ofcourse) onto ur new units prodfile line then see if it works.