tModLoader Terraia Gun MuzzelOffset MOD {HELP}

IPlayGames360

Official Terrarian
I am currently making a mod for fun Call MemMod, the mod contains 3 new guns, and one of the gun PNG's are fairly big, and I want the bullets to come out of the end of the gun, not inside the gun, I Don't Know how to do this of course so I was wondering, if any of yall could help me.

using Terraria.ID;
using Terraria.ModLoader;

namespace MemMod.Items.Weapons
{
public class Pwan207 : ModItem
{
public override void SetStaticDefaults()
{
Tooltip.SetDefault("");
}

public override void SetDefaults()
{
item.damage = 50;
item.ranged = true;
item.width = 20;
item.height = 10;
item.useTime = 1;
item.useAnimation = 20;
item.useStyle = 5;
item.noMelee = true;
item.knockBack = 4;
item.value = 10000;
item.rare = 2;
item.UseSound = SoundID.Item11;
item.autoReuse = true;
item.shoot = 10;
item.shootSpeed = 16f;
item.useAmmo = AmmoID.Bullet;
}

public override void AddRecipes()
{

}
}
}

using terrari v1.3.5.2
tModLoader v0.10.0.2
Capture.PNG

any help would be greatly appreciated :D
 
Have you looked at ExampleGun? it has an example of fixing muzzle offset.

Also, next time you ask a question, it should probably go in General Mod Discussion not Released.
 
Back
Top Bottom