Discovery Gaming Community
Jettison All Cargo command - Printable Version

+- Discovery Gaming Community (https://discoverygc.com/forums)
+-- Forum: Discovery Development (https://discoverygc.com/forums/forumdisplay.php?fid=7)
+--- Forum: Discovery Developers Forum (https://discoverygc.com/forums/forumdisplay.php?fid=183)
+---- Forum: Discovery Unofficial Development (https://discoverygc.com/forums/forumdisplay.php?fid=389)
+----- Forum: Discovery Mod FLHook Projects (https://discoverygc.com/forums/forumdisplay.php?fid=266)
+----- Thread: Jettison All Cargo command (/showthread.php?tid=146352)

Pages: 1 2


Jettison All Cargo command - Zelot - 12-16-2016

Is there a way we can create a jettison cargo command? It is pretty cumbersome currently and when you want to drop your cargo into the vacuum, more so if you have more than one type of cargo.. Especially when you are racing to not get caught with some kind of, not so, legal cargo. There should be a blow the cargo hatch and let everything out into space, or a destroy cargo command.

I assume it's possible because the mining plugin does something similar just in reverse.

Thoughts?


RE: Jettison All Cargo command - Inferno - 12-16-2016

Maybe. I would like it if it could throw it out one at a time really fast so you could make a stream of Toxic waste :p

IDK I would like it sometimes. Maybe have it hotkeyable for things like bulk mining.


RE: Jettison All Cargo command - Altejago - 12-16-2016

Please!!!


RE: Jettison All Cargo command - Kauket - 12-16-2016

Maybe.

If we had a FLhook dev xd



RE: Jettison All Cargo command - Ihtyander - 12-16-2016

I asked same someone yesterday if some shortcut exist. It is usefull for miners in freighters


RE: Jettison All Cargo command - JohnyWalker - 01-25-2017

Oh Yeah!!! long time ago Im requesting this!!... but dont need actually create a new comand... just convert that useless Suicide key bind into Jettison all cargo would be good ehehehe. This will help a lot to miners who collect loots for haulers!

+1


RE: Jettison All Cargo command - Alex. - 03-17-2017

I went looking for the functions necessary to cause cargo to be jettisoned... It seem we have this option disabled by default (and probably on the main disco server), but the code for the LootDisconnectingPlayers option in playercntl appears to pretty much achieve what we want, using the HkRemoveCargo and Server.MineAsteroid functions to simulate a jettison: https://github.com/zibbizor/FLHook/blob/master/trunk/plugins/playercntl_plugin/CargoDrop.cpp#L138-L159

I haven't tested this yet.


RE: Jettison All Cargo command - ABlix - 04-17-2017

As somebody very new to Discovery, I will say having to stop mining every thirty seconds to click jettison is extremely tedious. If what Alex is saying can be done, then that would be absolutely fantastic.


RE: Jettison All Cargo command - Alex. - 04-17-2017

I stuck some of that code into a new command, turns out it also jettisons ammo and bats/bots etc. :/
Will need to look into this some more.


RE: Jettison All Cargo command - Alex. - 04-17-2017

https://github.com/zibbizor/FLHook/pull/17