I had some problems with Resolution too, but then I changed it to 1 and it worked(dunno what it means, but it worked.)
here are a few lines of code from my first gun, try just retyping it without the descriptions(things behind / /.)and mind the capitalization.
Code:
SpriteOffset = Vector //gun's center, search "offset" on wiki for more info
X = -20
Y = -6
JointOffset = Vector // also on offset wiki
X = -18
Y = -1
SupportOffset = Vector // "
X = 7
Y = -2
AtomGroup = AtomGroup // is needed for some reason.
AutoGenerate = 1
Material = Material
CopyOf = Military Stuff
Resolution = 1
Depth = 0
Magazine = Magazine
CopyOf = Magazine SMG // Magazine Pistol works just the same
ParentOffset = Vector // where the magazine is placed.
X = 9
Y = 0
RateOfFire = 150 //self-explaining.
ReloadTime = 1380 //this is about 2.1 seconds
FullAuto = 1 // makes it fully automatic or semi-automatic
FireIgnoresThis = 1 // I guess this makes the weapon unhittable?
ShakeRange = 1 //how much the gun shakes, spreading the bullets
SharpShakeRange = 1 // the same, but when aiming down sights
ParticleSpreadRange = 0 // makes the bullets spread too, in some way
MuzzleOffset = Vector // where it shoots from.
X = 19
Y = -3
GoldValue = 28 // how much it costs
SharpLength = 230 // how far it aims
AddToGroup = Awesomeness //in which tab it's placed.
berhaps I explained some things wrong, but i'm a starting coder myself too, I only made 1 weapon yet.
(though if you want some sprites, i'm your man
)
Greetings,
Bibo
P.S. maybe your sprite isn't drawn in the CC palette colors?