Yeah, you just click build. If you have problems come to the discord chat for tmodloaderhow does one compile the csproj included in mod skeleton generators? is that even possible?
Yeah, you just click build. If you have problems come to the discord chat for tmodloaderhow does one compile the csproj included in mod skeleton generators? is that even possible?
now i'm having trouble finding the discord chat.Yeah, you just click build. If you have problems come to the discord chat for tmodloader
You need to call NPC.NewNPC for every bossI want to make an item that spawns in all bosses at once, how would I do that?
(I am relatively new to coding so I apologize if the answer is obvious)
A link to the discord chat you can find in my signaturenow i'm having trouble finding the discord chat.
also, the thing i'm really having trouble is building the pre-made csproj files included in the guide about coding out of tmodloader/coding on mac, which can be find here:https://forums.terraria.org/index.p...der-a-modding-api.23726/page-525#post-1001200
I been having problems with calamity so that may be the case.I put this error in its own thread, but it can't hurt to ask here.
This has happened on three worlds so far. After defeating the cultist, every time I open the settings menu, the game crashes. Another issue is that monsters do not display their name and hp when hovered over. This is a very annoying bug, and I would very much appreciate help with it.
Mod list:
Calamity
Thorium
Sacred Tools
Qwerty's bosses and items
Initiate Mod
Intrucial
Fargo's
IMK sushi
IMK sushi old recipies
Magic Storage
Omniswing
Luiafk
Shorter Respawn
AlchemistNPC
VeinMiner
Wing Slot
System Specs
OS: linux mint 19
RAM 8gb
the link doesn't work...A link to the discord chat you can find in my signature
Mac is a specific situation... we can really help you easier on Discord
There's a few tutorials out there, but the only ones that I know of are kinda old and for past Terraria APIs. You may find that you need to change some formatting and other aspects, but the actual code should still work.Hi do you have the knowledge on how to program terraria specifically in the field of "NPCs" because the example mod only shows how to aquire an AI but not create an AI and I do not want to let some old mods "die" cause some user can't explain "how to" in something specifically made to show "how to". Now please make this simple because I already spent 20 minutes searching the forums in total for help.
You must have more than one class declaration that has ': Mod' after it. You should have only one of those in your entire mod. If you don't know what I mean, it's the part that looks like this.ok, most of the challenges have been overcome, but now there's this message:
'Make sure you have exactly 1 class extending mod.'
any ideas what the problem might be???
namespace YourNamespaceName
{
public class YourClassName : Mod
{
should this work?There's a few tutorials out there, but the only ones that I know of are kinda old and for past Terraria APIs. You may find that you need to change some formatting and other aspects, but the actual code should still work.
[Tutorial] Custom Bosses - NPC AI and Server Syncing
Surfpup's tConfig Mod Wiki
The first one is not so much a start-to-finish tutorial but more a 'how to do a specific thing'. The second one's older, but guides you through creating a specific kind of NPC. Hopefully you can find some useful stuff there.
You must have more than one class declaration that has ': Mod' after it. You should have only one of those in your entire mod. If you don't know what I mean, it's the part that looks like this.
Code:namespace YourNamespaceName { public class YourClassName : Mod {
using Terraria.ID;
using Terraria.ModLoader;
namespace crab.Items
{
public class crab : Mod
{
It's fairly simple, use the AltFunctionUse hook to do things when the right mouse button is clicked, however this hook is only called client side so it may cause issues on multiplayer.Any of you know how can I make something happen when someone use the right click while a certain weapon is equiped? I want to make a weapon that when you do a right click when it is equiped, it gives a buff or shoots a projectile. I just want to know how to do something when there is a right click.
Sorry for bad english btw.
In order to make things work in MP, people just need to remember syncing it by sending network packets. (Netmessage.Send)It's fairly simple, use the AltFunctionUse hook to do things when the right mouse button is clicked, however this hook is only called client side so it may cause issues on multiplayer.
Thanks!There's a few tutorials out there, but the only ones that I know of are kinda old and for past Terraria APIs. You may find that you need to change some formatting and other aspects, but the actual code should still work.
[Tutorial] Custom Bosses - NPC AI and Server Syncing
Surfpup's tConfig Mod Wiki
The first one is not so much a start-to-finish tutorial but more a 'how to do a specific thing'. The second one's older, but guides you through creating a specific kind of NPC. Hopefully you can find some useful stuff there.
You must have more than one class declaration that has ': Mod' after it. You should have only one of those in your entire mod. If you don't know what I mean, it's the part that looks like this.
Code:namespace YourNamespaceName { public class YourClassName : Mod {