• Rust Computer Concept
    7 replies, posted
(Warning, long post) I am quite excited about the upcoming electricity and computer systems in Rust, so i decided to give my 2 cents on how possibly it could be implemented to make it fun and keep it balanced between solo's and zergs. In my opinion the computers in rust should be modeled after arduino/raspberry pie style of computing machine. By that i mean the computer should have I/O ports, I/O + pwm ports, analog inputs and Ethernet ports, like an arduino, that would be used to connect different devices, like auto turrets, CCTV, doors and maybe even auto farms. The computer The computer itself would consist of a CPU (it can have from 1 to 8 cores and from 8 to 32 bits), RAM (from 32 to 256 bytes or more), mother board (it can have varying amount of ports, like some have more I/O ports while others have more analog ports) and local storage (it would contain user written programs and "Read and delete" programs. CPU cores means how many runs it does per tick. CPU bits means how much info it can process per run (32 bit file will take 1 run for 32 bit processor or 2 runs for 16 bit processor). RAM means how much self made programs can be in the active slot at the time. I/O ports are ports that can ether give only ON or OFF signal or receive only ON or OFF signal. I/O pwm ports are ports that can give signal of varying strength (from 0 to 255) but only receive ON or OFF signal. Analog ports are ports that can receive signal of varying strength (from 0 to 255). Ethernet port is just for connecting computers together Computer programming: My idea is that users can program computers in rust to preform different tasks, ranging from turning turrets to aggressive mode at night to just make a light show, imagination is key here. The machines would be programmable similarly to an Arduino, That is using a simplified version of C++ and the place where you make your own codes would look like this: // here you define port aliases and integers void setup { // here you define your pin function (input or output) and other stuff you only need to run once } void loop { //here would be stuff that you want to run constantly } Read and delete protocol Files with this protocol are files that cannot be cloned and can only be transferred from one storage to another. Such files would be: Fire wall programs (ranging in levels), Hacking programs (one time use, ranging in levels and involving a mini-game, auto turret targeting programs (such that only target geared players, or only fire when it sees center of mass) and other programs. As for the lore of this protocol: "Read and delete protocol is a protocol on all cobalt computing devices aimed to protect sensitive data and track it if necessary, such data can only be cloned at authorized machines in cobalt IT facility." So the player can only find memory devices containing this data in elite crates and only copy it in specific rad town for some kind of price (probably for computer components). Computer connection To connect computers, the player will have to use an Ethernet cable (maybe) and both computers must have at least one Ethernet port each, the connection would be Master and slave type and if one is able to get access to master computer he can gain access to the whole system (depends on the fire walls used). External devices Such devices would be: Lamps (different kinds), pressure pads, light sensors, lazer tripwires, CCTV cameras, auto turrets, auto-doors, auto farms, auto crafting benches, code locks and other things. Hacking To hack a player would need to find a portattive motherboard AKA a laptop and have appropriate programs on the laptop to use them on other devices. The computer can be hacked in different ways; one way is to access the Ethernet cable and use "master to slave" hacking program to turn the computer that player is hacking to a slave computer to use it. One can also use a "code breaker" program if they have a direct access to the computer, to hack the password and use the computer. The rarest way would be the "Trojan" to connect your lap top to I/O ports of the computer and gain access that way, tho this one would take the longest time. Additional stuff In my opinion i think that code locks need to be computer controlled and there should be a new item - a combination lock that only has 3 digit code (maybe) and only 5 people can access it without the key, this would make life harder for zergs. I think turrets should be changed to ones that you must put in your own gun, with possibly an extendable mag (that would cause longer reloads and gun sway for the player) Pros and Cons and final thoughts Pros: Adds more ways of creativity, defenses and even raiding (maybe). allows players to automate tedious processes, like farming food. allows to create temporary "safe zones" with peace keeper turrets (tho changing mode will need a delay). allows to watch over your base with CCTV Cons: Requires more skill and learning. has a potential for exploits if not coded correctly. more coding and model creating. Thoughts I understand that this is a lot of information and a it may seem complex, but if computers were to be implemented by similar model i dont expect to all of this to be implemented, im just shotguning my idea out in hopes of devs noticing this and taking this as a possible inspiration for the rust, and if anyone is interested to to discuss this, you are free to message me here or discord, im happy to help development of rust as much as i can. P.S stop using naked as target practice.
Mega Interesting idea! My beef with it: Ain't nobody got time to learn how to code to use an item for a game. But holy crap it's a cool idea. But I wouldn't use it. Though I wish I could.
well for starters there wouldnt be much to learn, basic comands like IF, FOR, WHILE and other basic comands to interact with rust entities, but you also will be learning a very valuable skill like programing, besides if you dont want to program there gonna be a ton yt videos about it. P.S this system would also make zergs more vulnerable, since code locks could be hacked and it would make auto turrets more fair.
God please no C++, C# is the way
well atleast its not scratch
Looking at what Rust devs are going to implement next this might seem the rout they might take, tho maybe bit simplified.
Wouldn't this basically just be wiremod? and like wiremod, cause massive lag?
well it woulnt be exactly like wire mod since wire mod is based on mostly transfering raw data, besides being a logic node system, meaning that logic components like IF and AND are spawned in the world and re rendered. Computer would probably made to be more simplier on the system side, and i was going with a shotgun aproach, so dont think that all should be implemented in one big chunk.
Sorry, you need to Log In to post a reply to this thread.