Jump to content
Sign in to follow this  
jw custom

Tactical Flashlight

Recommended Posts

This simple flashlight config modification adds tactical flashlight to most weapons and a tactical flashlight item.

I have added a mission/script example showing how to enable/disable flashlight depending on having a tactical flashlight in your inventory(simple weapon swap).

Requirements:

ArmA 2 Combined Operations

Changelog

v1.0

- initial release

v1.1

- added ammobox

Classnames:

'JWC_FL_M9'
'JWC_FL_M9SD'
'JWC_FL_Makarov'
'JWC_FL_MakarovSD'
'JWC_FL_revolver_EP1'
'JWC_FL_Sa61_EP1'
'JWC_FL_Colt1911'
'JWC_FL_UZI_EP1'
'JWC_FL_UZI_SD_EP1'
'JWC_FL_KSVK'
'JWC_FL_m107'
'JWC_FL_m107_TWS_EP1'
'JWC_FL_M110_NVG_EP1'
'JWC_FL_M110_TWS_EP1'
'JWC_FL_M24_des_EP1'
'JWC_FL_M24'
'JWC_FL_M40A3'
'JWC_FL_SVD_des_EP1'
'JWC_FL_SVD'
'JWC_FL_SVD_CAMO'
'JWC_FL_SVD_NSPU_EP1'
'JWC_FL_Huntingrifle'
'JWC_FL_DMR'
'JWC_FL_M4SPR'
'JWC_FL_m8_sharpshooter'
'JWC_FL_M4A3_RCO_GL_EP1'
'JWC_FL_M4A1'
'JWC_FL_M16A2GL'
'JWC_FL_M16A2'
'JWC_FL_M14_EP1'
'JWC_FL_LeeEnfield'
'JWC_FL_G36C'
'JWC_FL_G36_C_SD_eotech'
'JWC_FL_G36a'
'JWC_FL_G36K'
'JWC_FL_MG36'
'JWC_FL_G36C_camo'
'JWC_FL_G36_C_SD_camo'
'JWC_FL_G36a_camo'
'JWC_FL_G36K_camo'
'JWC_FL_MG36_camo'
'JWC_FL_FN_FAL_ANPVS4',
'JWC_FL_FN_FAL'
'JWC_FL_AKS_74_pso'
'JWC_FL_AKS_74_NSPU'
'JWC_FL_AKS_74_kobra'
'JWC_FL_AKS_74_GOSHAWK'
'JWC_FL_AKS_74'
'JWC_FL_AK_47_S'
'JWC_FL_AK_47_M'
'JWC_FL_AK_74_GL_kobra'
'JWC_FL_AK_74_GL'
'JWC_FL_AK_74'
'JWC_FL_SCAR_L_CQC_CCO_SD'
'JWC_FL_SCAR_L_CQC'
'JWC_FL_SCAR_L_CQC_EGLM_Holo'
'JWC_FL_SCAR_L_STD_EGLM_RCO'
'JWC_FL_SCAR_L_STD_EGLM_TWS'
'JWC_FL_SCAR_L_STD_HOLO'
'JWC_FL_SCAR_L_STD_Mk4CQT'
'JWC_FL_Sa58P_EP1'
'JWC_FL_Sa58V_EP1'
'JWC_FL_Sa58V_RCO_EP1'
'JWC_FL_Sa58V_CCO_EP1'
'JWC_FL_AK_107_kobra'
'JWC_FL_AK_107_GL_kobra'
'JWC_FL_AK_107_GL_pso'
'JWC_FL_AK_107_pso'
'JWC_FL_AKS_74_UN_kobra'
'JWC_FL_bizon'
'JWC_FL_bizon_silenced'
'JWC_FL_M1014'
'JWC_FL_m16a4'
'JWC_FL_M16A4_GL'
'JWC_FL_M16A4_ACG_GL'
'JWC_FL_m16a4_acg'
'JWC_FL_M4A1_HWS_GL'
'JWC_FL_M4A1_HWS_GL_camo'
'JWC_FL_M4A1_HWS_GL_SD_Camo'
'JWC_FL_M4A1_RCO_GL'
'JWC_FL_M4A1_Aim'
'JWC_FL_M4A1_Aim_camo'
'JWC_FL_M4A1_AIM_SD_camo'
'JWC_FL_MP5A5'
'JWC_FL_MP5SD'
'JWC_FL_Saiga12K'
'JWC_FL_VSS_vintorez'
'JWC_FL_m8_carbine'
'JWC_FL_m8_carbineGL'
'JWC_FL_m8_compact'
'JWC_FL_Mk_48'
'JWC_FL_M240'
'JWC_FL_M249'
'JWC_FL_Pecheneg'
'JWC_FL_PK'
'JWC_FL_RPK_74'
'JWC_FL_m8_SAW'
'JWC_FL_m240_scoped_EP1'
'JWC_FL_M249_EP1'
'JWC_FL_M249_m145_EP1'
'JWC_FL_M249_TWS_EP1'
'JWC_FL_M60A4_EP1'
'JWC_FL_Mk_48_DES_EP1'


Classnames of weapons with removed flashlight:

'JWC_FL_NO_FL_glock17_EP1'
'JWC_NO_FL_M4A3_CCO_EP1'
'JWC_NO_FL_SCAR_L_CQC_Holo'
'JWC_NO_FL_SCAR_H_CQC_CCO'

Download v1.1 from filedropper

Download v1.1 from Armaholic

Edited by JW Custom
added Armaholic download link

Share this post


Link to post
Share on other sites

Updated, added an ammobox with all flashlight weapons/ammo added.

Share this post


Link to post
Share on other sites

this looks amazing - so how did you do it?

the filesize is so small you can't have made new models... right?

so cool.

how easy would it be to do the same with IR lasers?

will have a good go at this thanks so much mate

Share this post


Link to post
Share on other sites

nice addon.

I agree with eggbeast, could you do the same with IR laser?

Share this post


Link to post
Share on other sites
this looks amazing - so how did you do it?

the filesize is so small you can't have made new models... right?

His script changes the weapon class from e.g. a M9SD to the JWC_FL_M9SD class, the latter having the same model and all other properties but a flashlight config (and if you chose "detach flashlight", this change is reversed). So what lacks is only the small model of an attached flashlight, but to make that would be an enormous hurdle with little to no gaming benefit. So this is an interesting approach that will greatly help a lot of mission makers.

Share this post


Link to post
Share on other sites

ah ok i thought the flashlight like the irlaser worked off of a specified animation tag point (or w/e the correct terminology is) so that you'd need to redo the model in O2.

fantastic stuff

Share this post


Link to post
Share on other sites

awesome find JWC - I've just gone and added a red flashlight to my MP5SD - thanks for the tip!

Am looking at putting a big bright flashlight on a static M2 - will be ideal in unsung bases

Share this post


Link to post
Share on other sites

done the searchlight, just need to work out how to make it swivel with the M2 static gun now

Share this post


Link to post
Share on other sites

How do you give yourself a flashlight? How do you give AI flashlight and have them use it?

Share this post


Link to post
Share on other sites

hey JW Custom, I was wondering if you are going to add in the DLC weapons as well.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×