Ediblez
Terrarian
Hey, I'm new here. I made this account pretty much for help on this one thing:
I copied the 'ExampleGun' file from the ExampleMod source code to make my bow. Everything was under control until the point where I had to put in the ammo for the bow. I read up a bit and found that arrows are an ItemID thing and not a ProjectileID. Still nothing seems to work. Could you help me find the ID I have to put in? Here is my code for defaults:
public override void SetDefaults()
{
item.name = "Twitch";
item.damage = 69;
item.ranged = true;
item.width = 40;
item.height = 20;
item.toolTip = "noice description here";
item.useTime = 20;
item.useAnimation = 20;
item.useStyle = 5;
item.noMelee = true;
item.knockBack = 4;
item.value = 10000;
item.rare = 9;
item.useSound = 15;
item.autoReuse = true;
item.shootSpeed = 16f;
item.useAmmo = ItemID. (What do I put here);
}
I copied the 'ExampleGun' file from the ExampleMod source code to make my bow. Everything was under control until the point where I had to put in the ammo for the bow. I read up a bit and found that arrows are an ItemID thing and not a ProjectileID. Still nothing seems to work. Could you help me find the ID I have to put in? Here is my code for defaults:
public override void SetDefaults()
{
item.name = "Twitch";
item.damage = 69;
item.ranged = true;
item.width = 40;
item.height = 20;
item.toolTip = "noice description here";
item.useTime = 20;
item.useAnimation = 20;
item.useStyle = 5;
item.noMelee = true;
item.knockBack = 4;
item.value = 10000;
item.rare = 9;
item.useSound = 15;
item.autoReuse = true;
item.shootSpeed = 16f;
item.useAmmo = ItemID. (What do I put here);
}