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

**Tutorial** - Creating a new system

Here you find the different tutorials on editing and MODing Freelancer

Post Thu Mar 06, 2003 8:19 pm

**Tutorial** - Creating a new system

Don´t know if someone explained how to create a new system (if you have time maybe a new universe

First Thing: Im not a native english speaker. SO sorry for my bad english

Second: Create a System:

In DATA/UNIVERSE/SYSTEMS create a new Folder (i named mine DA01)
In that Folder create a new one named BASES and in that a folder named ROOMS.




Update :

Some general things at first:

Position: The Position of any Object and Zone etc is in X,Z,Y format
e.g.
pos = 80632, 0, 12299

Z=height position. its not relevant cause usually you just change X and Y

So X and Y are:


Y-
/
/
(X-)----------(X+)
/
/
Y+

Means: to the left its X-. You have to subtract the kilometers (or meter)
to get a object lower on map you have to subtract some meters (or kilometers) to Y

The position 0,0,0 is on the center of the map.

Rotation:

The most objects will have a rotation of 0, (anything),0
e.g.
rotate = 0, 45, 0

The middle number is Z again. It counts clockwise.
And Z = 0 is the direction "up" on the map
SO Z = 180 is ??? yes "down"


Some tips for editin the systems:
if your freelancer crashes when you enter a station:
Check if the room names are correct in your BASES/?.ini (happened to me)

If you end up in a endless jumptunnel:
Check in the universe.ini if your system is listed
Check if your jumpgate parameters are correct: goto = Li01, Li01_to_Da01, gate_tunnel_bretonia ; this is important. on both sides has to be the right parameters. Check some other inis to see how it works.






I mailed Mario "HCL" Brito a basic system and he put it up thx for that.
Read the readme.txt !!!!

http://www.lancersreactor.com/t/downloa ... asp?id=107



Going on in next post ...


Edited by - Chips on 10/31/2004 8:08:47 AM

Post Thu Mar 06, 2003 8:32 pm

Create in the SYSTEMS/DA01 a ini file (DA01.ini)

[SystemInfo
space_color = 0, 0, 0
local_faction = li_p_grp

[Dust
spacedust = Dust

[TexturePanels
file = universe\heavens\shapes.ini

[Music
space = music_li_space
danger = music_li_danger
battle = music_li_battle

[Ambient
color = 30, 50, 80

[Background
basic_stars = solar\starsphere\starsphere_stars_basic.cmp
complex_stars = solar\starsphere\starsphere_li01_stars.cmp
nebulae = solar\starsphere\starsphere_li01.cmp

[EncounterParameters
nickname = tradelane_trade_freighter
filename = missions\encounters\tradelane_trade_freighter.ini

[LightSource
nickname = System_LIGHT
pos = 642, 0, 198
color = 255, 255, 255
range = 120000
type = DIRECTIONAL
atten_curve = DYNAMIC_DIRECTION

[Object
nickname = DA01_to_LI01 ;i changed that (don´t know if its neccessary
ids_name = 061982
pos = -83176, 0, 44831
rotate = 0, -70, 0
Archetype = jumpgate
msg_id_prefix = gcs_refer_system_Li02
ids_info = 66145
jump_effect = jump_effect_bretonia
reputation = li_p_grp
behavior = NOTHING
difficulty_level = 1
goto = Li01, Li01_to_Da01, gate_tunnel_bretonia ;thats important (shows to which systems the jumpgate goes)
loadout = jumpgate_da_01
pilot = pilot_solar_easiest

[Object
nickname = Da01_01 ;change this in whatever you want
ids_name = 196774
pos = -83176, 0, 49831
rotate = 0, 45, 0
Archetype = outpost
ids_info = 65771
base = Da01_01_base
dock_with = Da01_01_base
voice = atc_leg_f01
space_costume = li_newscaster_head_gen, li_female_elite_body
reputation = li_n_grp
behavior = NOTHING
faction = li_n_grp
behavior = NOTHING
difficulty_level = 1
loadout = trading_outpost_li_01
pilot = pilot_solar_hardest



in that case there is one jumpgate and one station. The other things are from the New York system. Just copied them.



OK now to the Station:

In SYSTEMS/DA01/BASES create ini file (the name has to be nickname of the Station: see above) (in my case da01_01_base.ini)

[BaseInfo
nickname = Da01_01_Base
start_room = Cityscape

[Room
nickname = Cityscape
file = Universe\Systems\Da01\Bases\Rooms\Da01_01_cityscape.ini ;change this pathes to the one of your station

[Room
nickname = Bar
file = Universe\Systems\Da01\Bases\Rooms\Da01_01_bar.ini

[Room
nickname = Trader
file = Universe\Systems\Da01\Bases\Rooms\Da01_01_trader.ini

[Room
nickname = ShipDealer
file = Universe\Systems\Da01\Bases\Rooms\Da01_01_shipdealer.ini

[Room
nickname = Equipment
file = Universe\Systems\Da01\Bases\Rooms\Da01_01_equipment.ini


These are the Rooms on the Station (i copied these from Manhattan (i know a landscape don´t fits on a station )


And in Rooms create (or copy and rename them fron any station or planet in the original files) all the files that you list in your da01_01_base.ini

Example da01_01_bar.ini:

[Room_Info
set_script = Scripts\Bases\Li_01_Bar_hardpoint_01.thn
scene = all, ambient, Scripts\Bases\Li_01_Bar_ambi_int_01.thn

[Room_Sound
music = music_bar_li01
ambient = ambience_bar_ground_larger

[Camera
name = Camera_0

[CharacterPlacement
name = Zg/PC/Player/01/A/Stand
start_script = scripts\bases\Li_01_Bar_enter_01.thn

[Hotspot
name = IDS_HOTSPOT_EXIT
behavior = ExitDoor
room_switch = Cityscape

[Hotspot
name = IDS_HOTSPOT_BAR
behavior = ExitDoor
room_switch = Bar

[Hotspot
name = IDS_HOTSPOT_COMMODITYTRADER_ROOM
behavior = ExitDoor
room_switch = Trader

[Hotspot
name = IDS_HOTSPOT_EQUIPMENTDEALER_ROOM
behavior = ExitDoor
room_switch = Equipment

[Hotspot
name = IDS_HOTSPOT_SHIPDEALER_ROOM
behavior = ExitDoor
room_switch = ShipDealer

[Hotspot
name = IDS_HOTSPOT_NEWSVENDOR
behavior = NewsVendor

[Hotspot
name = IDS_HOTSPOT_MISSIONVENDOR
behavior = MissionVendor


I didn´t change anything. You can do if you want.

Going on in next reply...

Edited by - dawn on 13-03-2003 21:40:26

Post Thu Mar 06, 2003 8:47 pm

Now to the difficult things: How to get to your system

I tested all these on my own lan server (justz started a server on my machine) so i started in New York. So i made a jumpgate to my system in New York:

In the SYSTEMS/LI01/li01.ini i added a new jumpgate

[Object
nickname = Li01_to_Li02
ids_name = 260911
pos = -83176, 0, 44831
rotate = 0, -70, 0
Archetype = jumpgate
msg_id_prefix = gcs_refer_system_Li02
ids_info = 66145
jump_effect = jump_effect_bretonia
reputation = li_p_grp
behavior = NOTHING
difficulty_level = 1
goto = Li02, Li02_to_Li01, gate_tunnel_bretonia
loadout = jumpgate_li_01
pilot = pilot_solar_easiest

[Object
nickname = Li01_to_Da01 ;dont know if its neccessary to change
ids_name = 061983 ; i changed this but cant chnge names yet
pos = -83976, 0, 44811 ;change this alittle bit so the jumpgate is beside the original
rotate = 0, -70, 0
Archetype = jumpgate
msg_id_prefix = gcs_refer_system_Da01
ids_info = 66145
jump_effect = jump_effect_bretonia
reputation = li_p_grp
behavior = NOTHING
difficulty_level = 1
goto = Da01, Da01_to_Li01, gate_tunnel_bretonia ; thats important shows to which system the jumpgate goes
loadout = jumpgate_li_01
pilot = pilot_solar_easiest

in the UNIVERSE/universe.ini add this:

[system
nickname = Da01 ;change this
file = Systems\Da01\Da01.ini ;and this
pos = 7, 9 ;that position is direct aboce new york
msg_id_prefix = gcs_refer_system_Li01
visit = 0
strid_name = 196609
ids_info = 66106


Oh i forgot something for the Station:

in Universe/universe.ini add this:

[Base
nickname = Da01_01_Base ;change these things
system = Da01 ;adn that
strid_name = 196766
file = Universe\Systems\Da01\Bases\Da01_01_Base.ini ;that is important
BGCS_base_run_by = W02bF35


So i think the sytem should run now. Just run a lan server. go on it and create a new character. The jumpgate in my case is in the down left corner (i think the jumpgate to colorado is there)

Some small things on the next reply...

Post Thu Mar 06, 2003 8:59 pm

ok now to the equipment loadout of the station.

in EQUIPMENT/market_commodities.ini add this:


[BaseGood
base = Da01_01_base
MarketGood = commodity_boron, 0, -1, 150, 500, 0, 100.300000
MarketGood = commodity_gold, 0, -1, 0, 0, 1, 2
MarketGood = commodity_silver, 0, -1, 0, 0, 1, 2.250000
MarketGood = commodity_niobium, 0, -1, 0, 0, 1, 2.850000
MarketGood = commodity_oxygen, 0, -1, 150, 500, 0, 0.500000
MarketGood = commodity_water, 0, -1, 150, 500, 0, 0.500000
MarketGood = commodity_diamonds, 0, -1, 0, 0, 1, 1.500000
MarketGood = commodity_food, 0, -1, 150, 500, 0, 0.862100
MarketGood = commodity_alien_artifacts, 0, -1, 0, 0, 1, 4.750000
MarketGood = commodity_luxury_food, 0, -1, 0, 0, 1, 7.500000
MarketGood = commodity_H_fuel, 0, -1, 150, 500, 0, 1.200000
MarketGood = commodity_construction_machinery, 0, -1, 0, 0, 1, 1.300000
MarketGood = commodity_pharm, 0, -1, 150, 500, 0, 0.789500
MarketGood = commodity_consumer_goods, 0, -1, 150, 500, 0, 1.100000
MarketGood = commodity_luxury_consumer_goods, 0, -1, 150, 500, 0, 1
MarketGood = commodity_cardamine, 0, -1, 0, 0, 1, 2
MarketGood = commodity_sidearms, 0, -1, 0, 0, 1, 0.550000

The last number is the most interessing (?) one. it is the multiplier of the base price from a commodity (which can be found in the goods.ini). The First number indicates in which relations you have to be with the station to buy the commodity (0 is neutral; 1= full friendly; -1 = full hostile) (argh my english is SO BAD

on next reply. how to get ships from your station...

Post Thu Mar 06, 2003 9:05 pm

in market_ships.ini add:

[BaseGood
base = Da01_01_base
marketgood = gf1_package, 0, -1, 0, 0, 1, 1, 1
marketgood = gf2_package, 4, -1, 0, 0, 0, 1, 1
marketgood = gf4_package, 13, -1, 0, 0, 1, 1, 1
marketgood = gf5_package, 24, -1, 0, 0, 1, 1, 1
marketgood = gf6_package, 30, -1, 0, 0, 1, 1, 1
marketgood = bwf_package, 4, -1, 0, 0, 1, 1, 1
marketgood = bwe_package, 20, -1, 0, 0, 1, 1, 1
marketgood = bwe2_package, 30, -1, 0, 0, 1, 1, 1
marketgood = bwfr_package, 10, -1, 0, 0, 1, 1, 1
marketgood = cof_package, 8, -1, 0, 0, 1, 1, 1
marketgood = coe_package, 28, -1, 0, 0, 1, 1, 1
marketgood = coe2_package, 32, -1, 0, 0, 1, 1, 1
marketgood = lf_package, 1, -1, 0, 0, 0, 1, 1
marketgood = le_package, 2, -1, 0, 0, 1, 1, 1
marketgood = lfr_package, 1, -1, 0, 0, 0, 1, 1
marketgood = bf_package, 6, -1, 0, 0, 1, 1, 1
marketgood = be_package, 8, -1, 0, 0, 1, 1, 1
marketgood = bfr_package, 4, -1, 0, 0, 1, 1, 1
marketgood = kf_package, 10, -1, 0, 0, 1, 1, 1
marketgood = ke_package, 13, -1, 0, 0, 1, 1, 1
marketgood = kfr_package, 10, -1, 0, 0, 1, 1, 1
marketgood = rf_package, 20, -1, 0, 0, 1, 1, 1
marketgood = re_package, 22, -1, 0, 0, 1, 1, 1
marketgood = rfr_package, 1, -1, 1, 1, 0, 1, 1
marketgood = pf_package, 2, -1, 0, 0, 1, 1, 1
marketgood = pe_package, 13, -1, 0, 0, 1, 1, 1
marketgood = pfr_package, 4, -1, 0, 0, 1, 1, 1
marketgood = bhf_package, 1, -1, 1, 1, 0, 1, 1
marketgood = bhe_package, 13, -1, 0, 0, 1, 1, 1
marketgood = bhe2_package, 1, -1, 1, 1, 0, 1, 1
marketgood = oe_package, 16, -1, 0, 0, 1, 1, 1

the packages are the buyable ships (on every you can only buy THREE Ships. so choose your favorites .
the letters in front of _package indicates which ship it is:
Example:
rfr = Rheinland FReighter
lf = Liberty Fighter
(don´t know exactly if its right. if someone knows more please write)

The first number is the required rang to buy the ship
Second number is ??

If you want to make a ship buyable change the following two numbers to 1 und the third to 0 (but only 3 ships can be bought)




The SECOND number is the minmum rep (from bad to good) that you must have in order to buy that equip.

If it's -1, they can be completely hostile towards you and will still sell it to you.
If it's 0, they must be at least neutral towards you.
If it's 1, they would have to be 100% friendly.

You can of course use percentages... like .5 would mean that they'd have to be at least "pretty friendly".

Hope it helps.


THX Pook for this


Edited by - dawn on 06-03-2003 22:22:05

Post Thu Mar 06, 2003 9:10 pm

I found this in the forum:

Buyable Ship List

marketgood = gf1_package, 1, -1, 0, 0, 1, 1, 1 - Starflyer(?)
marketgood = gf2_package, 1, -1, 1, 1, 0, 1, 1 - StarTracker
marketgood = gf4_package, 1, -1, 0, 0, 1, 1, 1 - Hawk(?)
marketgood = gf5_package, 1, -1, 0, 0, 1, 1, 1 - Falcon (?)
marketgood = gf6_package, 1, -1, 0, 0, 1, 1, 1 - Eagle (?)
marketgood = bwf_package, 1, -1, 0, 0, 1, 1, 1 - Dagger
marketgood = bwe_package, 1, -1, 0, 0, 1, 1, 1 - Stilleto
marketgood = bwe2_package, 1, -1, 0, 0, 1, 1, 1 - Sabre
marketgood = bwfr_package, 1, -1, 0, 0, 1, 1, 1 - Dromedary
marketgood = cof_package, 1, -1, 0, 0, 1, 1, 1 - Legion
marketgood = coe_package, 1, -1, 0, 0, 1, 1, 1 - Centurion
marketgood = coe2_package, 1, -1, 0, 0, 1, 1, 1 - Titan
marketgood = lf_package, 1, -1, 1, 1, 0, 1, 1 - Patriot
marketgood = le_package, 1, -1, 0, 0, 1, 1, 1 - Defender
marketgood = lfr_package, 1, -1, 1, 1, 0, 1, 1 - Rhino
marketgood = bf_package, 1, -1, 0, 0, 1, 1, 1 - Cavalier
marketgood = be_package, 1, -1, 0, 0, 1, 1, 1 - Crusader
marketgood = bfr_package, 1, -1, 0, 0, 1, 1, 1 - Clydesdale
marketgood = kf_package, 1, -1, 0, 0, 1, 1, 1 - Drake
marketgood = ke_package, 1, -1, 0, 0, 1, 1, 1 - Dragon
marketgood = kfr_package, 1, -1, 0, 0, 1, 1, 1 - Drone
marketgood = rf_package, 1, -1, 0, 0, 1, 1, 1 - Banshee
marketgood = re_package, 1, -1, 0, 0, 1, 1, 1 - Valkyrie
marketgood = rfr_package, 1, -1, 0, 0, 1, 1, 1 - Humpback
marketgood = pf_package, 1, -1, 0, 0, 1, 1, 1 - Bloodhound
marketgood = pe_package, 1, -1, 0, 0, 1, 1, 1 - Wolfhound
marketgood = pfr_package, 1, -1, 0, 0, 1, 1, 1 - Mule
marketgood = bhf_package, 1, -1, 0, 0, 1, 1, 1 - Piranha
marketgood = bhe_package, 1, -1, 0, 0, 1, 1, 1 - Barracuda
marketgood = bhe2_package, 1, -1, 0, 0, 1, 1, 1 - Hammerhead
marketgood = oe_package, 1, -1, 0, 0, 1, 1, 1 - Anubis

BTW: Thanks alot for the tutorial, its great. Havent tested it yet, but seems to be in depth. I am making full tutorials and will be adding them into a .hlp file when Im done. I basically copied and pasted this one into a tutorial. Again, Thanks alot. As you figure out more, maybe you can post updates?

TTYL.


Edited by - Kru Noctum on 06-03-2003 21:12:25

Post Thu Mar 06, 2003 9:12 pm

So thats from my side... Any comments???? You can change the most thing like rooms (take other rooms from other stations), add new stations (just look in he other base files for different types, delete other or all system (BUT NOT LI01 (New York) cause you start there in multiplayer and i don´t know how to change it (theres another thread but i didnt read it))


If I forgot something please let me know.

If you want some things to explain (how to get the bar filled with people) (how to create tradezones and piratezones etc) please write it.

I hope my tut is understandable (????)

Dawn

Post Thu Mar 06, 2003 9:16 pm

Thats oustanding documentation.

THANK YOU VERY MUCH!

Is there any explanation for like you mention here Li01 is New York.
I would like to have some sort of crossreference if possible.

Thanks!

Post Thu Mar 06, 2003 9:19 pm

When I get home,Im gonna jump into the .dll that has all the names in it and Ill figure out the nickname for each station, planet, etc, and post it in a new Thread. Thank You.

Post Thu Mar 06, 2003 9:21 pm

HMMM i think in one of the dlls are the names etc. if someone finds it. please post.

But if not there is a little help:

LI =Liberty space
BR = Bretonia (?) space
RH = Rheinland space
and so on

but with the numbers... i dont know.

Dawn

Post Thu Mar 06, 2003 9:21 pm

That would be great!

Now this is what I call documentation.

I cant find any search feature on this forum, am I lost?

Post Thu Mar 06, 2003 9:24 pm

neither can I...I would love to see a tutorial like this one that would explain ship editing step by step

Post Thu Mar 06, 2003 9:25 pm

I just need to know the short name for New York and Manhattan so that I can
buy my new ship there IF it becomes available on that list.

Another question.

When you alter the ini files do you need to start a new character?
Do you need to restart the server?
Do you need to restart the game?

:-)

Thanks again.

Post Thu Mar 06, 2003 9:28 pm

when i edited some files i restarted the server and the game. the server is a really little program so its not so hard to restart

Dawn

Oh an d no you dont need to create a new character. just play with the same as before. So its possible to start in the nw system so you dont have to flight there.

Edited by - dawn on 06-03-2003 21:29:56

Post Thu Mar 06, 2003 10:08 pm

Excellent work on the Tutorial there... I was wondering tho if u've tried adding a new planet that u can dock to in yer system, as I'm currently having a few difficulties setting this up myself

Return to Freelancer Editing Tutorial Forum