Thread: Npc 317

Results 1 to 9 of 9
  1. #1 Npc 317 
    Registered Member
    Join Date
    Nov 2015
    Posts
    25
    Thanks given
    0
    Thanks received
    2
    Rep Power
    0
    I have an question about npc's. How do i make an npc and it looks like mystery box? or any other like awaken have christmas cracker npc? so i can attack it and it give me drop.
    Screenshot by Lightshot
    Reply With Quote  
     

  2. #2  
    Donator
    TheTameer400's Avatar
    Join Date
    Aug 2014
    Posts
    193
    Thanks given
    35
    Thanks received
    10
    Rep Power
    36
    Quote Originally Posted by 5kill View Post
    I have an question about npc's. How do i make an npc and it looks like mystery box? or any other like awaken have christmas cracker npc?
    Screenshot by Lightshot
    i don't think thats an npc, that could be an object when you can spawn it in objectmanager.java. im not sure if this is what you need.
    Attached image
    Reply With Quote  
     

  3. #3  
    Registered Member jeanpare98's Avatar
    Join Date
    Nov 2015
    Posts
    40
    Thanks given
    1
    Thanks received
    0
    Rep Power
    11
    is not a mystery box, is a giant mystery box wtf man!
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Nov 2015
    Posts
    25
    Thanks given
    0
    Thanks received
    2
    Rep Power
    0
    Quote Originally Posted by jeanpare98 View Post
    is not a mystery box, is a giant mystery box wtf man!
    yeah, how do i make an npc ?from it
    Reply With Quote  
     

  5. #5  
    Registered Member jeanpare98's Avatar
    Join Date
    Nov 2015
    Posts
    40
    Thanks given
    1
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by 5kill View Post
    yeah, how do i make an npc ?from it
    I don't know mate, was just checking your topic and saw that mystery box LOL i want one :3
    Reply With Quote  
     

  6. #6  
    Donator
    TheTameer400's Avatar
    Join Date
    Aug 2014
    Posts
    193
    Thanks given
    35
    Thanks received
    10
    Rep Power
    36
    Quote Originally Posted by 5kill View Post
    I have an question about npc's. How do i make an npc and it looks like mystery box? or any other like awaken have christmas cracker npc? so i can attack it and it give me drop.
    Screenshot by Lightshot
    Pm me and ill add you on skype and help you over teamviewer
    Attached image
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Nov 2015
    Posts
    25
    Thanks given
    0
    Thanks received
    2
    Rep Power
    0
    bump
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    May 2013
    Posts
    33
    Thanks given
    1
    Thanks received
    1
    Rep Power
    11
    In your entityDef.java
    add this:

    if(i == #) { // NPC ID
    entityDef.models = new int[1]; // Number of models the NPC uses
    entityDef.models[0] = ##; // Model id 1
    entityDef.name = "Mystery box"; // NPC name
    entityDef.combatLevel = ###; //combat level
    entityDef.description = "Description.".getBytes(); // NPC description
    entityDef.anInt91 = 110; //width
    entityDef.anInt86 = 110; //height
    int changedColors = 1; // Number of model colors changed on the NPC
    entityDef.originalModelColors = new int[changedColors];
    entityDef.modifiedModelColors = new int[changedColors];
    entityDef.originalModelColors[0] = 22410; // Original model color
    entityDef.modifiedModelColors[0] = 5056; // Changed model color

    }

    # is npcs id.
    ## is model id of the mystery box
    ### is combat lvl

    The model id for mystery box is 2426

    btw this will make it huge.
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Nov 2015
    Posts
    95
    Thanks given
    4
    Thanks received
    2
    Rep Power
    10
    Quote Originally Posted by 5kill View Post
    bump
    i know ur issue pm me ur skype
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Making Npc 317 Urgent Help!!!!!!!!
    By ameer007 in forum Help
    Replies: 0
    Last Post: 07-31-2015, 02:17 AM
  2. Coords for NPCs[317]
    By Aleka in forum Help
    Replies: 12
    Last Post: 12-30-2014, 08:28 PM
  3. NPC vs NPC 317 original PI
    By brutally in forum Help
    Replies: 1
    Last Post: 08-30-2013, 03:56 PM
  4. 525 Npc.cfg and Item.cfg files 317 format
    By Exidia in forum Requests
    Replies: 0
    Last Post: 07-01-2013, 10:55 AM
  5. Npc 317 anim list
    By Icy Whip in forum Requests
    Replies: 4
    Last Post: 12-02-2011, 09:24 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •