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

Commodities Dealer Planet Toledo?

The general place to discuss MOD''ing Freelancer!

Post Thu Sep 22, 2005 5:55 am

Commodities Dealer Planet Toledo?

I would like to add a Commodities Dealer to Planet Toledo. I do not know how to and was wondering if someone could tell me where I might find Info on this, and or tell me how it is done.

Thanks in advance

Post Thu Sep 22, 2005 6:11 am

uhmm, you could just use Freelancer Explorer for that,

if you want to do it manually..
how much modder exp do you have? i shall assume you have none

get bini and get freelancer misc database,

look up the system nickname you are looking for and then the base nickname youre looking for. Go into the base file and decode it. Open it up and find the lines with Bar and Cityscape, Shipdealer etc,

Look in a difrent file for what you need for commod dealer. then copy and paste it into base file,

then you need to make a commodity thing file,

uhmm then you will need to add it to market_misc?

ill write it up in more derail when im back.

Post Thu Sep 22, 2005 1:00 pm

Flybyu ,This is one of the tricky dealers to add as this requires several files to be editted. Toledo or St01_01_base has 5 rooms one of which is already setup for a com.trader, this is another of DA's rush jobs to get the game out.

On to the editting first up open St01_01_bar.ini and add this between the bar and equipment HOTSPOT's:-

[Hotspot
name = IDS_HOTSPOT_COMMODITYTRADER_ROOM
behavior = ExitDoor
room_switch = Trader

Add it to the same spot in these as well.
St01_01_equip.ini
St01_01_planetscape.ini
St01_01_shipdealer.ini

Now open St01_01_lab.ini , this is you traders room ,right at the bottom you'll see this:-

room_switch = Planetscape
set_virtual_room = ShipDealer

Change to "room_switch = ShipDealer" and delete the virtual_room line.
You now have a room for your trader to appear in, now to make the NPC appear.

Open the mBases.ini in the Missions folder and scroll down to St01_01_base , copy and paste the ship dealer entry above the weapondealers so you have 2 ship dealers then the weapondealer.Now change the nickname on the 2nd.shipdealer to "st0101_fix_trader".you should now have a bartender,ship,trader and weaponsdealer.
Down to the MRoom part and add this between the shipdealer and equipment MRoom's:-

[MRoom
nickname = trader
character_density = 2
fixture = st0101_fix_trader, Zs/NPC/Trader/01/A/Stand, scripts\vendors\li_commtrader_fidget.thn, trader

As for stuff to buy and sell open the market_commodities.ini in the Equipment folder and select a base entry that you like the look of and copy and paste it to the bottom of the file. Then change the "base =" to :-

base = St01_01_base

Any problems with it let me know as i've written this without actually coding it, It should work but just in case

PS. don't forget to add the closing squre brackets.

PPS. got you message btw , ATM I can't get out of Liberty space with the OSP mod and until I get my monitor fixed I can't do any serious editting to fix it, as soon as I'm up and running again you'll be the first to know.

Rebalance 3.5 Dev. Team
rebalance.blue-ion.net

Post Thu Sep 22, 2005 4:00 pm

I am having a little problem. The Commodities Icon shows up you click on it, and it takes you to the lab. Now the little problem is there is no one in there. Trader Icon does not drop down. So I am unable to buy or sell. Do you know what might be causing this?

Post Thu Sep 22, 2005 5:54 pm

My bad, sorry, I should learn to double check with the thn's first before using a room . Trent's the only character that will appear in that room , plan A doesn't work so onto plan B.

In the planetscape ini change the trader's behavior from "Exitdoor" to "VirtualRoom" and add this to the bottom of the file:-

[Hotspot
name = IDS_DEALER_FRONT_DESK
behavior = FrontDesk
state_read = 1
state_send = 2
virtual_room = Trader

[Hotspot
name = IDS_HOTSPOT_COMMODITYTRADER
behavior = StartDealer
state_read = 2
state_send = 1
virtual_room = Trader

You can forget the lab ini as its no use, in the other three change the com.traders HOTSPOT's to this:-

[Hotspot
name = IDS_HOTSPOT_COMMODITYTRADER_ROOM
behavior = ExitDoor
room_switch = Planetscape
set_virtual_room = Trader

Doing this to the bar,equip & shipdealers gives you a com.trader point on the landing pad outside (right beside a large pile of commodities).

one last edit and thats the mBases ini,delete the trader MRoom entry and change the planetscape MRoom to this:-

[MRoom
nickname = Planetscape
character_density = 3
fixture = st0101_fix_trader, Zs/NPC/Trader/01/A/Stand, scripts\vendors\li_commtrader_fidget.thn, trader

This will place your com.trader outside freezing his nuts off while everybody else is nice and warm inside.



Rebalance 3.5 Dev. Team
rebalance.blue-ion.net

Post Fri Sep 23, 2005 1:22 pm

OK thanks that worked. You have to click on the Commodities Icon and then on the Dealer. If you click on the Dealer outside it sends you inside to the Equipment room with no Dealer in it. I double checked everything and it is All Good.

Post Fri Sep 23, 2005 1:32 pm

hi
i want to do something simelar
i'm making a mod and i'm doing it 1 system at a time
make the system playtest it move on to the next
but now i have many bases that dont have a shipdealer on them
(some only have bar & news

so at some bases i want to add a shipdealer
& at others i want just add missions and repair

i tried it on a base that has a deck, a bar
launch pad,bar, missions, equipement, trader, repair

how do i ad shipdealer

Edited by - Resender on 9/23/2005 2:33:59 PM

Post Fri Sep 23, 2005 2:52 pm

@ Flybyu , WTF! When you said the trader didn't show in the lab I editted the base in my test mod and everything I wrote in the second post works, click on the npc and the store opens,you can even click on him in planetscape view and it goes straight to him and opens the market window. Zip up the mBase.ini and toledo's base and room ini's and mail them to me and I'll see what I can do. Address is in the header of this post.

Rebalance 3.5 Dev. Team
rebalance.blue-ion.net

Post Fri Sep 23, 2005 3:16 pm

OK It's on it's way.

Return to Freelancer General Editing Forum