Page 1 of 1
[Code] Energy bleed in jets
Posted: 2011-10-02 22:18
by Drunkenup
Obviously, if you are knowledgeable in fighter aircraft (or any aircraft for that matter) you know that in turns of any degree they bleed energy or momentum and subsequently loose speed. Some fighters more than others (F-15 being the best at maintaining energy and the F-14 probably being the worst). What I've been trying to explorer is how to implement into BF2, obviously in a turn you loose maybe 10 ingame units of speed at the most, and adding drag in the code has no effect whatsoever (neither does changing mass, or inertia) on energy in turns.
So what I have in mind, is implementing a engine at the front of an aircraft, that receives input through pitch, but does not respond at lower speeds inorder to not interfere with taxing and the sort (I know there is a code for this somewhere..)
What do you guys think?
Re: Energy bleed in jets
Posted: 2011-10-03 00:01
by Rhino
could work, give it a shot and see how well it works

Re: Energy bleed in jets
Posted: 2011-10-03 00:07
by AquaticPenguin
Sounds good to me. Good luck in trying to implement it ^_^
Incidentally, wasn't there a plan by the guys doing combined arms to try and improve the way the jets gain lift?
Re: Energy bleed in jets
Posted: 2011-10-03 00:14
by Rhino
AquaticPenguin wrote:Incidentally, wasn't there a plan by the guys doing combined arms to try and improve the way the jets gain lift?
the "CA" method is already there in PR and what Drunkenup was referring to in the post above but doesn't do much, unless there was a new method that never went further than the drawing board but if there was, haven't heard of it.
Re: Energy bleed in jets
Posted: 2011-10-03 00:40
by Drunkenup
before I begin, do you guys know how to raise the flight ceiling in map?
Re: Energy bleed in jets
Posted: 2011-10-03 13:23
by Rhino
Ye its:
Code: Select all
physics.airdensityzeroatheight 5000
Put that in the init.con of the map.
BTW I would advise you to use the "Test Airfield" map I made for testing aircraft, although I've just realized its missing that line of code from it's init.con so you will need to put in in, but other than that, best map for testing jets on
https://www.realitymod.com/forum/f354-c ... eased.html
Re: Energy bleed in jets
Posted: 2011-10-03 15:10
by AncientMan
The air density is common across all maps in faction_init.con

.
Re: Energy bleed in jets
Posted: 2011-10-06 00:30
by Drunkenup
'[R-DEV wrote:Rhino;1675642']Ye its:
Code: Select all
physics.airdensityzeroatheight 5000
Put that in the init.con of the map.
BTW I would advise you to use the "Test Airfield" map I made for testing aircraft, although I've just realized its missing that line of code from it's init.con so you will need to put in in, but other than that, best map for testing jets on
https://www.realitymod.com/forum/f354-c ... eased.html
I downloaded the map, had trouble at first because it kept crashing with a ambienteffect file.. but it works now and I got CliveWil's F-14 in it too. Works like a charm.
Re: Energy bleed in jets
Posted: 2011-10-12 22:27
by Drunkenup
anyone know of a command that'll have a engine not effect a object until x speed? nothing in the editor seems to do what they are named or are incomprehensible to understand what they might do..