Help making addons

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
billybob884
Posts: 986
Joined: 16.08.2002
With us: 22 years 3 months
Location: USA, East Coast

Help making addons

Post #1by billybob884 » 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:
"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 :oops: )


[color=blue]Mike M. :mrgreen:
Mike M.

TacoTopia!

Topic author
billybob884
Posts: 986
Joined: 16.08.2002
With us: 22 years 3 months
Location: USA, East Coast

Post #2by billybob884 » 27.08.2002, 01:49

Nevermind, i figured out what i did wrong. it was one little } whatever that is. i forgot to put it here:
"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"


Ugh! I'm sooo mad at my self! ohwell, adding a few more planets, moons, and even a few ships. It will be done in a few days.


Mike M. :mrgreen:
Mike M.



TacoTopia!

D.Edwards
Posts: 136
Joined: 25.05.2002
With us: 22 years 6 months
Location: Oregon/USA

RE: }

Post #3by D.Edwards » 27.08.2002, 02:32

I think that its called a bracket.} :D

Darkmiss
Posts: 1059
Joined: 20.08.2002
With us: 22 years 3 months
Location: London, England

Post #4by Darkmiss » 27.08.2002, 09:49

This is lookin promising Mike

are you going to release it, when its done :?:

Topic author
billybob884
Posts: 986
Joined: 16.08.2002
With us: 22 years 3 months
Location: USA, East Coast

Post #5by billybob884 » 27.08.2002, 17:45

Yah, I'll post it in this topic of the forum for now (when I'm done) because Bruckner isnt taking anymore Add-Ons (he is doing major reconstruction on his homepage or something). Just to warn you, its going to pe a big file. its alreadt 11 mb with just the planets and one of the 2 death stars. I am hoping to add a whole bunch of ships just orbiting certain planets (like a whole mess of x-wings, y-wings, M.F., ect. orbiting hoth, and the naboo fighters orbiting naboo (obviously) and maybe more. I got all the models and most of the planet textures from [url]theforce.net[/url], but when i put them into celestia to test them, it wont show their colors. it just shows their grey basic shape. i've tried converting the textures, but i think i will need to get 3D Max Studio to fix them so it could be a while. I've also put it around another star, so that you dont see that planet labeled 'b'. thats all for now.


Mike M. :mrgreen:
Mike M.



TacoTopia!

Darkmiss
Posts: 1059
Joined: 20.08.2002
With us: 22 years 3 months
Location: London, England

Post #6by Darkmiss » 27.08.2002, 21:25

Sounds very nice Mike

looking forward to it

maybey you could post a pre version first, without the ships
just the planets, then the full version when its done ? :wink:

Topic author
billybob884
Posts: 986
Joined: 16.08.2002
With us: 22 years 3 months
Location: USA, East Coast

Post #7by billybob884 » 27.08.2002, 22:48

Yah, i'll do that, but it will probably still take a while, because all the textures from that site have to be resized. And I may not even be able to do the ships because of the texture problem. If anyone knows how to fix this, or can fix this for me, please contact me! (mcdermott964@att.net)


Mike M. :mrgreen:
Mike M.



TacoTopia!

Topic author
billybob884
Posts: 986
Joined: 16.08.2002
With us: 22 years 3 months
Location: USA, East Coast

Post #8by billybob884 » 28.08.2002, 01:24

Since the file is so big, i'll probably put it into 3 or 4 parts.


Mike M. :mrgreen:
Mike M.



TacoTopia!

Topic author
billybob884
Posts: 986
Joined: 16.08.2002
With us: 22 years 3 months
Location: USA, East Coast

DONE!!!

Post #9by billybob884 » 29.08.2002, 04:02

Its done! Well, the prerelease anyway. It includes 7 planets, 9 moons, and the death star (the first). You can download the 3 parts here>

Part 1:
http://www.geocities.com/billbob884/MikeStarwarsPrereleasePart1.zip

Part 2:
http://www.geocities.com/billbob884/MikeStarwarsPrereleasePart2.zip

Part 3:
http://www.geocities.com/billbob884/MikeStarwarsPrereleasePart3.zip

I probably wont have the next version out with the ships for a while because of the work that needs to be done to the ships, and because I dont have any program that can edit .3ds files yet. Click here http://www.geocities.com/billbob884/list.html to see a list of what ships i'm using, and click here http://www.theforce.net/scifi3d/starwars/alliancecraft.html or here http://www.theforce.net/scifi3d/starwars/imperialcraft.html to see the sites I got them from.


Mike M. :mrgreen:
Mike M.



TacoTopia!

Topic author
billybob884
Posts: 986
Joined: 16.08.2002
With us: 22 years 3 months
Location: USA, East Coast

Post #10by billybob884 » 29.08.2002, 16:15

Uh oh, found some errors. download this .ssc file to fix them. http://www.geocities.com/billbob884/SSCFile.zip


Mike M. :mrgreen:
Mike M.



TacoTopia!

Guest

Post #11by Guest » 29.08.2002, 16:50

Hum... it will be very interesting to have some indication to where copy the files and how to access to the Star Wars planets in Celestia. :D

Guest

Post #12by Guest » 29.08.2002, 16:54

And the bandwitch restrictions of Geocities is really annoying.
Why not try an other host web site ?

Topic author
billybob884
Posts: 986
Joined: 16.08.2002
With us: 22 years 3 months
Location: USA, East Coast

Post #13by billybob884 » 29.08.2002, 21:20

Anonymous wrote:Hum... it will be very interesting to have some indication to where copy the files and how to access to the Star Wars planets in Celestia. :D


put all the textures into [celestia root]/textures/medres, all the .3ds files into [celestia root]/models and all the .ssc files into [celestia root]/extra

it is based around the star hd 154116

Anonymous wrote:And the bandwitch restrictions of Geocities is really annoying.
Why not try an other host web site ?


it downloads fine for me, i just tried it and got about 4.2 kb/s (im using a 56k modem) but if you have a suggestion for another (free) webhost, please let me know


Mike M. :mrgreen:
Mike M.



TacoTopia!

Topic author
billybob884
Posts: 986
Joined: 16.08.2002
With us: 22 years 3 months
Location: USA, East Coast

Post #14by billybob884 » 29.08.2002, 22:21

what exactly is bandwith anyway?


Mike M. :mrgreen:
Mike M.



TacoTopia!

Miserableman
Posts: 65
Joined: 03.04.2002
With us: 22 years 7 months
Location: Brighton, England
Contact:

Post #15by Miserableman » 29.08.2002, 23:20

If you imagine the internet in terms of a water network instead of data, your bandwidth would be how 'fat' the pipe connected to your house is. The fatter your pipe, the faster the water flows to you. The higher your bandwidth, the faster your connection speed.

Do you see?

In this case, Mr. Anonymous is referring to Geocities deliberately throttling the pipe that connects your website to the rest of the world, so that if loads of people try and get its water, they can't get very much at once. This reduces the water pressure on Geocities local water network, and they are no doubt trying to get you to pay for a fatter pipe.

Topic author
billybob884
Posts: 986
Joined: 16.08.2002
With us: 22 years 3 months
Location: USA, East Coast

Post #16by billybob884 » 29.08.2002, 23:45

Ok good. Now that I understand that, I need to find a good server.


Mike M. :mrgreen:
Mike M.



TacoTopia!

Topic author
billybob884
Posts: 986
Joined: 16.08.2002
With us: 22 years 3 months
Location: USA, East Coast

Post #17by billybob884 » 29.08.2002, 23:49

Or should I say better server.


Mike M. :mrgreen:
Mike M.



TacoTopia!

Darkmiss
Posts: 1059
Joined: 20.08.2002
With us: 22 years 3 months
Location: London, England

Post #18by Darkmiss » 30.08.2002, 00:59

Links work, if you right click the link and "save target as"
8)

Great work Mike :) this is great
Shame about the ships, if the ships worked, that would really blow my mind

Thank you for posting this for us.. :mrgreen:
CPU- Intel Pentium Core 2 Quad ,2.40GHz
RAM- 2Gb 1066MHz DDR2
Motherboard- Gigabyte P35 DQ6
Video Card- Nvidia GeForce 8800 GTS + 640Mb
Hard Drives- 2 SATA Raptor 10000rpm 150GB
OS- Windows Vista Home Premium 32

Topic author
billybob884
Posts: 986
Joined: 16.08.2002
With us: 22 years 3 months
Location: USA, East Coast

Post #19by billybob884 » 30.08.2002, 02:20

Well, my friend thinks he may have a program that will edit them, so, if he does, I'll probably have another demo out with the rebel ships in a week or two.


Mike M. :mrgreen:
Mike M.



TacoTopia!

Guest

Post #20by Guest » 30.08.2002, 09:21

>Miserableman : your description of bandwitch is good, but when i said "the bandwitch restriction of Geocities", i didn't mean "the speed restriction of the download" but the system that Geocities uses : u have a limit in term of MB, and if u exceed it, the access to your webpage (and all the files that are hosted in) is disabled for one hour.

(sorry for my poor english, i am french)


Return to “Development”