Log in

View Full Version : A Crash with a Missile Unit?



Raz
01-04-2008, 04:38
As I implemented a selection of some conceptual units, I added a variety of cavalry, infantry, and missile troops. I made sure I added each one with care (and love ^_^), and when it came to testing a full battle with these troops, it CTD.

This was in custom battle, so I tested them separately, first cavalry. They worked fine. Infantry worked too. Then I tested the units with a projectile. I was able to arrange them as normal pre-battle, but when I started the battle I received a crash with no message. I'm really am stumped. Any help?

Thanks in advance.

macsen rufus
01-04-2008, 10:19
Interesting - you say it only crashes after the battle deployment phase? That rules out a few of of the unit-related problems it could be, I guess.

I don't know how many new units you have, but I would proceed by narrowing it down to what particlular unit(s) are responsible, then think of the following questions (I know they sound obvious, but so are most of my own modding errors ~D):

- ammo - are they all set to >0 in unit_prod?
- projectile type - does everyone with ammo have a (valid) projectile type?
- did you make any changes to the projectiles stats file? Changing ranges, bounce behaviour, min/max angle of fire etc?
- any changes to the animations? (Though I guess an animation problem would CTD at the deployment phase not after...)
- I wonder if it could be a FAC SHIELD problem, but that should also CTD before deployment, though (ie have you used a fac-shield associated folder with a faction above #20?)
- if none of this reveals answers, check if it's the same with different factions using the same troops, and try cutting across the problem in different directions (well, I know what I mean ~D)

Raz
01-05-2008, 11:11
Heh, I haven't found the problem, but on further testing, it led me to suspect that my set of crossbowmen were at fault.

With even more extensive testing (not really, I just want to sound big :2thumbsup:) I found that it was only when I issued a march order (after deployment) with the crossbowmen that VI crashed.

macsen rufus
01-07-2008, 12:39
Hmmm - curiouser and curiouser.

First thing to check - ActionsPage entries for your crossbows - does it have walk, stand, standing_shoot, run, die, charge, and fight?

Raz
01-07-2008, 12:48
Well, no big deal. I'll just scrap the unit and replace it.

If search and fix doesn't work - replace the word fix with destroy. :laugh4: