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

Npcs to give out base locations

The general place to discuss MOD''ing Freelancer!

Post Thu Aug 05, 2004 4:17 pm

Npcs to give out base locations

Hi everyone it's me again, got another question for anyone interested in answering, does any body know how to get the npcs to give out locations of bases, wrecks, and jump holes for a price, I would like to know as my mod is coming along nicely and hope to have it ready soon.

thanx in advance

Post Thu Aug 05, 2004 4:47 pm

In your mbases.ini each npc has rumors and/or knowledge and/or faction fixes to give out. Here's an example of a knowledge sale:

[GF_NPC
nickname = li0101_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 <--faction fix
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, 131196 <----rumor
rumor = base_0_rank, mission_end, 1, 131197
rumor = base_0_rank, mission_end, 1, 131198
know = 251760, 253608, 300, 1 <----here's knowledge
knowdb = li01_10 <----here is the base

Ok, the first # after 'know =' is '251760'. This is the ids name for Detroit munitions. The second number is from the knowledgemap.ini. This is entered into the save fl file so that Detroit munitions will always show on your nav map. The third # has to do with price and the last number, '1', I have no clue.
Hope this helped.



Edited by - kaegogi on 8/5/2004 5:49:30 PM

Post Thu Aug 05, 2004 8:17 pm

Thanx Kaegogi, will give it a go, just one more question I've been trolling the forums and although I've discovered some vague references to getting npc's to give out missions, I've seen nothing real solid, the job boards keep coming up "No missions available come back when your a more advanced pilot" and my pilot status is already at maximum, any help would be appreciated

Post Fri Aug 06, 2004 8:43 pm

Sorry, just got a chance to come back in and saw that you had asked that question. Without looking at your system ini and your mbase entry I really couldn't say why you're having that problem. (even then it might be beyond me)
If you want you can email me the files that pertain and I'll look but I can't promise anything.
My email's [email protected]. Please make sure to mention who its from and what it is in the subject line.

Post Mon Aug 09, 2004 10:14 am

That's close koegi, but not exactly.

know = 251760, 253608, 300, 1 <---- This line is the important one
knowdb = li01_10 <----This line is unnecessary

The first number (251760) refers to the actual text that is displayed when you click on the NPC. The 2nd number (253608) is a reference to the knoweldgemap.ini file. You HAVE to add the entry into your knowledgemap.ini file for this to work. The 3rd number is the price to get the knowledge. The last number is the amount of times you have to visit the NPC before he will offer this knowledge.

In your knowledgemap.ini file, you'll see an entry like this:

[KnowledgeMapTable
Map = 253608, li01_10, 31
Map = 253608, li01, 1

The first number (253608) number is a blank entry in the infocard.dll file. The next item is the base (or name of wreck or system or jump hole or whatever) that the NPC is giving the location for. It can even be the name of a faction to show on your faction list. The last number is what will be added to your save game file to let the game know that the item has been visited and will show up on the map. You can look at other items in the knowledgemap.ini file to see what appropriate number to use depending on what type of knowledge is being given out (location of jump hole, system, faction, wreck, etc). You can have multiple entries for the Map = lines and they will all be added to your neural net when you pay the NPC for the knowledge. So you could make a "map" available from an NPC that would reveal everything in Rheinland space for example.

If you want to make you own custom knowledge stuff, then you'll have to find an unused infocard number, then create a custom entry in the knowledgemap.ini file.

Post Mon Aug 09, 2004 4:34 pm

Cool. Thanks for the clarification. Do you know how the cost works and how the priority for whether the NPC will give out a rumor/mission/knowledge is determined. I already understand the method for determining how many missions are handed out but not what a NPC will give out.

If you want to make you own custom knowledge stuff, then you'll have to find an unused infocard number
When you're making a new entry in the knwledgemap you can't use a custom dll?
Thanks again.

Return to Freelancer General Editing Forum