WolfHybrid23
Official Terrarian
Does anyone know what code to put in the WingUpdate(Player player, bool inUse) override to make modded dust spawn in my wings
Like, convert them to png?anyone know how to get the sprites for terraria vanity sets for editing them because if not my mod is doomed to an eternity of not being finished
Like, you want to swap out the texture in your mod, right? (Or a texture pack?) Or you want to know on disk which texture file corresponds to which vanity set? Or you want to know which array holds the Texture2D in-game?I mean as in a place to find the sprite so I can edit the vanity set
Found them in the ModLoader file, game works perfectly now, thanks! Sorry on the late reply, though.If you're on windows, go to My Documents>My Games>Terraria>ModLoader>Mods. If there are still mods there, that's your problem. If not, try to do a search on your computer for the name of one of the mods (if you can remember it) and if it shows up, try to find where said mods are and delete them all if you wont use another version of tModLoader
This is usually a Mod that doesn't actually have a Mod class, the heart of a mod.View attachment 153953
Sorry, I'm bad at reading C# error messages, and it's been a little over a year since I've done this.
using Terraria;
using Terraria.ModLoader;
namespace ItemChecklist
{
public class ItemChecklist : Mod
{
public ItemChecklist()
{
Properties = new ModProperties()
{
Autoload = true,
};
}
}
No, it won'tOre will be generated in the jungle?
Code:
for (int Ore = 0; Ore < 25; Ore++)
{
int oreX = Main.maxTilesX;
int oreY = Main.maxTilesY;
if (Main.tile[oreX, oreY].type == TileID.MudBlock)
{
WorldGen.TileRunner(oreX, oreY, (double)WorldGen.genRand.Next(3, 6), WorldGen.genRand.Next(3, 6), mod.TileType("LimeOre"), false, 0f, 0f, false, true);
}
}
1/3/2017 5:37:29 PM
System.NullReferenceException: Object reference not set to an instance of an object.
at Terraria.ModLoader.ItemLoader.SetMatch(Int32 armorSlot, Int32 type, Boolean male, Int32& equipSlot, Boolean& robes)
at Terraria.Player.SetMatch(Int32 armorslot, Int32 type, Boolean male, Boolean& somethingSpecial)
at Terraria.Player.PlayerFrame()
at Terraria.Main.DrawMenu(GameTime gameTime)
at Terraria.Main.do_Draw(GameTime gameTime)
at Terraria.Main.DoDraw(GameTime gameTime)
at Terraria.Main.Draw(GameTime gameTime)
at Microsoft.Xna.Framework.Game.DrawFrame()
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GameHost.OnIdle()
at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at Terraria.Program.LaunchGame(String[] args)