[SSM] Aircraft Performance Tweaking
-
- Posts: 6
- Joined: Sat Dec 01, 2012 8:46 am
[SSM] Aircraft Performance Tweaking
Hello, I am having a little trouble increasing the speed/acceleration of the aircraft in BF1942 & DC
These are the codes I am trying to use to increase acceleration on the SU-25, do i need to change the SetMinRotation ,SetMaxRotation & SetMaxSpeed as well?
ObjectTemplate.setTorque 40
ObjectTemplate.setDifferential 15
ObjectTemplate.setAcceleration 1500/0/3500
Now, I am a little curious as to what each number represents (e.g) ObjectTemplate.setAcceleration 1500/0/3500
Any help would be extremely appreciated.
These are the codes I am trying to use to increase acceleration on the SU-25, do i need to change the SetMinRotation ,SetMaxRotation & SetMaxSpeed as well?
ObjectTemplate.setTorque 40
ObjectTemplate.setDifferential 15
ObjectTemplate.setAcceleration 1500/0/3500
Now, I am a little curious as to what each number represents (e.g) ObjectTemplate.setAcceleration 1500/0/3500
Any help would be extremely appreciated.
-
- Posts: 617
- Joined: Mon Oct 01, 2012 3:13 pm
- Location: Canada
- Contact:
Re: [SSM] Aircraft Performance Tweaking
Just search those properties on the old MDT database...
See my Strasbourg map project here.
Re: [SSM] Aircraft Performance Tweaking
SetMaxSpeed, as far as I know, doesn't do anything unless you set it to 0, which makes the engine glitch out.mtdragonz13 wrote:Hello, I am having a little trouble increasing the speed/acceleration of the aircraft in BF1942 & DC
These are the codes I am trying to use to increase acceleration on the SU-25, do i need to change the SetMinRotation ,SetMaxRotation & SetMaxSpeed as well?
ObjectTemplate.setTorque 40
ObjectTemplate.setDifferential 15
ObjectTemplate.setAcceleration 1500/0/3500
Now, I am a little curious as to what each number represents (e.g) ObjectTemplate.setAcceleration 1500/0/3500
Any help would be extremely appreciated.
The 3 numbers on setAcceleration are an x/y/z value. However, the x and y values don't do anything, as far as I can tell. The Z value is calculated against SetMinRotation and SetMaxRotation and determines engine response.
Re: [SSM] Aircraft Performance Tweaking
i would guess in this case its acceleration backwards/unused/forwardmtdragonz13 wrote: Now, I am a little curious as to what each number represents (e.g) ObjectTemplate.setAcceleration 1500/0/3500
according to the mdt its how fast a turret can react in mouse respons, but it doesnt seem to comply like that on engines, atleast not when i tried.
http://bfmods.com/mdt/scripting/ObjectT ... ation.html
you might need to raise the setTorque value a bit, if the engine is to weak it doesnt matter what acceleration figures you put in
Re: [SSM] Aircraft Performance Tweaking
So if the code was ObjectTemplate.setAcceleration 3500/0/3500 then it would go just as fast backward as it will forward?
I've always wanted to figure out how to make a vehicle that has the same speed backwards and forwards.
I've always wanted to figure out how to make a vehicle that has the same speed backwards and forwards.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
Re: [SSM] Aircraft Performance Tweaking
i think i might be wrong about the Acceleration thing, just looked at the fletcher engine and it has setAcceleration 0/0/5000 so it shouldnt be able to reverse at all if the first figure is backward acc
the mdt says "controls the increment of the throttle" but i know once when i tried to get planes to acc faster i had to change the setAcceleration to, no matter how strong (setTorque) or high i set the Differential of the engine.
the katycha rocket engine has some high values on setAcceleration 0/0/100000 and it isnt even using any throttle as it is a setEngineType c_ETRocket
edit: changed the first figure to 0 on the sherman engine and the sherman could no longer turn, it just went straight back/forth
sounds weird for a engine to turn objects but i guess its left and right then
the mdt says "controls the increment of the throttle" but i know once when i tried to get planes to acc faster i had to change the setAcceleration to, no matter how strong (setTorque) or high i set the Differential of the engine.
the katycha rocket engine has some high values on setAcceleration 0/0/100000 and it isnt even using any throttle as it is a setEngineType c_ETRocket
edit: changed the first figure to 0 on the sherman engine and the sherman could no longer turn, it just went straight back/forth
sounds weird for a engine to turn objects but i guess its left and right then

-
- Posts: 6
- Joined: Sat Dec 01, 2012 8:46 am
Re: [SSM] Aircraft Performance Tweaking
And yet another question.. Where can I find Network.CON files?
Do I need to put this code in
NetworkableInfo.createNewInfo
NetworkableInfo.setPredictionMode PMLinear or PMNone
& what does predictionmode do?
Thanks for your help
Do I need to put this code in
NetworkableInfo.createNewInfo
NetworkableInfo.setPredictionMode PMLinear or PMNone
& what does predictionmode do?
Thanks for your help
Re: [SSM] Aircraft Performance Tweaking
This is EXTREMELY Helpful to me: http://bfmods.com/mdt/scripting/ObjectT ... index.html
This should answer all your questions.
This should answer all your questions.

Walk quietly and carry a sniper rifle
-
- Posts: 50
- Joined: Wed May 29, 2013 9:48 pm
Re: [SSM] Aircraft Performance Tweaking
I have a question about aircraft tweaking: how do I get the engines to be set on fire sooner? Is it the codeline:
ObjectTemplate.criticalDamage 60 (?)
I want to fly around a bit with a flaming B-17
ObjectTemplate.criticalDamage 60 (?)
I want to fly around a bit with a flaming B-17

Re: [SSM] Aircraft Performance Tweaking
No, It has to do with this line:
ObjectTemplate.addArmorEffect 65 em_yak9Damage 0/-0.198/2.11
Here is what you set:
ObjectTemplate.addArmorEffect 65 em_yak9Damage 0/-0.198/2.11
If the planes hitpoints are under 65 then it will show "em_yak9Damage" at 0/-0.198/2.11
ObjectTemplate.addArmorEffect 65 em_yak9Damage 0/-0.198/2.11
Here is what you set:
ObjectTemplate.addArmorEffect 65 em_yak9Damage 0/-0.198/2.11
If the planes hitpoints are under 65 then it will show "em_yak9Damage" at 0/-0.198/2.11
Walk quietly and carry a sniper rifle