Moors
-
Here’s a plugin that allows player ships to make use of moors. Of course, you’ll also have to modify all the relevant ships mission_property values to use the moor setting. Since moors weren’t intended to be used by players, you’ll also probably want to create cameras to show-off the mooring (or even just to see it - Trenton is bad).
-
Going to rework a ‘few’ ships and stations docking settings …. -
Do the ships stay visible in space while docked on a moor? Like NPCs?
-
I have tested this, but it doesn’t work as I expected?
Get dock message “dock granted” but ship hangs still and won’t dock when:
In solararch.ini ==> docking_sphere = berth, HpDockMountA, 300.000
shiparch.ini ==> mission_property = can_use_berthsGet dock message “dock denied, can’t accomodate ships of your size”
In solararch.ini ==> docking_sphere = moor_medium, HpDockMountA, 300.000
shiparch.ini ==> mission_property = can_use_berthsDocking works, but after ship undocking ship is faced to the station.
In solararch.ini ==> docking_sphere = moor_medium, HpDockMountA, 300.000
shiparch.ini ==> mission_property = can_use_med_moorsGet dock message “dock denied, can’t accomodate ships of your size”
In solararch.ini ==> docking_sphere = moor_large, HpDockMountA, 300.000
shiparch.ini ==> mission_property = can_use_med_moors -
Just a quick question:
Is there another setting that can be used instead of berths?
I use:docking_sphere = berth, HpDockMountA, X00.000000, Sc_open dockA
On all stations and ships but that means that my bs can dock everywhere, i would like to avoid battleships and big frighters from docking with small stations.
So i there another dock than moor or berth?Greetz
MindNote: I know this is a noob question, but i never messed with it, so far i used what worked and a decent infos here could spare me a lot of testing.
-
Don’t forget to set the moor type for each ship in DATA\MISSIONS\mshipprops.ini too.
e.g.
[mShipProps]
archetype_id = enterprise
prop = can_use_large_moors -
Qi__ wrote:
Get dock message “dock granted” but ship hangs still and won’t dock when:
In solararch.ini ==> docking_sphere = berth, HpDockMountA, 300.000
shiparch.ini ==> mission_property = can_use_berthsCan you be more specific? Just tried with an Eagle, successfully used Manhattan docking rings & Newark.
Get dock message “dock denied, can’t accomodate ships of your size”
In solararch.ini ==> docking_sphere = moor_medium, HpDockMountA, 300.000
shiparch.ini ==> mission_property = can_use_berthsThe Eagle just says “Dock denied” when using Manhattan’s fixture. Anyway, it should be denied, that’s the whole point.
Docking works, but after ship undocking ship is faced to the station.
As wodk4 indicates, that’s how moors work. (Initially the ship is facing away from the station, but then it turns around to detach, so I made it face the station from the start. Turning around after that is up to the player.)
Get dock message “dock denied, can’t accomodate ships of your size”
In solararch.ini ==> docking_sphere = moor_large, HpDockMountA, 300.000
shiparch.ini ==> mission_property = can_use_med_moorsAgain, that’s the whole point.
@StarTrader: mshipprops.ini is not used, so don’t bother (I deleted it for JFLP).
@wodk4: There is a small moor type, but mission_property only recognizes berth, med and large.
-
OK, good to know.
-
…. berth, med and large.
And as i d understand it, the station docking will work like this:
jump - everything docks
.
berth - ONLY ships with ‘berth’ set can dock
moor_medium - ONLY ships with ‘med_moors’ set can dock
moor_large - ONLY ships with ‘large_moors’ set can dockand not like just
–> set ‘moor_medium’ and ships with berth and med_moors set,
will be able to dock.So if you got a station, where you want only ships to dock
with - say - berth and med_moors,
you ll need to have 2 docking HPs and 2 docking_sphere set
1 for berth and 1 for moor_medium.I suppose that’s the problem.
-
**FL has to use mShipProps at some point. I have a ship used for a bank and I am able to keep it from docking simply by not having any type of setting in mShipProps.ini. If I add it then the ship can dock but not otherwise. Anyone who has played my mod can attest to that, the Tardis will not dock anywhere.
Also, why not add airlock and pad to your fix, I have yet to get those 2 to work and they are part of the unknown systems?**
-
@F!R: mission_property can be used more than once, so you can have ships that can use both berths & moors.
@LS: The string “mshipprops” (ignoring case) is not in any file in EXE, not in DLLS\BIN\content.dll and not in any .ini under DATA, so I concluded the file wasn’t used.
-
I did a search as well and was unable to find it, it does seem to make a difference though. Don’t know where it’s referenced, maybe you could find it by running FL in debug mode.
-
w0dk4 wrote:
umm, with berth, moor_medium and moor_large you already have 3 different ship-size-classes (not sure if moor_small exists)There is a fourth, jump, which allows everything to dock.
To summarize:In the shiparch.ini, it’s
mission_property = can_use_berths
or
mission_property = can_use_med_moors
or
mission_property = can_use_large_moorsIn the solararch you can decide what ships land where with the following
(can use berths):
docking_sphere = berth, HpDockMountA, 5.000000, Sc_open dock1(can use berths and med_berths):
docking_sphere = moor_medium, HpDockMountH, 5.000000(you get the idea)
docking_sphere = moor_large, HpDockMountH, 5.000000(will allow everything to dock)
docking_sphere = jump, HpDockMountG, 50.000000This is what actually regulates docking.
There is another setting Fighter/Freighter for players is for how the game controls the physic engine for ships and how the game picks up the ship on radar.
But the whole thing has a bug, if you use any kind of moor setting, the docking sequence just stops and lets the ship hang still.
Now there was a solution for that, installing the fix as moors.dll, but it doesn’t work as expected.
There you go, that’s the story.
-
@LS: Okay, I ran Process Monitor, matching process names “freelancer.exe” and “flserver.exe” and played solo multiplayer. Started in space, docked with Manhattan, launched to space and shut down. Saved the log and searched it - still no reference to “mshipprops”. If it makes a difference, it’s well hidden.
-
I’m kind of with adoxa on this one. It seems only settings in solararch and shiparch seem to make a difference with mshipprops having no real effect that i can see.
How do i know this? Simple error on my part. I forgot to add in a mshipprops section to one of my ships and yet it still behaved as it should. A ship designated fighter or freighter will always use a berth command if its defined to do so in shiparch. Doesn’t matter if there’s an entry for them to do so in mshipprops. They will also happily use the jump command if that’s used in solararch in the base definition as long as berth is used in shiparch. Ships designated to use moors should have those entries defined in shiparch and solararch base entries and then they will only dock there, nowhere else.
-
Im going to have to 3rd this…
Last night whilst tracking a ge_transport problem i was having i thought id check the mshipprops.ini… well the ge_transport was there ok… but others that were working oki fine were not… ge_train… ect… even the csv, nomads & large GB- BS house ships (although still yet to see one dock… as i haven’t added that kinda zone for em)…
I placed them in… with minimal diff… my ge_transports were still CTD’n on dock (cargo pod issue…) & things were still the same… My guess is…
This is mainly for SP story?? if still used at all.@Adoxa… you say i can define multiple "mission_property = "… nice
-
I will test it by completely removing the file, I am of the same feeling you guys are, it isn’t used…