Help making addons
Posted: 27.08.2002, 01:20
Hey, I was making a new version of the starwars add-on and I cant get it working. Here is the code I used:
I put each planet/moon in a diff. color so it is easy to tell apart. Anybody know whats wrong?
P.S. I got most of the data for orbits and whatnot from some site online (i'm still trying to find the address )
[color=blue]Mike M.
"Tatooine" "HD 154116"
{
Texture "Tatooine.jpg"
BumpMap "TatBump.jpg"
BumpHeight 1.5
Radius 7432.1254
Atmosphere {
Height 100
Lower [ 1.6 2.5 2.5 ]
Upper [ 1.6 2.5 2.5 ]
Sky [ 1.6 2.5 2.5 ]
}
EllipticalOrbit {
Period 2.4561
SemiMajorAxis 1.6945
Eccentricity 0.1067
Inclination 0.0201
AscendingNode 348.739
LongOfPericenter 102.947
MeanLongitude 100.46
}
RotationPeriod 39.92425
Obliquity 12.08
LongOfRotationAxis 262.78
Albedo 0.8
"Moon 1" "HD 154116/Tatooine"
{
Texture "TatooineMoon1.jpg"
Radius 371
Atmosphere {
Height 25
Lower [ 0.5 0.5 0.65 ]
Upper [ 0.3 0.3 0.6 ]
Sky [ 0.3 0.6 0.9 ]
}
EllipticalOrbit {
Period 0.0995
SemiMajorAxis 303917
Eccentricity 0.1067
Inclination 0.0201
AscendingNode 348.739
LongOfPericenter 102.947
MeanLongitude 100.46
}
RotationPeriod 9
Obliquity 12.08
LongOfRotationAxis 262.78
Albedo 0.8
}
"Moon 2" "HD 154116/Tatooine"
{
Texture "TatooineMoon2.jpg"
Radius 154
Atmosphere {
Height 15
Lower [ 0.5 0.5 0.65 ]
Upper [ 0.3 0.3 0.6 ]
Sky [ 0.3 0.6 0.9 ]
}
EllipticalOrbit {
Period 0.10021
SemiMajorAxis 565133
Eccentricity 0.1067
Inclination 0.0201
AscendingNode 348.739
LongOfPericenter 102.947
MeanLongitude 100.46
}
RotationPeriod 10
Obliquity 12.08
LongOfRotationAxis 262.78
Albedo 0.8
}
"Dagobah" "HD 154116"
{
Texture "Dagobah.jpg"
Radius 8937.6219
Atmosphere {
Height 100
Lower [ 0 1.2 1.2 ]
Upper [ 0 1.2 1.2 ]
Sky [ 0 1.2 1.2 ]
CloudHeight 7
CloudSpeed 65
CloudMap "DagobahClouds.jpg"
}
EllipticalOrbit {
Period 2.4561
SemiMajorAxis 2.9418
Eccentricity 0.1067
Inclination 0.0201
AscendingNode 350
LongOfPericenter 102.947
MeanLongitude 100.46
}
RotationPeriod 39.92425
Obliquity 12.08
LongOfRotationAxis 262.78
Albedo 0.8
}
"Endor" "HD 154116"
{
Texture "Endor.png"
Radius 5200
# Oblateness 0.003
Atmosphere {
Height 120
Lower [ 0.5 0.5 0.65 ]
Upper [ 0.3 0.3 0.6 ]
Sky [ 0.3 0.6 0.9 ]
CloudHeight 7
CloudSpeed 65
CloudMap "earth-clouds.png"
}
CustomOrbit "Endor"
EllipticalOrbit {
Period 7.4561
SemiMajorAxis 4.4578
Eccentricity 0.0127
Inclination 0.2245
AscendingNode 348.739
LongOfPericenter 102.947
MeanLongitude 100.46
}
RotationPeriod 56.92425
Obliquity 12.08
LongOfRotationAxis 262.78
Albedo 0.4
}
"Death Star" "HD 154116/Endor"
{
Class "planet"
Mesh "dstar.3ds"
Radius 1600
CustomOrbit "Death Star"
EllipticalOrbit {
Period 0.20
SemiMajorAxis 24000
Eccentricity 0.001
}
Albedo 0.10
}
"Hoth" "HD 154116"
{
Texture "Hoth.jpg"
Radius 8300
Atmosphere {
Height 115
Lower [ 0.5 0.5 0.65 ]
Upper [ 0.3 0.3 0.6 ]
Sky [ 0.3 0.6 0.9 ]
CloudHeight 8
CloudSpeed 80
CloudMap "hothcloud.jpg"
}
EllipticalOrbit {
Period 1.44
SemiMajorAxis 7.925
Eccentricity 0.1067
Inclination 0.0201
AscendingNode 348.739
LongOfPericenter 102.947
MeanLongitude 100.46
}
RotationPeriod 23
Obliquity 12.08
LongOfRotationAxis 262.78
Albedo 0.8
}
"Moon 1" "HD 154116/Hoth"
{
Texture "HothMoon1.jpg"
Radius 29
Atmosphere {
Height 20
Lower [ 0.5 0.5 0.65 ]
Upper [ 0.3 0.3 0.6 ]
Sky [ 0.3 0.6 0.9 ]
}
EllipticalOrbit {
Period 0.09916
SemiMajorAxis 312185
Eccentricity 0.1067
Inclination 0.0201
AscendingNode 348.739
LongOfPericenter 102.947
MeanLongitude 100.46
}
RotationPeriod 8
Obliquity 12.08
LongOfRotationAxis 262.78
Albedo 0.8
}
"Moon 2" "HD 154116/Hoth"
{
Texture "HothMoon2.jpg"
Radius 31
Atmosphere {
Height 25
Lower [ 0.5 0.5 0.65 ]
Upper [ 0.3 0.3 0.6 ]
Sky [ 0.3 0.6 0.9 ]
}
EllipticalOrbit {
Period 0.0995
SemiMajorAxis 403917
Eccentricity 0.1067
Inclination 0.0201
AscendingNode 348.739
LongOfPericenter 102.947
MeanLongitude 100.46
}
RotationPeriod 9
Obliquity 12.08
LongOfRotationAxis 262.78
Albedo 0.8
}
"Moon 3" "HD 154116/Hoth"
{
Texture "HothMoon3.jpg"
Radius 11
Atmosphere {
Height 15
Lower [ 0.5 0.5 0.65 ]
Upper [ 0.3 0.3 0.6 ]
Sky [ 0.3 0.6 0.9 ]
}
EllipticalOrbit {
Period 0.10021
SemiMajorAxis 585133
Eccentricity 0.1067
Inclination 0.0201
AscendingNode 348.739
LongOfPericenter 102.947
MeanLongitude 100.46
}
RotationPeriod 10
Obliquity 12.08
LongOfRotationAxis 262.78
Albedo 0.8
}
I put each planet/moon in a diff. color so it is easy to tell apart. Anybody know whats wrong?
P.S. I got most of the data for orbits and whatnot from some site online (i'm still trying to find the address )
[color=blue]Mike M.