Help with mod please :)

Started by m4gpiie, August 06, 2017, 08:00:10 AM

Previous topic - Next topic

m4gpiie

First time making a mod, decided to go with a revolver since it seemed like a decent idea to start with.
So far it's all working just fine except raiders don't seem to spawn with it equipped no matter how many times I've tried, is there anything I need to change in the file that will make it possible for raiders to spawn using the gun?
Thanks in advance :)

[attachment deleted by admin: too old]

SpaceDorf

Maxim 1   : Pillage, then burn
Maxim 37 : There is no overkill. There is only open fire and reload.
Rule 34 of Rimworld :There is a mod for that.
Avatar Made by Chickenplucker

skullywag

Possibly missing a thingcategory. Check vanilla guns and ensure you have every xml element they have.
Skullywag modded to death.
I'd never met an iterator I liked....until Zhentar saved me.
Why Unity5, WHY do you forsake me?

kaptain_kavern

A few explanations on how to "not" having raiders using modded guns: https://ludeon.com/forums/index.php?topic=34710.msg355962#msg355962

Hope it will help a bit

Cryusaki

You're missing the generateCommonality tag. Look at the core xml code for weapons if you're not sure where to place it.

<generateCommonality>1.5</generateCommonality>

m4gpiie

Thank you everyone, have it sorted out now :)