Why do you have AnimateTile right in the middle of SetDefaults?What am i doing? It says that Main.animationFrameHeight = 4; does not exist and public override void AnimateTile is missing bunch of brackects...
Code:using System; using Microsoft.Xna.Framework; using Terraria; using Terraria.ID; using Terraria.ModLoader; using Terraria.ObjectData; namespace ExampleMod.Tiles { public class EnchantingTable : ModTile { public override void SetDefaults() { Main.tileSolidTop[Type] = true; Main.tileFrameImportant[Type] = true; Main.tileNoAttach[Type] = true; Main.animationFrameHeight = 4; Main.tileTable[Type] = false; Main.tileLavaDeath[Type] = true; public override void AnimateTile(ref int frame, ref int frameCounter) { frameCounter++; if (frameCounter >= 10) { frame = (frame + 1) % 4; frameCounter = 0; } } TileObjectData.newTile.CopyFrom(TileObjectData.Style2x1); TileObjectData.newTile.CoordinateHeights = new int[]{ 18 }; TileObjectData.addTile(Type); AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTable); dustType = mod.DustType("Sparkle"); adjTiles = new int[]{ TileID.WorkBenches }; } public override void NumDust(int i, int j, bool fail, ref int num) { num = fail ? 1 : 3; } public override void KillMultiTile(int i, int j, int frameX, int frameY) { Item.NewItem(i * 16, j * 16, 32, 16, mod.ItemType("EnchantingTable")); } } }
I haven't worked much with mounts yet.How to make a mount that completely replaces the player sprite, is 2×2 tiles and has infinite flying and takes only one frame to start moving and to stop?
[DOUBLEPOST=1451079144,1451078786][/DOUBLEPOST]Is it possible to create a buff that reduces the maximum health to 1 point but gives a 99% chance of dodging every attack?
And it will be possible to make that buff in the next update.
To make it spin, increment projectile.rotation.How to let a projectile spin at the end (Like Vampire knives)
or just let it spin in general
and how to add dust on melee weapons...
I am so dumb ;_;
To add dust to melee weapons, I think the ExampleSword and ExamplePickaxe do that.
Set the dusts' velocity to zero after you make them.bluemagic123 can you help me ? I createf laser rifle : shootspeed = 2, extraUpadet = 20, and add dust but the trail is made of many dusts and they are randomly rotated and i want only straight line what should i do ?
You can either click on "Restore Vanilla Terraria" in the installer, or you can rename your Terraria_v1.3.0.8.exe file to Terraria.exe.HELP!
my terraria wont go back to normal
i just wanna play with some friends