Search results for query: *

  1. Jefferson Luis Bernardo

    tModLoader How remove itens using wire?

    Hello again, I wonder if you would like to remove or destroy a frame using wire. sample: Style3x3Wall public override void HitWire(int i, int j){ Remove this item from the wall. }
  2. Jefferson Luis Bernardo

    tModLoader How to change npc sprites using A.I?

    Thanks a lot for the help if(imortal == true){ npc.frame.Y = 1 *frameHeight; }else{ npc.frame.Y = 0 *frameHeight; }
  3. Jefferson Luis Bernardo

    tModLoader How to change npc sprites using A.I?

    So it can be like this? //---Woman inside a rose ---- If (immunity == true) { Sprite of change; }else{ Sprite of change; }
  4. Jefferson Luis Bernardo

    tModLoader How to change npc sprites using A.I?

    //---Woman inside a rose ---- If (immunity == true) { Sprite of change; }else{ Sprite of change; }
  5. Jefferson Luis Bernardo

    tModLoader I wonder how to make a check collision between blocks and NPCs?

    Thank you for your help... if(contador > 60){//60 numero de fps do jogo 60quadros por segundo segundos++; contador = 0; } if(segundos > 3){ npc.velocity.Y = -10;//jump power segundos =...
  6. Jefferson Luis Bernardo

    tModLoader I wonder how to make a check collision between blocks and NPCs?

    The npc jumps every 3 seconds, but it does not collide with blocks during the jump
  7. Jefferson Luis Bernardo

    tModLoader I wonder how to make a check collision between blocks and NPCs?

    using Terraria; using Terraria.ID; using Terraria.ModLoader; using Terraria.ObjectData; using Microsoft.Xna.Framework; namespace Castleroid.NPCs { public class gosma : ModNPC { int contador = 0; int segundos = 0; public override void SetDefaults() {...
  8. Jefferson Luis Bernardo

    tModLoader How to create a list of options?

    Ty for help ... public class teleportador : ModItem { public override void SetDefaults() { item.name = "Teleportador"; item.width = 20; item.height = 20; item.useStyle = 2; item.maxStack = 1...
  9. Jefferson Luis Bernardo

    tModLoader How to create a list of options?

    Hello, I am creating a mod for which the User may choose the areas where he will teleport ... I would list the options on the screen and relate each option to its proper teleportation code below public override void RightClick(int i, int j) {...
Back
Top Bottom