46
OXCE Support / [Solved] shotgun-like weapon without ufo extender accuracy option ?
« on: August 25, 2018, 11:49:25 am »
In my mod I'm using plain vanilla accuracy, that is the distance of the target doesn't matter, so I have "ufo extender accuracy" turned off.
But I'd like for a specific weapon (stun net) to behave like a shotgun, meaning that I want greater spread of the pellets in correlation to the distance of the target.
The dropoff in accuracy would be fixed for all types of shots.
For damage, there is a way to do exactly that:
powerRangeReduction: 0.0 #how much power a bullet loses per tile, used by Psi-Amp damage too.
powerRangeThreshold: 0.0
I'd need the very same but for accuracy.
So the question is:
Using the existing accuracy/dropoff options, is there a way to achieve that specific behavior, while keeping the whole "ufo extender accuracy" option turned off?
I never really looked into them since I always planned to use vanilla accuracy.
Thanks
edit: maybe I just need to use aimRange and dropoff ?
edit2:
I'm not finding any clear documentation on these:
shotgunChoke:
shotgunBehavior:
shotgunSpread:
anyone knows?
But I'd like for a specific weapon (stun net) to behave like a shotgun, meaning that I want greater spread of the pellets in correlation to the distance of the target.
The dropoff in accuracy would be fixed for all types of shots.
For damage, there is a way to do exactly that:
powerRangeReduction: 0.0 #how much power a bullet loses per tile, used by Psi-Amp damage too.
powerRangeThreshold: 0.0
I'd need the very same but for accuracy.
So the question is:
Using the existing accuracy/dropoff options, is there a way to achieve that specific behavior, while keeping the whole "ufo extender accuracy" option turned off?
I never really looked into them since I always planned to use vanilla accuracy.
Thanks
edit: maybe I just need to use aimRange and dropoff ?
edit2:
I'm not finding any clear documentation on these:
shotgunChoke:
shotgunBehavior:
shotgunSpread:
anyone knows?