Basic ModProjectile Guide
本文内容整理自 tModLoader 官方 Wiki(Terraria 模组开发指南),原文:Basic ModProjectile Guide。 Before you start modding a projectile, you should be aware of the difference between items and projectiles. Items are the objects that can be stored in your inventory, whereas projectiles are the objects that are shot from weapons or enemies, for example. What uses Projectiles?Many items in Terraria are functional due to projectiles, including guns and bows (the bullets and arrows respectively), lasers, bombs and othe...
Basic NPC Spawning
本文内容整理自 tModLoader 官方 Wiki(Terraria 模组开发指南),原文:Basic NPC Spawning。 This guide will teach the basics of spawning enemies. Basic IdeasThere are a few ideas you need to understand first: BalanceIt is hard to guess a good value for the return of ModNPC.SpawnChance. We don’t want our NPC spawning too often compared to vanilla NPC. Usually a value of 0.1f or something smaller is good, but you should use Modders Toolkit’s NPC Spawn Tool to compare your NPC’s spawn rate to vanilla and other Mod’s N...
Basic Recipe
本文内容整理自 tModLoader 官方 Wiki(Terraria 模组开发指南),原文:Basic Recipe。 Recipes can be added to the game in 3 places. In ModItem.AddRecipes, GlobalItem.AddRecipes, and ModSystem.AddRecipes. Where you add your recipes is up to your organizational preferences, but do note that the ModItem.CreateRecipe method cannot be used everywhere as is, use Recipe.Create where it is not possible. Recipes consist of Ingredients (Items consumed to craft the result), Tiles (Tiles you need to stand by), and Results (It...
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment
