Tue Feb 07, 2006 3:56 am by Ralkahn
I've been tweaking and combining a couple of mods - part of a ship pack, some equipment and changing the starting ship - and have run into a problem I can't seem to track down. I had been messing with the ship's .cmp to add some lights, and got that working. However, now when I try to load the mod up in FLMM, it comes back with one of two error messages, depending on what I mess with in the script before trying again. The first one I came across was:
Error: Unable to find section '[Tractor'(...) in 'C:\Program Files\Microsoft Games\Freelancer\data\equipment\misc_equip.ini'
Now, I looked at the part of the script in which misc_equip.ini is being appended to add a second tractor beam, which is coding that had been working all day. Somehow I had managed to get the </data> tag placed after the power plant (right above it), so I figured that must have been it. But no, after moving the tag where it should be, it still wouldn't work. Opened misc_equip.ini itself and checked to make sure nothing had gotten messed up in there. It's all in place. Eventually, I just took out the tractor beam part, and changed all references to ge__s_tractor_02 elsewhere in the script to the original beam, ge_s_tractor_01. Yet, it still gave me the error, even though now there was no mention of any tractor beam outside of the original game coding. Odd, I thought. By this time I had tried reinstalling the game. Same result. Reinstalled SDK 1.3 and tried again. Then a new error message popped up.
Error: Unable to find dest 'Act_SetShipAndLoadout = ge_fighter, msn_playerloadout' in 'C:\Program Files\Microsoft Games\Freelancer\data\MISSIONS\M01A\m01a.ini'
At this point I am even more thoroughly confused, so I rechecked the starting ship part of the script and the m01a.ini file. Both look fine. I even tried deleting the part of the script for the ship change, and rewrote it. That didn't help. So I went back, copied and pasted the script from the tutorial, and changed the necessary ship and equipment references. And it's still doing the same thing.
So, at this point, I'm absolutely lost, and at my wits' end. And for the life of me, I can't remember what it was I was doing right after the last time it worked. I have a feeling I put some new light definitions into the script, and swapped three of the running lights for those. But I remember trying it after changing all of that back, too, and it didn't help. I'm pretty sure when I did that I got the error relating to the tractor (which I can only assume was because I didn't have the SDK installed). Furthermore, I can't remember if I had the SDK installed when it was working. I think it was, but I'm not 100%
Well, sorry about the long post, although hopefully someone will have some ideas as to what might be causing the problem and what I might try to remedy it. Any help would be much appreciated.