How to make an ammo only usable in turrets?
How to make an ammo only usable in turrets?
As per the title. I would like to make EndgameCombat's ammo crates only work in turrets, not in the player inventory. Is this possible?

Re: How to make an ammo only usable in turrets?
Each shooting thing (turret,gun,vehicle-turret) has ammo category. It can use ammo of that category only. If you make your ammo into another category that is not "bullet", "shotgun-shell", "rocket", "liquid-ammo" (I believe), the player will not be able to use that in his guns.
If you want special ammo for gun-turrets, I guess you will have to track all the players and pull your exclusive ammo from their guns.
If you want special ammo for gun-turrets, I guess you will have to track all the players and pull your exclusive ammo from their guns.
I do mods. Modding wiki is friend, it teaches how to mod. Api docs is friend too...
I also update mods, some of them even work.
Recently I did a mod tutorial.
I also update mods, some of them even work.
Recently I did a mod tutorial.
Re: How to make an ammo only usable in turrets?
The problem is that I still want normal ammo to work in turrets as well, meaning turrets would need to have multiple categories, like assemblers can.Adil wrote:Each shooting thing (turret,gun,vehicle-turret) has ammo category. It can use ammo of that category only. If you make your ammo into another category that is not "bullet", "shotgun-shell", "rocket", "liquid-ammo" (I believe), the player will not be able to use that in his guns.
If you want special ammo for gun-turrets, I guess you will have to track all the players and pull your exclusive ammo from their guns.
