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

need help adding shipdealers

The general place to discuss MOD''ing Freelancer!

Post Fri Jun 06, 2003 4:03 pm

need help adding shipdealers

Does anyone know how to add shipdealers to stations that don't have them? For example I am trying to add one to Newark station(Li01_08_base), I know that changing the ships sold at bases already having ship dealers would be easier, but I'm trying to get someingthing more factionally realistic. I have edited the Li01_08_base.ini file by adding the following code:

[Room
nickname = ShipDealer
file = Universe\Systems\Li01\Bases\Rooms\Li01_08_shipdealer.ini

and created Li01_08_shipdealer.ini in the \Rooms directory, its code being:
[Room_Info
set_script = Scripts\Bases\li_06_Deck_hardpoint_01.thn
scene = all, ambient, Scripts\Bases\li_06_Deck_ambi_int_01.thn
animation = Sc_loop

[Spiels
CommodityDealer = manhattan_commodity_spiel
EquipmentDealer = manhattan_equipment_spiel

[Room_Sound
ambient = ambience_deck_space_smaller

[PlayerShipPlacement
name = X/Shipcentre/01

[Camera
name = Camera_0

[Hotspot
name = IDS_HOTSPOT_DECK
behavior = ExitDoor
room_switch = Deck

[Hotspot
name = IDS_HOTSPOT_BAR
behavior = ExitDoor
room_switch = Bar

[Hotspot
name = IDS_HOTSPOT_COMMODITYTRADER_ROOM
behavior = VirtualRoom
room_switch = Trader

[Hotspot
name = IDS_HOTSPOT_EQUIPMENTDEALER_ROOM
behavior = VirtualRoom
room_switch = Equipment

[Hotspot
name = IDS_HOTSPOT_SHIPDEALER_ROOM
behavior = VirtualRoom
room_switch = ShipDealer

[Hotspot
name = IDS_NN_REPAIR_YOUR_SHIP
behavior = Repair
virtual_room = Deck

[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

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

[Hotspot
name = IDS_HOTSPOT_EQUIPMENTDEALER
behavior = StartEquipDealer
state_read = 2
state_send = 1
virtual_room = Equipment

[Hotspot
name = IDS_EQUIPMENT_ROOM_RIGHT
behavior = MoveRight
state_read = 2
state_send = 1
virtual_room = Equipment

[Hotspot
name = IDS_NN_REPAIR_YOUR_SHIP
behavior = Repair
virtual_room = Equipment

[FlashlightSet
icolor = 0, 155, 255
scale = 0.250000
gap = 0.000000
blink = 0.000000
endpause = 0.000000
hardpoint = HpLightA01
hardpoint = HpLightA02
hardpoint = HpLightA03
hardpoint = HpLightA04
hardpoint = HpLightA05
hardpoint = HpLightA06
hardpoint = HpLightA07
hardpoint = HpLightA08
hardpoint = HpLightA09
hardpoint = HpLightA10
hardpoint = HpLightA11
hardpoint = HpLightA12
hardpoint = HpLightA13
hardpoint = HpLightA14
hardpoint = HpLightA15
hardpoint = HpLightA16
hardpoint = HpLightA17
hardpoint = HpLightA18
hardpoint = HpLightA19
hardpoint = HpLightA20
hardpoint = HpLightA21
hardpoint = HpLightA22
hardpoint = HpLightA23
hardpoint = HpLightA24
hardpoint = HpLightA25
hardpoint = HpLightA26
hardpoint = HpLightA27
hardpoint = HpLightA28
hardpoint = HpLightB21
hardpoint = HpLightB22
hardpoint = HpLightB23
hardpoint = HpLightB24
hardpoint = HpLightB25
hardpoint = HpLightB26

[FlashlightSet
icolor = 255, 255, 55
scale = 0.250000
gap = 0.000000
blink = 0.050000
endpause = 0.000000
numlights = 26
hardpoint = HpLightB01
hardpoint = HpLightB02
hardpoint = HpLightB03
hardpoint = HpLightB04
hardpoint = HpLightB05
hardpoint = HpLightB06
hardpoint = HpLightB07
hardpoint = HpLightB08
hardpoint = HpLightB09
hardpoint = HpLightB10
hardpoint = HpLightB11
hardpoint = HpLightB12
hardpoint = HpLightB13
hardpoint = HpLightB14
hardpoint = HpLightB15
hardpoint = HpLightB16
hardpoint = HpLightB17
hardpoint = HpLightB18
hardpoint = HpLightB19
hardpoint = HpLightB20

I have modified the starting room for this station (in this case the Deck) to add the Hotspot for the shipdealer yet there is no dealer when I land there. If anyone could help me out I'd appreciate it.

Post Fri Jun 06, 2003 4:15 pm

i feel ur pain, ive been trying to do the same thing for my teams mod i think ive got it sused but im gonna have 2 spend a bit more time working on it, if i get it right il tell ya.

Dan - Lead Developer
The New Order Mod
From Osiris' Elite Guard

Post Fri Jun 06, 2003 8:27 pm

Thanks Dan, I also wanted to mention I added the base to the marketships.ini file. Just to ward off any messages about that.

Post Fri Jun 06, 2003 11:22 pm

I got it, I just have to clean up some of the buttons. Right now after you visit the ship dealer, an icon to buy ships appears under the commodity and equipment dealer. This can be cleared up by going back to the launch deck then back to the equipment dealer but I will fix this up and post it either here or the tutorials.

Post Sat Jun 07, 2003 1:30 am

I have done the same thing in my mod. You have to add the HotKeys to the shipdealer in each room for the base.

Return to Freelancer General Editing Forum