tModLoader Mokkel's Mod v1.0 (Coders and spriters wanted)

Do you like this mod?

  • Aw yeah!

    Votes: 35 83.3%
  • Could be better! (Please tell me how!)

    Votes: 6 14.3%
  • Aw nah!

    Votes: 1 2.4%
  • Other (Please tell me what!)

    Votes: 0 0.0%

  • Total voters
    42
ok:
test4.png
test2.png
test.png
Neonwings_Wings.png
Neonwings.png
Neonpickaxe.png
Neonbullet.png
Neongun.png
Neonyoyo.png
 
:(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((
 
This mod looks great. Hope that you make it available ASAP. I would suggest for the true terra blade that you just clone the terra sword adjust the damage and maybe other stats and put one of this
// Shotgun style: Multiple Projectiles, Random spread
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
{
int numberProjectiles = 4 + Main.rand.Next(2); // 4 or 5 shots
for (int i = 0; i < numberProjectiles; i++)
{
Vector2 perturbedSpeed = new Vector2(speedX, speedY).RotatedByRandom(MathHelper.ToRadians(30)); // 30 degree spread.
Projectile.NewProjectile(position.X, position.Y, perturbedSpeed.X, perturbedSpeed.Y, type, damage, knockBack, player.whoAmI);
}
return false; // return false because we don't want tmodloader to shoot projectile
}

// What if I wanted an inaccurate gun? (Chain Gun)
// Inaccurate Gun style: Single Projectile, Random spread
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
{
Vector2 perturbedSpeed = new Vector2(speedX, speedY).RotatedByRandom(MathHelper.ToRadians(30));
speedX = perturbedSpeed.X;
speedY = perturbedSpeed.Y;
return true;
}

// What if I wanted multiple projectiles in a even spread? (Vampire Knives)
// Even Arc style: Multiple Projectile, Even Spread
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
{
float numberProjectiles = 3 + Main.rand.Next(3); // 3, 4, or 5 shots
float rotation = MathHelper.ToRadians(45);
position += Vector2.Normalize(new Vector2(speedX, speedY)) * 45f;
for (int i = 0; i < numberProjectiles; i++)
{
Vector2 perturbedSpeed = new Vector2(speedX, speedY).RotatedBy(MathHelper.Lerp(-rotation, rotation, i / (numberProjectiles - 1))) * .2f; // Watch out for dividing by 0 if there is only 1 projectile.
Projectile.NewProjectile(position.X, position.Y, perturbedSpeed.X, perturbedSpeed.Y, type, damage, knockBack, player.whoAmI);
}
return false;
}
 
This mod looks great. Hope that you make it available ASAP. I would suggest for the true terra blade that you just clone the terra sword adjust the damage and maybe other stats and put one of this
// Shotgun style: Multiple Projectiles, Random spread
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
{
int numberProjectiles = 4 + Main.rand.Next(2); // 4 or 5 shots
for (int i = 0; i < numberProjectiles; i++)
{
Vector2 perturbedSpeed = new Vector2(speedX, speedY).RotatedByRandom(MathHelper.ToRadians(30)); // 30 degree spread.
Projectile.NewProjectile(position.X, position.Y, perturbedSpeed.X, perturbedSpeed.Y, type, damage, knockBack, player.whoAmI);
}
return false; // return false because we don't want tmodloader to shoot projectile
}

// What if I wanted an inaccurate gun? (Chain Gun)
// Inaccurate Gun style: Single Projectile, Random spread
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
{
Vector2 perturbedSpeed = new Vector2(speedX, speedY).RotatedByRandom(MathHelper.ToRadians(30));
speedX = perturbedSpeed.X;
speedY = perturbedSpeed.Y;
return true;
}

// What if I wanted multiple projectiles in a even spread? (Vampire Knives)
// Even Arc style: Multiple Projectile, Even Spread
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
{
float numberProjectiles = 3 + Main.rand.Next(3); // 3, 4, or 5 shots
float rotation = MathHelper.ToRadians(45);
position += Vector2.Normalize(new Vector2(speedX, speedY)) * 45f;
for (int i = 0; i < numberProjectiles; i++)
{
Vector2 perturbedSpeed = new Vector2(speedX, speedY).RotatedBy(MathHelper.Lerp(-rotation, rotation, i / (numberProjectiles - 1))) * .2f; // Watch out for dividing by 0 if there is only 1 projectile.
Projectile.NewProjectile(position.X, position.Y, perturbedSpeed.X, perturbedSpeed.Y, type, damage, knockBack, player.whoAmI);
}
return false;
}
That's basically what it is. The true terra blade will probably not be in the next version though.. We'll see ;)
 
That's basically what it is. The true terra blade will probably not be in the next version though.. We'll see ;)
The pic showed it using vertical sprites of swords that's why I suggested you to clone the sword so projectiles will look the same but there will be more of them.
 
The pic showed it using vertical sprites of swords that's why I suggested you to clone the sword so projectiles will look the same but there will be more of them.
Oh yeah, didn't update the pictures :p
It does use the same projectile as terra blade now.
 
The pic showed it using vertical sprites of swords that's why I suggested you to clone the sword so projectiles will look the same but there will be more of them.
why...whyw\...why are you always everywere where i am lawl
 
Back
Top Bottom