IPB

Welcome Guest ( Log In | Register )

Airplanes and insane speed
mapbear
post Jul 9 2017, 12:06 PM
Post #1


Captain
***

Group: Soldiers
Posts: 38
Joined: 30-August 16
From: Denmark
Member No.: 11,762



I have some 1WW planes from aix, but on p4f maps, they are insanely fast.
In Object.ai for the WW1 planes, I have tried to change
CODE
aiTemplatePlugIn.maxSpeed 10.0
rem 60

Eg from 60 orr to 10, but without any change, the old WW1 plane still goes like a f16, and thats just not good.. (wings would come off...

Where is the setting that can alter air-speed for a plane?


--------------------
Best Regards!
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies (1 - 5)
mschoeldgen
post Jul 9 2017, 02:02 PM
Post #2


Major
****

Group: Soldiers
Posts: 740
Joined: 26-September 04
From: Berlin
Member No.: 410



QUOTE
Where is the setting that can alter air-speed for a plane?

This is a combination of various parameters.
First find
CODE
ObjectTemplate.drag 0.12

in PlayerControlObject and see what is coded here. A larger drag slows down. Note the values are from my Mitsubishi Zero, its a WW2 plane and thus still much faster than your Biplane. Adjust accordingly.
Next find the engine and check its torque:
CODE
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque 1200
ObjectTemplate.setDifferential 10
ObjectTemplate.setGearUp 0.7
ObjectTemplate.setGearDown 0.3
ObjectTemplate.setGearRatios 3.5 2.2 1.5 1.1 0.94

Lower torque means slower speed.
Its been a while so i can't remember if the maxSpeed of the engine has an influence
CODE
ObjectTemplate.setMaxSpeed 0/0/3800



I'm sure clivewil can fill in anything i forgot :-)

Note that you should revert the AI setting from your first post. Its only for Bot behaviour and tells the speed in meter/sec for the bot to control it. Once you have set good values you can adjust that value to the real speed of the plane.

This post has been edited by mschoeldgen: Jul 9 2017, 02:05 PM


--------------------
http://www.xww2.com Reviving the past on todays game engine
Go to the top of the page
 
+Quote Post
clivewil
post Jul 9 2017, 07:09 PM
Post #3


meh.
Group Icon

Group: Mr. Admin
Posts: 2,008,270
Joined: 24-July 07
From: Perth, Western Australia
Member No.: 3,545



the AIX WW1 planes were, as you've pointed out, basically just different looking jets. they were just a bit of fun hidden away in a secret map, not a serious attempt at biplane flight physics

somewhere around here i have a few of the AIX WW1 planes - plus a few that were made long after AIX e.g. DeHavilland DH-2, Nieuport 17, Fokker D-VIII - that were coded and set up similar to my ultralights. i think the AIX ones i re-jigged also got re-done UV maps and geometry in some cases. instead of being overpowered, they are now underpowered and very slow but i found them quite enjoyable to fly and it wouldn't be hard to tweak them up a bit if desired

i'll have a poke around and see if i can dig them up

---> aha found some WIP screenshots of newer ones







...wow, photobucket really wreaked havoc on our forum, didn't they. little grey 'pay up or die' placeholders everywhere...


--------------------
Go to the top of the page
 
+Quote Post
mapbear
post Jul 10 2017, 08:16 AM
Post #4


Captain
***

Group: Soldiers
Posts: 38
Joined: 30-August 16
From: Denmark
Member No.: 11,762



Absolute brilliant information from both of you -Thanks a lot!
I will try your tips when i get home tonight. Much Appreciated!


--------------------
Best Regards!
Go to the top of the page
 
+Quote Post
mschoeldgen
post Jul 15 2017, 08:54 AM
Post #5


Major
****

Group: Soldiers
Posts: 740
Joined: 26-September 04
From: Berlin
Member No.: 410



QUOTE
Its been a while so i can't remember if the maxSpeed of the engine has an influence
CODE
ObjectTemplate.setMaxSpeed 0/0/3800


clivewil - any idea on that one? Will the plane go faster if maxSpeed is increased?
Or does it all come down to only setting torque and the gearbox?


--------------------
http://www.xww2.com Reviving the past on todays game engine
Go to the top of the page
 
+Quote Post
clivewil
post Jul 15 2017, 10:27 AM
Post #6


meh.
Group Icon

Group: Mr. Admin
Posts: 2,008,270
Joined: 24-July 07
From: Perth, Western Australia
Member No.: 3,545



ah, it has been a while since i've played with that stuff so i might be mis-remembering, but if it's anything like helicopters, increasing it won't do much other than make the engine take longer to spool up - torque and differential provide the real power, iirc


--------------------
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st November 2017 - 12:19 AM