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 rooms to excisting bases

The general place to discuss MOD''ing Freelancer!

Post Fri Sep 23, 2005 9:19 am

adding rooms to excisting bases

i busy on a mod
& i got many bases which don't have a shipdealer
how can i do this without changin the entire base structure

thus via the INI

Post Fri Sep 23, 2005 9:36 am

See how this was done for the XML Toolkit Mod, 1.2. I added ShipDealers, custom THNs / Rooms, and other features, allowing every single Base in the House Systems to have a ShipDealer, including female ShipDealers. The mod includes instructions on how to do this per Base.

But... basically... yes, you have to do this the hard way. It was an enormous amount of work getting it done for the House Systems, and I did it for every other System in 1.3... very, very tough work, lemme tell you...

Post Fri Sep 23, 2005 10:42 am

But, the good news is that once you have created the base with the shipdealer, you can use that template in FLE to create other bases. So you don't have to do it manually all of the time.

Post Fri Sep 23, 2005 12:33 pm

ive done something wrong i think

http://img207.imageshack.us/my.php?image=screen54gl.jpg
http://img207.imageshack.us/my.php?image=screen61lv.jpg
http://img207.imageshack.us/my.php?image=screen74rn.jpg
http://img207.imageshack.us/my.php?image=screen88dx.jpg

the ini's
---------

[Room_Info
set_script = Scripts\Bases\li_07_bar_hardpoint_01.thn
animation = Sc_loop
scene = all, ambient, Scripts\Bases\li_07_bar_ambi_int_01.thn

[Room_Sound
music = music_bar_generic06
ambient = ambience_bar_space

[Camera
name = Camera_0

[CharacterPlacement
name = Zg/PC/Player/01/A/Stand
start_script = Scripts\Bases\li_07_bar_enter_01.thn

[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 = ExitDoor
room_switch = Deck
set_virtual_room = Trader

[Hotspot
name = IDS_HOTSPOT_EQUIPMENTDEALER_ROOM
behavior = ExitDoor
room_switch = Deck
set_virtual_room = Equipment

[Hotspot
name = IDS_HOTSPOT_SHIPDEALER_ROOM
behavior = ExitDoor
room_switch = Deck
set_virtual_room = ShipDealer

[Hotspot
name = IDS_HOTSPOT_NEWSVENDOR
behavior = NewsVendor

[Hotspot
name = IDS_HOTSPOT_MISSIONVENDOR
behavior = MissionVendor
-------------------------------------------------------------------------------------------------
[Room_Info
scene = all, ambient, Scripts\Bases\li_07_Deck_ambi_int_01.thn
set_script = Scripts\Bases\Li_07_Deck_hardpoint_01.thn
animation = Sc_loop

[Spiels
CommodityDealer = manhattan_commodity_spiel
EquipmentDealer = manhattan_equipment_spiel

[Room_Sound
ambient = ambience_deck_space_larger

[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_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

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

[Hotspot
name = IDS_HOTSPOT_SHIPDEALER
behavior = StartShipDealer
state_read = 2

state_send = 1
virtual_room = ShipDealer

[Hotspot
name = IDS_NN_REPAIR_YOUR_SHIP
behavior = Repair
virtual_room = ShipDealer

i forgot to add the new npc in the mBases .ini
but i don't think i have fully understood what needs to be done



Edited by - Resender on 9/23/2005 1:37:17 PM

Edited by - Resender on 9/23/2005 2:38:27 PM

Post Fri Sep 23, 2005 3:42 pm

Your not kidding

First up there are only 2 room types you can add 3 virtual dealers to and get them to appear, they are battleship decks and planetscapes, most other decks only take 2 dealers.

Okay now for a base.ini

[BaseInfo
nickname = Li01_06_Base
start_room = Deck

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

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

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

This is how it should look if you add a shipdealer to a station, planets with a cityscape can have 5 rooms where as battleships and planetscape usually have 2 (unless they have a special for a mission cgi).
I see your using Liberty rooms so we'll stick with a Liberty shipdealer, copy Li01_12_Shipdealer.ini to your systems room folder and rename it to suit.Now in your bar change the shipdealer hotspot to this:-

[Hotspot
name = IDS_HOTSPOT_SHIPDEALER_ROOM
behavior = ExitDoor
room_switch = ShipDealer

delete the virtual_room line, open your deck.ini and add the above hotspot after the equipment dealers hotspot,now delete the last 3 hotspot ( the shipdealer desks in you post).If you've done as instructed you should now have a shipdealers room (minus an NPC).

I'll leave you to add the dealer to the mBases.ini.

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

Return to Freelancer General Editing Forum