Hi, I have been having some trouble with creating fishable items and I am trying to make a item one fishable in the ocean.
Here is a snippet of my fishing code(Not all of it)
public override void CatchFish(Item fishingRod, Item bait, int power, int liquidType, int poolSize, int worldLayer, int...
Hello, I was loading my mod and then got this error. The error occurs when I start the game with the mod/enable the mod. I'm usually able to fix problems like this but after searching for a few hours I cant fin any solutions and I am stumped. Any help is aprichiated.
[21:27:53] [1/INFO]...
Hello, I have been searching around on source code and other sources and haven't found a way to play the sound once, or stop the sound from playing.
Here is my sound playing code in my projectile code:
public virtual void PlaySound1()
{
Main.PlaySound(SoundID.Item43...
Hello, I am making a modded tile (3x3) yet when I go to place the block it only allows me to place it above the blocks. (Image shown below)
Code(For the tile)
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using Terraria.ObjectData;
namespace...
Hi! I am making a texture for a tile in my mod (image attached) and I am having problems with the grid. I am using the image attached but it shows u as a pink block. Thanks for any help and sorry if this is the wrong place to post this.
HI! I am making a yoyo shoot some enchanted sword beams with projectile.newprojectile and I only want it to spawn one projectile but it shoots many in a short time. Thanks!
Here is my code:
public override void PostAI()
{
if (Main.rand.NextBool())
{...
Hi! I've worked with projectile.new projectile to spawn projectiles before but can't seem to apply it to a yoyo. All I want is the projectile to shoot from the front of the yoyo without randomized directions or anything. Thanks!
Hi! I Have been making a tile (bigger than just a single block) and I don't know how to texture it. I know there is a grid you have to use and I have put a grid over my image but it doesn't work. Id there some code I have to put in that changes the dimensions? (Like item.width/height)
Thanks...
HI! I was adding a recipie to a item but it gives me this error: "The name ItemID does not exist in the current context"
I was developing a mod a few months ago but my pc broke and I lost all the mod files so I have done this before but it isn't working now.
Here is my code:
public override...
Hi! I am making an accessory that is a combination of Hermes boots, and bundle of balloons. Is there a way to copy the effects of both of them into the accessory?
Thanks!
HI, I have looked this up and can't find out how. I want to add the bundle of balloons jumps to a modded accessory. Thanks!
Also if you have a list of all the vanilla accessory buffs that would be appreciated.
Thanks!
Hi! I am making an accessory that adds a yoyo counterweight. Here is the code I'm using:
public override void UpdateAccessory(Player player, bool hideVisual)
{
player.yoyoString = true;
player.counterWeight = 1;
}
It shoots wooden arrows instead of a...
Hi! I have been looking everywhere for this but have not found it. I made a modded projectile and ammo that I want to shoot out of the vanilla snowball cannon. How do I do this? Thanks!
Hi! I am trying to make a file to make recipes for vanilla items but I am getting an error. I used this guide for the code and help but nothing has worked. Thanks! This is the error:
An error building overload. Make sure you have exactly 1 class extending mod. Found overload.overload...
Ok so, this is a weird post but here we go. I am making a last prism type weapon with a red laser. But I cant figure out how to get a good red (code shows below). If this is too stupid of a post tell me. Thank you.
private const float BeamColorHue = 1f;
private const float BeamHueVariance =...
HI, I have been attempting to figure this out for ages. I have been wanting to make a modded projectile shoot out of a modded gun and apply a debuff for months. Any help would be appreciated.
Here is the code for by gun and bullet
Gun:
using System;
using System.Collections.Generic;
using...
Hello! I have looked everywhere for this. I want to have a modded item drop from the expert Eater Of Worlds Loot / Boos bag. I have looked at Here and many other places but haven't found an awnser.
Thank you!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.