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

Adding a shipdealer to Norfolk Shipyard

The general place to discuss MOD''ing Freelancer!

Post Sun Jul 06, 2003 5:46 pm

Adding a shipdealer to Norfolk Shipyard

I'm trying to make Norfolk shipyard sell Battleships (Already got The Osiris/Liberty Cruiser/Liberty Dreadnought on manhatten so i just have to move them) It seems kind of tricky. I was surprised when i opened the li01_07_base.ini because it only contained Deck and Bar, yet by defauly norfolk shipyard has a Deck, Equipment dealer, bar and commodity dealer. I think this is why I cant add a ship dealer. Its very strange, anyone know where its getting its info from? thanks.

Post Sun Jul 06, 2003 6:10 pm

On many bases. all the rooms except the bar, are located at the deck. In the xxxxx_base.ini file, you'll see a line including a "virtual room" in it; that is where the equip dealer, trader and/or shipdealer are located; that's why there are not always separate files for those.

Post Sun Jul 06, 2003 6:18 pm

Where, the xxx_base.ini file? I'm guessing that would be Li01_base.ini for New York, but I cant find this file...

Post Sun Jul 06, 2003 7:08 pm

Norfolk is:

DATA\UNIVERSE\SYSTEMS\LI01\BASES\ROOMS\li01_07_deck.ini
DATA\UNIVERSE\SYSTEMS\LI01\BASES\ROOMS\li01_07_bar.ini

Then, go take a look in the tutorial forum, there's a thread there on adding shipdealers to bases that don't have them.

Edited by - Victor on 06-07-2003 20:08:42

Post Sun Jul 06, 2003 7:16 pm

Thanks, I've got it! Got my battleships buyable from the shipyard

Post Sun Jul 06, 2003 7:18 pm

Just too late Glad you got ot working now.

I meant the Norton base file, li01_07_base.ini. But I was wrong; you should look in the xx_xx_deck.ini file, in this case li01_07_deck.ini. There you see, e.g., the commodity dealer:

[Hotspot
name = IDS_HOTSPOT_COMMODITYTRADER_ROOM
behavior = VirtualRoom
<-------------------------------------the VirtualRoom line
room_switch = Trader

Shipdealers are done the same way. A few tags lower in the same file, comes how this virtualroom is setup:

[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



Now, search for a base wich does have a shipdealer in a virtualroom and paste-and-copy it to li01_07_deck.ini.


Edited by - hans olo on 06-07-2003 20:19:54

Post Mon Jul 07, 2003 12:54 am

He got it already

I think you're just mad that I beat you to it

Post Mon Jul 07, 2003 3:20 pm

Hehe,

Well, I saw you were first after I posted it, and added the first line after that

Return to Freelancer General Editing Forum