Posted: Mon Dec 20, 2021 8:18 am Post subject:
[Solved mostly] Primary weapon reload blocks Secondary use.
Tried to search through topics with NoAmmoWeapon questions, but can't find a solution. So there is a unit with Primary shooting and Secondary area attack. The problem is, when unit has Primary on reload Secondary doesn't work till reload ends. My main goal is to let unit freely use Secondary at any moment(if it's not on reload), without taking care of Primary state.(best would be even while Primary is being shot) Is there some way?
Once unit fires any weapon, it can't fire another one again until number of frames equaling to ROF of the fired weapon have passed. Changing this system would require a rather considerable rework on weapon/firing-related functionality and would likely be unfeasible. NoAmmoWeapon does not change this at all, as it only affects weapon selection and using it in conjunction with deploy weapons is counterproductive anyways.
Only way to achieve something close to what you're trying to do is to ditch NoAmmoWeapon, tie Primary to ammo with ROF=0/1 or something with ammo simulating the true reload in this case and having Secondary with Ammo=0 and proper ROF. Tradeoff of this is that you won't be able to use ammo pips for the deploy weapon and using the deploy weapon puts Primary on cooldown as well anyways. Having completely independent reload timers for both weapons is under current system, impossible. _________________ QUICK_EDIT
Once unit fires any weapon, it can't fire another one again until number of frames equaling to ROF of the fired weapon have passed. Changing this system would require a rather considerable rework on weapon/firing-related functionality and would likely be unfeasible. NoAmmoWeapon does not change this at all, as it only affects weapon selection and using it in conjunction with deploy weapons is counterproductive anyways.
Thank you for throughout informative explanation.!
Starkku wrote:
Only way to achieve something close to what you're trying to do is to ditch NoAmmoWeapon, tie Primary to ammo with ROF=0/1 or something with ammo simulating the true reload in this case and having Secondary with Ammo=0 and proper ROF. Tradeoff of this is that you won't be able to use ammo pips for the deploy weapon and using the deploy weapon puts Primary on cooldown as well anyways. Having completely independent reload timers for both weapons is under current system, impossible.
Secondary putting Primary on long wait of reload is not a big deal, Secondary deploy weapon is more like a safe/escape ability, that's why ammo-pips and ability to use in any moment is so important.
Shame gattling can't be used with infantry, maybe that could allow a trick of Primary "loading" through stages of dummy weapons for real one happening after same 210 frames. Oh well, impossible. QUICK_EDIT
Only way to achieve something close to what you're trying to do is to ditch NoAmmoWeapon, tie Primary to ammo with ROF=0/1 or something with ammo simulating the true reload in this case and having Secondary with Ammo=0 and proper ROF. Tradeoff of this is that you won't be able to use ammo pips for the deploy weapon and using the deploy weapon puts Primary on cooldown as well anyways. Having completely independent reload timers for both weapons is under current system, impossible.
Made some experiments around this idea and actually it works quite good, thanks again.! May it happen you have some hint how to compensate no pip for Secondary reload?(show in other way)
I was thinking about AttachEffect adding animation for period of reload, but weapon already uses it, and adeed effect/animation has shorter period than ROF. QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum