Author Topic: W-H-I-Y-L - boom shake-shake shake the-room.  (Read 3999159 times)

0 Members and 20 Guests are viewing this topic.

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Wh473v3r H4pp3n$ 1n ¥0µr £1ƒ3: ƒ0r3v3r
Well I hope you manage to pull it all off. What about missile flight models/dynamics, are you intending to/have you implemented how gravity, air density and drag etc will influence those yet?

*Takes cover in the event of Nuke's brain exploding*

gravity works well for everything, though i want to add support for more than one gravity sources (large asteroids, comets, juggernauts, small moons). gravity can be either planar or spherical. while the planar type gravity is for objects that are too large to fit into the box that is an fs mission, spherical gravity can be used on objects that can. and it would be cool if we could have more than one. the idea would be to model sections of asteroid fields where all the large rocks have gravity and other objects orbiting them and all kinds of cool stuff. problem is that right now all gravity objects are assumed to be fixed. i need to change some code around to allow gravity objects to move.

not sure if i want multiple atmospheres though, usually atmosphere is only used with planar terrain models and nebulae (planets use complicated barometric modeling, while nebulae use a fixed density value), but i would like to use it with smaller objects like comets so you would have localized atmosphere on a small moving object.

drag works well for ships (weapons not so well, since they usually decelerate too fast in atmo), lift works for ships (some missiles may get "wings"), thrust works for everything. collisions tend to screw up, also homing missiles crash the game. i think all the crashing bugs most likely come into play when lua's 8 byte floats are converted to freespace's 4 byte floats, so while lua shows a perfectly valid number in all the debug info, freespace freaks out because its out of range (too big or too small to be represented by a 32 bit float). fixing these problems would require better physics scripting options such as the ability to override default game physics, and probably a better physics hook that runs for every object in the game, where the game gives me info about an object. such as: handle to it, its "breed", what the ai/player is doing with the controls, a list of collisions, with info on what collided, how fast the collision took place, where it happened and in what direction, then i can plug all that info into some formula, then output the ships new velocity, angular velocity (position should be handled by the game even with an override, so should collision detection, though i should still get to decide how that collision affects the object).

*brain reaches critical mass*
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 iamzack

  • 26
Re: Wh473v3r H4pp3n$ 1n ¥0µr £1ƒ3: ƒ0r3v3r
~50 minutes on the exercise bike
17.43 miles
237 calories

yeeeaaaaaaahhhhhhhhhhh
WE ARE HARD LIGHT PRODUCTIONS. YOU WILL LOWER YOUR FIREWALLS AND SURRENDER YOUR KEYBOARDS. WE WILL ADD YOUR INTELLECTUAL AND VERNACULAR DISTINCTIVENESS TO OUR OWN. YOUR FORUMS WILL ADAPT TO SERVICE US. RESISTANCE IS FUTILE.

 

Offline Colonol Dekker

  • HLP is my mistress
  • Moderator
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: Wh473v3r H4pp3n$ 1n ¥0µr £1ƒ3: ƒ0r3v3r
That's a burger and shake cancelled out. . .
 
Try for twenty miles next time :)
Campaigns I've added my distinctiveness to-
- Blue Planet: Battle Captains
-Battle of Neptune
-Between the Ashes 2
-Blue planet: Age of Aquarius
-FOTG?
-Inferno R1
-Ribos: The aftermath / -Retreat from Deneb
-Sol: A History
-TBP EACW teaser
-Earth Brakiri war
-TBP Fortune Hunters (I think?)
-TBP Relic
-Trancsend (Possibly?)
-Uncharted Territory
-Vassagos Dirge
-War Machine
(Others lost to the mists of time and no discernible audit trail)

Your friendly Orestes tactical controller.

Secret bomb God.
That one time I got permabanned and got to read who was being bitxhy about me :p....
GO GO DEKKER RANGERSSSS!!!!!!!!!!!!!!!!!
President of the Scooby Doo Model Appreciation Society
The only good Zod is a dead Zod
NEWGROUNDS COMEDY GOLD, UPDATED DAILY
http://badges.steamprofile.com/profile/default/steam/76561198011784807.png

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Wh473v3r H4pp3n$ 1n ¥0µr £1ƒ3: ƒ0r3v3r
i have perfected my corn fritter recipee
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 Bob-san

  • Wishes he was cool
  • 210
  • It's 5 minutes to midnight.
Re: Wh473v3r H4pp3n$ 1n ¥0µr £1ƒ3: ƒ0r3v3r
i put in another eye torture session. this time i set the air density to 2 kg/m^3 (which is probably a little dense for a nebula, really how dense is nebular atmosphere?) and set the scan range to 10 km in fred. it was still fast paced (i could get up to 500 m/s before drag force exceed thrust) but i was able to track targets better and actually get a bead on the target. it occured to me that the lead indicator was useless because it didnt take into account that the shots would decelerate in flight, yet another thing to write lua for. its also becoming clear that i need to change the way fred sets the environment. currently you give it the name of a planet profile and the name of an object to apply them too and an ambient density. you can give it two nils and a density if you want to do a nebula mission with atmosphere but no gravity, you can also use a planet profile in a nebula, and atmospheric density will only drop till it reaches the ambient value. or if you dont call the se() function (se is short for set_env, because fred only gives you 32 chars to do the script eval with) you get newtonian physics. im also not sure how to handle lift in the nebula, technically speaking a wing will produce lift even if theres no gravity, which can really **** up your flying in the nebula. id just assume that the wings assume a neutral airfoil shape when in the gas.
In a nebula? You're probably looking at a density below 1g/m^3.
NGTM-1R: Currently considering spending the rest of the day in bed cuddling.
GTSVA: With who...?
Nuke: chewbacca?
Bob-san: The Rancor.

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Wh473v3r H4pp3n$ 1n ¥0µr £1ƒ3: ƒ0r3v3r
Way, way less than that in real life.

 

Offline Bob-san

  • Wishes he was cool
  • 210
  • It's 5 minutes to midnight.
Re: Wh473v3r H4pp3n$ 1n ¥0µr £1ƒ3: ƒ0r3v3r
Way, way less than that in real life.
Something to remember; a nebula is a star's material blown out into a sphere hundreds of thousands of miles across. While it could be cool to fly in some sort of dense soup, that's not how it really happens. So long as you're not near a dense section of the nebula, you will be surrounded mostly by very hot but also very sparse gas.
NGTM-1R: Currently considering spending the rest of the day in bed cuddling.
GTSVA: With who...?
Nuke: chewbacca?
Bob-san: The Rancor.

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Wh473v3r H4pp3n$ 1n ¥0µr £1ƒ3: ƒ0r3v3r
Um, yes, I think that's what I was implying.

 

Offline iamzack

  • 26
Re: Wh473v3r H4pp3n$ 1n ¥0µr £1ƒ3: ƒ0r3v3r
I got laid after all! Yay for happy endings!
WE ARE HARD LIGHT PRODUCTIONS. YOU WILL LOWER YOUR FIREWALLS AND SURRENDER YOUR KEYBOARDS. WE WILL ADD YOUR INTELLECTUAL AND VERNACULAR DISTINCTIVENESS TO OUR OWN. YOUR FORUMS WILL ADAPT TO SERVICE US. RESISTANCE IS FUTILE.

 

Offline Colonol Dekker

  • HLP is my mistress
  • Moderator
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: Wh473v3r H4pp3n$ 1n ¥0µr £1ƒ3: ƒ0r3v3r
Yes to happy finish!
 
Campaigns I've added my distinctiveness to-
- Blue Planet: Battle Captains
-Battle of Neptune
-Between the Ashes 2
-Blue planet: Age of Aquarius
-FOTG?
-Inferno R1
-Ribos: The aftermath / -Retreat from Deneb
-Sol: A History
-TBP EACW teaser
-Earth Brakiri war
-TBP Fortune Hunters (I think?)
-TBP Relic
-Trancsend (Possibly?)
-Uncharted Territory
-Vassagos Dirge
-War Machine
(Others lost to the mists of time and no discernible audit trail)

Your friendly Orestes tactical controller.

Secret bomb God.
That one time I got permabanned and got to read who was being bitxhy about me :p....
GO GO DEKKER RANGERSSSS!!!!!!!!!!!!!!!!!
President of the Scooby Doo Model Appreciation Society
The only good Zod is a dead Zod
NEWGROUNDS COMEDY GOLD, UPDATED DAILY
http://badges.steamprofile.com/profile/default/steam/76561198011784807.png

 

Offline Retsof

  • 210
  • Sanity is over-rated.
Re: Wh473v3r H4pp3n$ 1n ¥0µr £1ƒ3: ƒ0r3v3r
Guh, TVTropes is borked and I am quickly gettig bored.
:::PROUD VASUDAN RIGHTS SUPPORTER:::

"Get off my forum" -General Battuta
I can't help but hear a shotgun cocking with this.

 

Offline Colonol Dekker

  • HLP is my mistress
  • Moderator
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: Wh473v3r H4pp3n$ 1n ¥0µr £1ƒ3: ƒ0r3v3r
To quote GTVA command once you reach admiral.
 
Quote

Go read a book.

 
 
 
Edit- not in a mean way.
 
Update: six whiskys's downed and my predict'o text on the proge is hidieng my shame :)
« Last Edit: January 12, 2010, 07:38:22 pm by Colonol Dekker »
Campaigns I've added my distinctiveness to-
- Blue Planet: Battle Captains
-Battle of Neptune
-Between the Ashes 2
-Blue planet: Age of Aquarius
-FOTG?
-Inferno R1
-Ribos: The aftermath / -Retreat from Deneb
-Sol: A History
-TBP EACW teaser
-Earth Brakiri war
-TBP Fortune Hunters (I think?)
-TBP Relic
-Trancsend (Possibly?)
-Uncharted Territory
-Vassagos Dirge
-War Machine
(Others lost to the mists of time and no discernible audit trail)

Your friendly Orestes tactical controller.

Secret bomb God.
That one time I got permabanned and got to read who was being bitxhy about me :p....
GO GO DEKKER RANGERSSSS!!!!!!!!!!!!!!!!!
President of the Scooby Doo Model Appreciation Society
The only good Zod is a dead Zod
NEWGROUNDS COMEDY GOLD, UPDATED DAILY
http://badges.steamprofile.com/profile/default/steam/76561198011784807.png

 

Offline iamzack

  • 26
Re: Wh473v3r H4pp3n$ 1n ¥0µr £1ƒ3: ƒ0r3v3r


:)
WE ARE HARD LIGHT PRODUCTIONS. YOU WILL LOWER YOUR FIREWALLS AND SURRENDER YOUR KEYBOARDS. WE WILL ADD YOUR INTELLECTUAL AND VERNACULAR DISTINCTIVENESS TO OUR OWN. YOUR FORUMS WILL ADAPT TO SERVICE US. RESISTANCE IS FUTILE.

 

Offline Commander Zane

  • 212
  • Spoot Knight of Anvils
Re: Wh473v3r H4pp3n$ 1n ¥0µr £1ƒ3: ƒ0r3v3r
Pfft. :lol:

 
Re: Wh473v3r H4pp3n$ 1n ¥0µr £1ƒ3: ƒ0r3v3r
:lol:

Although I must point out that the Sonic Screwdriver doesn't actually do anything to Daleks. You need seriously high-powered weaponry to take one of them out.

Guh, TVTropes is borked and I am quickly gettig bored.

They're back up. The database no longer hates you.
"You need to believe in things that aren't true. How else can they become?" -DEATH, Discworld

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Wh473v3r H4pp3n$ 1n ¥0µr £1ƒ3: ƒ0r3v3r
i put in another eye torture session. this time i set the air density to 2 kg/m^3 (which is probably a little dense for a nebula, really how dense is nebular atmosphere?) and set the scan range to 10 km in fred. it was still fast paced (i could get up to 500 m/s before drag force exceed thrust) but i was able to track targets better and actually get a bead on the target. it occured to me that the lead indicator was useless because it didnt take into account that the shots would decelerate in flight, yet another thing to write lua for. its also becoming clear that i need to change the way fred sets the environment. currently you give it the name of a planet profile and the name of an object to apply them too and an ambient density. you can give it two nils and a density if you want to do a nebula mission with atmosphere but no gravity, you can also use a planet profile in a nebula, and atmospheric density will only drop till it reaches the ambient value. or if you dont call the se() function (se is short for set_env, because fred only gives you 32 chars to do the script eval with) you get newtonian physics. im also not sure how to handle lift in the nebula, technically speaking a wing will produce lift even if theres no gravity, which can really **** up your flying in the nebula. id just assume that the wings assume a neutral airfoil shape when in the gas.
In a nebula? You're probably looking at a density below 1g/m^3.

i really couldnt find a solid answer on the subject (which turned out to be more complicated than i was looking for). im sure a planetary nebula would have low densities and higher tempurature. when your talking about HII/III regions and stellar nurseries, things can get pretty dense. i got something between 100 and 10000 particles per cubic centimeter, with particles being 80% h2 and about 19% helium and 1% everything else (i never really took much chemistry but i assume its just a matter of adding up the mass of atoms), but i haven't got to looking up the math to convert that to the kg/cubic meter that my script is currently using for its density variable. of course im sure the script is full of conversion errors. when i was implementing the system i was thinking in terms of planetary atmosphere, which could parse a standard atmospheric model for earth, mars, whatever. drag forces in the nebula were kind of an afterthought.
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 Rian

  • 26
Re: Wh473v3r H4pp3n$ 1n ¥0µr £1ƒ3: ƒ0r3v3r
i got something between 100 and 10000 particles per cubic centimeter, with particles being 80% h2 and about 19% helium and 1% everything else (i never really took much chemistry but i assume its just a matter of adding up the mass of atoms), but i haven't got to looking up the math to convert that to the kg/cubic meter that my script is currently using for its density variable. of course im sure the script is full of conversion errors. when i was implementing the system i was thinking in terms of planetary atmosphere, which could parse a standard atmospheric model for earth, mars, whatever. drag forces in the nebula were kind of an afterthought.
The particles in question are really really really small.

With the numbers you gave it’s about 4*10-16 to 4*10-14 grams per cubic meter, or about 0.4 to 40 micrograms per cubic kilometer, if I’ve got the unit conversions right.

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Wh473v3r H4pp3n$ 1n ¥0µr £1ƒ3: ƒ0r3v3r
i think were talking about 0.0000000000000000266827107 kg/cubic meter, if i (and by i i mean google) did my math right. i dont even think that number will fit into the script eval call in fred.
« Last Edit: January 12, 2010, 10:54:43 pm by Nuke »
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 Commander Zane

  • 212
  • Spoot Knight of Anvils
Re: Wh473v3r H4pp3n$ 1n ¥0µr £1ƒ3: ƒ0r3v3r
Hah, when Googles thinks 1,000,000,000,000,000 - 999,999,999,999,999 = 0, I wouldn't trust it. :P

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Wh473v3r H4pp3n$ 1n ¥0µr £1ƒ3: ƒ0r3v3r
lol, im getting 1 newton of drag at ludicrous speed
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