Page 1 of 1
[solved] Possible to use mining tool as weapon?
Posted: Thu Sep 22, 2016 1:00 am
by aubergine18
Is it possible to using mining tool (eg. axe) as a weapon? I'm thinking of early game mod that would add some extra tools, many of which would be useful as early game weapons. As far as I can tell, the mining tools and weapons are separate prototypes, and I can't see any easy way of swapping entities when necessary to allow the tool/weapon to be equipped in either slot.
Re: Possible to use mining tool as weapon?
Posted: Thu Sep 22, 2016 1:09 am
by Ranakastrasz
If you have no ammo in your weapon, then in melee range your character will swing his axe when you try to fire, if an enemy is in melee range. Otherwise, I don't think you can.
As for melee weapons, if you make a dummy custom ammo with a few million charges, and a weapon with extremely short range, and hitscan like SMG, then you can simulate a melee weapon.
I have no idea how to do the animation however.
Re: Possible to use mining tool as weapon?
Posted: Thu Sep 22, 2016 1:14 am
by aubergine18
Ah, I had no idea the mining tool would be used as melee weapon if no other weapon/ammo available. With that feature, there's no need for me to do any trickery - which is great news!