Standalone [1.3] tModLoader - A Modding API

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 a lot ! Now I can enjoy my mod and some of the numerous exploit that have been fixed x)
 
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.
Thank you SO much! i would of died from being so bored!
 
I use Terraria tmodloader for Terraria 1.3.2 on my Mac OS X, but whenever I open the mod browser, no mods show up. This has been happening to me for many versions of tmodloader. But, I had once installed an earlier version and the browser appeared, but I would like if someone could help me find out what is wrong. P.S. I have downloaded the tmodloader manually and using the automatic download but still none worked.
 
I use Terraria tmodloader for Terraria 1.3.2 on my Mac OS X, but whenever I open the mod browser, no mods show up. This has been happening to me for many versions of tmodloader. But, I had once installed an earlier version and the browser appeared, but I would like if someone could help me find out what is wrong. P.S. I have downloaded the tmodloader manually and using the automatic download but still none worked.
We don't know the cause yet, but I'm surprised that it actually worked before for you. At the moment the recommendation is if the browser doesn't work, download mods manually.
 
We don't know the cause yet, but I'm surprised that it actually worked before for you. At the moment the recommendation is if the browser doesn't work, download mods manually.
Thank you for taking the time to reply.:) I just hope it gets fixed soon, because I was having trouble finding some mods I would want to have a survival with.
 
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.

I, too, want to thank you for this :) This is exactly what I was looking to do. I'm glad I decided to read the end of this thread!
 
We don't know the cause yet, but I'm surprised that it actually worked before for you. At the moment the recommendation is if the browser doesn't work, download mods manually.
hmm, the mod browser always works for me, albeit its laggy sometimes, but ive not had it never show any mods before.
 
Sorry to interrupt the 1.3.3 Compatibility discussion but-

I'm very new to C# And decided to use the ExampleMod as a base to make custom wings, of course, I ran into errors and required help.
Here's my (crappy) code I did write:
using System.Collections.Generic;
using Terraria;
using Terraria.ModLoader;

namespace XervosMod.Items
{
public class XervosMod : ModItem
{
public override bool Autoload(ref string name, ref string texture, IList<EquipType> equips)
{
equips.Add(EquipType.Wings);
return true;
}

public override void SetDefaults()
{
item.name = "Waldo Wings";
item.width = 22;
item.height = 20;
item.toolTip = "Long flight!";
item.value = 1000000;
item.rare = 5;
item.accessory = true;
}
//these wings use the same values as the solar wings
public override void UpdateAccessory(Player player, bool hideVisual)
{
player.wingTimeMax = 180000000;
}

public override void VerticalWingSpeeds(ref float ascentWhenFalling, ref float ascentWhenRising,
ref float maxCanAscendMultiplier, ref float maxAscentMultiplier, ref float constantAscend)
{
ascentWhenFalling = 0.85f;
ascentWhenRising = 0.15f;
maxCanAscendMultiplier = 1f;
maxAscentMultiplier = 3f;
constantAscend = 0.135f;
}

public override void HorizontalWingSpeeds(ref float speed, ref float acceleration)
{
speed = 11f;
acceleration *= 3f;
}

public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(null, "angelwings", 1);
recipe.AddIngredient(null, "demonwings", 1);
recipe.AddTile(null, "mythrilanvil");
recipe.SetResult(this);
recipe.AddRecipe();
}
}
}
 
Thank you for taking the time to reply.:) I just hope it gets fixed soon, because I was having trouble finding some mods I would want to have a survival with.

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
 
Sorry to interrupt the 1.3.3 Compatibility discussion but-

I'm very new to C# And decided to use the ExampleMod as a base to make custom wings, of course, I ran into errors and required help.
Here's my (crappy) code I did write:
using System.Collections.Generic;
using Terraria;
using Terraria.ModLoader;

namespace XervosMod.Items
{
public class XervosMod : ModItem
{
public override bool Autoload(ref string name, ref string texture, IList<EquipType> equips)
{
equips.Add(EquipType.Wings);
return true;
}

public override void SetDefaults()
{
item.name = "Waldo Wings";
item.width = 22;
item.height = 20;
item.toolTip = "Long flight!";
item.value = 1000000;
item.rare = 5;
item.accessory = true;
}
//these wings use the same values as the solar wings
public override void UpdateAccessory(Player player, bool hideVisual)
{
player.wingTimeMax = 180000000;
}

public override void VerticalWingSpeeds(ref float ascentWhenFalling, ref float ascentWhenRising,
ref float maxCanAscendMultiplier, ref float maxAscentMultiplier, ref float constantAscend)
{
ascentWhenFalling = 0.85f;
ascentWhenRising = 0.15f;
maxCanAscendMultiplier = 1f;
maxAscentMultiplier = 3f;
constantAscend = 0.135f;
}

public override void HorizontalWingSpeeds(ref float speed, ref float acceleration)
{
speed = 11f;
acceleration *= 3f;
}

public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(null, "angelwings", 1);
recipe.AddIngredient(null, "demonwings", 1);
recipe.AddTile(null, "mythrilanvil");
recipe.SetResult(this);
recipe.AddRecipe();
}
}
}
There are no syntax errors here.
1. Do you have a mod class?
2. " recipe.AddTile(null, "mythrilanvil");" this is the code for adding a Mod tile to a recipe. Look at other examples to see how vanilla tiles are referenced. Same with the items.
 
Easiest way I can tell you is use this, then add your wings to it once you confirm it's working: http://javid.ddns.net/tModLoader/generator/ModSkeletonGenerator.html
I already did use it quite some time ago, and I have fixed the error already. However, that brought me another error:
Items/XervosMod_Wings
at Terraria.ModLoader.Mod.GetTexture(String name)
at Terraria.ModLoader.ModLoader.GetTexture(String name)
at Terraria.ModLoader.Mod.AddEquipTexture(EquipTexture equipTexture, ModItem item, EquipType type, String name, String texture, String armTexture, String femaleTexture)
at Terraria.ModLoader.Mod.AddEquipTexture(ModItem item, EquipType type, String name, String texture, String armTexture, String femaleTexture)
at Terraria.ModLoader.Mod.AutoloadItem(Type type)
at Terraria.ModLoader.Mod.Autoload()
at Terraria.ModLoader.ModLoader.do_Load(Object threadContext)
I'm assuming this error is telling me that there is no linked texture to the file, correct?
If so, how do I fix it exactly?
 
[/QUOTE]
I already did use it quite some time ago, and I have fixed the error already. However, that brought me another error:
Items/XervosMod_Wings
at Terraria.ModLoader.Mod.GetTexture(String name)
at Terraria.ModLoader.ModLoader.GetTexture(String name)
at Terraria.ModLoader.Mod.AddEquipTexture(EquipTexture equipTexture, ModItem item, EquipType type, String name, String texture, String armTexture, String femaleTexture)
at Terraria.ModLoader.Mod.AddEquipTexture(ModItem item, EquipType type, String name, String texture, String armTexture, String femaleTexture)
at Terraria.ModLoader.Mod.AutoloadItem(Type type)
at Terraria.ModLoader.Mod.Autoload()
at Terraria.ModLoader.ModLoader.do_Load(Object threadContext)
I'm assuming this error is telling me that there is no linked texture to the file, correct?
If so, how do I fix it exactly?

according to your file, your wings name is XervosMod, you need
XervosMod.png <- inventory image
XervosMod_Wings.png <- worn image

and it needs to be in the Items folder < could be as simple as naming the folder Item instead of Items
 
according to your file, your wings name is XervosMod, you need
XervosMod.png <- inventory image
XervosMod_Wings.png <- worn image

and it needs to be in the Items folder < could be as simple as naming the folder Item instead of Items
Done, I figured out where you were coming from and fixed the error.
Now for the last question, and probably the dumbest ever asked... :p
The item 495 does not exist in the mod XervosMod.
If you are trying to use a vanilla item, try removing the first argument.
at Terraria.ModLoader.ModRecipe.AddIngredient(Mod mod, String itemName, Int32 stack)
at XervosMod.Items.WaldoWings.AddRecipes()
at Terraria.ModLoader.RecipeHooks.AddRecipes()
Yeah, that.
(I still have tons of questions I'll ask in a later time, probably when I start adding new stuff to my mod).
 
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;
 
Back
Top Bottom