Author Topic: Celestia modding possibilities?  (Read 3009 times)

0 Members and 1 Guest are viewing this topic.

Offline Ghost

  • 29
    • whoopdidoo
Celestia modding possibilities?
I clicked a link to www.shatters.net/celestia/ a while back, when someone asked for a picture of a galaxy. Now then... is there any possibility we could work the solar system aspect into FS_Open? It'd be interesting to actually have a sun in the game, and hell, even gravity is a possibility. Is there any way someone could program in an actual sun, instead of that stupid decal? By which I mean it would glow and all the fanciful stuff, and you could get way closer to it(depending on where you start in the mission; obviously it'd take forever to get to the sun if you're where you usually are). And say there was a capship out there... if it got too close, it would get pulled in and destroyed. Stuff like that. Anybody?
Wh00t!? Vinyl? Is it like an I-pod 2 or something?

[/sarcasm]

-KappaWing

The Greatest Game in Existance

  

Offline FireCrack

  • 210
  • meh...
Celestia modding possibilities?
You'd never be that close to any star, ever.
actualy, mabye not.
"When ink and pen in hands of men Inscribe your form, bipedal P They draw an altar on which God has slaughtered all stability, no eyes could ever soak in all the places you anoint, and yet to see you all at once we only need the point. Flirting with infinity, your geometric progeny that fit inside you oh so tight with triangles that feel so right."
3.141592653589793238462643383279502884197169399375105820974944 59230781640628620899862803482534211706...
"Your ever-constant homily says flaw is discipline, the patron saint of imperfection frees us from our sin. And if our transcendental lift shall find a final floor, then Man will know the death of God where wonder was before."

 

Offline Ghost

  • 29
    • whoopdidoo
Celestia modding possibilities?
I know you wouldn't. Subspace malfunction on a direly needed capital ship, anyone? Henceforth mission goes badly? Also, having something like that would be really cool in a Star Trek mod, after warp gets programmed in.
Wh00t!? Vinyl? Is it like an I-pod 2 or something?

[/sarcasm]

-KappaWing

The Greatest Game in Existance

 

Offline aldo_14

  • Gunnery Control
  • 213
Celestia modding possibilities?
A sun, IMO is so gigantic it'd be impossible to see the end of it at a close enough range to be 'pulled in' (as you'd need to be within about 40km max for the FS2 mission cube, IIRC).

I don't think it'd look good....

 
Celestia modding possibilities?
You'd end up with the Freelancer style suns at best. And that is one of the more ridiculous things illustrating bad use of scale in that game.  

If I remember correctly, the ship would need Lucifer style shields to survive much closer to a star like Sol than the orbit of Mercury for more than a very short time.

It's not really good science fiction to have a star you can closely approach. Star Trek never really let plausibility get in the way of a story.
All I ask is a tall ship and a star to steer her by.
And a laughing yarn from a merry fellow rover.
And a quiet sleep and a sweet dream when the long trick's over.
- JOHN MASEFIELD

 

Offline Ghost

  • 29
    • whoopdidoo
Celestia modding possibilities?
Eh... point taken. Screw it, then... lock and/or delete at your convenience, mods.
Wh00t!? Vinyl? Is it like an I-pod 2 or something?

[/sarcasm]

-KappaWing

The Greatest Game in Existance

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Celestia modding possibilities?
the only game that comes close to accurate solar system recreation would have to be frontier. solar objects actually move in orbits, things are the right size, distances are accurate. the only problem with that game is 1 its old, and 2 its really hard.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
Celestia modding possibilities?
Quote
Originally posted by Ghost
I know you wouldn't. Subspace malfunction on a direly needed capital ship, anyone? Henceforth mission goes badly? Also, having something like that would be really cool in a Star Trek mod, after warp gets programmed in.

Let me guess, you are remembering Kurn's maneuver with his BoP at the beginning of the TNG Season 5 premier (the Klingon civil war) and seeking to reproduce it?
The Trivial Psychic Strikes Again!

 

Offline Black Wolf

  • Twisted Infinities
  • 212
  • Hey! You! Get off-a my cloud!
    • Visit the TI homepage!
Celestia modding possibilities?
Of course, someone could alwaysgo the otherway and put FS2 stuff into celestia, for a bit of a lauh, ala the Celestia Motherode.
TWISTED INFINITIES · SECTORGAME· FRONTLINES
Rarely Updated P3D.
Burn the heretic who killed F2S! Burn him, burn him!!- GalEmp

 

Offline Ace

  • Truth of Babel
  • 212
    • http://www.lordofrigel.com
Celestia modding possibilities?
Quote
Originally posted by Nuke
the only game that comes close to accurate solar system recreation would have to be frontier. solar objects actually move in orbits, things are the right size, distances are accurate. the only problem with that game is 1 its old, and 2 its really hard.


Independence War and I-War 2 had pretty well done solar systems as well.
Ace
Self-plagiarism is style.
-Alfred Hitchcock

 

Offline Flaser

  • 210
  • man/fish warsie
Celestia modding possibilities?
Quote
Originally posted by aldo_14
A sun, IMO is so gigantic it'd be impossible to see the end of it at a close enough range to be 'pulled in' (as you'd need to be within about 40km max for the FS2 mission cube, IIRC).

I don't think it'd look good....


What everyone should get out of their head/abandon and eradicate is the whole concept of going too close and being pulled in if you aim for scientific accuracy.
It's similar to the myth that their isn't gravity in space so that's why astronauts are in weightlessness.

Nothing is farther from the truth - the reason why astronauts are in weightlessness is that they are constantly "falling" around the Earth.
(A more sci.accurate term is they are in the same inertia system as their ship).

However the ship, the pilots and everything else in orbit are still in gravity. They are constantly accelerating towards the Earth - for that's the force that keeps them in orbit.
There is no point where gravity suddenly starts to take effect - it is always there pulling at you and you have to compensate and take it into account.

This is the reason I started the *abandoned(? - maybe not)* thread Spaceflight 101 to explain how manuevering and changing orbits is done, to clear up some misconceptions.

So near any star, planet, supernova, blackhole gravity is always there always pulling at you.
What's different is the force of the pull - the closer you get the stronger it gets in relation with the
F=C*(1/R^2) function
R = Radius, your distance from the star.
To compansate for this the closer you are the faster you will have to go on your orbit.
I originally found it a bit strange, but the further you are from the source of the gravity the slower you need to go to keep your orbit.

So, IMHO no going close to the star provided you have adequate heat shielding (and good enough predictions to know where solar flares won't happen) shouldn't really be a problem.
You would just have to go *really* fast perpedecular to the stars surface to keep your speed.
This isn't that hard however. You're in the stars gravity well - all the distance you have towards it is potential energy which will be converted to speed when you reach it. - This is actually the reason why shooting something * into*the Sun is hard - by the time the projectile reaches the Sun it will have enough momentum to stay in orbit.

From a game engine point of view you would have to make doing fast orbiting possible - so great speeds should be made aviailible around another model.
However AFAIK this would be really problematic. So there is a better solution:

Fake it. Instead giving the ships a great speed and making huge models, you could trick the whole system inside out.
1) First make some calculations:

How big is the orbited body?
What's the distance at which the ships will orbit?
Calculate the speed needed to orbit at that distance. (It's not that hard to do.)
This is the tricky part: How big wil the orbited object look from that distance?

Now the trick:
Make a model of the obited body as big as it will look from that distance. Put it into a skymap.
Calculate the angle-velocity at which the whole skymap should be rotated around the model along with the model. Make it rotate so.

In mission it would appear as if the ships are in orbit around that body, and everything should appear to be in order.

SCP Needs:
-The ability to rotate the background.
-Ability to put models into the background (already possible since we have the subspace tunnel).

What about changing orbit, or an non-circular orbit? This is a lot trickier - the rotation speed and the size of the model would both change in this one. This could be worked around though IMHO in a similar manner.

What about bodies too big to put into game?
Simplyfy them - make only put in the visible part. Fake the rotation with moving maps (material system will make it possible).
Bobbau's superlodding would even allow making verybig models, and only rendering parts of them. (development time unknown, superdetailing is the babysteps in this direction along and it will need the material system too.)
"I was going to become a speed dealer. If one stupid fairytale turns out to be total nonsense, what does the young man do? If you answered, “Wake up and face reality,” you don’t remember what it was like being a young man. You just go to the next entry in the catalogue of lies you can use to destroy your life." - John Dolan

 

Offline Ghost

  • 29
    • whoopdidoo
Celestia modding possibilities?
Trivial Psychic: No... When TNG Season 5 rolled around, I was still too young to remember really anything. The only concrete memory I have of TNG is Locutus being onscreen, saying "I am Locutus of Borg. Your life as it has been, is over. From this time forward, you will service us." And I haven't watched anything past 4 ever since; I started to watch all the old ones but lost interest.
Wh00t!? Vinyl? Is it like an I-pod 2 or something?

[/sarcasm]

-KappaWing

The Greatest Game in Existance

 

Offline FireCrack

  • 210
  • meh...
Celestia modding possibilities?
You wouldnt be orbiting fast enough to warrant a rotating skybox.
actualy, mabye not.
"When ink and pen in hands of men Inscribe your form, bipedal P They draw an altar on which God has slaughtered all stability, no eyes could ever soak in all the places you anoint, and yet to see you all at once we only need the point. Flirting with infinity, your geometric progeny that fit inside you oh so tight with triangles that feel so right."
3.141592653589793238462643383279502884197169399375105820974944 59230781640628620899862803482534211706...
"Your ever-constant homily says flaw is discipline, the patron saint of imperfection frees us from our sin. And if our transcendental lift shall find a final floor, then Man will know the death of God where wonder was before."

 

Offline Flaser

  • 210
  • man/fish warsie
Celestia modding possibilities?
Quote
Originally posted by FireCrack
You wouldnt be orbiting fast enough to warrant a rotating skybox.


That's a matter of closeness - as I said, the closer you are the faster you have to go to stay in orbit.
This is modified by the mass of the orbited object - and if you're orbiting a sun up close, trust me you should see the waves of hot plasma go by below.
"I was going to become a speed dealer. If one stupid fairytale turns out to be total nonsense, what does the young man do? If you answered, “Wake up and face reality,” you don’t remember what it was like being a young man. You just go to the next entry in the catalogue of lies you can use to destroy your life." - John Dolan

 

Offline Fieari

  • 24
Celestia modding possibilities?
-insert obligatory "I'm new/first post" message here-

Would it be possible to use a system as described above to have a pseudo-terrestrial mission?  I'm asking because I've been thinking about the possibilities inherant in missions where you have to attack a moon installation or something like that.  The problem being that you'd need a "ground level" sort of thing that you can actually crash into, and with freespace, I'd think that'd mean needing a really freakin' huge model which would probably be bad for the engine, right?  Or if not bad for the engine, at the very least really ugly...
« Last Edit: May 13, 2005, 10:28:43 pm by 2771 »

 

Offline Anaz

  • 210
Arrr. I'm a pirate.

AotD, DatDB, TVWP, LM. Ph34r.

You WILL go to warpstorm...

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline Unknown Target

  • Get off my lawn!
  • 212
  • Push.Pull?
Celestia modding possibilities?
Or you could just put it in anyway and say "screw science, this is a sci fi game, and it's a really neat effect"

 

Offline Fieari

  • 24
Celestia modding possibilities?
Thanks for those links... dude, that looks awesome.  And even for the mission I had in mind!  Nothing new under the sun, eh?

So, I guess adding gravity to that wouldn't be too hard, if gravity were to be implemented, which would be awesome of course.

 

Offline FireCrack

  • 210
  • meh...
Celestia modding possibilities?
Quote
Originally posted by Flaser


That's a matter of closeness - as I said, the closer you are the faster you have to go to stay in orbit.
This is modified by the mass of the orbited object - and if you're orbiting a sun up close, trust me you should see the waves of hot plasma go by below.



Considering the size of these objects you could never be fesably close enough.

Assuming the sun takes 90 degrees in your FOV (distnace is sqrt2 radius

radius of the sun = 695 500 × 10^3 meters

mass of the sun = 1.98892 × 10^30 kilograms

v=sqrt(GM/R)

v=sqrt((6.67*10^-11)(1.99*10^30)/(sqrt2*695500*10^3))

v=sqrt(1.34*10^11)

v=3.67*10^5

t=2piR(sqrt2)/v

t=16823 s

t=4.67 hrs


It would take four and a half hours ingame for an object the size and mass of our sun taking up 90% of the feild of view to rotate once

divide by 360 and mulktiply by 3600

The sun would be rotating approx 1 degree every 47 seconds. IMO too slow.


at perihelion (closest to sun) mercury's distance is over 46 times the distance used in my caclulations.
« Last Edit: May 14, 2005, 04:31:58 pm by 2073 »
actualy, mabye not.
"When ink and pen in hands of men Inscribe your form, bipedal P They draw an altar on which God has slaughtered all stability, no eyes could ever soak in all the places you anoint, and yet to see you all at once we only need the point. Flirting with infinity, your geometric progeny that fit inside you oh so tight with triangles that feel so right."
3.141592653589793238462643383279502884197169399375105820974944 59230781640628620899862803482534211706...
"Your ever-constant homily says flaw is discipline, the patron saint of imperfection frees us from our sin. And if our transcendental lift shall find a final floor, then Man will know the death of God where wonder was before."