Jump to content

Awamani

Alpha Tester
  • Posts

    0
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Awamani reacted to Xymbanzee in DevBlog: LUA Scripting and Distributed Processing Units (DPUs)   
    I can't belive that anyone has asked this question yet
     
    Will my constructs AI work when I am offline ?
    Will my ship defend itself and my factory work while I am absent ?
  2. Like
    Awamani reacted to moruvis in DevBlog: LUA Scripting and Distributed Processing Units (DPUs)   
    I would guess to safely run untrusted code they would need scan the code before it is run to make sure it doesn't try to reference any system objects that have references to the executing environment that sort of thing. If we are going to be able to script some actual AI or drones then we might get some official libraries that have thrust calculations and path finding algorithms already made, those would be able to be implemented in optimized c++ that is called from the Lua script to save on cycle time on the server end.
     
    I have a couple of questions:
    Data storage: Already been asked and I agree, if we are going to be able to make anything more than a fly-by-wire interface for ships then there will probably be need for some long term persistent data storage. At its most basic this would allow remote sensor probes, surveying mining spots, collecting data for tech research. Sensors: I don't think it was explicitly mentioned but we would need access to various different types of sensors, eg. gravimetrics, positioning, surveying, friend-or-foe etc. Would those be separate modules you add and then access through a specific interface? Communication: Autonomous drones would need some communication between each other and back to the base ship to propagate orders, will there be a messaging framework for this that would need to be coded or would work outside the scope of the scripting? Libraries: Will the code only exist on the unit that has it programmed or will there be an independent repository of code that each player has / can access that will then be deployed for execution? Similarly, will we have some sort of version control? I wouldn't be able to write much without an in-game git before it all became a mess. Testing: Could we have a sandbox within the sandbox to test code? If you were to write a drone AI it might decide to start attacking everyone and hurt your standing if you got some code wrong. Collaboration: Will groups of players be able to work on the same codebase to produce something that a single player wouldn't have the time or skill to make themselves? I know all of this would start adding quite a lot of complexity to something that might not need to be (and maybe it is because I don't know that much about Lua), but the whole idea excites me with the possibility of lots of interesting and rich gameplay ideas. 'Scripter' could be a legitimate in-game profession if scripts and be written, sold and distributed independently of actually having something that runs it. Writing a decent drone AI might be outside the skillset of almost all players, but selling a library to manufacturers or having a scripting division of a corporation adds a whole extra level to the game. The ingame skill is a real skill rather than an eve-like wait-20-hours-and-you-can-do-it skill.
     
    If communication is handled within the script then writing a communication protocol for drones would allow hacking to be a legitimate battle tack-tick. Finding a flaw in the protocol, deliberately confusing the sensors, running a DDoS attack on the baseship to block communications, destroy the communication array on the base ship and then the drones can't receive orders (without some mind bogglingly difficult code to resolve a new ship to receive new orders from without specifically having been instructed to do so), firing an EMP and wiping the installed scripts before it reboots, and so much more than I can even think of right now would all become possible.
     
    The idea that most intrigues me is the idea of boarding a ship or space station and trying to take control of it. If everything is controlled by a control panel that is just an interface for calling procedures in the installed scripts then who controls say a space station or that sub system is the person standing in front of it. Does that mean that on a public space station there needs to be some locked doors to prevent people that shouldn't have access from entering the control room? Is that locked door controlled with a password? Can I get that password from a traitor or spy? Can I blow a hole in the side of the station to get me into the controlled area? Can I cut through the door? Can I lead a mutant with some other players to take over the station? Is there some subsystem outside the controlled area that I can use with a hole in the physical logic of the station to start gaining access? What if I own it and I've accidentally locked myself out? So many possibilities that would lead to some amazing organic gameplay that a game maker would never be able to design.
     
     
    I'm getting too excited by this...
  3. Like
    Awamani reacted to GalloInfligo in DevBlog: LUA Scripting and Distributed Processing Units (DPUs)   
    I am assuming this "black box" you can sell is protected by flags so another player can not open it to see your code.  Is this the case?  Also does that mean that I can give flag access to a programming partner???
×
×
  • Create New...