Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
Page 1 of 2 1 2
#4491051 - 10/01/19 07:46 PM Chaffs / flares amount  
Joined: Nov 2018
Posts: 82
PatrykW Offline
Junior Member
PatrykW  Offline
Junior Member

Joined: Nov 2018
Posts: 82
Gillingham
Hi there

Quick one - is there an easy way of changing how many chaffs and flares the helo has got. To be honest AH64 hasn't got that many of them and I believe the numbers should be a bit higher.

Cheers

Last edited by PatrykW; 10/03/19 03:42 PM.
#4491377 - 10/04/19 03:49 AM Re: Chaffs / flares amount [Re: PatrykW]  
Joined: Dec 2010
Posts: 1,669
messyhead Offline
messyhead  Offline

Member

Joined: Dec 2010
Posts: 1,669
There isn't, it's set in the code. Do you know how many it has in real life?

#4491433 - 10/04/19 03:28 PM Re: Chaffs / flares amount [Re: PatrykW]  
Joined: Apr 2018
Posts: 283
Javelin Offline
Member
Javelin  Offline
Member

Joined: Apr 2018
Posts: 283
Idaho Falls, Idaho USA
The setting is in the weapons configuration file for the AH64, I know right where it is in the code. The code has to be recompiled to insert a new setting, though.

\EECHSourceCode\aphavoc\source\entity\mobile\weapon\configs\apache.h and apache_a.h

#4491564 - 10/05/19 03:10 PM Re: Chaffs / flares amount [Re: PatrykW]  
Joined: Nov 2018
Posts: 82
PatrykW Offline
Junior Member
PatrykW  Offline
Junior Member

Joined: Nov 2018
Posts: 82
Gillingham
I had the numbers somewhere before I moved, will need to dig them out. It was just something that sometimes was bugging me a bit. If I could get the numbers would anyone be willing to help me to update the code?

Cheers guys

#4491571 - 10/05/19 04:29 PM Re: Chaffs / flares amount [Re: PatrykW]  
Joined: Nov 2018
Posts: 82
PatrykW Offline
Junior Member
PatrykW  Offline
Junior Member

Joined: Nov 2018
Posts: 82
Gillingham
Ok found the info in regards to chaffs

https://info.publicintelligence.net/USArmy-ApacheLongbow.pdf

Page 741

4.87.1 System Description. The M141 General Purpose Aircraft Dispenser (CHAFF) is an active ECM system designed to protect the helicopter from AAA, SAM,
and Airborne Intercept (AI) radar threats. The system can
dispense up to 30 chaff cartridges (MI) as a countermeasure against radar guided weapons systems. The chaff
system is basically composed of three components, the
dispenser assembly, the payload module, and the chaff
safety switch.

Just need to dig out some info on flares.


*********************************************************************************************

Actually I might have answered my own question. If only one dispenser is fitted then the amount of chaffs and flares might be right = 30 however not sure if the same dispenser can have both chaffs and flares fitted...if it can would there be additional dispensers fitted during the mission.

Crap, shot myself in the foot with this one LOL

Last edited by PatrykW; 10/05/19 04:41 PM.
#4491651 - 10/06/19 08:53 AM Re: Chaffs / flares amount [Re: PatrykW]  
Joined: Dec 2010
Posts: 1,669
messyhead Offline
messyhead  Offline

Member

Joined: Dec 2010
Posts: 1,669
I found where this is set in the code. It's set to 10 chaff, and 20 flare, but I think that might be per dispenser, so 20 chaff and 40 flare. I can't check the numbers in the game, does that match what you see in the game?

#4491721 - 10/06/19 04:11 PM Re: Chaffs / flares amount [Re: PatrykW]  
Joined: Nov 2018
Posts: 82
PatrykW Offline
Junior Member
PatrykW  Offline
Junior Member

Joined: Nov 2018
Posts: 82
Gillingham
Ok, I'm digging myself a grave now.

Started looking into this a bit deeper and it appears there is more info ,which means I am trying to get my head round it since I created this topic.

Anyway, looks like a CHAFF dispenser (M-130 / M-141 models) are fitted on the tail (on the left side). Each dispenser holds up to 30 chaffs so we should have 30 chaffs available.

Now flares are stored in a different module from what I can read. I have come across something called AN/ALE-40 or AN/ALE-47 dispenser that can dispense chaffs or flares. but I will have to do some digging when I get "a minute or two".

Once my info is kind of 90 odd percent confirmed I will get back to you and you could "insert" the right numbers into the code biggrin

Stay tuned

#4492091 - 10/08/19 09:21 PM Re: Chaffs / flares amount [Re: PatrykW]  
Joined: Dec 2012
Posts: 1,359
thealx Offline
Member
thealx  Offline
Member

Joined: Dec 2012
Posts: 1,359
I have set actual numbers for all helicopters years ago, but can't promise it's 100% correct. It's true that amounts can be set in the code only, lack of flexible weapons system.
But instead of increasing amounts you can try to set up higher effectiveness values in ini file.

#4492099 - 10/08/19 10:16 PM Re: Chaffs / flares amount [Re: PatrykW]  
Joined: Nov 2018
Posts: 82
PatrykW Offline
Junior Member
PatrykW  Offline
Junior Member

Joined: Nov 2018
Posts: 82
Gillingham
Ok i have to admit that I just want to pop sh$% loads of flares now and then to make the whole mission look a bit more dramatic wink biggrin

#4495349 - 10/31/19 01:54 PM Re: Chaffs / flares amount [Re: Javelin]  
Joined: Nov 2018
Posts: 82
PatrykW Offline
Junior Member
PatrykW  Offline
Junior Member

Joined: Nov 2018
Posts: 82
Gillingham
Originally Posted by Javelin
The setting is in the weapons configuration file for the AH64, I know right where it is in the code. The code has to be recompiled to insert a new setting, though.

\EECHSourceCode\aphavoc\source\entity\mobile\weapon\configs\apache.h and apache_a.h


Would it be possible to have two alternative files, one with stock figures and one with 30 chaffs/30 flares? Not an expert when it comes to compiling things however I could possibly get my head round it if i know what to do and what to change biggrin

Cheers

#4495682 - 11/02/19 10:22 AM Re: Chaffs / flares amount [Re: PatrykW]  
Joined: Dec 2010
Posts: 1,669
messyhead Offline
messyhead  Offline

Member

Joined: Dec 2010
Posts: 1,669
It could probably be set in the eech.ini file eventually, as different configs

#4495998 - 11/04/19 07:37 PM Re: Chaffs / flares amount [Re: PatrykW]  
Joined: Nov 2019
Posts: 1,929
NoFlyBoy Offline
Member
NoFlyBoy  Offline
Member

Joined: Nov 2019
Posts: 1,929
Yup.

I ran out of chaffes and flares the other day flying a Longbow on a recon mission over one of the big enemy airport.

I RTB with heavy damage.

#4496001 - 11/04/19 07:52 PM Re: Chaffs / flares amount [Re: PatrykW]  
Joined: Mar 2010
Posts: 722
BANITA Offline
Member
BANITA  Offline
Member

Joined: Mar 2010
Posts: 722
change higher effectiveness values in eech.ini.

#4496577 - 11/08/19 09:56 PM Re: Chaffs / flares amount [Re: PatrykW]  
Joined: Nov 2018
Posts: 82
PatrykW Offline
Junior Member
PatrykW  Offline
Junior Member

Joined: Nov 2018
Posts: 82
Gillingham
Actually having an option to change the amount in the eech,ini would be the best. Dont get me wrong Banita but i want to be able to have accurate numbers of "things" in here, which obviously includes ammo and counter measures. Now, how difficult would it be to change the code so the numbers can be pulled from eech.ini ?

#4496580 - 11/08/19 10:44 PM Re: Chaffs / flares amount [Re: PatrykW]  
Joined: Mar 2010
Posts: 722
BANITA Offline
Member
BANITA  Offline
Member

Joined: Mar 2010
Posts: 722
But I agree with you, I can't do anything, I'm not a coder wink

#4496636 - 11/09/19 04:02 PM Re: Chaffs / flares amount [Re: PatrykW]  
Joined: Apr 2018
Posts: 283
Javelin Offline
Member
Javelin  Offline
Member

Joined: Apr 2018
Posts: 283
Idaho Falls, Idaho USA
Changing the current values in the code isn't really that difficult, it's far simpler than adding in an ini change. It's just that the two active coders on the project (me and Messyhead) are on a break right now. Life and all that. If someone were to research the actual values for all the helicopters and flyable aircraft, one of us might come out of the trees and compile it for you.

#4496645 - 11/09/19 05:17 PM Re: Chaffs / flares amount [Re: PatrykW]  
Joined: Dec 2010
Posts: 1,669
messyhead Offline
messyhead  Offline

Member

Joined: Dec 2010
Posts: 1,669
I thought the actual values had been researched and updated by thealx?

#4504340 - 01/20/20 06:11 PM Re: Chaffs / flares amount [Re: messyhead]  
Joined: Dec 2012
Posts: 1,359
thealx Offline
Member
thealx  Offline
Member

Joined: Dec 2012
Posts: 1,359
Originally Posted by messyhead
I thought the actual values had been researched and updated by thealx?

I did, but in this case it may be true that another dispenser used for flares and I missed that.

Originally Posted by PatrykW
not sure if the same dispenser can have both chaffs and flares fitted

you are right, just didn't find simple workaround to make both available in case of single dispenser.

manipulate with flares/chaffs by some variable form eech.ini is not a good idea, even if it may be possible. payloads are hardcoded (including ammo), so to adjust ammo dynamically, current system should be completely remade.
if you want just to hang another dispenser on Apache and make count 30/30 - it's easy, but also helicopter object should be updated - proper weapon position and direction set and subobject added. if you are sure it is true (check #13).

[Linked Image]

#4516453 - 04/15/20 11:39 AM Re: Chaffs / flares amount [Re: PatrykW]  
Joined: Nov 2018
Posts: 82
PatrykW Offline
Junior Member
PatrykW  Offline
Junior Member

Joined: Nov 2018
Posts: 82
Gillingham
Hi

Finally managed to get more time so will start looking into this as for some reason it bugs me however please let me know if this cannot be easily fixed or adjusted for individuals helos. It appears that the best approach is to find out what dispensers can be fitted and use a little combo of dispenser specs/amount of chaffs/flares fitted together with the models of each helicopter. Bog standard AH64 3d model in EECH had only one dispenser that could carry 30 countermeasures. Now Rapota's model has got 3 dispensers so in theory 90 chaffs/flares however so far I have found that the should be fitted with one type of countermeasure so you could have 30 chaffs 60 flares or other way round, not sure if you can have a combo of lets say 45 and 45 for all 3 dispensers. Another question would be - is the chaff/flares amount is a fixed figure for all helos across the board as KA-50 can apparently have a total of 512 chaffs/flares (two pods on the wingtips with flare and chaff countermeasure dispensers, 4 UV-26 dispensers each (total 512 chaff/flare cartridges in each pod)).

Let me know if there is much point me digging into this. I have no 3d modelling skills so I can only help with testing and doing some data research like this.

Thanks

#4516457 - 04/15/20 12:32 PM Re: Chaffs / flares amount [Re: PatrykW]  
Joined: Dec 2010
Posts: 1,669
messyhead Offline
messyhead  Offline

Member

Joined: Dec 2010
Posts: 1,669
I'm going to have a play around with the weapon configs. I don't think it'll be possible have configurable amounts without changing the code so it could be set on the payload screen. But I'll try increasing the amount in the configs and see if it works.

Last edited by messyhead; 04/15/20 01:13 PM.
Page 1 of 2 1 2

Moderated by  messyhead, RacerGT 

Quick Search
Recent Articles
Support SimHQ

If you shop on Amazon use this Amazon link to support SimHQ
.
Social


Recent Topics
August 6th, 1945, 75 years later.
by NoFlyBoy. 08/04/20 07:49 PM
Massive Blast in Beirut
by KRT_Bong. 08/04/20 05:22 PM
So who was the better singer?
by PanzerMeyer. 08/04/20 02:41 PM
Digital Atlas of the Roman Empire (DARE)
by KraziKanuK. 07/31/20 09:51 PM
A Day at the Beach: Normandy 1944
by KraziKanuK. 07/31/20 09:46 PM
Any legal guys here?
by NoFlyBoy. 07/31/20 09:10 PM
Nuclear Disaster Everyone Promptly Forgot
by Blade_RJ. 07/30/20 04:12 AM
The Last Nfld Regiment WW1 Memorial
by No105_Archie. 07/29/20 10:51 PM
Song - movie association
by PanzerMeyer. 07/28/20 02:02 PM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0