Extendable Object Descriptions
Posted: 14.07.2009, 06:21
Whats really great about Celestia is the ability to dump assets into the Extras folder and have it work.
What could be even great functionality for multiple uses (educational etc..) is that ability to add a text file that extends an objects description. I think - the current modability is to replace that object entirely (or upgrade it). For instance most laymen would not look up the star, Epsilon Eridani, by HIP 16537 (curiously it cannot be located by typing HD 22049.)
Should something be implemented to allow dynamic extendability to object descriptions? I have seen the scc code for planets, but I dont know what the scc code for stars look like. But maybe some kind of file can be linked to the star file, and add some lines
for example, Epsilon Eridani's planet b looks something like this
"b" "HIP 16537"
{
...
}
extending it maybe could look like this
"b" "HIP 16537" extend
{
replace (b, Obscuria)
}
or
"b" "HIP 16537" extend
{
add (b, Obscuria)
}
the key words replace, replaces the name "b" with "Obscuria", or alternatively add will add an alternative name "Obscuria" to the Description.
If this become too much of resource hog, maybe a batch file could be created to find the original scc code, and append/overwrite it with the updated information. Additionally - it would really be awesome to have a command that exports the scc code of the object. For instance if I wanted to view the scc code for Tau Ceti, I could right click on the star and export it, modify the code, then use a batch program to append/overwrite it.
What could be even great functionality for multiple uses (educational etc..) is that ability to add a text file that extends an objects description. I think - the current modability is to replace that object entirely (or upgrade it). For instance most laymen would not look up the star, Epsilon Eridani, by HIP 16537 (curiously it cannot be located by typing HD 22049.)
Should something be implemented to allow dynamic extendability to object descriptions? I have seen the scc code for planets, but I dont know what the scc code for stars look like. But maybe some kind of file can be linked to the star file, and add some lines
for example, Epsilon Eridani's planet b looks something like this
"b" "HIP 16537"
{
...
}
extending it maybe could look like this
"b" "HIP 16537" extend
{
replace (b, Obscuria)
}
or
"b" "HIP 16537" extend
{
add (b, Obscuria)
}
the key words replace, replaces the name "b" with "Obscuria", or alternatively add will add an alternative name "Obscuria" to the Description.
If this become too much of resource hog, maybe a batch file could be created to find the original scc code, and append/overwrite it with the updated information. Additionally - it would really be awesome to have a command that exports the scc code of the object. For instance if I wanted to view the scc code for Tau Ceti, I could right click on the star and export it, modify the code, then use a batch program to append/overwrite it.