Author Topic: Basic color changing for Weapon_gun  (Read 1597 times)

So I was trying to change the color of the original gun, and then make it its own addon, I would copy the original gun file, open it (it is still zipped) and then change the color in paint. I would do this and change the name to Weapon_gunRED. The problem is that it will not show up in game

is there a fix?

Yes, there is a fix. For one you should add some code that requires the default gun, as the code will need it. And you probably also forgot to either fix or delete the namecheck.txt

You also need to rename all of the datablocks so it doesn't overwrite the default gun.

Please give paste ALL of the code of the weapon here to be proofread, before you post it as a finished add-on as well.

Editing default stuff can get messy.