I am recreating the battle of Wolf 359.
What would be the best way in the scc file to position the ships? The LongLat decleration or is there something better now?
I would like some positioned over the cube and under it as well.
As you can see by the pic, they are all on the same plane for now.
Thanks,
Tim
Wolf 359
-
Topic authorfungun
- Posts: 315
- Joined: 30.07.2007
- Age: 63
- With us: 17 years 4 months
- Location: Iowa, USA
Re: Wolf 359
I tried the
Problem is, now it doesn't orbit. It just spins around in one spot, which is what I figured it would do, hence the name.
I went to the wiki and did a search on the forum, but could not find an answer-
Can you combine the above code with this code in the scc file?-
Thanks,
Tim
Code: Select all
FixedPosition
{
Planetographic [ -120 55 -1.4]
}
Problem is, now it doesn't orbit. It just spins around in one spot, which is what I figured it would do, hence the name.
I went to the wiki and did a search on the forum, but could not find an answer-
Can you combine the above code with this code in the scc file?-
Code: Select all
CustomOrbit ""
EllipticalOrbit
{
Period 30
SemiMajorAxis 30000
}
Thanks,
Tim
Re: Wolf 359
I'm not at all sure what you're trying to accomplish. Your descriptions are much too brief.
However, one way to do it might be to define an orbit for one of the objects and define the placements of the other objects relative to it.
Note that CustomOrbit is only valid for objects with orbits which are defined in Celestia's source code. Otherwise it's ignored and is only a confusion factor.
However, one way to do it might be to define an orbit for one of the objects and define the placements of the other objects relative to it.
Note that CustomOrbit is only valid for objects with orbits which are defined in Celestia's source code. Otherwise it's ignored and is only a confusion factor.
Selden
-
Topic authorfungun
- Posts: 315
- Joined: 30.07.2007
- Age: 63
- With us: 17 years 4 months
- Location: Iowa, USA
Re: Wolf 359
I made a picture this time. It was hard to explain.
Instead of all the ships being on the same orbital plane, I want to mix it up alittle.
I also need to use MeanLong, because some have the same semimajoraxis. I don't really want them flying through each other.
It would be nice to make it so that when the orbits are shown in Celestia it would look like an atom, but I will settle for what is shown in the image below.
Thanks,
Tim
Instead of all the ships being on the same orbital plane, I want to mix it up alittle.
I also need to use MeanLong, because some have the same semimajoraxis. I don't really want them flying through each other.
It would be nice to make it so that when the orbits are shown in Celestia it would look like an atom, but I will settle for what is shown in the image below.
Thanks,
Tim
Re: Wolf 359
Here's an example with one ship orbiting above a borg. For simplicity, I used spheres instead of models.
Adding more at different orbital "heights" is left as an exercise for the student
I'm sure there are many other ways to accomplish the same thing.
Adding more at different orbital "heights" is left as an exercise for the student
I'm sure there are many other ways to accomplish the same thing.
Code: Select all
"borg" "Wolf 359"
{
Class "spacecraft"
Radius 1
Color [ 0 1 0 ]
EllipticalOrbit { SemiMajorAxis 2 Period 1 }
}
"c1" "Wolf 359/borg" # offset orbital center
{
Radius 0.01
OrbitFrame { BodyFixed { Center "Wolf 359/borg" } }
FixedPosition [ 0 0 2 ]
BodyFrame { BodyFixed { Center "Wolf 359/borg" } }
FixedRotation {}
}
"fed1" "Wolf 359/borg/c1" # ship orbiting around borg
{
Class "spacecraft"
Radius 0.1
Color [ 0 0.5 1 ]
OrbitFrame { BodyFixed { Center "Wolf 359/borg/c1" } }
EllipticalOrbit { SemiMajorAxis 2 Period 1 }
BodyFrame { BodyFixed { Center "Wolf 359/borg/c1" } }
FixedRotation {}
}
Selden
-
Topic authorfungun
- Posts: 315
- Joined: 30.07.2007
- Age: 63
- With us: 17 years 4 months
- Location: Iowa, USA
Re: Wolf 359
Thank you very much.
Only one more thing. Having that "c1" in there really makes the menus complicated.
I tried to put "visible false", "clickable false" right below it, but still with in the main { }. That didn't do anything for the menus though.
Is there a work-around for this too?
Thanks again,
Tim
Only one more thing. Having that "c1" in there really makes the menus complicated.
I tried to put "visible false", "clickable false" right below it, but still with in the main { }. That didn't do anything for the menus though.
Is there a work-around for this too?
Thanks again,
Tim
Re: Wolf 359
Selden
-
Topic authorfungun
- Posts: 315
- Joined: 30.07.2007
- Age: 63
- With us: 17 years 4 months
- Location: Iowa, USA
Re: Wolf 359
When I put in "ReferencePoint" then the item belonging to the c1 does not show at all.
I do have an idea that won't make it look too bad. I am going to use "Group 1,2,3..." instead of "c1,2,3..."
But, I do thank you for your help.
I almost forgot, how would you use the MeanLong, with that code you made for me, so I can put 2 ships around the same point (c1) without them ending up on top of each other. (or inside of each other, depending on how you look at it)
Tim
I do have an idea that won't make it look too bad. I am going to use "Group 1,2,3..." instead of "c1,2,3..."
But, I do thank you for your help.
I almost forgot, how would you use the MeanLong, with that code you made for me, so I can put 2 ships around the same point (c1) without them ending up on top of each other. (or inside of each other, depending on how you look at it)
Tim
Re: Wolf 359
Objects in the same orbit but on opposite sides of a central body would have MeanLongitude or MeanAnomaly values which differ by 180 degrees.
Selden
-
Topic authorfungun
- Posts: 315
- Joined: 30.07.2007
- Age: 63
- With us: 17 years 4 months
- Location: Iowa, USA
Re: Wolf 359
Works great ! Thank you again selden.
Using the "Group" thing makes it look much better too.
Now I can get to the battle part of it.
Tim
Using the "Group" thing makes it look much better too.
Now I can get to the battle part of it.
Tim