Author Topic: The poor man's substitute for Newtonian Physics  (Read 17455 times)

0 Members and 1 Guest are viewing this topic.

Offline Backslash

  • 29
  • Bring Our Might To Bear
The poor man's substitute for Newtonian Physics
 :D I think some of you will like this.

First, make or modify a ship so that it can both slide and glide.
Code: [Select]
$Name: GTF Ulysses
+nocreate
$Max Velocity:          70.0, 70.0, 70.0
$Rear Velocity:         70.0
$Glide:                 YES
for example.  Of course you'll need to set the controls too if you haven't already.
Now try my test build: fs2_open_thrust.exe

Move in some direction, then turn on glide.  Now play around with the forward/reverse and slide thrusters. ;7

(Still needs some polish and tweaking... one thing I couldn't decide on was how to calculate how much to accelerate the ship per tic.  For now it's prev_ramp_vel / 100 .  Suggestions welcome.)

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: The poor man's substitute for Newtonian Physics
kickass!
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 pecenipicek

  • Roast Chicken
  • 211
  • Powered by copious amounts of coffee and nicotine
    • Skype
    • Steam
    • Twitter
    • PeceniPicek's own deviantart page
Re: The poor man's substitute for Newtonian Physics
how do i set the controls? :nervous:


i'm pretty much using the standard FS2 controls....
Skype: vrganjko
Ho, ho, ho, to the bottle I go
to heal my heart and drown my woe!
Rain may fall and wind may blow,
and many miles be still to go,
but under a tall tree I will lie!

The Apocalypse Project needs YOU! - recruiting info thread.

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: The poor man's substitute for Newtonian Physics
well you just need to bind the lateral thruster controls. they should be defaulted to 1,3,-,+ on the keypad (i think).
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 Herra Tohtori

  • The Academic
  • 211
  • Bad command or file name
Re: The poor man's substitute for Newtonian Physics
DAYM!  :eek:  :nod:

Code: [Select]
$Name:                    EA Aurora MK1
$Short name:              OldAurora
$Species:                 Terran
+Type:                    XSTR("Heavy Fighter", -1)
+Maneuverability:         XSTR("Very Good", -1)
+Armor:                   XSTR("Light", -1)
+Manufacturer:            XSTR("Mitchell-Hyundyne", -1)
+Description:             XSTR("Short Range Defense Operations" , -1)
$end_multi_text
+Tech Description:
XSTR("Used extensively in the Earth-Minbari War, the Aurora MK1, as it's commonly referred to, is

essentially the same craft as the current generation of Aurora StarFuries but with a less effective sensor

and targeting suite.", -1)
$end_multi_text
+Length:                  9 m
+Gun Mounts:              2
+Missile Banks:           4
$POF file:                aurora_line.pof
$Detail distance:         (0, 100, 250, 500)
$Show damage:             NO
$Density:                 1
$Damp:                    0.40
$Rotdamp:                 0.65
$Max Velocity:            85, 85, 85
$Rotation time:           3.8, 3.8, 3.1
$Rear Velocity:           85
$Forward accel:           3.0
$Forward decel:           3.0
$Slide accel:             1.2
$Slide decel:             1.2
$Glide:   YES

At last, a Star Fury!

Oh, I can see this feature having some use with BSG and TBP people...  :yes:

Thanks for giving FS a new definition. The acceleration is really quite nice... Now we have to make every AI ship to glide as well, when the player changes the mode. Is that possible?

Yes, we are never content to what we get...  :lol:
There are three things that last forever: Abort, Retry, Fail - and the greatest of these is Fail.

 
Re: The poor man's substitute for Newtonian Physics
Considering that it would probably require a complete rewrite of the AI code to get computer-controlled fighters to make use of their new abilities, I don't think it's feasible.

 

Offline Herra Tohtori

  • The Academic
  • 211
  • Bad command or file name
Re: The poor man's substitute for Newtonian Physics
 :(

Well... the Minbari, Vorlon, Shadow and Centauri vessels don't follow the laws of inertia very exactly anyways due to their gravitational engine systems. Perhaps I just have to fly solitary missions against them...  :shaking:

Nevertheless, it's cool.
There are three things that last forever: Abort, Retry, Fail - and the greatest of these is Fail.

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: The poor man's substitute for Newtonian Physics
As long as teh player can utilise the features he/she will appreciate it, TBQO FS2 fighters are all over the fraggin place anyway  :D
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: The poor man's substitute for Newtonian Physics
can you say frontier mod?
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 Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: The poor man's substitute for Newtonian Physics
FRONTIER MOD :D

Source guys work on a hydrogen powered hyper drive and realtime economy as well as a bulletin board and persisant galaxy code please :)

I'll be back by 17:00 GMT to DL it all......... :lol:
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 IPAndrews

  • Disgruntled Customer
  • 212
  • This site stole my work
Re: The poor man's substitute for Newtonian Physics
Everything is in place for a cracking Frontier mod now. Primary beams, non-linear campaign support. In fact I'm not even sure the glide stuff is necessary. Without it you have a Frontier mod that plays like Elite, which is much more fun in my book. Frontier played like crap. You'll have to remodel all the Frontier meshes though. You can download the Elite ones.
Be warned: This site's admins stole 100s of hours of my work. They will do it to you.

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: The poor man's substitute for Newtonian Physics
If the original Braben master piece can fit on a 1.44 MB floppy with quite a bit being taken up by midi's the "Fs2rontier project"tm  should be a pizzofcaaaake
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 IPAndrews

  • Disgruntled Customer
  • 212
  • This site stole my work
Re: The poor man's substitute for Newtonian Physics
We have Kara's random number seed code now. Meaning we can generate all kinds of things. If someone would make a string concat function we could even generate silly names for planets  ;7 All of which of course are anarchies inhabited by black, furry felines.
Be warned: This site's admins stole 100s of hours of my work. They will do it to you.

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: The poor man's substitute for Newtonian Physics
http://www.petrix.com/catnames/
A few galaxies in there to start code crew off....coming up to 40 minutes left before i want "Fs2rontier project"tm on my HDD.
 :nod:

fixed teh link
« Last Edit: June 20, 2006, 11:23:54 am 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 Solatar

  • 211
Re: The poor man's substitute for Newtonian Physics
Was kinda cool after I got myself to go 700 m/s.

 

Offline Backslash

  • 29
  • Bring Our Might To Bear
Re: The poor man's substitute for Newtonian Physics
well you just need to bind the lateral thruster controls. they should be defaulted to 1,3,-,+ on the keypad (i think).
Close.  Shift+ those.  though depends on how new your pilot is.  Anyway, look in Options, Control Config, in Ship; should be called "Right Thrust" "Up Thrust" etc.  Once the new pilot code is in place, I can add bindable slide axes and a 'slide when pressed' button, too. :yes:

Oh, I can see this feature having some use with BSG and TBP people...  :yes:
Now we have to make every AI ship to glide as well, when the player changes the mode. Is that possible?
Glad to hear it.  :)

Yeah I might be able to make an option so the AI uses it.  As for using it WELL though, hmmm... I dunno how to do that.  Sid is probably right.  As far as I understand, could be either reasonably easy to implement, or just about impossible.  I mean, the AI does know about sliding, and I think it can compensate for high damp factors, so there might be some hope... but even if so I suspect it will be tricky.  plus the AI code scares people already :p  Heh, you think collisions are bad now? :lol:

Nice that we have an 'excuse' for Minbari, Vorlon, etc ships to stay the same... :D

I gotta play with Damp, Forward accel / decel and Slide accel / decel some... make it so differences have better 'feel'.

There's so much I'd like to do with this but don't know if I have the coding ability (yet).  Frontier mod... heh, you guys are funny.  Great concept, actually, but ouch -- you'd have to recruit some ridiculously creative SEXPers to start anything even close.  Not it!  ...A couple of my simpler ideas I'm working on: Some sort of HUD indicator for current flight direction would be awesome, and perhaps a better handling of showing the current speed... gotta think about how best to do that.

 

Offline Herra Tohtori

  • The Academic
  • 211
  • Bad command or file name
Re: The poor man's substitute for Newtonian Physics
Just play around with motion debris effect. Make the debris a bit longer, a bit more visible and a bit less dense, and voilá,, you have direction indicator.

Actually, I can see my direction quite well from motion debris as it is, it could just be a bit clearer with edited version. What would be more important is to enable the speed indicator to show negative speeds as well as positive...
There are three things that last forever: Abort, Retry, Fail - and the greatest of these is Fail.

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: The poor man's substitute for Newtonian Physics
Would it bepossible using the motion debris code to generate an I-War style thing, (not just an extension of existing dusty bits) but a full laser-esque new hud feature?
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 Kaine

  • 27
Re: The poor man's substitute for Newtonian Physics
there is code in place to make whole new scripted HUDs, just nobody uses it  :rolleyes: maybe you can research that?

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: The poor man's substitute for Newtonian Physics
yea you can render the same lines that iwar uses with scripting, its just a matter of getting your inertial vector from the game.
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