ancientwillow Posted September 26, 2017 Share Posted September 26, 2017 I am attempting to create a mod which will make revolvers double-action when shooting from the hip, and single-action (ie. vanilla) when aiming down the sights. As I have never scripted anything in my life, this is proving difficult. What I have done is register two animations events when the 44 is equipped: one for entering ADS, and one for exiting. Unfortunately, I can't even find a way to get to a weapon's properties in a script, so I can't toggle the bBoltAction property which I have seen in a weapon mod window. Could someone push me in the right direction please? Link to comment Share on other sites More sharing options...
shavkacagarikia Posted September 26, 2017 Share Posted September 26, 2017 You dont need any scripts, go to gameplay/animations menu in ck. Then find gunbehavior.hkx(1st person), weaponbehavior.hkx(3rdperson) and look for boltcharge action (dont remember exact name) and add following condition function to its child, getinironsights == 1 Link to comment Share on other sites More sharing options...
ancientwillow Posted September 26, 2017 Author Share Posted September 26, 2017 You dont need any scripts, go to gameplay/animations menu in ck. Then find gunbehavior.hkx(1st person), weaponbehavior.hkx(3rdperson) and look for boltcharge action (dont remember exact name) and add following condition function to its child, getinironsights == 1 Thank you so much, that works great :). Only trouble is that when hip-firing the hammer doesn't stay down, but I can live with that. Link to comment Share on other sites More sharing options...
Recommended Posts