Quantcast
Channel: General Mod Discussion
Viewing all 7890 articles
Browse latest View live

Retrieved Character But Items Missing

$
0
0
So I installed tModLoader manually. I lost my character but a little later i realized that my character was just in the recycling bin. I restored my character, and when I loaded up the game my character was in the list, but had no items. My character kept the appearance, but lost all it's items. HELP!

[Tutorial] Projectile Guide and Implementation: tModLoader Edition

$
0
0
[Tutorial] Projectile Guide and Implementation
tModLoader Edition
by: Sin Costan

Introduction:
Hello TCF community, by a request, I have imported the original tAPI guide to tModLoader, with a few changes of course.


This page looks pretty empty boss, where's the tutorial?
By the power of Google Docs, I have made it in that, though reading code will be a pain,...

[Tutorial] Projectile Guide and Implementation: tModLoader Edition

[HELP] I don't know how to install fonts and i need help :D

Cannot use 1.3 items in recipes or buffs, or really anything.

$
0
0
I'm trying to make a recipe using Luminite Bars and fragments, but when building the mod I get an error saying 'Terraria.ID.ItemID' does not contain a definition for 'SolarFragment'

This happens with every 1.3 item, buffs included. The same error each time. Do I need to update tmodloader or something?

So, I have an issue with TModLoader/TEdit.

$
0
0
Earlier today, I was just playing on my server with a friend as usual. Then we decided to work out a plan to use TEdit to make an artificial Mushroom Biome. After all was said and done, house and all, I tried booting the server back up, but here's where the issue surfaced.
The window opens for about 4 seconds, completely blank, then immediately closes without me doing anything, therefore I can't launch the server. If anyone knows what to do to fix this, please let me know.

EDIT:Yes, I've...

So, I have an issue with TModLoader/TEdit.

[Tutorial] Custom Invasion

$
0
0
Introduction:
Hello TCF community, and by a certain amount of curiosity, I decided to figure out how to make a custom invasion, though I am currently working on some of the kinks in a custom invasion event.

So I decided to do the tutorial as part of the thread instead, so you don’t need to go to a shady google doc to read basic Object Oriented Programming.

For this tutorial, I will be making the most bare bone skeleton of a custom invasion, the file provided is an example using the Dungeon...

[Tutorial] Custom Invasion

i was trying a bunch of mods out and when i tried to create a new world it said this:

$
0
0
Index was outside the bounds of the array.
at Terraria.WorldGen.<>c.<generateWorld>b__259_84(GenerationProgress progress)
at Terraria.GameContent.Generation.PassLegacy.Apply(GenerationProgress progress)
at Terraria.World.Generation.WorldGenerator.GenerateWorld(GenerationProgress progress)
at Terraria.WorldGen.generateWorld(Int32 seed, GenerationProgress customProgressObject)
at Terraria.WorldGen.do_worldGenCallBack(Object threadContext)
at...

i was trying a bunch of mods out and when i tried to create a new world it said this:

Modding Tutorial: World Generation

$
0
0
Hello people!
It seems that there has been an explosion of World Generation in mods, and, well, I want to make it bigger/I'm bored. :p

Note: This tutorial is a bit complicated. You should know how to at least make a basic NPC before you read this. Or be crazy and read it anyways.

So, here will be a basic tutorial on how to make simple lines/passageways, blobs of block, or pools/mini biomes, which will come later.
Ok, let's start off now :D
First off, it'd be useful to have...

Modding Tutorial: World Generation

A really funny world creation xD

$
0
0
EDIT: Here is a link to map for those who will not believe :) gyazo.com/9b4d8438fd55d82750d0e29f1e090e66

Hello, I'm new here and I want to share with you my experience with mods and the world creation.
I installed some mods. In a bunch of mods there was a mod that shows world creating step by step.
And something really really creppy happend my computer was really really slow... I was scared because I was one time hacked by my "friend" who killed my 1000$ computer :(.
The world creation was...

A really funny world creation xD

Where's the Reach? (Spirit Mod)

$
0
0
Hello, I have the spirit mod on a world and had a most odd reach biome which wasn't a problem until hard mode because the hallow completely destroyed all but a snitch of my reach biome. Does the hallow infect reach blocks normally? Thank you!

Tmodloader error

Mob Droping Help!!!!

$
0
0
Can someone please help me and tell me what im doing wrong

My Code

HTML:
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;

namespace LiusMod.NPCs.Mobs
{
    public class IronSlime : GlobalNPC
    {
        public override void SetStaticDefaults()
        {
            DisplayName.SetDefault("Iron Slime");
            Main.npcFrameCount[npc.type] = Main.npcFrameCount[NPCID.BlueSlime];
        }

        public override void SetDefaults()
        {...
Mob Droping Help!!!!

How Do I Solve This Problem

Right click+Left Click

$
0
0
Hey! Thanks for reading this!
So I am new to C# and Terraria modding. I would like to make a sword per say, and when I left click it swings and right click it stabs. Or a tome that left click shoots one and right click shoots 2 but takes twice as much mana. Please help and preferably give examples for both!

Need help with custom ore spawning when killing boss for the first time

$
0
0
So I made an ore and made it spawn underground when the Lunatic Cultist is defeated, which works as intended.
The ore won't spawn anymore when the Cultist is defeated again in that world.

The thing that doesn't work as intended is that when you restart Terraria and then kill the boss again in the same world, it spawns again in the underground.

Can someone help me make it so that the ore only spawns once per world without spawning again after you restarted Terraria?

Here's the code that...

Need help with custom ore spawning when killing boss for the first time

Putting a mini biome within a vanilla biome.

$
0
0
I am currently working on a biome that I want to generate within the underground desert. Additionally I want that biome to form like the large Granite biomes, a large open area with some platforms. Both of which I am struggling to get working.

I am still new to C# coding, so sorry if either of my two issues is obvious, sorry in advance.

Thanks in advance.

tModLoader Custom Boss Error

$
0
0
Every time I try to rebuild my mod I get this error:

c:\Users\winne\Documents\My Games\Terraria\ModLoader\Mod Sources\AsnaoMod\NPCs\Bosses\Insanity.cs(40,30) : error CS0115: 'AsnaoMod.NPCs.Bosses.Insanity.AutoloadHead(ref string, ref string)': no suitable method found to override

Here's my code:
Code:
using System;
using System.IO;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;

namespace...
tModLoader Custom Boss Error

Mods that add Post-Moon Lord content?

$
0
0
So, I'm bad at using search.
Are there mods that add exclusivelly Post-Moon Lord content?
I'm playing with my friends and their PC is not the best, so they can't be adding lots of mods in their PC, and we have beaten the Moon Lord in Vanilla Terraria already and don't want to restart all over to install content mods, so, we're looking for mods that add only content for after all we've done.
Can you guys help us?

Questions

$
0
0
I have a few questions about how to do a few things in C# for terraria. I am new to both C# and Terraria Modding, so I would appreciate example code for me to dissect.
My first question: Can you make a item "shoot a projectile" or something with a middle click? As in clicking the scroll bar?
Next question is about GUIs. Could someone tell me how to do a proper gui when right-clicking on a block? Sort of like a chest, but my idea is that you could modify items with it. For example, you have a...

Questions

Tmodloader Boss NPC help Required

$
0
0
I have recently started getting into tmodloader modding, but I would like some help with a problem about custom projectiles fired from a custom boss.
I hacked together a boss from a few different sources:

Al0n37
Insu Cookie
and the Example Mod by Bluemagic123

Here is the code:

Code:
using System;
using System.IO;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.Graphics.Effects;
using...
Tmodloader Boss NPC help Required
Viewing all 7890 articles
Browse latest View live