star trek add ons

Post requests, images, descriptions and reports about work in progress here.
Topic author
osram184
Posts: 1
Joined: 16.11.2006
With us: 18 years 4 months

star trek add ons

Post #1by osram184 » 16.11.2006, 01:15

i'm new not only to celestia but to cpus as well. tell me how to move a starship addon to where ever i want

Avatar
John Van Vliet
Posts: 2950
Joined: 28.08.2002
With us: 22 years 7 months

re

Post #2by John Van Vliet » 17.11.2006, 00:44

just edit the .ssc file in a text editor
ex. this is skylab

Code: Select all

# Skylab model created by Shrox -- http://www.shrox.com/
    2
    3 "Skylab" "Sol/Earth" {
    4
    5    Class "spacecraft"
    6    Mesh "skylab.3ds"
    7    Radius 0.015
    8
    9    Beginning         2441817     # 14 May 1973
   10    Ending            2444066     # 11 Jul 1979
   11
   12    EllipticalOrbit {
   13       Epoch       2462901.80828343
   14       Period            0.06475959
   15       SemiMajorAxis  6811.939
   16       Eccentricity      0.0009421
   17       Inclination      50.0459
   18       AscendingNode    24.3850
   19       ArgOfPericenter 272.0174
   20       MeanAnomaly      87.9670
   21    }
   22
   23    Obliquity        23.45       # Sun-synchronous orientation
   24    RotationPeriod 8766.15265008 # by Matt McIrvin
   25    RotationOffset  191          #
   26
   27    Albedo          0.10
   28 }


now it is at the Moon

Code: Select all


"Skylab" "Sol/Earth/Moon" {
    4
    5    Class "spacecraft"
    6    Mesh "skylab.3ds"
    7    Radius 0.015
    8
    9    Beginning         2441817     # 14 May 1973
   10    #Ending            2444066     # 11 Jul 1979
   11
   12    EllipticalOrbit {
   13       Epoch       2462901.80828343
   14       Period            0.1
   15       SemiMajorAxis  2000.0
   16       Eccentricity      0.01
   17       Inclination      10.0
   18       AscendingNode   10.0
   19       ArgOfPericenter 180.0
   20       MeanAnomaly      50.0
   21    }
   22
   23    Obliquity        23.45       # Sun-synchronous orientation
   24    RotationPeriod 8766.15265008 # by Matt McIrvin
   25    RotationOffset  90          #
   26
   27    Albedo          0.10
   28 }



Return to “Add-on development”