Hack request - enable F3 dock on FREIGHTER
-
Not at all. He means ability to dock with NPC battleships which fly in space (ship behavior), and not base battleships which don’t even have engines and don’t move from its place (station behavior).
BTW I think it will cause some bugs because of ability to dock with any FREIGHTER type, even small ones without docking bay, and a bug because you actually dock in nowhere - there is no base connected with the dock. -
fox knows all that. He’s told me he has everything else covered thanks to some work him and M0tah did a while ago, but that the sole issue was with having players with type = STATION messed up their handling, so he wanted to know if he could just enable F3/dock on type = FREIGHTER.
-
FriendlyFire wrote:
fox knows all that. He’s told me he has everything else covered thanks to some work him and M0tah did a while ago, but that the sole issue was with having players with type = STATION messed up their handling, so he wanted to know if he could just enable F3/dock on type = FREIGHTER.I’m very familiar with that issue. But to fix it you don’t have to enable docking with FREIGHTER type, you can just fix up the handling in SOLAR type.
When I see all those threads about Hex editing and FLHook, messing up with DLLs, I realise how noob I am in all this modding bussyness. I need to practice some more until I release KoS. -
Sure, how do you fix the handling for the SOLAR type?
-
i think the docking with FREIGHTER type is easier to do as it is one value only while to fix solar handling would require lots of trial and error. also, if a freighter has no docking points declared in the ini, you can’t dock with it, so this way you can limit it. a base is also declared by the mobile bs feature of flhook… if you need docking points, you can declare in the ini, that they do not dock you but just prevent crashs or stuff like this (null docking sequence? - haven’t experimented with stuff like this too much yet). if the hack can be found… this is once again a massive step in fl modding what we experience permanently in this golden age of it.
-
Oh god… There being almost 6 years since Freelancer was published, and yet we don’t know how to edit it fully. The game will be in its golden time when patch 2.0 will be released, and I think there are enough features added from different mods to combine them to a big patch which will improve Freelancer. I think I’ll make a thread about it.
-
Excellent, thanks Adoxa. I can’t test it right now as I’m away from home and my netbook can not run Freelancer (I get the text corruption bug and crashes on this chipset), but I have a feeling it will do the trick.
For those curious, yes, M0tah’s FLHook in 88 Flak has native support for using F3 docking on players - as soon as the game would actually try to dock you and cause a crash, FLHook steps in and runs the mobile docking code (the same as using the /dock command currently in play). Since this code has actually been active all along, any mod using his FLHook solution will immediately benefit from this hack.
The issue with using type = STATION on players is not just the handling, but also some other things. For example, players show up as “New Tokyo System, Sector B3” when targeted (instead of “Rogues - Deathflier” like normal players), and there are also issues with the way AI target and attack these players (in multiplayer, AI only properly attack FIGHTER and FREIGHTER types - anything else they generally ignore, try it yourself). Thus, enabling F3 docking on type = FREIGHTER is simply the easiest solution.
Thanks again!