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

Question...

The general place to discuss MOD''ing Freelancer!

Post Sat May 29, 2004 8:07 pm

Question...

I have tried to add new rumors to my bases in my systems, and I have made sure they are near identical to those in the game already, but ingame they have some wierd results... Please tell me what is wrong with the following lines if any..

This is an example rumor already in the game.
<?xml version="1.0" encoding="UTF-16"?><RDL><PUSH/><TEXT>We run supply shipments of Side Arms to Nome, our base in Kepler. If you have some extra cargo space, maybe you could earn a few credits. </TEXT><PARA/><POP/></RDL>

This is my rumor:
<?xml version="1.0" encoding="UTF-16"?><RDL><PUSH/><TEXT>I was on patrol of the Shuyak Cloud last week. That Shuyak and it's Protostar is simply amazing... The birthing of a star in one of Liberty's home systems offers scientists in Liberty a great oppertunity to learn about one of the mysteries of space.</TEXT><PARA/><POP/></RDL>

Other then the text they look COMPLETLY Identical, (unless im missing something obvious) but ingame instead of saying
"I was on patrol of the Shuyak.... blah blah" ingame, when I talk to the person in the bar it says:
"xml version="1.0" encoding="UTF-16"?>"?><RDL><PUSH/><TEXT>I was on patrol..."

I do not see any difference with the example and my rumor, yet its not working right... any ideas why it is doing this?

Post Sat May 29, 2004 8:09 pm

ok well theres a space after the period and the </TEXT> in mine, but not in the example... I dont think this would cause it but what the hell, let me change it and see if I get any results.


EDIT: Ok thats not it, some of other rumors that are doing the same thing and they dont have that space...

Edited by - shadow51689 on 5/29/2004 9:10:30 PM

Post Sat May 29, 2004 8:47 pm

If you'tre putting this in a dll you don't need all the xml. Just type it in like so:

aI was on patrol....

Just stick something in before the "I" because the first space will get cut off (thus why you're ending up with ?xml.....> )

Post Sat May 29, 2004 9:05 pm

I knew that.

Im a total n00b

Post Sat May 29, 2004 10:10 pm

Thank you again kaegogi, you have been really the only one to help me on these forums.

Post Sat May 29, 2004 10:16 pm

You're welcome. Glad to help.
Side note: did you ever figure out that base list thing? Now that I've got my mod out I've got the same problem. No listings for my commodities.

Post Sun May 30, 2004 12:25 am

One thing: if you type out the rumours in plain text, leave a nonsense character at the beginning. For some reason, FL eats the first character of rumours you do yourself. Dunno why

Post Sun May 30, 2004 1:48 am


Side note: did you ever figure out that base list thing? Now that I've got my mod out I've got the same problem. No listings for my commodities.


Hey, i have that problem too... (although now I read again what your saying, I am not sure of it's the same thing: My cystom bases won't show up in the listing that each commodity has.)

Haven't looked into that actually, but I thought the reasons could be:

a) I haven't follwed the orginal FL naming convention and have called all my bases like Nl01_Rotterdam_Base instead of Nl01_11_Base

b) It's a problem similar to the custom faction names (not) showing in mssions and bribes (the thing that Chips discovered; there are separate entries for the names to show up) although in that case you would probably see the prices listed at nameless bases.


But if you have that problem too, and did stick to the original naming convention, then I'll wait with renaming all my bases. (Because if that'snot the cause, it'll be a lot of work without any use, and besides, I like my own naming system )

Post Sun May 30, 2004 2:50 am

Hmm, if they are entered correctly in the files, and the bases entries in stuff like market_misc are put into other positions (following the order as set out alphabetically be the files itself) then it works (as in, I USED to have that problem, but fixed it).

Move the base entires to be ABOVE the system entries in the universe.ini file as well - preferably put them in order with the originals. This might not fix it(really cannot remember anymore), but it will remove the errors from the loadup of FLServer console!

Then move base entries in the files about, erm - dam - really cannot remember what i did now - wasn't paying attention Bah - can't remember - just put entries in order in files like they are already (including market_commodities.ini market_ships.ini etc and universe.ini) and hope for a bit

Post Sun May 30, 2004 4:08 am

Thnaks for the tips!

The first ini-files I ever studied were the Systems' files. And I was surprised that it didn't seem to matter in what order the entries were (or at least, so it seemed to me). And I adapted to that idea, and apparently it never came to mind that order dwould matter in other files.

In Universe.ini I did, as you suggest, put my custom Bases right below their custom System files, making a such a group for each system, separated with a double break. And indeed, I wondered where all those "could not load base"-errors were coming from. So, I have to restructure the Universe.ini file. Same goes for market_commodities.ini. But I think it'll be less work than renaming all bases.

You have a great sensitivity for underlying orders, Chips! I seem to have numbed mine.

EDIT: Btw, now that we're on the subject of 'putting things in order': do you know of any argument *against* giving planets, stations, end equipment (commods etc.) the sane number for ids_name and ids_info? It is possible to do that, but maybe it has already been proven not to be the smart thing to do...


Edited by - moonhead on 5/30/2004 8:39:15 AM

Post Sun May 30, 2004 7:44 am

@Chips: I tried the base entries above system entries and in order thing because you suggested that when I had this prob originally. I haven't tried the market_commods entries in order though, I'll give that a shot. Thanks.

Post Mon May 31, 2004 6:24 pm

I tried putting them in order, and I cant belive it, but it works!

I have the bases in my commodities list now, thanks chips!

Post Mon May 31, 2004 6:25 pm

Ok... Yet another question lol,

Wrecks. Where can I set wreck archetypes and/or edit a wreck's equipment and cargo?

Post Mon May 31, 2004 8:13 pm

Depends what type of wreck. The archetype is in the solararch in your Solar folder. For ships the loadout is in loadouts in your ships folder. For anything else the loadout is right there in the loadouts in your Solar folder. I know you know where to set up a radiation/interference zone but for any one else that might read this and wonder that's in the system .ini (ie Li01.ini)

Edit = If you're looking for examples in those ini's use the find tool to search for "surprise" or "SECRET". I can't remember which file has which but between the two of them you can find the examples pretty easy.

Edited by - kaegogi on 5/31/2004 9:15:46 PM

Post Mon May 31, 2004 8:44 pm

LOL I searched almost every other file except the ones in solars. I didnt even think it would be in there.

I was atalking about their actual loadout, what they are carrying, not the loadout thing in the system ini.
EDIT: What I mean is how can I create, say, a wreck carrying a specific weapon, one thats not already on a wreck

Edited by - shadow51689 on 5/31/2004 9:49:19 PM

Return to Freelancer General Editing Forum