- Joined
- Jan 11, 2017
- Messages
- 168
- Reaction score
- 83
We're playing in a setting with AI. There's so many more places one could go with that idea.
So, since I'm a giant NERD and logic is fun to play with, I decided to see if I could create a responsive computer terminal to be used aboard a ship. It's surprisingly easy to do, though it's not exactly simple or svelte...
This mass of logic is just a couple of basic functions. It goes like this:
We start with the "off" status message. If you do as it says and type {ACTIVATE}, you get this prompt.
The "Welcome!" Pops up, then the second block of text pops up a second afterward as a little door panel opens.
Once you enter your name, the panel will close. It will never open again unless you force it. Sadly in this test drive the door had a weird collision and broke, but the logic was sound. I just need to alter the door panel itself.
The computer will now remember your name and address you as such in all of its dialogue. If you type {DEACTIVATE} You'll return to the prompt from the second image. If you activate it again, and you've already entered your name, it will jump straight to the "Greetings, (name)!" text, and ask you what you would like to do.
{COMMANDLIST} Will open up another wall panel and show a static list of recognized commands. (I haven't actually built that part yet, but that's simple compared to getting this stupid thing to recognize and use your name!)
From there, it should be simple to make the 'AI' do just about anything you can accomplish with logic via a text command.
Ignite the engines, dim the lights, report position/status, activate the chain drive and/or parking break. All that jazz.
One interesting possibility I've come up with that may or may not work would be to have the computer store the coordinates of the last sector you were in before you engaged the jump drive, and retrieve that information for you upon command.
It also might be possible to create a kind of 'memory bank' where you could manually input the coordinates of a handful of specific sectors you want to save, and keep those stores for later recall.
Me: "Where was that asteroid belt again?"
Me: "Computer, {asteroid belt 5}"
Computer: [-67,45,-179]
Me:
(I was advised to put this thread here in Logic instead of General. I've seen the work people on this forum do, and I'm comparatively a complete novice, so I was initially too intimidated. LoL)
---
We're playing in a setting with AI. There's so many more places one could go with that idea.
So, since I'm a giant NERD and logic is fun to play with, I decided to see if I could create a responsive computer terminal to be used aboard a ship. It's surprisingly easy to do, though it's not exactly simple or svelte...
This mass of logic is just a couple of basic functions. It goes like this:
We start with the "off" status message. If you do as it says and type {ACTIVATE}, you get this prompt.
The "Welcome!" Pops up, then the second block of text pops up a second afterward as a little door panel opens.
Once you enter your name, the panel will close. It will never open again unless you force it. Sadly in this test drive the door had a weird collision and broke, but the logic was sound. I just need to alter the door panel itself.
The computer will now remember your name and address you as such in all of its dialogue. If you type {DEACTIVATE} You'll return to the prompt from the second image. If you activate it again, and you've already entered your name, it will jump straight to the "Greetings, (name)!" text, and ask you what you would like to do.
{COMMANDLIST} Will open up another wall panel and show a static list of recognized commands. (I haven't actually built that part yet, but that's simple compared to getting this stupid thing to recognize and use your name!)
From there, it should be simple to make the 'AI' do just about anything you can accomplish with logic via a text command.
Ignite the engines, dim the lights, report position/status, activate the chain drive and/or parking break. All that jazz.
One interesting possibility I've come up with that may or may not work would be to have the computer store the coordinates of the last sector you were in before you engaged the jump drive, and retrieve that information for you upon command.
It also might be possible to create a kind of 'memory bank' where you could manually input the coordinates of a handful of specific sectors you want to save, and keep those stores for later recall.
Me: "Where was that asteroid belt again?"
Me: "Computer, {asteroid belt 5}"
Computer: [-67,45,-179]
Me:
So, since I'm a giant NERD and logic is fun to play with, I decided to see if I could create a responsive computer terminal to be used aboard a ship. It's surprisingly easy to do, though it's not exactly simple or svelte...
This mass of logic is just a couple of basic functions. It goes like this:
We start with the "off" status message. If you do as it says and type {ACTIVATE}, you get this prompt.
The "Welcome!" Pops up, then the second block of text pops up a second afterward as a little door panel opens.
Once you enter your name, the panel will close. It will never open again unless you force it. Sadly in this test drive the door had a weird collision and broke, but the logic was sound. I just need to alter the door panel itself.
The computer will now remember your name and address you as such in all of its dialogue. If you type {DEACTIVATE} You'll return to the prompt from the second image. If you activate it again, and you've already entered your name, it will jump straight to the "Greetings, (name)!" text, and ask you what you would like to do.
{COMMANDLIST} Will open up another wall panel and show a static list of recognized commands. (I haven't actually built that part yet, but that's simple compared to getting this stupid thing to recognize and use your name!)
From there, it should be simple to make the 'AI' do just about anything you can accomplish with logic via a text command.
Ignite the engines, dim the lights, report position/status, activate the chain drive and/or parking break. All that jazz.
One interesting possibility I've come up with that may or may not work would be to have the computer store the coordinates of the last sector you were in before you engaged the jump drive, and retrieve that information for you upon command.
It also might be possible to create a kind of 'memory bank' where you could manually input the coordinates of a handful of specific sectors you want to save, and keep those stores for later recall.
Me: "Where was that asteroid belt again?"
Me: "Computer, {asteroid belt 5}"
Computer: [-67,45,-179]
Me:
(I was advised to put this thread here in Logic instead of General. I've seen the work people on this forum do, and I'm comparatively a complete novice, so I was initially too intimidated. LoL)
---
We're playing in a setting with AI. There's so many more places one could go with that idea.
So, since I'm a giant NERD and logic is fun to play with, I decided to see if I could create a responsive computer terminal to be used aboard a ship. It's surprisingly easy to do, though it's not exactly simple or svelte...
This mass of logic is just a couple of basic functions. It goes like this:
We start with the "off" status message. If you do as it says and type {ACTIVATE}, you get this prompt.
The "Welcome!" Pops up, then the second block of text pops up a second afterward as a little door panel opens.
Once you enter your name, the panel will close. It will never open again unless you force it. Sadly in this test drive the door had a weird collision and broke, but the logic was sound. I just need to alter the door panel itself.
The computer will now remember your name and address you as such in all of its dialogue. If you type {DEACTIVATE} You'll return to the prompt from the second image. If you activate it again, and you've already entered your name, it will jump straight to the "Greetings, (name)!" text, and ask you what you would like to do.
{COMMANDLIST} Will open up another wall panel and show a static list of recognized commands. (I haven't actually built that part yet, but that's simple compared to getting this stupid thing to recognize and use your name!)
From there, it should be simple to make the 'AI' do just about anything you can accomplish with logic via a text command.
Ignite the engines, dim the lights, report position/status, activate the chain drive and/or parking break. All that jazz.
One interesting possibility I've come up with that may or may not work would be to have the computer store the coordinates of the last sector you were in before you engaged the jump drive, and retrieve that information for you upon command.
It also might be possible to create a kind of 'memory bank' where you could manually input the coordinates of a handful of specific sectors you want to save, and keep those stores for later recall.
Me: "Where was that asteroid belt again?"
Me: "Computer, {asteroid belt 5}"
Computer: [-67,45,-179]
Me:
Last edited by a moderator: