Hello there!
I am trying to work this out, but i don't seem to be able to.
I have a gun that fires three bullets like the Clockwork Assault rifle does, however i wanted to make it so that every third bullet in the burst always does a critical hit.
I found the function GetWeaponCrit and I assume...
Hey there!
I'm making a few consumable items for my mod, but i cannot seem to make them work without making them give a buff or health or mana.
How can i make the item consumable without doing any of this?
Hey there!
I just have a few quick questions about making custom UI elements.
Firstly, I have a working bar that displays a current percentage of something, and I have the bar working so it lowers as the percent lowers.
However, it looks very... plain as a solid color and I was wondering if I...
Hello there!
I have a bit of a curious question. I want to make a ranged weapon that fires bullets, but i want it so the gun starts shooting slowly and by holding the attack button speeds up it's firing rate over a defined amount of time. I know there is item.channel which allows you to hold the...
Hello!
I'm not sure if this is a bug or just shoddy coding on my part, but every once in awhile when using Main.tile[x, y] during world generation, it randomly returns null!
There doesn't seem to be any pattern nor any reason for it to do so, and when it happens the game totally locks up because...
Hello!
I have a bit of a odd question.
I was wondering if it's possible to, after the World Gen step that spawn the vanilla ores, to check and see if certain ores generated.
Ex: Detecting if Copper or Tin ore generated
Was just curious to see if this was possible to do. Thanks!
Hello there!
I am making a custom beam-type weapon, but there seems to be a bit of a issue.
It activates and fires with no issues, but it doesn't keep using Mana and the sound stops after clicking and holding as well.
Here's the Item code:
And here is the Projectile code:
Any help would be...
Hello!
So I'm trying to generate a filled oval like shape, where it is longer then it is tall.
Let's say the Y radius is 150 tiles long, and the X radius is 100 tiles long, like so:
How would i go about generating this in code?
Any help is appreciated, thank you!
Hello!
As the title suggests, i would like to figure out when a player is in a modded biome, like Calamity's Sulphurous Sea.
Any help is appreciated thanks!
Hello there! I just have a few questions about accessories.
1) How would you go about making a accessory do a thing only when a certain stat of the player is below a certain point, say making it regenerate life, but only when the player is below 50% health
I tried to do this
public override...
Hello! I was curious about if it was possible to add in your own rarity levels above the normal available ones.
I know it's possible to set the item text color in the DisplayName.SetDefault() function, but this doesn't actually change the color of the item when picked up or reforged.
I was also...
I've tried to look around but i can't seem to find how to do this anywhere.
I have a block that i would like to have the same effect as the Meteor or Hellstone block where standing on it would give the player the On Fire! debuff unless they have the Obsidian Skull or similar item.
Any help would...
Ahndrek's Basic Firearms
(Ahn's Basic Firearms)
Current Version: v1.1.0
Avalible on Mod Browser - Github Link
Hello and i welcome you to my Basic Firearms mod!
It currently adds in 9 new pistols made from Pre-HM metals and wood, 3 SMG type weapons, and 2 crafting components for the weapons...
Hey there!
I'm working on some weapons and i wanted to make a High Velocity bullet but that applied the 'On Fire!' de-buff and was more orange.
But something seems to be off. While i can set the 'On Fire!' de-buff, the color doesn't seem to change and the bullet looks odd.
Here's what i mean by...
Why hello there!
Name is Ahndrek Li'Cyri, or just Andrew if you don't wanna type that all out.
Been playing Terraria mobile for some time and then moved to PC about 2 years ago. It was my first game I bought on Steam, actually! I'm now into Terraria quite a bit more and enjoy modding it a bit...
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.