hereami Posted July 16, 2019 Share Posted July 16, 2019 (edited) Well, is there? My primary need is ps4, but if there is an advanced method, would be interesting to know anyway. To give Player specific ammo for an equipped weapon i've distributed all existing guns into FormLists and used Condition IsWeaponInList to check, if weapon belongs to a group, which shares ammo types. Still, have to spawn several ammo types to support existing conversion opportunities. And even if so, this can't work for custom/unknown weapons, even if they use vanilla's ammo. Also may be useful to give NPC suitable ammo, if have none - unlike when a gun is spawned, npc don't get ammo automatically, if acquire a gun by themselves (still, had to give'em every bit of ammo, for simplicity in this case). In combat they seem to search for ammo, but do not outside. Thanks. PS. Would be great to have uniformed keywords like "ammo_type_10mm" etc,, but nope... Edited July 16, 2019 by hereami Link to comment Share on other sites More sharing options...
DieFeM Posted July 17, 2019 Share Posted July 17, 2019 For PS4 is not suitable since you can't use custom scripts, but there's a papyrus function to get the weapon ammo: https://www.creationkit.com/fallout4/index.php?title=GetAmmo_-_Weapon Link to comment Share on other sites More sharing options...
SKKmods Posted July 17, 2019 Share Posted July 17, 2019 Careful as that reports the base weapon ammo, does not detect receiver conversions so not 100% reliable. Link to comment Share on other sites More sharing options...
hereami Posted July 17, 2019 Author Share Posted July 17, 2019 (edited) Thanks, i focused on Conditions, so missed it. Hm, rather limited practical usage. Now i'm wondering, if Ammo must be Equipped, when active gun uses it, or not - what is normal?Currently have a glitch, when two ammo types are displayed in Pip-Boy as equipped (Ammo page), this state doesn't change after switching weapons (other ammo isn't equipped as well) and persists untill i drop them. GetEquipped returns True - (for glitched ammos) that's very good, but if game can stop to equip Ammo eventually - that's bad, still not reliable way. Edited July 17, 2019 by hereami Link to comment Share on other sites More sharing options...
Recommended Posts