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

replace line

The general place to discuss MOD''ing Freelancer!

Post Sat Nov 19, 2005 1:43 pm

replace line

What should put in my FLMM script XML file to replace a line in weapon_equip.ini.
I thought it would be something like this but it wasnt:

<data file="data\equipment\weapon_equip.ini" method="linereplace">
<line>
[<Section name>
nickname = <nickname>
</line>
<source>
[<New section name>
nickname = <existing nickname>
</source>
</data>

how do i change the section name? without using filereplace.

Post Sat Nov 19, 2005 4:14 pm

It's -

<data file="data\characters\costumes.ini" method="sectionreplace">
<section>
[Costume
nickname = trent
</section>
<dest>
body = pl_trent_body
</dest>
<source>
body = pi_orillion_body
</source>
</data>
------------------------------------

<data file="data\missions\m05\npcships.ini" method="sectionreplace">
<section>
[NPCShipArch
nickname = MSN05_Juni
</section>
<dest>
ship_archetype = li_elite2
</dest>
<source>
ship_archetype = tie_droid
</source>
</data>

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

<data file="DATA\EQUIPMENT\weapon_equip.ini" method="append">
<source>

[Munition
nickname =
and so forth......what ever wep your changing

</source>
</data>
</script>

Edited by - Finalday on 11/19/2005 4:28:48 PM

Return to Freelancer General Editing Forum