NPC´s are blocking the docks
-
Several hacks are implemented in my mod… like spawning distances and max. docking-distances and much much more… thats why its hard for me to state the exact point where the following issue appeared… At some point I noticed that the dockports of bases are getting blocked very often and for long time periods by “invisible” NPC´s, preventing players from getting docking-permissions. I “solved” a great bunch of this issue by raising the docking-hps of the solars but its not the appro solution because the problem remains on some dockable solars like planet docking-rings. Has anybody experienced something similar and /or does know of a fix for this?
Greetings J.R.
-
J.R. wrote:
Several hacks are implemented in my mod… like spawning distances and max. docking-distances and much much more…Still don’t have a cute about this.
What’s station says about NPC’s dock? They let them wait or simplely “You have no clearance in this area?”.
Maybe some NPC has enabled cloak device?
If that’s a hack problem, maybe you can just retore the EXE and DLLS folder after Mod activation see how it gos.
(Make a copy EXE and DLLS folder before Mod activation -> Activate Mod -> Use all files in old EXE and DLLS to replace the modded EXE and DLLS one.) -
Maybe the word “invisible” leads to a little confusion…
To clear things up a bit: Sometimes a bunch of NPCs just sit in front of the Docking-ring and just won´t dock for long period of time. Sometimes they are not even visible within scanner-range but the docks are wide open, waiting for some NPCs to dock… This sometimes appears even when a Player is all alone in the System… so thats why i don´t think it has to do with the max. distance of 99K for “initializing docking”.I just asked if someone has got the same “problem”… and maybe could help with a fix for this issue.
BTW: A testrun with unmodified dlls didn´t work at all…
Thanks anyways and greetings
J.R.
-
Try to take a look on those offsets, maybe you changed those values:
common.dll 18BDB4 1000f = max dock acknowledge distance ~Dev common.dll 13F48C 10000f = max docking initiation distance ~Dev
-
True… I did changes to these offsets but further investigations confirmed that it doesn´t make any difference. Even setting the vanilla offsets didn´t change ANYTHING.
While testing I found out, that the “blocking” NPCs are always (lawful AND unlawful) Patrol-groups which are origin from that specific base/planet and return home from their patrol-path. While they are standing still in orbit waiting to dock, the docking is already granted and the doors are wide open… none of the other NPCs behave that way… very strange… -
FINALLY !
In ENIGMA V.4 ATG we are using the “88FlakAIWingmenProject”-method to provide “Wingmen-Support” to the Players.
Since the “Leader” of these NPC-wings is set invisible via the cloak effect, I actually found the cause of this problem lately by uncloaking them.
So here it is:
Since the "mission_property " of the follow-trigger-ship is set to “can_use_berths” it actually does block the ports and leave it wide open for sometimes a long period of time because: THEY DON´T ACTUALLY DOCK AND DISAPEAR like other random NPCs.I “solved” a good amount (not all) of these blocking-probs by setting the mission_property of the follow-trigger-ship (and others) to “can_use_med_moors”.
Warning: Can break your Mod regarding Wingmen-Groups when their patrol_paths do not end or start at a dockable base with “medium mooring” dockpoints.Don´t know if this is of any use for others, but I just thouhgt I let u know where issues are from… at least in my case…
Greetings
J.R.