Jump to content

My New Weapon has no ammo


kdports

Recommended Posts

I've been following Kwahn's tutorial on making a shotgun, and have set up the ini and uc files as stated. However, when i start the game the gun's clipsize is 0, and i cannot reload.

 

My .uc code related to the ini:

 

class X2Item_Blaze extends X2Item config(Blaze);
var config WeaponDamageValue BLAZE_BASEDAMAGE;
var config array<int> BLAZE_RANGE;
var config int BLAZE_AIM;
var config int BLAZE_CRITCHANCE;
var config int BLAZE_ICLIPSIZE;
var config int BLAZE_ISOUNDRANGE;
var config int BLAZE_IENVIRONMENTDAMAGE;
My ini code:
[Weapon01.X2Item_Blaze]
BLAZE_BASEDAMAGE=(Damage=3, Spread=0, PlusOne=0, Crit=2, Pierce=0, Shred=0, Tag="", DamageType="Projectile_Conventional")
BLAZE_AIM=0
BLAZE_CRITCHANCE=3
BLAZE_ICLIPSIZE=4
BLAZE_ISOUNDRANGE=27
BLAZE_IENVIRONMENTDAMAGE=0
I am calling my weapon Blaze instead of DoubleBarrelShotgun. Thanks in advance!

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...