Miu86silva
Terrarian
Can some one tell me where the characters are store, I have an old character that I want to "revive" (he is not dead in the game / he is in softcore)
Vanilla: Documents/My Games/TerrariaCan some one tell me where the characters are store, I have an old character that I want to "revive" (he is not dead in the game / he is in softcore)
when ever there is an item on the ground from like mining a block or killing a monster and i try to pick it up i cant do anything it just freezes my character and i can only open my inv. or save & exitWhat exactly do you mean? If you can't get your item then you can add a recipe to it, or spawn it in with cheat sheet.
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace Tf2.Projectiles
{
public class Rocket : ModProjectile
{
public override void SetDefaults()
{
projectile.name = "Rocket";
projectile.width = 8;
projectile.height = 8;
projectile.aiStyle = 1;
projectile.friendly = true;
projectile.ranged = true;
projectile.penetrate = 1;
projectile.timeLeft = 600;
projectile.alpha = 255;
projectile.light = 0.5f;
projectile.extraUpdates = 1;
ProjectileID.Sets.TrailCacheLength[projectile.type] = 5;
ProjectileID.Sets.TrailingMode[projectile.type] = 0;
aiType = ProjectileID.Bullet;
}
public override bool OnTileCollide(Vector2 oldVelocity)
{
projectile.penetrate--;
if (projectile.penetrate <= 200)
{
projectile.Kill();
}
else
{
if (projectile.velocity.X != oldVelocity.X)
{
projectile.velocity.X = -oldVelocity.X;
}
if (projectile.velocity.Y != oldVelocity.Y)
{
projectile.velocity.Y = -oldVelocity.Y;
}
Main.PlaySound(SoundID.Item10, projectile.position);
}
return false;
}
public override bool PreDraw(SpriteBatch spriteBatch, Color lightColor)
{
Vector2 drawOrigin = new Vector2(Main.projectileTexture[projectile.type].Width * 0.5f, projectile.height * 0.5f);
for (int k = 0; k < projectile.oldPos.Length; k++)
{
Vector2 drawPos = projectile.oldPos[k] - Main.screenPosition + drawOrigin + new Vector2(0f, projectile.gfxOffY);
Color color = projectile.GetAlpha(lightColor) * ((float)(projectile.oldPos.Length - k) / (float)projectile.oldPos.Length);
spriteBatch.Draw(Main.projectileTexture[projectile.type], drawPos, null, color, projectile.rotation, drawOrigin, projectile.scale, SpriteEffects.None, 0f);
}
return true;
}
}
}
Change speed to swiftness, just like jopojelly said speed isn't a vanilla buffIm Having A Problem, My Mod Wont Build And The Error Lead's To My Armors Buff Code.
If You Find SomeThing Wrong Please Tell Me.
Helmet :
Code:public override void UpdateArmorSet(Player player) { player.AddBuff(BuffID.NightOwl, 2); } }
Breastplate :
Code:public override void UpdateArmorSet(Player player) { player.AddBuff(BuffID.Shine, 2); } }
Leggings :
Code:public override void UpdateArmorSet(Player player) { player.AddBuff(BuffID.Speed, 2); } }
Yes, I tried the Kirby wavebank with 0.9.1 no problems.. @jopojelly, have you used any custom wavebanks yourself while using this patch?
Here is a zip of the mod.Seems fine. If you post a zip I can test it.
The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Terraria.GameInput.KeyConfiguration.CopyKeyState(TriggersSet oldSet, TriggersSet newSet, String newKey)
at Terraria.GameInput.PlayerInput.KeyboardInput()
at Terraria.GameInput.PlayerInput.UpdateInput()
at Terraria.Main.DoUpdate(GameTime gameTime)
at Terraria.Main.Update(GameTime gameTime)
Thank you so much ^_^Can some one tell me where the characters are store, I have an old character that I want to "revive" (he is not dead in the game / he is in softcore)
I've had minions despawn on me to, even way back in 0.8 versions. Usually during intense boss fights when lots of projectiles are being spawned. I'd like to know why this is happening to.Has anyone else been having issues with summoned minions, even vanilla ones, deciding to randomly despawn on you? It's something that I've seen multiple times in my last few sessions and it's really dang annoying. >_>
Hell I'm seeing it happen in the middle of my base with no action currently. There'd be a few seconds or so and then they disappear.I've had minions despawn on me to, even way back in 0.8 versions. Usually during intense boss fights when lots of projectiles are being spawned. I'd like to know why this is happening to.
using System;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ModLoader;
namespace MoreStuff.Dusts
{
public class GalacticDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.color = new Color(255, 255, 255);
dust.alpha = 1;
dust.scale = 1.3f;
dust.velocity = 0.5f;
dust.noGravity = true;
dust.noLight = false;
}
public override bool Update(Dust dust)
{
dust.Position += dust.velocity;
dust.rotation += dust.velocity.X * 0.65f;
dust.scale *= 2f;
float light = 1 * dust.scale;
Lighting.AddLight(dust.position, light, light, light)
if (dust.scale < 9f)
{
dust.active = false;
}
return false;
}
}
}