Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: DarthWang on July 12, 2005, 12:10:08 pm

Title: Affected by gravity
Post by: DarthWang on July 12, 2005, 12:10:08 pm
What does the 'affected by gravity' option in FRED 2 Open do?
Title: Affected by gravity
Post by: Goober5000 on July 12, 2005, 03:35:05 pm
Nothing at the moment.
Title: Affected by gravity
Post by: Solatar on July 12, 2005, 03:52:14 pm
It causes a gravitational pull that forces users to fly at high speed in the direction of HLP searching for the reason if it's existance.

...you know I'm right...
Title: Affected by gravity
Post by: Nico on July 12, 2005, 04:17:54 pm
Quote
Originally posted by Goober5000
Nothing at the moment.

Definitively a "must use" for any mission maker then :p
Title: Affected by gravity
Post by: Solatar on July 12, 2005, 04:44:04 pm
At least it doesn't break anything...
Title: Affected by gravity
Post by: SuperCoolAl on July 12, 2005, 05:28:50 pm
Only the SCP would put in a checkbox that doesn't actually do anything :p
Title: Affected by gravity
Post by: Goober5000 on July 12, 2005, 07:47:00 pm
Except that we do have something planned for it.
Title: Affected by gravity
Post by: DarthWang on July 13, 2005, 11:28:31 am
What, is it going to cause large ships to drift toward each other and crash?
Title: Affected by gravity
Post by: Fenrir on July 13, 2005, 12:56:18 pm
Most likely it's for any mission occuring in a planet's atmosphere or at least near one.
Title: Affected by gravity
Post by: AqueousShadow on July 13, 2005, 09:48:27 pm
Almost let go of some secret plans there...:nervous:

Ooo. I'm starting to think it'll work in conjunction with gravity tags on ships or models. That way, you can input how much gravity an object has...in this case, the terrain would have a certain amount of gravity. Though, that's how I see it.
Title: Affected by gravity
Post by: FireCrack on July 13, 2005, 10:24:57 pm
I'm preety sure anyone with any competence would be in orbit at a low altitude, or any altitude for that matter.
Title: Affected by gravity
Post by: Trivial Psychic on July 13, 2005, 11:26:37 pm
Gravity:

Type I - Non-dynamic gravity, constant pull from one direction, doesn't increase or decrease as you change your distance from the source direction
Type II - Object-based gravity, defined in pof data to give things like large asteroid pofs, gravitational attraction.  Always pulls towards the object or objects flagged as having gravity, varies in strength over range.  Strength and range figures are defined by the FREDder.  If multiple objects have gravity, they will attract each other.  Gravity may also be anchored to a point, rather than a pof file.

Lift:

A factor in a ships table entry will dictate its lift factors on ventral, dorsal and each side, which will act to partially counter gravity if the mission is flagged as being in a gravity and atmospheric environment.  Lifting surfaces will also need to be in motion to generate lift, so the stall speed will be in the ships entry too.  Also, the mission-dicated atmospheric density will have an effect on how much lift is being generated in that environment.  The lift factor of a craft may be variable, for ships like the Thunderbolt from TBP (once it gets some animated sub-object capabilities) can be made to generate lift only when its wings are deployed.

Repulsion:

Additional lift factors based on thrusters, anti-grav, or whatever, will be in the tables, capable of thrusting in all directions, using standard axial thrust controls like for shivan ships.  Some ships (Herc 1 for example) will have very poor lift, so while they may be used in an atmpshere, they will be limited in speed and maneuverability, also requiring the constant use of the axial thrust controls.

How's that?