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

Rumor shows xml code instead of rumor

The general place to discuss MOD''ing Freelancer!

Post Fri Jun 15, 2007 2:09 pm

Rumor shows xml code instead of rumor

Title says it all. Pictues and code below.

Picture:

IDS Code:
<?xml version="1.0" encoding="UTF-16"?><RDL><PUSH/><TEXT>The new guns you see on this base were designed by us. There are no better guns out there, well execpt for the Hyper Gun series. </TEXT><PARA/><TEXT> </TEXT><PARA/><POP/></RDL>

Code:
[GF_NPC
nickname = LI0601_ageira_001_f
body = sc_female1_body
head = br_karina_head_gen
lefthand = benchmark_female_hand_left
righthand = benchmark_female_hand_right
individual_name = 220001
affiliation = co_vr_grp
voice = rvp501
room = bar
bribe = li_p_grp, 10000, 16100
bribe = co_hsp_grp, 10000, 16100
bribe = co_me_grp, 10000, 16100
bribe = co_ss_grp, 10000, 16100
bribe = co_vr_grp, 10000, 16101
rumor = base_0_rank, mission_end, 1, 134400
rumor = base_0_rank, mission_end, 1, 134401
rumor = base_0_rank, mission_end, 1, 134402

Thanks in advance.

Post Fri Jun 15, 2007 5:59 pm

Looks like the info is not entered correctly in the DLL. I cannot remember right off hand the correct way of doing it, but I will look for your solution.

Requiem: A Total FL Conversion Mod .

Post Fri Jun 15, 2007 6:05 pm

I think Rumors are IDS Names, not IDS Infos. Therefore, they do not handle XML. Tha'ts from memory, though, might be wrong.

Post Fri Jun 15, 2007 6:32 pm

I used to have this problem. IDS' don't handle .xml script, so it depends on how your inputing it. If your using an IDS number off of a .dll file, then just open that up and only put the text without the .xml scripts. If you're using the generation code, then you need to double check what's in the text area.

Post Fri Jun 15, 2007 7:07 pm

Ya getting rid of the xml coding fixed it. But it caused an new problem. The first letter of the rumor is missing. Easy enough to fix but annoying. Thanks

Post Fri Jun 15, 2007 9:07 pm

Yes, Rumors ARE IDS_names. You can check this by looking through the recources.dll

Post Sat Jun 16, 2007 3:16 am

Rumors are XML infocards and not strings like the rest of you think, this is the code from 134000 in the MiscText.dll.
<pre><font size=1 face=Courier>
<?xml version="1.0" encoding="UTF-16"?><RDL><PUSH/><TEXT>Kishiro brings this base Optronics from Honshu.
While we are here, we purchase Basic and High-Temperature Alloys plus Cobalt to return to Honshu with. </TEXT><PARA/><TEXT> </TEXT><PARA/><POP/></RDL>
</font></pre>

@ 5i1 2, there's nothing wrong with your xml so it must be how or where it's been added.

**shuffles off with a new headache**

Edited by - Bejaymac on 6/16/2007 4:17:15 AM

Post Sat Jun 16, 2007 7:16 am

The problem is is that with IDS Info, sometimes Freelancer deletes the first character. This is confirmed by the picture; you can see that the first "<" is missing, and when this happens, it doesn't correctly read the XML code and so displays it. Two ways of fixing this problem are moving it to IDS Name (you can keep the XML code, Benjay, while putting it in the IDS Name spot; I think this is what everyone was talking about), or you can add a random character in front of the XML code, "?" for example. Nevertheless, you worked it out, so this is just useful information.

MK

Post Sat Jun 16, 2007 8:19 pm

Yes, but if you use like FLIDS, you would just enter the text you want and it creates the xml. Look slike the xml was entered here and this will prodice the above affect.

Requiem: A Total FL Conversion Mod .

Post Wed Jul 04, 2007 3:51 pm

I wrote my rumors using xml and as ids_info things. As mknote said, to solve the problem, just add a single "<" at the very beginning of your script, like that:
<<?xml version="1.0" encoding="UTF-16"?><RDL><PUSH/><TEXT>Kishiro brings this base Optronics from Honshu.
While we are here, we purchase Basic and High-Temperature Alloys plus Cobalt to return to Honshu with. </TEXT><PARA/><TEXT> </TEXT><PARA/><POP/></RDL>

Edited by - Nono on 7/4/2007 4:51:31 PM

Edited by - Nono on 7/4/2007 4:52:46 PM

Return to Freelancer General Editing Forum