So I was able to get a hold of a Windows device in order to continue developing add ons for Celestia. However, I'm now running into a new problem when creating my add ons. Using my SNC Dream Chaser .ssc file as a template for my future add ons, I am now ending up with none of my add ons loading in Celestia aside from Dream Chaser itself. With only the following error being spat out of the Celestia console.
Error in .ssc file (Line 2): object name expected
Now I know for a fact that the only thing on line 2 is the "{" which starts the main section of code for the .ssc file. Is there something that I'm doing wrong that I was able to get away with on MacOs? I use Microsoft VS Code both on Windows & MacOs to create my .ssc files, and I haven't been able to determine what it is that I am doing wrong now that didn't occur when I created Dream Chaser.
Error in .ssc file (Line 2): object name expected
Forum rules
Please help to make this forum more useful by checking the FAQs before posting! Keep it clean, keep it civil, keep it truthful, stay on topic, be responsible, share your knowledge.
Please help to make this forum more useful by checking the FAQs before posting! Keep it clean, keep it civil, keep it truthful, stay on topic, be responsible, share your knowledge.
-
Topic authorEndeavor35
- Posts: 49
- Joined: 16.11.2020
- With us: 3 years 11 months
- gironde
- Posts: 845
- Joined: 16.12.2016
- Age: 72
- With us: 7 years 10 months
- Location: Montigny-Les-Metz, France
Sierra Nevada Corporation Dream Chaser
viewtopic.php?p=152553#p152553
Hello Endeavor35
celestia's log file does not provide the line number that is in the ssc file when it is edited in a text editor.
see line 8 Ending " "
a value is missing. If there is none to put, remove Ending or comment out
# Ending ""
PS : You should put your spacecraft addons in the 'Spacecraft for Celestia' section. They would be easier to find.
Added after 3 minutes 44 seconds:
Notepad++ is good to edit the ssc, stc, dsc files and others
for me the encoding is in UTF8.
When you copy text from a website, you copy the formatting code of this text at the same time, so beware.
viewtopic.php?p=152553#p152553
Hello Endeavor35
celestia's log file does not provide the line number that is in the ssc file when it is edited in a text editor.
see line 8 Ending " "
a value is missing. If there is none to put, remove Ending or comment out
# Ending ""
PS : You should put your spacecraft addons in the 'Spacecraft for Celestia' section. They would be easier to find.
Added after 3 minutes 44 seconds:
Notepad++ is good to edit the ssc, stc, dsc files and others
for me the encoding is in UTF8.
When you copy text from a website, you copy the formatting code of this text at the same time, so beware.