Page 1 of 3
Computers
Posted: Sun Mar 31, 2013 5:26 am
by Dr. Mackeroth
This topic is for discussing how computers/the control chair might work and how we might go about making them work. There might b some overlapping with the "electricity" thread, but that's fine.
Post your ideas/comments, then argue and discuss. Any things that prove useful towards the understanding/creation of computers will be put in the idea summary section:
Summary of computers:
-Nothing interesting yet, this topic hasn't been explored much.
Re: Computers
Posted: Sun Mar 31, 2013 10:39 am
by joykler
this is a combination of the tiels core
and my commanding space ship idea
before you respond read the whole thing
Re: Computers
Posted: Mon Apr 01, 2013 1:38 pm
by Ivan2006
How about taking joyklers idea and changing a few things: Remove Terminals and Mainframes and replace them with a central computer.
On a spaceship, that would be the core. It centralizes the control of machines.
Also, make it so that machines can only detect certain values and the detection of additional values (such as ammo storage in turrets) requires additional sensors that are placed next to/on the machine or somewhere in the ship.
Instead of having these Terminals and Mainframes, make it possible to create categories and subgroups.
Machines can be in one category only, but inside that category, they can be assigned to several subgroups.
Programmes would be used to manage the ways machines influence each other.
You can choose between two ways of programming:
Text programming is Computercraft-style LUA-coding while graphical programming would be similar to the LEGO NXT default coding language. (actually a very good example, as it is used for a management of sensors and machines/motors)
Here is an example:
Re: Computers
Posted: Mon Apr 01, 2013 1:44 pm
by joykler
ivan can you delete this
i had almost the same idea
but i thought that should be implemented in phase 3
the programming would be really diffrent but i will explain that later too
because lua would be too hard to use i suggest making a new kind of easy language just for this
those subgroups and stuff are made by naming the diffrent terminals
and the central computer of a ship is a mainframe
but the rest will be for phase 3
and i also have an idea for core
a core is a executing block that contains more basic machines
simple life support engine and generator
this is used on small vessels to make it possible to handle it with one computer
Re: Computers
Posted: Mon Apr 01, 2013 7:13 pm
by Keon
joykler wrote:because lua would be too hard to use i suggest making a new kind of easy language just for this
Lovely. Just what I wanted.
Re: Computers
Posted: Mon Apr 01, 2013 7:58 pm
by Chairman_Tiel
Phase 3 ~ Programmable computers using a simple event system.
That's something I could sink my teeth into. You could program your ship to react in different ways to assaults...hell, that might even solve the whole 'logging off' quandary, you'd just want to make sure you had a good macro on your ship before leaving.
Re: Computers
Posted: Mon Apr 01, 2013 8:03 pm
by fr0stbyte124
The challenge will be in allowing sufficient sophistication without railroading the gameplay.
Re: Computers
Posted: Mon Apr 01, 2013 8:05 pm
by Chairman_Tiel
Something like Blockland's system, perhaps?
Re: Computers
Posted: Mon Apr 01, 2013 8:21 pm
by fr0stbyte124
I don't know anything about blockland. What's this system like?
Re: Computers
Posted: Mon Apr 01, 2013 8:26 pm
by Chairman_Tiel
Re: Computers
Posted: Mon Apr 01, 2013 8:31 pm
by fr0stbyte124
Tiel wrote:
Well, I'm sure it has a great personality...
Re: Computers
Posted: Mon Apr 01, 2013 9:09 pm
by Keon
Why not just a Lua program? I think it's not compiled, it's interpreted, right? That means we could store it as a string inside the TileEntity.
Re: Computers
Posted: Mon Apr 01, 2013 9:11 pm
by Luna
We want them to be simple for the player to use.
Re: Computers
Posted: Mon Apr 01, 2013 9:11 pm
by fr0stbyte124
More than likely the program would be an abstract object referenced by the computer network. Storing it inside a block is a liability once chunk loading gets involved.
Re: Computers
Posted: Mon Apr 01, 2013 9:15 pm
by Keon
CatsVsNinjas wrote:We want them to be simple for the player to use.
Hire a programmer.