Then write the code like here: (MODNAME is the name of your mod).Right click on the new project (Right) -> Add -> Class (name it the same as you named the mod).
How to create your mod (hereafter - project) in MVS If this is your first time using MVS, I recommend reviewing / reading the C # guides / tutorials first. You've probably heard of it before, and perhaps someone has even used it. Microsoft Visual Studio is an application for creating many kinds of programs. It will make the process of coding much faster and easier. MVS will help you auto-complete code by showing errors, and in general. And of course, don't forget Microsoft Visual Studio itself.You can download mine or find them yourself if you have the XNA Framework (Preferred). They are needed to prevent errors when writing code. Terraria uses XNA Framework libraries, so you will need DLLs in your mod.NET Framework (4.5 or higher) to prevent any problems. Make sure you have the latest Microsoft.
It's easy, read tutorials, guides and do any regular program before you start modding. And of course, basic knowledge of C #.website and enter the program, it's free. Attention!: install with English) It is only for 30 days! Later you need to register an account for off. Download and install Microsoft Visual Studio, Community Edition.Then run installer.exe again and click setup modding environment. Remember: if your religion forbids reading the FAQ, google and use a translator, you can not wait for help here. (In English)Īttention! ask stupid questions like: Why doesn't the Russian language work? Will drive the author into a wild rage.