Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: ROF (Rate of fire) Setting to all artillery objects.  (Read 2151 times)

0 Members and 1 Guest are viewing this topic.

Aioros

  • member
  • Offline Offline
  • Posts: 156
ROF (Rate of fire) Setting to all artillery objects.
« on: July 26, 2016, 04:20:42 PM »

This is first a question and second a request:

How hard would be to implement the ROF setting available for ships also for the Artillery objects (especially AAA) to simulate short burst of fire like those shown in the next videos?:





Thanks.

Logged
Only change is constant.

max_thehitman

  • SAS~Area51
  • Modder
  • member
  • Offline Offline
  • Posts: 8976
  • Beer...Girls...IL2+Mods!
Re: ROF (Rate of fire) Setting to all artillery objects.
« Reply #1 on: July 26, 2016, 06:13:14 PM »



All that shooting and all they killed was a pidgeon  ;D Crazy guys

Logged
Everything I like is either illegal, immoral or fattening ! Welcome to SAS1946

Aioros

  • member
  • Offline Offline
  • Posts: 156
Re: ROF (Rate of fire) Setting to all artillery objects.
« Reply #2 on: July 26, 2016, 06:40:43 PM »

 :D...Well at least they are training or are trained unlike these hopeless pieces of S#&t (sorry but I hate anything related with terrorists):



My point is it would be great to control the rate of fire to avoid the fps hit associated to objects or vehicles like the whirbelwind.
Logged
Only change is constant.

Koty

  • Mr. MiG
  • Modder
  • member
  • Offline Offline
  • Posts: 2274
  • It's a MiG!
Re: ROF (Rate of fire) Setting to all artillery objects.
« Reply #3 on: July 27, 2016, 02:28:20 AM »

yeah, something like with ships...  ;)
Logged
If I don't have to do it, I won't. If I have to do it, I'll make it quick.

Plowshare

  • Modder
  • member
  • Offline Offline
  • Posts: 639
Re: ROF (Rate of fire) Setting to all artillery objects.
« Reply #4 on: July 27, 2016, 12:33:09 PM »

This can be done permanently in the technics.ini file. Here's a couple examples:

[Flak30_20mm]
Description  German machine gun Flak 30, 20mm
Icon         antiaircraft

DelayAfterShoot         2.2
ChainfireTime           5.2


[Flak18_88mm]
Description  German antiaircraft gun Flak 18, 88mm

DelayAfterShoot         3.0
ChainfireTime             0


DelayAfterShoot is the amount of time in seconds before the next number of rounds are fired.

ChainfireTime is the amount of time in seconds the gun fires rounds - 0=1shot

If you add the line
FireFastTargets           0
the gun(s) will not shoot at planes.

Bob

edit:
You can also fool around with this line:
FastTargetsAngleError   X.X (where X = digit)

I tested this with the Russian Maxime 7.62 machinegun and there was a very noticeable difference between 2.0 (default) and 15.0.

Testing shows that you must beware that some of these changes will affect any tracks that have been made prior to the changes made.

All of the testing above was done flying my trusty F4U-1A Corsair at as fast a speed as I could get out of her!

B.
Logged

Aioros

  • member
  • Offline Offline
  • Posts: 156
Re: ROF (Rate of fire) Setting to all artillery objects.
« Reply #5 on: July 27, 2016, 03:15:56 PM »

Many thanks for your answer Plowshare. so far I have edited the technics.ini file only to modify the "FireFastTargets" setting, so the knowledge about the "DelayAfterShoot", "ChainfireTime " is more than welcome.

Quote from: Plowshare
I tested this with the Russian Maxime 7.62 machinegun and there was a very noticeable difference between 2.0 (default) and 15.0.

Testing shows that you must beware that some of these changes will affect any tracks that have been made prior to the changes made.

The maxime is precisely one of those machine guns whose tracers look great, but are too unrealistic (in my opinion) due to the exagerated rate of fire, is almost overwhelming, not even all the piss on the world would be able to refrigerate that barrel in real life  ;D.

So speaking from ignorance, I assume that it's difficult to modify the full mission builder to give it an option to alter those values directly in it, without altering the technics.ini?

The question would be...Does the ROF setting for ships alter the technics.ini in any way, or what value does it change, to change the behaviour of the guns from the FMB?

I just ask these questions out of curiosity, It's good to have a guided visit through the internals of the simulator.

Thanks again for your detailed answer Plowshare.


Logged
Only change is constant.

Koty

  • Mr. MiG
  • Modder
  • member
  • Offline Offline
  • Posts: 2274
  • It's a MiG!
Re: ROF (Rate of fire) Setting to all artillery objects.
« Reply #6 on: July 28, 2016, 09:10:47 AM »

Code: [Select]
[ZU_23_2]
Description  Russian antiaircraft gun ZU-23-2, (2x 23mm, year 1960)
Icon         antiaircraft

// Models
MeshSummer         3do/Artillery/Russia1956/ZU_23_2/Live.him
MeshDesert         3do/Artillery/Russia1956/ZU_23_2_desert/Live.him
MeshSummerDamage   3do/Artillery/Russia1956/ZU_23_2/Dead.sim
MeshDesertDamage   3do/Artillery/Russia1956/ZU_23_2_desert/Dead.sim

// Panzer
PanzerType       Artillery
PanzerSubtype       2
PanzerBodyFront  0.006

// Weapon
Gun                  MachineGun2A14_23_x2
AttackMaxDistance    3000.0
AttackMaxRadius      3000.0
AttackMaxHeight      2800.0
HeadYawHalfRange      180.0
GunMinPitch            -5.0
GunStdPitch            25.0
GunMaxPitch           +85.0
HeadMaxYawSpeed        19.6
GunMaxPitchSpeed       15.0
ChainfireTime           4.0
DelayAfterShoot         2.0
FastTargetsAngleError   1.0
FireFastTargets           1


So, change it to something like:

ChainfireTime           0.5
DelayAfterShoot         2.0
FastTargetsAngleError   4.0

?
Logged
If I don't have to do it, I won't. If I have to do it, I'll make it quick.
Pages: [1]   Go Up
 

Page created in 0.045 seconds with 24 queries.