1. How do I use the "modify" definition in an .ssc file in the "extras" directory to override the "CustomOrbit" definition for a default object in the "data" directory, such as the sun? I'm looking to make my "Apollo" addon more realistic without having to have the end-user modify a file in the "data" directory.
2. How do I use the "modify" feature to add new names to a pre-existing object?
And is either of this possible?
2 questions about the "Modify" feature
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 authorPlutonianEmpire
- Posts: 1374
- Joined: 09.09.2004
- Age: 40
- With us: 20 years 5 months
- Location: MinneSNOWta
- Contact:
2 questions about the "Modify" feature
Terraformed Pluto: Now with New Horizons maps! :D
Re: 2 questions about the "Modify" feature
Celestia ignores invalid custom orbits, so changing its name to something unrecognizable will cause the EllipticalOrbit definition (if one is present) to take effect.
e.g.
(Modifying the orbit of the Sun around the Solar System Barycenter will have no effect on a spacecraft's orbit around the Earth or Moon: they're relative to wherever the Sun happens to be.)
To add new directives to an existing definition, just include them in the Modify statement.
e.g.
e.g.
Code: Select all
Modify "Moon" "Sun/Earth" { CustomOrbit "unknown" }
(Modifying the orbit of the Sun around the Solar System Barycenter will have no effect on a spacecraft's orbit around the Earth or Moon: they're relative to wherever the Sun happens to be.)
To add new directives to an existing definition, just include them in the Modify statement.
e.g.
Code: Select all
Modify "Moon" "Sun/Earth" { CustomOrbit "unknown" Visible false }
Selden
-
Topic authorPlutonianEmpire
- Posts: 1374
- Joined: 09.09.2004
- Age: 40
- With us: 20 years 5 months
- Location: MinneSNOWta
- Contact:
Re: 2 questions about the "Modify" feature
I'm having trouble getting the default DEL Tri stars to disappear.
This is what I have right now in the extras directory:
This is what I have right now in the extras directory:
Code: Select all
Modify "DEL Tri A" {
Visible false
}
Modify "DEL Tri B" {
Visible false
}
Star "Lilith:DEL Tri A:8 Tri A:GJ 92 A:ADS 1739 Aa:CCDM J02170+3414Aa" {
OrbitBarycenter "DEL Tri"
SpectralType "G0V"
AppMag 4.87
EllipticalOrbit {
Period 0.027433264887063655030800821355236
SemiMajorAxis 0.045
Eccentricity 0.011
Inclination 56.714
AscendingNode 122.736
ArgOfPericenter 28.474
MeanAnomaly 7.270
}
RotationPeriod 240.48
Obliquity 56.714
EquatorAscendingNode 122.736
}
Star "Hades:DEL Tri B:8 Tri B:GJ 92 B:ADS 1739 Ab:CCDM J02170+3414Ab" {
OrbitBarycenter "DEL Tri"
SpectralType "K4V"
AppMag 6.87
EllipticalOrbit {
Period 0.027433264887063655030800821355236
SemiMajorAxis 0.065
Eccentricity 0.011
Inclination 56.714
AscendingNode 122.736
ArgOfPericenter 208.474
MeanAnomaly 7.270
}
RotationPeriod 240.48
Obliquity 56.714
EquatorAscendingNode 122.736
}
Terraformed Pluto: Now with New Horizons maps! :D
Re: 2 questions about the "Modify" feature
I don't think that Visible works in STC files.
One way to change or replace a cataloged star is to define a new star using that Star's Hipparcos catalog number.
See http://www.lepp.cornell.edu/~seb/celest ... s.html#4.0
One way to change or replace a cataloged star is to define a new star using that Star's Hipparcos catalog number.
See http://www.lepp.cornell.edu/~seb/celest ... s.html#4.0
Selden
-
Topic authorPlutonianEmpire
- Posts: 1374
- Joined: 09.09.2004
- Age: 40
- With us: 20 years 5 months
- Location: MinneSNOWta
- Contact:
Re: 2 questions about the "Modify" feature
Doesn't work for DEL Tri, apparently. ![Sad :(](./images/smilies/icon_sad.gif)
Oh well.
Thank you for your help.![Smile :)](./images/smilies/icon_smile.gif)
![Sad :(](./images/smilies/icon_sad.gif)
Oh well.
Thank you for your help.
![Smile :)](./images/smilies/icon_smile.gif)
Terraformed Pluto: Now with New Horizons maps! :D