[Mod request] Weapon limits

Started by Mechanoid Hivemind, May 24, 2020, 12:14:30 PM

Previous topic - Next topic

Mechanoid Hivemind

Simple hopefully where i can limit all weapons on the world IE have nothing but muskets or nothing but swords for all factions.
The individual is obsolete. When you and your kind are extinct, we will cleanse our collective memory of the stain of your existence.

Canute

And don't forget to add a royal title requirements for these.
All other can use fists or wood logs to fight ! :-)

RawCode

not supported by vanilla, you will have to modout all weapons on "per item" basis.

do not just remove records from database, this will cause crashes when game will try to spawn "sniper" but there is no sniper rifle in database

Mechanoid Hivemind

I am not capable enough to do that my self. Which is why im asking here
The individual is obsolete. When you and your kind are extinct, we will cleanse our collective memory of the stain of your existence.

RawCode

you should at least try to implement this yourself before asking for help.

probably you should start from creating list of allowed vanilla weapons first.

second you should think about how to handle mod added weapons.

mrofa

Add a custom comp to weapon main xml class. Make it to check its parent for : if its wood/wood log and if its a weapon or weapons of your choice
if not make it despawn and spawn a weapon of your choice. Which might make abit bigger lag when raids spawn.
Or you can go a legit and performance sane way of RawCode :D
All i do is clutter all around.