• Journey's End on PC - Find info here and here. Please report bugs and issues for PC 1.4 and 1.4.1 to Re-Logic here.
  • Journey's End on Mobile - Find info here. Report bugs for Mobile 1.4 to DR Studios at this link and give as much detail as possible.
  • 1.4 will bring many changes to the PC version. We strongly advise making plans to back up your worlds and players prior to updating your game. More details here.
  • Console and Switch - The latest news can be found here. To report a bug, please use this link.

Standalone [1.3] tModLoader - A Modding API

Endershot355

Steampunker
Alright thanks so much!
[DOUBLEPOST=1457522760,1457522225][/DOUBLEPOST]Is there a way to make a new "class', so it doesnt say throwing damage or whatever but "custom name" damage?
 

Iroh The Dragon

Terrarian
For what endershot is asking is this it here
public virtual bool CanKillTile(int i, int j, ref bool blockDamaged)
and how can i use this to set a pickaxe power.
 

Iroh The Dragon

Terrarian
The pickaxe works and everything just i cant move left if im mining right, so how would i make it so i can move both ways and mine. With being stuck on one way each time.

And how would i go about animating furnaces. I have the sprite file set up for it.
 
Last edited:

Gnom

Plantera
Hello everyone. I have a question. Is this good for newbie modders? I really wanted to make small mod, not big as Necro or Avalon mods. Problem is that Im completely new to modding. I can't even draw sprites properly but Im training. Is this program for launching mods only or also creating? By creating I mean that I can write items properties
not using such thing as Json etc. but using this program? Thanks for help. Im still gonna read documentation.
 

imkSushi

Eater of Worlds
Idea:
tModMaker
This would be just a compiler for tModLoader Mods, for people who don't have Terraria, but want to make mods for it. It doesn't have the Terraria source code, so it would not check code, so is solely a .tmod compiler.
 

Eldrazi

Eater of Worlds
The pickaxe works and everything just i cant move left if im mining right, so how would i make it so i can move both ways and mine. With being stuck on one way each time.

And how would i go about animating furnaces. I have the sprite file set up for it.
Could you show the animation file (even if in a private conversation)? Then I can give you an example.

Hello everyone. I have a question. Is this good for newbie modders? I really wanted to make small mod, not big as Necro or Avalon mods. Problem is that Im completely new to modding. I can't even draw sprites properly but Im training. Is this program for launching mods only or also creating? By creating I mean that I can write items properties
not using such thing as Json etc. but using this program? Thanks for help. Im still gonna read documentation.
It might be, not really sure.
This program (or API) is solely for adding (selfmade) mods to the game. It's not as if you're going to create mods inside this program.
If you want to start creating a mod, I'd recommend learning C# (since that's the programming language required to make mods with this API), look at the help threads in the OP and have a look through the ExampleMod. If you want one-on-one explanation, you can always ask questions here or start a private conversation.
 

XCiD

Terrarian
I'm trying to make a projectile half transparent. I fiddled around with the alpha value and with preDraw(), but I couldn't get it to work. Can anyone help me?
EDIT:nvrmind fixed it
 

Endershot355

Steampunker
How do I make it so when you have a certain accessory certain mobs spawn

like

checking for the accessory
then allowing the spawn params


I cant think straight


I just drank a whole monster in 5 seconds


I think im having cardiac arrest
 

XCiD

Terrarian
How do I make it so when you have a certain accessory certain mobs spawn

like

checking for the accessory
then allowing the spawn params


I cant think straight


I just drank a whole monster in 5 seconds


I think im having cardiac arrest
You can make a property in your modPlayer that changes value when the accessory is equipped, and check that property in CanSpawn()
 
Top Bottom