Thread: Basic Npc drops/how hard they hit

Results 1 to 5 of 5
  1. #1 Basic Npc drops/how hard they hit 
    Registered Member
    Join Date
    Aug 2012
    Posts
    2
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    I am making a server for experience to learn and I am confused on npc drops, making a npc a store, and setting how they hit...I know how to change hp

    first with the npc drops...just for experience I am trying to get a rat to drop 50gp 100% of the time...this is what I tried:

    //--------NPCID---------DropType--------Item----Amount--
    npcdrop = 47 5 995 50
    *note i used the tab key after 47,5,995,and 50.
    *the server runs fine I compiled it

    Please tell me what I am doing wrong to get it to drop 50 gp 100% of the time, and please explain to me if i am doing anything wrong

    *note in the "npc" wordpad where it shows the id it tells me a rat is 47...but when i kill it in the game in the runserver command prompt (the blackbox that tells you everything *i think its called that) it says "Npc id =2" *i only spawned 2 npc's a wizard (13) and the rat (47) and the rat was the 2nd one.

    I also need help with changing how hard a npc can hit...As I am clueless to this and have searched it with no results I am asking for your help.


    Thanks for helping me
    Reply With Quote  
     

  2. #2  
    Spoonfeed Me Bitch
    AddictivePkz's Avatar
    Join Date
    Jun 2012
    Age
    28
    Posts
    733
    Thanks given
    79
    Thanks received
    51
    Rep Power
    0
    Well I'm really bad with npc drops and stuff but in data cfg npcdrops.tsm. Try copying one of the existing ones and change the name to rat and the npc Id is the first nber then the others are the item id : amount ( or the rate don't remember ) so just delete everything and put 995:50
    Quote Originally Posted by Fakeblitz View Post
    What does [PI] mean? (sorry i am used to 503+)
    And what base is this?
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Aug 2012
    Posts
    2
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Thanks, but i got a source with no existing ones :/...i really appreciate your help
    Reply With Quote  
     

  4. #4  
    Spoonfeed Me Bitch
    AddictivePkz's Avatar
    Join Date
    Jun 2012
    Age
    28
    Posts
    733
    Thanks given
    79
    Thanks received
    51
    Rep Power
    0
    So do u have an npcdrops.tsm ? And it's empty?
    Quote Originally Posted by Fakeblitz View Post
    What does [PI] mean? (sorry i am used to 503+)
    And what base is this?
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Feb 2011
    Posts
    359
    Thanks given
    10
    Thanks received
    9
    Rep Power
    10
    Let me explain it too you.
    #Rat
    87:10 995:100
    300:1

    Here I will explain the drops:
    Code:
    #Rat
    87:10	995:100
    300:1
    87 is the NPC ID.
    The ":" separates them and "10" is the rarity.
    So what does that mean?
    10 is the rarity to receive the rare drops table. The rare drops table is:
    300:1 so that means:
    After killing it 10 times you will receive the ItemID 300. and you will receive 1 of that item.

    Now, you said you wanted it to drop constants there should be a NPCConstants and there you will have to add that item into there.
    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. Delta Making Npc's Hit Hard.
    By Purple haze in forum Help
    Replies: 2
    Last Post: 09-21-2009, 05:48 PM
  2. Basic Npc Random Drops
    By Bitlord44 in forum Tutorials
    Replies: 7
    Last Post: 03-09-2009, 06:55 AM
  3. Replies: 11
    Last Post: 12-18-2008, 07:27 AM
Tags for this Thread

View Tag Cloud

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •