I’m getting an error that causes all the super soldiers to be unable to ever shoot with their weapons. Depending on how close or far away the player is, they will either attempt to fire (and waste turns since firing doesn’t work for them) or engage the player in melee.
Seems like a very mod-breaking error to me so I’m wondering why nobody else has reported it yet??
This made me think the error was only on my end, so I tried downloading an older experimental version than what I use, and the same error appeared… so yeah, what the hell.
Here’s the copy of the debug message:
DEBUG : Tried to set invalid ammo of placeholder ammunitions for zombie super soldier rifle+3
FUNCTION : item& item::ammo_set(const itype_id&, int)
FILE : src/item.cpp
LINE : 411
I also looked at the mods’ files and the super soldiers all seem to use “_monster” variants of playable weapons added by the mod. Unlike the playable weapons, which use batteries as ammo, these variants are set in each individual monster’s data to use an ammo type called “generic_no_ammo”.
I looked at the base game’s ammo.json file and this “generic_no_ammo” does appear there, and its “ammo_type” is “NULL”, whatever that means.
I then made a search for “generic_no_ammo” in the forums and the oldest result seemed to show an example of how to use this ammo type to have, well… infinite ammo on a weapon. So I’m guessing that’s the modder’s intention but something went wrong along the way.