Well, all you need for combat is the animations and the hit update block.
NPCs have both of those functions, but you would have to write the combat system from scratch on your own.
|
Well ive been workin on a quest and i was tryin to make one npc attack another. In actual RS the Kahazard(i think?) warriors would attack the gnomes south of ardy... you know. so there must be a way to work it. any help would be nice.
Well, all you need for combat is the animations and the hit update block.
NPCs have both of those functions, but you would have to write the combat system from scratch on your own.
Is it tough..?
No he means it wont happen on a RSPS mate not in Real Runescape. It would have to be coded from scratch as someone said up there ^. Good luck if you go ahead with it.
All you need is the mask ... animations are less important.
People already have the masks -_- Its called the hit update mask? You use it every time you attack a npc
Try out Pali's method.
add this in processDeclare thisCode:if (NpcType == 158 || NpcType == 3741 || NpcType == 3751 || NpcType == 479) { for (int i = 0; i < Server.s.npcHandler.maxNPCs; i++) { if (Server.s.npcHandler.npcs[i] != null) { if (NpcType == 158) { if (Server.s.npcHandler.npcs[i].NpcType == 158 && NpcSlot != i && RandomWalk && WithinDistance(absX, absY, Server.s.npcHandler.npcs[i].absX, Server.s.npcHandler.npcs[i].absY, 3)) { RandomWalk = false; NpcToKill = i; KillingNpc = true; break; }
public boolean KillingNpc = false;
public int NpcToKill = 0;
public boolean RandomWalk = true;
Should work , well works for Pali =P
P.S.
I'm 99,9% Sure you must edit some stuff in the code. I just gave you raw one , Gl with serv.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |