Jump to content

DevX

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by DevX

  1. Updated turretfactory mod to 04/25/18 http://dev-x.org/avorion/turretfactory.lua The war for your turretfactory continues! (looking at all those other cool mods out there now) Also made it so equipment factories have a regenerate button http://dev-x.org/avorion/shop.lua They are just time savers. So I don't have to warp to shop a, warp to b, warp to a again, etc. I didn't plan for any multiplayer but, the shop one does server side things for sure, will probably refresh the item list for a factory for every player I would assume. (will probably break something if player 1 gets list, player 2 changes list, player 1 tries to buy from 1st list)
  2. Here is a working version as of today (07/21/17) http://dev-x.org/avorion/turretfactory.lua I didn't have the original script, but thank you Alopix for pointing me to the files to get started I've fixed the problem where you don't actually get the turret you see. The script runs essentially twice, once on the server, and once on the client. Clicking the buttons updates the client, but the buildTurret function gets called on the server, so you need to pass the seed into that guy to update him as well. This works in singleplayer, I do not know what may happen in multiplayer (another player may be able to change the seed of the factory your looking at, something like that). As for the damage going below zero That happens without mods. Being able to change the seed just makes it quicker to find. The calculations for turret ingredients likely just go out of range, haven't looked at that yet. You can find seeds that have damage numbers that go up as you reduce the number of parts. Note I did change the default seeds, the seed number itself was way to large and didn't fit into the textbox Anyway, enjoy!
×
×
  • Create New...