Standalone [1.3] tModLoader - A Modding API

I cant seem to access the modbrowser to any extent, in the latest release, it doesnt show anything, and if i load older ones it just crashes terraria - Is there any setup needed to use the Mod Browser?
Currently the mod browser is offline and awaiting fix.
[doublepost=1487440064,1487439476][/doublepost]
Hmmm, do you think you can make it such that we can see when was the mod last updated by us with a date? Oh yeah, good job on this, modding made easy for Terraria players.
Do you mean filtering mods based on their update date in the mod browser?
[doublepost=1487440131][/doublepost]
I've narrowed the pick up glitch (for me) down to either basic elemtal additions or elemental weapon enhancements, idk about the projectiles yet
Yeah don't use EWE (elemental weapon enhancements) I haven't touched it in a long time now lol.
[doublepost=1487440257][/doublepost]
I am trying to make a fruit that when you eat it i get a debuff saying i am full and i also want it to heal 35 life. how would i make that happen? (i also want to not be able to eat the fruit if the full debuff is active)
To heal you could set item.heal = 35 in its SetDefaults, you can do player.AddBuff() in the UseItem hook to add your buff.
 
can some one help me make this NPC spawn in a certain biome/ every time i try it says:


c:\Users\Student\Documents\My Games\Terraria\ModLoader\Mod Sources\Trelamium\NPCs\Spectre\SpectreEye.cs(43,24) : error CS0029: Cannot implicitly convert type 'bool' to 'float'
and heres the code:

using Terraria;
using Terraria.ID;
using Terraria.ModLoader;

namespace Trelamium.NPCs.Spectre
{
public class SpectreEye : ModNPC
{
public override void SetDefaults()
{
npc.name = "SpectreEye";
npc.displayName = "Spectre Eye";
npc.width = 32;
npc.height = 22;
npc.damage = 30;
npc.defense = 6;
npc.lifeMax = 90;
npc.HitSound = SoundID.NPCHit1;
npc.DeathSound = SoundID.NPCDeath1;
npc.value = 60f;
npc.knockBackResist = 0.3f;
npc.aiStyle = 2;
Main.npcFrameCount[npc.type] = Main.npcFrameCount[NPCID.DemonEye];
aiType = NPCID.DemonEye;
animationType = NPCID.DemonEye;
}
public override void HitEffect(int hitDirection, double damage)
{
if (npc.life <= 0)
{
Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Spectre/EyeGore1"), 1f);
}
}

public override float CanSpawn(NPCSpawnInfo spawnInfo)
{
if (Main.hardMode == true)
{
return 1f;
}
else if (Main.hardMode == false)
{
return false;
}
}
}
}
 
public override float CanSpawn(NPCSpawnInfo spawnInfo)
{
if (Main.hardMode == true)
{
return 1f;
}
else if (Main.hardMode == false)
{
return false;
}
return 0f. the method returns a float, you can't return a bool.
 
i had that mod installed and i deleted it. my game now works. THANK YOU OH SO MUCH!
I am very glad to help lol, and I think the mod that caused projectiles not to work was imksushi but I'm not positive.
[doublepost=1487475435,1487475344][/doublepost]
Where exactly are stored the mods that you install?
On windows go, My documents > my games > Terraria and it should have a mods folder
[doublepost=1487475573][/doublepost]
Currently the mod browser is offline and awaiting fix.
[doublepost=1487440064,1487439476][/doublepost]
Do you mean filtering mods based on their update date in the mod browser?
[doublepost=1487440131][/doublepost]
Yeah don't use EWE (elemental weapon enhancements) I haven't touched it in a long time now lol.
[doublepost=1487440257][/doublepost]
To heal you could set item.heal = 35 in its SetDefaults, you can do player.AddBuff() in the UseItem hook to add your buff.
You should really update ewe and it's counterpart, they were one of my favorite mods
 
Is the mod browser not working just for me? Most of the time it is just blank but sometimes it says "Mod Broswer OFFLINE (unknown)" and shows the mods but when i try to download them they dont download. Anyone knows how to fix this?
 

Attachments

  • blank.png
    blank.png
    538.8 KB · Views: 284
  • offline.png
    offline.png
    473.1 KB · Views: 251
  • probrem.png
    probrem.png
    472.8 KB · Views: 212
Is the mod browser not working just for me? Most of the time it is just blank but sometimes it says "Mod Broswer OFFLINE (unknown)" and shows the mods but when i try to download them they dont download. Anyone knows how to fix this?

I have the same problem. (same as your first screen)

I don't have the list of mods =(
 
I need help making a custom background for my biome. I tried it the same way Al0n37 did it in his tutorials on youtube but somehow the background does not appear. I think the reason is that he did the tutorial back on ver. 0.8.3.5 but I'm not sure.
Thankful for answers!
 
Is the mod browser not working just for me? Most of the time it is just blank but sometimes it says "Mod Broswer OFFLINE (unknown)" and shows the mods but when i try to download them they dont download. Anyone knows how to fix this?

I have the same problem. (same as your first screen)

I don't have the list of mods =(
You Guys do realize that the Mod Browser is in beta...
and you can just, idk, Download the Mod from this Thread and Install it Manually.
just sayin'.
 
You Guys do realize that the Mod Browser is in beta...
and you can just, idk, Download the Mod from this Thread and Install it Manually.
just sayin'.


Yepe i do this.
 
upload_2017-2-19_19-19-30.png

it wont load :/ even if i spam the reload button
 
Im having the same problem. is the mod browser down?
 
How do I get a projectile to explode upon impact?
Code:
Code:
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;

namespace EpicnessModRemastered.Projectiles
{
    public class SuperWoodStar : ModProjectile
    {
        public override void SetDefaults()
        {
            projectile.name = "Super Wood Star";
            projectile.width = 22;
            projectile.height = 24;
            projectile.aiStyle = 1;
            projectile.friendly = true;
            projectile.ranged = true;
            projectile.penetrate = 1;
            projectile.timeLeft = 60000;
            projectile.light = 2f;
            projectile.extraUpdates = 1;
            ProjectileID.Sets.TrailCacheLength[projectile.type] = 5;
            ProjectileID.Sets.TrailingMode[projectile.type] = 0;
        }
         public override void Kill(int timeLeft)
        {
           
        }
    }
}
 
How do I uninstall mods? I have a broken mod that crashes my game whenever I'm loading the game, but I can't remove it. Does anyone know how to?
 
How do I uninstall mods? I have a broken mod that crashes my game whenever I'm loading the game, but I can't remove it. Does anyone know how to?

Go to the folder My Documents\My Games\Terraria\ModLoader\Mods and delete the .tmod file for the mod that is causing problems. Sometimes the file names are a bit tricky though. If you're not sure which .tmod file it is, I would go to http://javid.ddns.net/tModLoader/DirectModDownloadListing.php and find it there.
 
Can you give me the exact path? It keeps giving me an error.

I'm on steam by the way.
 
Does anybody know what mod causes projectiles to fail? And if I need to update? Although it seems we can't rn lol
 
how do i add a required pickaxe power to my MeowZium block that spawns in the world???? whats the code and do i put it in the .cs file in tiles or placeables?
[doublepost=1487557772,1487557673][/doublepost]
Does anybody know what mod causes projectiles to fail? And if I need to update? Although it seems we can't rn lol
you probly have an error in your codes
 
I am very glad to help lol, and I think the mod that caused projectiles not to work was imksushi but I'm not positive.
[doublepost=1487475435,1487475344][/doublepost]
On windows go, My documents > my games > Terraria and it should have a mods folder
[doublepost=1487475573][/doublepost]
You should really update ewe and it's counterpart, they were one of my favorite mods
Counterpart?
[doublepost=1487595495][/doublepost]
Can you give me the exact path? It keeps giving me an error.

I'm on steam by the way.
C:\Users\Admin\Documents\My Games\Terraria\ModLoader\Mods

Change admin to whatever your pc account name is
 
Thanks for helping me out.

Also, I wonder how much alerts Bluemagic gets with all the replies.
Just think of it.
 
Back
Top Bottom