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 terrari v1.3.5.2
tModLoader v0.10.0.2
any help would be greatly appreciated
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 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
any help would be greatly appreciated