Standalone [1.3] tModLoader - A Modding API

recipe.AddIngredient(null, "angelwings", 1);
recipe.AddIngredient(null, "demonwings", 1);

what you want is

recipe.AddIngredient(ItemID.AngelWings, 1); < - delete the null part, when using vanilla you use an int or an ItemID.
recipe.AddIngredient(ItemID.DemonWings, 1);

if you use ItemID. you'll need to add this to the top

using Terraria.ID;
I'm assuming I have to change

recipe.AddTile(null, "mythrilanvil");

into

recipe.AddTile(TileID.MythrilAnvil);
?
EDIT: Nevermind, I changed the TileID too and it worked finally!
Thanks a lot @Zero-Exodus, you have been a great help!
 
How to play tModLoader still despite the 1.3.3 update.

1.Install Gamelauncher
2.Download tModLoader
3.Rename the Terraria.exe in the tModLoader folder to something else (Like tModLoader.exe)
4.Drag contents of tModLoader folder to where Terraria is(in stean/steamapps/common/Terraria)
5.Open Terraria with Gamelauncher.
6.Add tModLoader.exe as an instance.
7.???
8.Profit

Gamelauncher lets you have tModLoader and Vanilla Terraria as seperate instances, you have to reinstall gamelauncher every time Terraria updates though, as the update replaces Gamelauncher.
thanks man this worked for me :D<3
 
You can use this to Download mods
All Mods in the Mod Browser get shown there
Press the Button Combination that opens the search Window (i dont know wich it is on Mac) and search the mods you wanted
I have been trying to use that for my mod, but I realize that I can't find a lot of mods that I would want to use using the search bar. I am trying to replicate the mods from this video:
(In the description is the list) I downloaded the right tmodloader and used the search bar to try and find some of the mods. Unfortunately, I couldn't find some of these mods. If someone could help it would be greatly appreciated. Sorry if this post sounds a bit confusing
 
I have been trying to use that for my mod, but I realize that I can't find a lot of mods that I would want to use using the search bar. I am trying to replicate the mods from this video:
(In the description is the list) I downloaded the right tmodloader and used the search bar to try and find some of the mods. Unfortunately, I couldn't find some of these mods. If someone could help it would be greatly appreciated. Sorry if this post sounds a bit confusing
it meas they deleten or not updaten since version 7.1 i think (what is not realistic because hes lets play started in version 8 xD)

if you search the mods MinersExtra v1.1.4,PotionsPlus v1.2.3,PreHardModeWings v1.1.3 and Lunar Rings v1.0.4 are 100% deleten
 
its like no one wants to let me know this

its been so long and the Documentation does not help much at all missing the important part

take this one for example

public virtual void AnimateTile(ref int frame, ref int frameCounter)
Allows you to animate your tile. Use frameCounter to keep track of how long
the current frame has been active, and use frame to change the current frame.

direct link
https://github.com/bluemagic123/tMo...animatetileref-int-frame-ref-int-framecounter

it tells the info but missing the important part
how it is put together in code form missing example of how it looks like


i know there is example mod but its just to big and there is not any mod tiles with simple normal animations
it only has these 2 for what i can see

VoidMonolith (using vanilla animation code)
AnimatedLoom (changing vanilla static tile to animation)
 
Because Bluemagic is no God
...... i know
[doublepost=1473549807,1473549640][/doublepost]
well for one, why dont you just buy it to begin with, since its not that expensive, secondly "other" versions of the game (non-steam versions) have slightly altered files, which is probably why you cant, and its very highly unlikely they will add support to any versions outside the steam version, and GOG version.
...................................................................................................
 
Here is a looping animation, you can ignore the other things like PreDraw since that's advanced in this case:

https://github.com/bluemagic123/tMo...0/ExampleMod/Tiles/ExampleAnimatedTile.cs#L89

Also note your texture should be horizontal, not vertical like this one.


thx but really it took someone 4 month to tell me something posted 5 times


is this not how it is ment to look still not moveing ingame

public override void AnimateTile(ref int frame, ref int frameCounter)
{
frameCounter++;
if (frameCounter > 10)
{
frameCounter = 0;
frame++;
if (frame > 16)
{
frame = 0;
}
}
}

if i am not wrong the framecounter is speed and frame is how many frames right


this here is the code for the "item" its ment to place


public override DrawAnimation GetAnimation()
{
return new DrawAnimationVertical(10, 16);
}
 
Back
Top Bottom