Suggestion: Freighter Docking Modules for Liners only - Printable Version +- Discovery Gaming Community (https://discoverygc.com/forums) +-- Forum: Discovery Development (https://discoverygc.com/forums/forumdisplay.php?fid=7) +--- Forum: Discovery Mod General Discussion (https://discoverygc.com/forums/forumdisplay.php?fid=37) +--- Thread: Suggestion: Freighter Docking Modules for Liners only (/showthread.php?tid=120218) Pages:
1
2
|
Suggestion: Freighter Docking Modules for Liners only - hades durin - 09-06-2014 My idea is to have docking modules for liners where only freighters can dock (class 2 freighter). The bay use 1-1.5k cargospace of the liner and only 1 freighterbay can mount on a liner. the bays can be produced on pobs in the docking modul factory. Why to have that is easy to explain, that way you travel with a liner around as a mobil laboratory and undock a freighter to gather samples or you have a medical liner and use the freighter to resupply the cargo of the liner because it is to risky to land on a base. or in some other way usefull. RE: Suggestion: Freighter Docking Modules for Liners only - Zayne Carrick - 09-06-2014 You can dock freighters on current docking modules. Grizzly, for example. RE: Suggestion: Freighter Docking Modules for Liners only - hades durin - 09-06-2014 and what about dromedary, humpback, ragnar, annapurna, csf and so on they are freigthers from other houses and have bigger cargo hold (twice as much) and count as class 2 freighters too. i think of docking a class 2 freighter (cargo doesn't count) to a liner for example a prision ship from the rheinlander police can have a ragnar docked RE: Suggestion: Freighter Docking Modules for Liners only - Alvin - 09-06-2014 Retracted RE: Suggestion: Freighter Docking Modules for Liners only - Zayne Carrick - 09-06-2014 Really? They've removed cargo size limitations? Previously you were unable to dock ship with cargohold more than 300 RE: Suggestion: Freighter Docking Modules for Liners only - Alvin - 09-06-2014 Oh actually, thinking about it, it was on a different ship. My Bad ! RE: Suggestion: Freighter Docking Modules for Liners only - Zed26 - 09-06-2014 Yes, ship docking is currently limited by cargo size of the ship, not by what "class": Code: // Check that the requesting ship is of the appropriate size to dock. So the key is "fHoldSize > 275". This means that the Grizzly freighter (255), all LF/HF/VHF/Bombers and SHFs, excluding the Recycler (280), should be able to dock, so the limit should probably be increased to 280 to account for this. The Arrastra SHF is exactly 275. Technically, all playable ships, from LFs to Carriers, are either Fighter or Freighter type - the "transports", "mining", "gunboats", "cruisers", and "capitals" are not (I think they're used for NPCs). Unless you change the system to do some check for ship class numbers (0-5) or create + check from a defined list of "dockable" ships instead (might be the most accurate solution), allowing all freighters up to the Dromedary (650) will also permit the Corvo cruiser (600) and all gunboats (biggest are 480), excluding the Junker Gunship (1100), to dock. RE: Suggestion: Freighter Docking Modules for Liners only - hades durin - 09-06-2014 (09-06-2014, 05:18 PM)Zed26 Wrote: Yes, ship docking is currently limited by cargo size of the ship, not by what "class": Thanks for the coding text if you read my post carefully i just want class 2 freighter to dock at a special modul only for liners and if you have "flstat" than you see that gunboats and other are class 6-18 freighter i want a docking permission by class not by cargo of the vessel RE: Suggestion: Freighter Docking Modules for Liners only - Zed26 - 09-06-2014 Right, I saw that and mentioned it in the bottom paragraph. Yes, there is a "ship_class" in shiparch and you want all classes from 0-5 (LF/HF/Freighter/VHF/SHF/Bomber), so I think you'd end up with something like this, swapping fHoldSize for iShipClass: Code: // Check that the requesting ship is of the appropriate size to dock. Now, if you really wanted full customization - especially for people on unofficial servers, you could create a mobiledocking.cfg and specify exact shipclasses/holdsizes/ship names to give permission (and the check will block everything not on the list) so you can adjust it based on what makes the most sense for the host. This would involve the most work though. RE: Suggestion: Freighter Docking Modules for Liners only - hades durin - 09-06-2014 (09-06-2014, 07:21 PM)Zed26 Wrote: ... i only want this module for class 2 freighter in first place because i have in mind that it is a diffrent modul than the one we already have ingame and the modul use around 1-1.5k space of the liner but now i have to say your implementation fits better from the docking restrictions. |