So I don't know what I did, but this laptop came extremely close to ceasing to exist when I discovered this.
![Laughing :lol:](./images/smilies/icon_lol.gif)
Of course, it wouldn't have been the first time I made one of my computers cease to exist....
![Twisted Evil :twisted:](./images/smilies/icon_twisted.gif)
So.... Yeah.
![Sad :(](./images/smilies/icon_sad.gif)
I don't know what could be wrong with the code, as the Celestia code language for Notepad++ tells me everything's in tip-top shape, but maybe someone could take a look at it? Find something I missed?
![Smile :)](./images/smilies/icon_smile.gif)
Code: Select all
Modify "Cassini" "Sol" {
Class "invisible"
OrbitFrame {
EclipticJ2000 {
Center "Sol-Bastet"
}
}
}
Modify "Huygens" "Sol/Cassini" {
Class "invisible"
OrbitFrame {
EclipticJ2000 {
Center "Sol-Bastet"
}
}
}
Modify "Galileo" "Sol" {
Class "invisible"
OrbitFrame {
EclipticJ2000 {
Center "Sol-Bastet"
}
}
}
Modify "Voyager 1" "Sol" {
Class "invisible"
OrbitFrame {
EclipticJ2000 {
Center "Sol-Bastet"
}
}
}
Modify "Voyager 2" "Sol" {
Class "invisible"
OrbitFrame {
EclipticJ2000 {
Center "Sol-Bastet"
}
}
}
Modify "2004 XP14" "Sol" {
OrbitFrame {
EclipticJ2000 {
Center "Sol-Bastet"
}
}
}
Modify "2007 TU24" "Sol" {
OrbitFrame {
EclipticJ2000 {
Center "Sol-Bastet"
}
}
}
Modify "2007 VK184" "Sol" {
OrbitFrame {
EclipticJ2000 {
Center "Sol-Bastet"
}
}
}
Modify "2008 VM" "Sol" {
OrbitFrame {
EclipticJ2000 {
Center "Sol-Bastet"
}
}
}
Modify "2009 DD45" "Sol" {
OrbitFrame {
EclipticJ2000 {
Center "Sol-Bastet"
}
}
}
Modify "Jackson Lake" "Sol" {
OrbitFrame {
EclipticJ2000 {
Center "Sol-Bastet"
}
}
}
Modify "Jackson Lake Fireball" "Sol" {
OrbitFrame {
EclipticJ2000 {
Center "Sol-Bastet"
}
}
}
Modify "Jackson Lake Post-Fireball" "Sol" {
OrbitFrame {
EclipticJ2000 {
Center "Sol-Bastet"
}
}
}
Modify "Sikhote Alin" "Sol" {
OrbitFrame {
EclipticJ2000 {
Center "Sol-Bastet"
}
}
}
Modify "Sikhote Alin Fireball" "Sol" {
OrbitFrame {
EclipticJ2000 {
Center "Sol-Bastet"
}
}
}
Modify "Tunguska" "Sol" {
OrbitFrame {
EclipticJ2000 {
Center "Sol-Bastet"
}
}
}
Modify "Tunguska Fireball 1" "Sol" {
OrbitFrame {
EclipticJ2000 {
Center "Sol-Bastet"
}
}
}
Modify "Tunguska Fireball 2" "Sol" {
OrbitFrame {
EclipticJ2000 {
Center "Sol-Bastet"
}
}
}
Modify "Lovejoy" "Sol" {
OrbitFrame {
EclipticJ2000 {
Center "Sol-Bastet"
}
}
}
The star (STC) code:
Code: Select all
Barycenter "Sol-Bastet" {
OrbitBarycenter "SSB"
CustomOrbit "vsop87-sun"
}
0 "Sol:Sun" {
SpectralType "G2V"
AbsMag 4.83
OrbitBarycenter "Sol-Bastet"
EllipticalOrbit {
Period 0.02746967830253251197809719370294
SemiMajorAxis 0.04701845522660936571428571428571
# Period 0.03378261464750171115674195756331
# SemiMajorAxis 0.0539711261875635
Eccentricity 0.0145
Inclination 0.1070
AscendingNode 26.7047
ArgOfPericenter 332.5323
MeanAnomaly 338.8521
}
UniformRotation {
Period 120.49447754137115839243498817967
# Period 148.18588179669030732860520094563
Inclination 0.1070
AscendingNode 26.7047
MeridianAngle 220.2618
}
}
Star "Bastet:Bast" {
SpectralType "K3V"
AbsMag 6.70107
OrbitBarycenter "Sol-Bastet"
EllipticalOrbit {
Period 0.02746967830253251197809719370294
SemiMajorAxis 0.06269127363547915428571428571429
# Period 0.03378261464750171115674195756331
# SemiMajorAxis 0.071961501583418
Eccentricity 0.0145
Inclination 0.1070
AscendingNode 26.7047
ArgOfPericenter 152.5323
MeanAnomaly 338.8521
}
UniformRotation {
Period 92.03121513002364066193853427896
# Period 113.18134278959810874704491725768
Inclination 0.1070
AscendingNode 26.7047
MeridianAngle 315.5240
}
}
I've tried everything I could think of, but instead of making the selected spacecraft invisible, nothing happens.
It's quite irritating, because this exact same code -- EXACT SAME CODE -- was working absolutely perfectly since I made it (the exception that the re-centering attempt never even worked for the spacecrafts since they had .xyz orbits) until tonight when it just stopped working.
![Confused :?](./images/smilies/icon_confused.gif)
The SSC for the rest of the system, and the above code, is in the attached zip.