Создание мода в DuckGame

Попытался сделать мод на оружие DuckGame, написал этот код, но вот что происходит, как это исправить, то что оружие сдвигается? Скрин игры:скрин

Код:

using DuckGame;
namespace ErioxisMod
{
    [EditorGroup("guns|machine guns"), BaggedProperty("isSuperWeapon", true)]
    public class TestWeapon : Gun
    {
        // Methods
        public TestWeapon(float xval, float yval) : base(xval, yval)
        {
            this.ammo = 30;
            this._ammoType = new AT9mm();
            this._ammoType.range = 200f;
            this._ammoType.accuracy = 0.85f;
            this._ammoType.penetration = 2f;
            this._type = "gun";
            this.graphic = new Sprite("ak47", 0f, 0f);
            this.center = new Vec2(0x10f, 15f);
            this.collisionOffset = new Vec2(-8f, -3f);
            this.collisionSize = new Vec2(0x12f, 10f);
            this._barrelOffsetTL = new Vec2(0x20f, 14f);
            this._fireSound = "fart1";
            this._fullAuto = true;
            this._fireWait = 1.2f;
            this._kickForce = 3.5f;
            this.loseAccuracy = 0.2f;
            this.maxAccuracyLost = 0.8f;
        }
    }
}

Ответы (0 шт):