Need help adding a monster

Results 1 to 3 of 3
  1. #1
    Moderator DriftCity is offline
    ModeratorRank
    Oct 2009 Join Date
    /NapTown/Location
    621Posts

    Need help adding a monster

    Hello,

    I've tryed adding a monster but when i attack it, it gives me the attack animation that it wants to hit me but the monster is doing no damage. See code below.

    mdlDyna.inc
    Spoiler:

    Elemental MI_MAZEMOB1 MODELTYPE_ANIMATED_MESH "" 0 MD_MID 0 2.0f 0 1 ATEX_USE 1
    {
    "stand" MTI_STAND
    "walk" MTI_WALK
    "idle1" MTI_IDLE1
    "idle2" MTI_IDLE2
    "dmg1" MTI_DMG1
    "dmg2" MTI_DMG2
    "dmgFly" MTI_DMGFLY
    "dmgDie" MTI_DMGDIE
    "dmgLive" MTI_DMGLIVE
    "die1" MTI_DIE1
    "atk1" MTI_ATK1
    "atk1" MTI_ATK2
    "atk1" MTI_ATK3
    "groggy" MTI_GROGGY

    // extra
    "walk" MTI_JUMP1
    "walk" MTI_JUMP2
    "walk" MTI_JUMP3
    "walk" MTI_JUMP4
    "walk" MTI_RUN
    }


    propmover.txt.txt
    Spoiler:

    IDS_PROPMOVER_TXT_002330 Crusher
    IDS_PROPMOVER_TXT_002331


    propmover.txt
    Spoiler:

    MI_MAZEMOB1 IDS_PROPMOVER_TXT_002330 AII_MONSTER 15 20 15 13 40 3 = BELLI_MELEE = 1 = = RANK_LOW 0 = 1 = 1500 1600 II_WEA_MOB_AIBATT1_ATK1 II_WEA_MOB_AIBATT1_ATK2 II_WEA_MOB_AIBATT1_ATK3 = = = = = = = = 1000 2400 654310 100 223 130 0 = 5 1 = 0.075 = 0 = = = 98 0.3 0 -0.3 0 0 1049 = = = = 13 83621 0 = = 1 II_WEA_HAN_HAND VT_ITEM = = = = = = = = SND_ITEM_TREE SND_PC_DMGWANB = = = IDS_PROPMOVER_TXT_001381


    defineobj.h
    Spoiler:

    #define MI_MAZEMOB1 1473


    propmoverex.inc
    Spoiler:

    MI_MAZEMOB1
    {
    DropGold(2500, 3000);
    m_nAttackFirstRange = 8;
    AI
    {
    #Scan
    {
    scan
    }
    #battle
    {
    Attack cunning low

    }
    #move
    {
    Loot d 5
    }
    }
    }


    Thanks for helping!
    Last edited by DriftCity; 29-04-14 at 08:20 PM.


  2. #2
    Novice Fenris is offline
    MemberRank
    Sep 2011 Join Date
    RE:ℓσα∂Location
    69Posts

    Re: Need help adding a monster

    If it's not an original FlyFF monster and one you've added yourself, you need to make sure to add the attacking key in Cola.

    Also, definejob.h? Don't you mean Defineobj?

  3. #3
    Moderator DriftCity is offline
    ModeratorRank
    Oct 2009 Join Date
    /NapTown/Location
    621Posts

    Re: Need help adding a monster

    Attacking key in Cola :o haven't thought about that so, i could try that. And yea I ment defineobj.h xD.



Advertisement