Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

Error in Mod Script

The general place to discuss MOD''ing Freelancer!

Post Mon Jan 24, 2005 2:34 pm

Error in Mod Script

I created a script for the FLMM.

Now, every time I want to activate the mod, this error message is displayed in the log:

-------------------------------------------------

Error: FLMM has determined that 'engine_without_volume' won't properly activate.
Error: Unable to find dest 'volume = 400.000000'(...) in 'C:\Programme\Microsoft Games\Freelancer\DATA\EQUIPMENT\engine_equip.ini'

--------------------------------------------------

Now, my script looks like this:

--------------------------------------------------

<data file="DATA\EQUIPMENT\engine_equip.ini" method="sectionreplace">
<section>
[Engine
nickname = ge_kg_engine_01
</section>
<dest>
volume = 400.000000
</dest>
<source>
volume = 0
</source>
</data>

<data file="DATA\EQUIPMENT\engine_equip.ini" method="sectionreplace">
<section>
[Engine
nickname = ge_rg_engine_01
</section>
<dest>
volume = 400.000000
mass = 10
max_force = 360000
linear_drag = 3000
reverse_fraction = 0.100000
flame_effect = gf_rh_largeengine01
</dest>
<source>
volume = 0
mass = 10
max_force = 360000
linear_drag = 3000
reverse_fraction = 0.100000
flame_effect = gf_rh_largeengine01
trail_effect = gf_rh_smallengine02_trail
trail_effect_player = gf_rh_smallengine02_playtrail
</source>
</data>

-----------------------------------------------------------

I can't help. The entry is definitely there, i looked it up. Where's the problem?

Please help me, I have to get this mod finished quickly!

Post Mon Jan 24, 2005 3:00 pm

hehe - here is the issue with scripting.

did you copy from the file and paste it into the script? if you did, go to the end of the line (so after the last character in each line of what your 'searching' for to replace......(your source) then hit the delete button (not backspace) until the line below is pulled up ONTO the same line, and the point of your cursor (so about to be deleted if you hit del again). Now hit enter.

Repeat this for each line of code, because 'invisible spaces' behind the 'end of the line' can cause this issue....as well as if your text isn't a spot on copy of whats in the file.

Post Tue Jan 25, 2005 12:27 pm

Well, it was a simple mistake.

I had copied the script and left the original version in the mod folder. So when the second script whith exactly the same "dest" was activated, of course it couldn't find the lines.

I deleted the original version and everything works fine now.

Return to Freelancer General Editing Forum