tModLoader
TheCaravel 26 listopada 2021 o 22:36
Best Way to Learn How to Code/Mod Terraria?
So I'm very interested in learning how to mod Terraria with tModLoader, but there's a few very important questions I have.

First of all, I have pretty much no C# coding knowledge at all, or coding knowledge in general. Some things to note is that I know how to make some basic items, such as accessories that give you basic buffs like attack speed or knockback, and basic items like swords. I have also looked through the ExampleMod, but all I can really do with is is copy and paste code, because I don't understand any of the code within it. I've also looked through the first couple of guides on the tModLoader wiki page and understand how mod structure works and, like I said before, I understand how to add in basic weapons and accessories, but not anything like bows, more complex accessories/weapons, bosses, NPC's, biomes, etc.

So now that I have that out of the way, here are my primary questions:

1. What is the best way to approach modding Terraria? Do I first focus on learning C# in general before approaching modding, or should I instead search for some videos or guides on how to mod Terraria right away?

2. If I should first learn C#, where are some good ways to learn it? (I'm not going for fast "learn C# in a day" kind of thing, I'm fine if this kind of thing takes weeks or months to fully understand it)

3. Are there any modding guides out there that go deep into how each bit of coding works, rather than just giving a general idea on what code does? (for example, rather than just pasting "public override void SetDefaults()" and saying "This makes it so you can edit basic stats for your modded item," they would explain what each piece of the line means)

4. Is there anything else important I should know before I get into modding?

Any and all help is greatly appreciated!
Data napisania: 26 listopada 2021 o 22:36
Posty: 0