How to make a player's ship only can dock with stations ?
Locked
Coding
-
1st - the ship
a) “shiparch.ini”
–----------
…
;LZF-6364 Patriot Liberty Light Fighter
[Ship]
ids_name = 237034
ids_info = 66570
ids_info1 = 66571
ids_info2 = 66608
ids_info3 = 66572
ship_class = 0
nickname = li_fighter
LODranges = 0, 40, 60, 140, 300, 1000
msg_id_prefix = gcs_refer_shiparch_Liblf
mission_property = can_use_berths
……b) “mshipprops.ini”
…
[mShipProps]
archetype_id = li_fighter
prop = can_use_berths
……2nd - the station
“solararch.ini”
–----------
…
[Solar]
nickname = smallstation1
LODranges = 0, 2000, 4000, 5000, 10000, 20000
ids_name = 60217
ids_info = 60218
type = STATION
DA_archetype = solar\dockable\station_small_b_lod.cmp
material_library = solar\Solar_mat_dockable02.mat
material_library = fx\envmapbasic.mat
envmap_material = envmapbasic
mass = 10.000000
loadout = smallstation
docking_camera = 0
solar_radius = 600
shape_name = NAV_smallstation
docking_sphere = berth, HpDockMountA, 10.000000, Sc_open dock1
docking_sphere = berth, HpDockMountB, 10.000000, Sc_open dock2
docking_sphere = berth, HpDockMountC, 10.000000, Sc_open dock3
docking_sphere = moor_medium, HpDockMountD, 10.000000
docking_sphere = moor_medium, HpDockMountE, 10.000000
docking_sphere = moor_medium, HpDockMountF, 10.000000
docking_sphere = moor_medium, HpDockMountG, 15.000000
docking_sphere = moor_medium, HpDockMountH, 15.000000
docking_sphere = moor_large, HpDockMountI, 50.000000
docking_sphere = jump, HpDockMountJ, 350.000000
hit_pts = 999999961690316250000000000000000000
…3rd - now what to do:
–- set your ships to - say - use “moor_medium” and remove all “moor_medium” and “jump”
“docking_sphere” from all stations, you don’t want those ships 2 dock