• Quick NPC help
    0 replies, posted
-snip- [b]I found the problem![/b] Never mind guys/girls! But if anyone is interested in adding npcs for underdone, here is what the values in sh_npcs_combat, sh_npcs_friendly and sh_npcs_quest mean. local NPC = QuickNPC("<name(lowercase)>", "<name>", "npc_<npc name>", "<faction>", 1000, "<model(optional)>") AddMultiplier(NPC, 10, 6) 10 = Health multiplier, 6 = Damage Multiplier. Faction - the team you want your npc to be on, e.g. Combine [b]Final Result Example(with items etc...)[/b] [url]http://www.youtube.com/watch?v=cQNnw61DNFs[/url] [lua]local NPC = QuickNPC("charger", "Charger", "npc_of2_charger", "charger", 1000) AddDrop(NPC, "money", 50, 15, 18) AddDrop(NPC, "item_bananna", 15) AddDrop(NPC, "item_canmeat", 20) AddDrop(NPC, "item_canspoilingmeat", 65) AddMultiplier(NPC, 10, 6) NPC.DeathDistance = 14 Register.NPC(NPC)[/lua]
Sorry, you need to Log In to post a reply to this thread.