Game crashes on ship launch
-
Capt. Morgan:
Your ship model is fine.
I replaced my starting ship with it (.cmp, .mat, .sur) and all is well.
So your problem is elsewhere.
Post up your loadouts.ini entry for the devil too.
-
Long shot… but check your shield
check everything its sold with actually… swap stuff out like power and engine’s. I’ve had this before but not for a long time last ship to do this to me was the FA37… i believe that was due to the shield link, it was about 2 years ago so my memory of exactly why has faded…
EDIT:
Woah…
make
addon = LargeWhiteSpecial, HpHeadlight01, 1
into
addon = LargeWhiteSpecial, HpHeadlight, 1
or check the CMP to make sure… most headlights don’t have the “01”
-
I’m surprised nobody has mentioned the icon. Looking at the code posted i see the ship uses a custom icon. If that’s not made properly there’s a ctd just waiting to happen. Agree totally with Startrader as well, follow his guidelines for tidying up your code, looks better, runs better, neater
I had a look at the model as well, nothing obvious with the model itself, seems fine actually.
-
I’ve assumed all along that the shield is class 2?
hp_type = hp_gun_special_1, HpWeapon01, HpWeapon02,
hp_type = hp_fighter_shield_special_2, HpShield01
hp_type = hp_fighter_shield_special_1, HpShield01That’s:
addon = shield01_mark02_lf, HpShield01, 1But I think it may be a loadout problem, waiting for him to post the loadouts.ini entry for it.
HpHeadLight01 is correct, it’s in the .cmp
Gibbon - Capt.Morgan says the ship appears in the dealer and he can buy it, so isn’t the icon ok (as long as the ship’s picture is correct)?
Can’t remember, can it cause a crash on launch if it’s ok in the dealer?
-
There is no loadouts.ini entry for this one. Loadouts.ini looks like it’s intended for NPC ships, which we haven’t included yet. So, there isn’t an entry there for any of our ships. The files it’s in are the ones linked on the first post. The loadout at purchase is in the goods.ini entry.
Also, I’m going to be away from home until probably Saturday evening, so I won’t actually be able to get anything else done with this until then.
-
I’m from the same team. Strange thing happened to me yesterday.
After a long time I started the mod and tried to repeat the crash. I don’t remember changing anything before, but this time one of the broken ships undocked without a crash.
That isn’t all, though. I noticed a crazy bug with it. My shield was up as I was being hit by a station. All effects showed a shield hit, but the shield level wouldn’t budge. Hull was getting damaged instead!
-
OK maybe it’s time to delete the Freelancer folder and saved games folders, and use a fresh copy of the mod.
I have had annoying things like this, and using a fresh copy fixed it.
Don’t use FLMM to de-activate, just delete the Freelancer folder to get rid of all corruption, and also re-install FLMM.
Use a fresh clean copy of FL and activate the mod into it.
-
This is getting silly. I just “reinstalled” FL (deleted the directory and all saves, copied a backup of vanilla installation I always use) and activated the mod again… The same behavior. It undocks OK, hull gets damaged instead of shield. What the hell?
-
The same behavior. It undocks OK, hull gets damaged instead of shield. What the hell?
I’ve had this problem before where there is a .vms name that is the same with both ships. As a result, the game will cause this error. Make sure that none of your .cmps are sharing similar .vms names.
Might be the issue here.
-
Capt. Morgan have you edited your FL ID files at all?
-
Good pointer Sushi - the devil’s lod 0 vms node is called “Group1.lod0.vms”
I bet there are other ships in that mod with this name!
I don’t have that in my mod so there’s no conflict.
As a guide, I call mine “ships.(shipgroupfolder).(shipfolder).(shipname).lod0.vms”
OK guys - over to you!
Let us know what you find after you fix this ship.
You may have trouble finding the other ship that is conflicting, it is probably spawned outside your base in an NPC encounter as soon as you launch.
You mentioned there were 2 ships causing this, check the other one too.
-
That seems to have been the problem, at least with the Devil. I re-exported it, hardpointed it again, and it worked like a charm. We’ll find out if that’s the problem with the other one, and let you know.
EDIT: Yep, that was the problem with both. Time to move on to debugging the ships. Thanks yet again!
-
No, hold on - you still have other ship(s) with the same node name, this is why the devil (and the other ship) crashed on launch - one of the other ships that is spawned in an encounter outside your base. You need to find it, and there may be others. Sloppy modelling.
-
Sushi is the one to credit guys, not me.
We’re all sloppy modellers, learnt by our own mistakes.
Sorry, no offence meant, just a small poke in fun was all it was.
-
No offense taken. I’m the one who got sloppy with these. Mostly out of ignorance, though. I’m not much of an experienced (or talented) modeller, but I’m one of the only people on the dev team who can take a textured model and turn it into a usable ship.
Oh well, you only learn by breaking it and putting it back together.
-
Glad it worked out for you guys. It was a team effort finding it