FLHook Craft Plugin Development - 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: FLHook Craft Plugin Development (/showthread.php?tid=72958) |
FLHook Craft Plugin Development - massdriver - 01-19-2012 While studying FLHook source got an idea to build Craft plugin for it. Using some cargo components and special shipyard/craftyard give player a possibility to create commodities/weaps/stuff. Crafted items wont be accessible through wrecks or traders and will have better stats than their analogs(weap guns for example). And ofcourse add some randomness for item generation. In general: -> Exec craft command. Give crafted item or not if lucky. eat required resources from cargo. Such plugin will require to add ALL crafted items to .ini files (that's what I fear and hate). FLHook Craft Plugin Development - Not Espi - 01-19-2012 if you write it ... i assume our own flhook magician has enough stuff to do at the moment with optimizing the server after the new mod release. FLHook Craft Plugin Development - Kaghuros - 01-19-2012 You should make it create current items rather than randoming or making upgrades. Say, making ores into hull panels or finished alloys, or turning alloys and electronics into guns. Even armor modules and stealth devices with enough rare materials (maybe). That would stimulate the player economy an reduce credit grinding for useful items. Miners would be useful, and industrial factions would make sense. FLHook Craft Plugin Development - massdriver - 01-19-2012 Generally it's possible to convert resources into something more complex (at the code level it's just add/remove cargo depending on blueprint). The only problem for now is how user will interact with craft system - console commands etc. My idea: To craft an item you should have it's blueprint and required components in your cargo hold. Each blueprint will have an ID code that will be added to the infocard (Advanced Neutron Cannon MKII Blueprint "ancmk2"). So you just type: /craft ancmk2 Ta da!!! Item was placed in your cargo. or FAIL!! Resources lost, try again. or FAIL! Not enough resources or no blueprint found. That is how I see it. FLHook Craft Plugin Development - Etaphreven - 01-19-2012 BSG mod already has this. If they're still alive, that is. FLHook Craft Plugin Development - Jansen - 01-20-2012 The idea is great, if that can be implemented it for sure brings a lot of fun! But I see the problem here: Quote:will have better stats than their analogsSoon enough everyone wouldtry to have the best things possible, which is understandable, but likely ruins every balance. It could however be used to do something about ore, for example /craft silver, which then crafts silver out of the ore. That would need a lot of trade adjustments but it would make sooooo much more sense then selling ore for a higher price then the real product. FLHook Craft Plugin Development - Switchback - 01-20-2012 Only Idea I have to contibute to this idea is that the /craft command (/build or /manufacture would be better in the RP world imo) for each base should be decided by the factions that control it (official player factions) so that the builder can "rent" out hardware to manufacture prototypes IE: Ageira manufacturing the Higher end things, while DSE bases (Baltimore) can manufacture the Lower end spectrum of armors (cau4 anyone?) FLHook Craft Plugin Development - massdriver - 01-20-2012 yea, Im planning to add some restrictions: workshop base dependency, craft credit charge. Possible to add overall pre-craft summary command to get info about craft process comsumptions of credits, resources etc. To craft you should have a bp in your cargo hold (for custom weapon/shield/armor) or each base can provide built-in bps(for ore processing, commodity construction) through console. FLHook Craft Plugin Development - Hidden.Lock - 01-20-2012 This might be very interesting to try. keep it up! FLHook Craft Plugin Development - massdriver - 01-21-2012 Update. the first version of plugin already works. it permits to convert goods to other goods while docked at base and using blueprints provided by base itself. so it gives next possibilities for example (add whatever to .ini config file): -> smelt ore ( 1 platinum ore -> 2 platinum ) -> craft goods ( 2 basic alloy + 2 superconductor + 2 optronic = 1 engine component ) -> whatever -> whatever. |