tModLoader Official tModLoader Help Thread

What fileformat is your texture, i use png. And yes i need the source code for the DirkSword.
I'm using .png for the texture, and here's the source code: http://pastebin.com/6HLXJSdk
Oh my god I effed this up so bad. I've been waiting about an hour for a reply, only to realise I never even posted my reply to begin with. And then when I did post my reply, it didn't have the effing link to the code.

I am a whole new level of special...
 
I'm using .png for the texture, and here's the source code: http://pastebin.com/6HLXJSdk
Oh my god I effed this up so bad. I've been waiting about an hour for a reply, only to realise I never even posted my reply to begin with. And then when I did post my reply, it didn't have the effing link to the code.

I am a whole new level of special...
The problem is this line:

namespace Weapons.Items.DirkSword

Remove the DirkSword part, Since you only need to address the folder. Not the file itself too.
 
The problem is this line:

namespace Weapons.Items.DirkSword

Remove the DirkSword part, Since you only need to address the folder. Not the file itself too.
Ahhh ok, thanks dude. I'm a noob modder, this stuff will help me get better in future. Thanks <3

EDIT: Um it's still not working :/ Still the same error.
 
Ahhh ok, thanks dude. I'm a noob modder, this stuff will help me get better in future. Thanks <3

EDIT: Um it's still not working :/ Still the same error.

Take ExampleGun as an example:

Code:
namespace ExampleMod.Items.Weapons
{
    public class ExampleGun : ModItem

So the png is in Terraria\ModLoader\Mod Sources\ExampleMod\Items\Weapons\ExampleGun.png

Hopefully you see the pattern from that.

From what I see your png must be:
\Mod Sources\Weapons\Items\DirkSword.png
since your namespace + classname is
Weapons.Items.DirkSword
 
Dang. I've lost the details now?

I downloaded tModLoader but on unzipping the folder my internet security went daft and blocked two files.
It was two .dll files, i'm sure, but i can't remember what that classification was of the threat made by my security.
On looking up more information about the threats, apparently the files had a reputation for being suspect.

an advice and/or information on this?

Thanks.
 
Anyone knows how to make a tiles that spread on another i have 2 tiles one without grass on top and one with and i want the one with to spread on the one without but i don't know how to.
 
Is there a way to add to the vanilla Treasure Bags that bosses drops? For example: Making it so a King Slime Treasure Bag drops all the stuff it usually drops, but also has a 25% Chance of dropping a Slime Staff.
 
Anyone know a way to make a burrowing Minion Type, that works like worm but is hostile towards enemies?
 
Missing mod: Bismuth_Mod/Items/Weapons/BurstShotter
at Terraria.ModLoader.ModLoader.GetTexture(String name)
at Terraria.ModLoader.Mod.SetupContent()
at Terraria.ModLoader.ModLoader.do_Load(Object threadContext)
I would LOVE some help with this
This is how i made my weapon:
using System;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.Graphics.Effects;
using Terraria.Graphics.Shaders;
using Terraria.ID;
using Terraria.ModLoader;

namespace Bismuth_Mod.Items.Weapons
{
public class BurstShotter : ModItem
{
public override void SetDefaults()
{
item.name = "Burst Shotter"; //Weapon Name
item.damage = 22; //Item Damage
item.melee = false; //If it's melee
item.width = 28; //item width
item.height = 10; //item height
item.toolTip = "5 rounds. 1 shotgun"; //item Description
item.useTime = 20; //How Fast
item.useAnimation = 0;
item.useStyle = 5; //How this :red:er is used
item.knockBack = 2; //item Knockback
item.value = 100000; //item Value 000platinum000gold000silver000copper
item.rare = 5; //item rarity
item.useSound = 11; //items sound during use
item.autoReuse = true; // If its capable to constantly be used
item.useTurn = true;
}
public override void AddRecipes() //How To Craft This
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID.DirtBlock, 1); //1 block of durt
recipe.AddTile(TileID.WorkBenches); //At a workbench
recipe.SetResult(this);
recipe.AddRecipe();
}
}
}
And i dont know what did i do wrong!
Anybody that knows this! Help!
 
Missing mod: Bismuth_Mod/Items/Weapons/BurstShotter
at Terraria.ModLoader.ModLoader.GetTexture(String name)
at Terraria.ModLoader.Mod.SetupContent()
at Terraria.ModLoader.ModLoader.do_Load(Object threadContext)
I would LOVE some help with this
This is how i made my weapon:
using System;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.Graphics.Effects;
using Terraria.Graphics.Shaders;
using Terraria.ID;
using Terraria.ModLoader;

namespace Bismuth_Mod.Items.Weapons
{
public class BurstShotter : ModItem
{
public override void SetDefaults()
{
item.name = "Burst Shotter"; //Weapon Name
item.damage = 22; //Item Damage
item.melee = false; //If it's melee
item.width = 28; //item width
item.height = 10; //item height
item.toolTip = "5 rounds. 1 shotgun"; //item Description
item.useTime = 20; //How Fast
item.useAnimation = 0;
item.useStyle = 5; //How this :red:er is used
item.knockBack = 2; //item Knockback
item.value = 100000; //item Value 000platinum000gold000silver000copper
item.rare = 5; //item rarity
item.useSound = 11; //items sound during use
item.autoReuse = true; // If its capable to constantly be used
item.useTurn = true;
}
public override void AddRecipes() //How To Craft This
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID.DirtBlock, 1); //1 block of durt
recipe.AddTile(TileID.WorkBenches); //At a workbench
recipe.SetResult(this);
recipe.AddRecipe();
}
}
}
And i dont know what did i do wrong!
Anybody that knows this! Help!
Look at guide called "Texture Load Error" in my signature
 
Hi, i'm having a problem, i read it before some people experimenting lag when opens inventory near crafting stations, but they gets no answer, i have the problem now and started when installed tmodloader, on clean terraria doesn't happen, is ther any fix to this problem?
 
Can someone maybe tell me what this error means please? Thanks for any help :)

Items/Armor/DankMemeBreastplate_FemaleBody
at Terraria.ModLoader.Mod.GetTexture(String name)
at Terraria.ModLoader.ModLoader.GetTexture(String name)
at Terraria.ModLoader.Mod.AddEquipTexture(EquipTexture equipTexture, ModItem item, EquipType type, String name, String texture, String armTexture, String femaleTexture)
at Terraria.ModLoader.Mod.AddEquipTexture(ModItem item, EquipType type, String name, String texture, String armTexture, String femaleTexture)
at Terraria.ModLoader.Mod.AutoloadItem(Type type)
at Terraria.ModLoader.Mod.Autoload()
at Terraria.ModLoader.ModLoader.do_Load(Object threadContext)

 
Can someone maybe tell me what this error means please? Thanks for any help :)

Items/Armor/DankMemeBreastplate_FemaleBody
at Terraria.ModLoader.Mod.GetTexture(String name)
at Terraria.ModLoader.ModLoader.GetTexture(String name)
at Terraria.ModLoader.Mod.AddEquipTexture(EquipTexture equipTexture, ModItem item, EquipType type, String name, String texture, String armTexture, String femaleTexture)
at Terraria.ModLoader.Mod.AddEquipTexture(ModItem item, EquipType type, String name, String texture, String armTexture, String femaleTexture)
at Terraria.ModLoader.Mod.AutoloadItem(Type type)
at Terraria.ModLoader.Mod.Autoload()
at Terraria.ModLoader.ModLoader.do_Load(Object threadContext)
You're missing the texture for the femalebody of your body armor
 
Back
Top Bottom