Algodoo Commander- A CMD
9 posts • Page 1 of 1
Algodoo Commander- A CMD
Due to the lack of a complete Command Prompt on algodoo, I want to make one. This won't be short, but I will miss things if I do it on my own. Please post what you think should be in it as far as what makes a command prompt.
Please Help me by telling me what to add, an proofreading the lines of code I post that I am unsure will react correctly yet.
I already have started an ingame file space: sys::data
From there data can be stored in folders: sys::data.mydocuments
and in files: sys::data.mydocuments>>doc1: [text based document here]
This is a fair few lines of internal coding, though none is completely here.
Anyone see anything wrong so far? The file-fetching isn't ready to be revealed yet, so just assume it works.
Please Help me by telling me what to add, an proofreading the lines of code I post that I am unsure will react correctly yet.
I already have started an ingame file space: sys::data
From there data can be stored in folders: sys::data.mydocuments
and in files: sys::data.mydocuments>>doc1: [text based document here]
This is a fair few lines of internal coding, though none is completely here.
- Code: Select all
scene.my.sys = "Sys::" + scene.my.dir + ">>" //shows by default: Sys::Data>>
scene.my.dir= {scene.my.dir_data} //this is a pointer to the pointer that points to the directory.
scene.my.dir_data= {scene.my.data} //this is a pointer to directories; data is the only one for now.
scene.my.data = "Data" //basically the only current partition.
scene.my.in = "" //detects and holds keyboard input.
scene.my.open = 0 //zero by default
scene.my.open=0? {}:{scene.my.dir = {scene.my.dir + "." + scene.my.in};scene.my.in = "";scene.my.open=0}
scene.my.dir = {scene.my.dir_data}?{}:{[secret file fetching code for now]}
Anyone see anything wrong so far? The file-fetching isn't ready to be revealed yet, so just assume it works.
-
Blazemann - Posts: 151
- Joined: Tue Sep 01, 2009 1:19 am
Re: Algodoo Commander- A CMD
Currently, these are integral sentences:
PLEASE RESPOND WITH FEEDBACK!
- Code: Select all
scene.my.data = "Data"
scene.my.dir_data = {}
scene.my.dir = {scene.my.dir_data}
scene.my.sys = "<Sys::" + scene.my.dir + ">"
scene.my.in = ""
scene.my.open_dir= scene.my.in + "<open_dir>"
{
scene.my.in = "data<open_dir>"?
{scene.my.dir_data =
{scene.my.data};scene.my.in = ""}:{
}
}
PLEASE RESPOND WITH FEEDBACK!
-
Blazemann - Posts: 151
- Joined: Tue Sep 01, 2009 1:19 am
Re: Algodoo Commander- A CMD
I would have just edited the main config file, to include all the commands you want it to :\
Please excuse my posts. I am extremely stupid.
-
cdh473 - Posts: 816
- Joined: Tue Sep 01, 2009 12:37 am
- Location: Yes
Re: Algodoo Commander- A CMD
I am making a separate console, not one linked to Algodoo.
-
Blazemann - Posts: 151
- Joined: Tue Sep 01, 2009 1:19 am
Re: Algodoo Commander- A CMD
scene.my.open=0? {}:{scene.my.dir = {scene.my.dir + "." + scene.my.in};
I suppose that is supposed to be scene.my.open == 0 ? {}:{scene.my.dir = {scene.my.dir + "." + scene.my.in};
... That is if its an if statement (wich it looks like)
I suppose that is supposed to be scene.my.open == 0 ? {}:{scene.my.dir = {scene.my.dir + "." + scene.my.in};
... That is if its an if statement (wich it looks like)
If you have a question, have a dollar and call somebody that cares.
No really just PM me if you have a problem
No really just PM me if you have a problem
-
Sniperkasa - Posts: 493
- Joined: Tue Sep 01, 2009 5:34 pm
- Location: The bottom of a lake.
Re: Algodoo Commander- A CMD
Thanks, I didn't notice it.
-
Blazemann - Posts: 151
- Joined: Tue Sep 01, 2009 1:19 am
Re: Algodoo Commander- A CMD
No problemo I'll take some time studying more that code once I get time
If you have a question, have a dollar and call somebody that cares.
No really just PM me if you have a problem
No really just PM me if you have a problem
-
Sniperkasa - Posts: 493
- Joined: Tue Sep 01, 2009 5:34 pm
- Location: The bottom of a lake.
Re: Algodoo Commander- A CMD
Cool, making loads of progress.
-
Blazemann - Posts: 151
- Joined: Tue Sep 01, 2009 1:19 am
Re: Algodoo Commander- A CMD
UPDATE:
This project is over. It isn't a separate cmd anymore, and the coding was all screwing up when it was saved. It failed.
This project is over. It isn't a separate cmd anymore, and the coding was all screwing up when it was saved. It failed.
-
Blazemann - Posts: 151
- Joined: Tue Sep 01, 2009 1:19 am
9 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 13 guests