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 extra ship rooms to a base

The general place to discuss MOD''ing Freelancer!

Post Fri Apr 01, 2005 6:58 am

Adding extra ship rooms to a base

Just done a search and couldn`t find the info on this one. Not sure if its even possible, but here is where i`ve got to..
Added this to Li01_08 (its been changed to have ships before)
[BaseInfo
nickname = Li01_08_Base
start_room = Deck

[Room
nickname = Bar
file = Universe\Systems\Li01\Bases\Rooms\Li01_08_Bar.ini

[Room
nickname = Deck
file = Universe\Systems\Li01\Bases\Rooms\Li01_08_Deck.ini

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

[Room
nickname = ShipDealer2<-----------These room has been added
file = Universe\Systems\Li01\Bases\Rooms\Li01_08_ShipDealer2.ini

[Room
nickname = ShipDealer3<-----------These room has been added
file = Universe\Systems\Li01\Bases\Rooms\Li01_08_ShipDealer3.ini

Then in the actual Shiproom(1)
...(i`ll save some space here), added
[Hotspot
name = IDS_HOTSPOT_SHIPDEALER2_ROOM
room_switch = ExitDoor
set_virtual_room = ShipDealer2

[Hotspot
name = IDS_HOTSPOT_SHIPDEALER3_ROOM
room_switch = ExitDoor
set_virtual_room = ShipDealer3

[Hotspot
name = IDS_HOTSPOT_SHIPDEALER2
behavior = StartShipDealer
state_read = 2
state_send = 1

[Hotspot
name = IDS_HOTSPOT_SHIPDEALER3
behavior = StartShipDealer
state_read = 2
state_send = 1
All of the rooms have a target and can return to the ship room corridor.
Then in \DATA\INTERFACE\BASESIDE\navbar.ini
IDS_HOTSPOT_SHIPDEALER = interface\baseside\salesman.3db
IDS_HOTSPOT_SHIPDEALER2 = interface\baseside\salesman.3db<--added
IDS_HOTSPOT_SHIPDEALER3 = interface\baseside\salesman.3db<--added
ShipDealer = Interface\Baseside\ship_dealer.3db
ShipDealer2 = Interface\Baseside\ship_dealer.3db<--added
ShipDealer3 = Interface\Baseside\ship_dealer.3db<--added
So, I end up with the deck as normal, then if u go into ship, you get 3 rooms rather than 1. But each of them has the same ships.
I think the problem is,
[Hotspot
name = IDS_HOTSPOT_SHIPDEALER
behavior = StartShipDealer<--------- need to add extra entries for the other 2
state_read = 2
state_send = 1
Anybody know where these are located? I tried reshacking the exe and a few Dll`s looking for StartShipDealer but it didn`t come up.
If anybody has any input, it wud b helpfull..

Post Fri Apr 01, 2005 10:39 am

I'm pretty sure thats a thn file thing...

Post Fri Apr 01, 2005 11:14 am

This has been looked at several times before. Basically, no matter what you do, the files will still need to look to the same shipdealer files in the equipment directory (market_ships.ini) for information about what ships to sell. However, all Freelancer does each time is read the first three ships off the base and uses them, so each room you go into, will only read those three same ships, no matter how many ships you add.

Two ideas that might get around but the exact coding will need to be researched:

1) You could try and set up a virtual market type that is basically a second shipdealer. I would have no idea though beyond the Freelancer.ini file, which other files you would need to alter to do this, if it can be done at all.

2) Some people have looked into setting up a virtual second base on a planet, where a mission or a icon takes you to that second base with the other equipment / commodity / ship dealers in. That way you could set up the ship dealer for the second three ships on the other virtual base. However, I think the only joy gained so far with this track of thought is the ability to do it as part of a story based mission in Single player and it will not work in Multi-player (I can't remember how far they actually got with it).

Freeworlds Mod Developer
Author of Modular Station

'There is no Good nor Evil in the universe, just perceptions and circumstances.'

Return to Freelancer General Editing Forum