(**Done**) Error: Invalid Alternate Surface
Posted: 16.10.2022, 13:48
I'm making some AltSurfaces for the sun, but Celestia's log shows:
The .ssc file:
(The texture files' names are correct.)
Why doesn't Celestia like empty lines or even a (strictly required) "}"?
I can't see any errors on the marked lines
Some info about the .ssc file:
File encoding: UTF-8
Line endings: Windows (CR LF)
File ending: .ssc
File size: 644 B
and Celestia:
Celestia version: 1.7.0
Code: Select all
Error in .ssc file (line 8): invalid Alternate Surface
Error in .ssc file (line 16): invalid Alternate Surface
Error in .ssc file (line 24): invalid Alternate Surface
Error in .ssc file (line 31): invalid Alternate Surface
The .ssc file:
Code: Select all
AltSurface
"Visible light"
"Sol"
{
Texture
"sun_visible_ov.jpg"
}
# <-------------------- Error in .ssc file (line 8): invalid Alternate Surface
AltSurface
"Visible light (SOHO)"
"Sol"
{
Texture
"sun_visible_soho.jpg"
}
# <-------------------- Error in .ssc file (line 16): invalid Alternate Surface
AltSurface
"Ultra violet"
"Sol"
{
Texture
"sun_uv.jpg"
}
# <-------------------- Error in .ssc file (line 24): invalid Alternate Surface
AltSurface
"X-ray"
"Sol"
{
Texture
"sun_xray.jpg"
} # <-------------------- Error in .ssc file (line 31): invalid Alternate Surface
(The texture files' names are correct.)
Why doesn't Celestia like empty lines or even a (strictly required) "}"?
I can't see any errors on the marked lines
Some info about the .ssc file:
File encoding: UTF-8
Line endings: Windows (CR LF)
File ending: .ssc
File size: 644 B
and Celestia:
Celestia version: 1.7.0