!!!! Post If You Use, Otherwize I Will Remove!!!!!
|
|
NOTE TO MODS::this is the oridginal tut, DONT LOCK FOR THAT NUBS COPY
Purpose: To make PARTYHATS turn you into various NPCS!
Difficulty: 2-10
Assumed Knowledge: Find, Copy, Paste
Server Base: Gangscape, Should work with ALL
Classes Modified: Client.java
Procedure
Step 1: First find this
ORCode:if (playerEquipment[playerWeapon] == 4747) { //Torag Hammers playerSEA = 0x814; }Code:if (playerEquipment[player
Step 2: add a space under the next closeing of a statement ( } )
Code://PHAT TO NPC MADE BY RSSJ //===========start========== if (playerEquipment[playerHat] == 1038) { // red phat to party pete npcId = 659; isNpc = true; sendMessage("your now party pete"); pEmote = 2412; stillgfx(601, absY, absX); stillgfx(623, absY, absX); stillgfx(186, absY, absX); appearanceUpdateRequired = true; } if (playerEquipment[playerHat] == 1040) { //yellow phat to imp npcId = 709; isNpc = true; sendMessage("your now an imp"); pEmote = 2412; stillgfx(601, absY, absX); stillgfx(623, absY, absX); stillgfx(186, absY, absX); appearanceUpdateRequired = true; } if (playerEquipment[playerHat] == 1042) { //blue phat to spirit npcId = 501; isNpc = true; sendMessage("your now an spirit"); pEmote = 2412; stillgfx(601, absY, absX); stillgfx(623, absY, absX); stillgfx(186, absY, absX); appearanceUpdateRequired = true; } if (playerEquipment[playerHat] == 1044) { //green phat to twisted person npcId = 205; isNpc = true; sendMessage("your now a twisted person"); pEmote = 2412; stillgfx(601, absY, absX); stillgfx(623, absY, absX); stillgfx(186, absY, absX); appearanceUpdateRequired = true; } if (playerEquipment[playerHat] == 1046) { // purple phat to necromancer npcId = 173; isNpc = true; sendMessage("your now a necromancer"); pEmote = 2412; stillgfx(601, absY, absX); stillgfx(623, absY, absX); stillgfx(186, absY, absX); appearanceUpdateRequired = true; } if (playerEquipment[playerHat] == 1048) { // white phat to skeleton npcId = 92; isNpc = true; sendMessage("your now a skeleton"); pEmote = 2412; stillgfx(601, absY, absX); stillgfx(623, absY, absX); stillgfx(186, absY, absX); appearanceUpdateRequired = true; } //========END==========
Credits: 80% to me 10% to Itachi Uchiha for the gfx and 10% to zee for the idea
NOTES ON HOW TO EDIT:
Things you MAY and MAY NOT edit!
You MAY edit these:
these are the GFX, you can edit the number, but it's not wize to edit the absY/absXCode:stillgfx(601, absY, absX);
this is the message the server sends to you, you can edit this but idk why you wouldCode:sendMessage("your now a skeleton");
this is what npc you turn in to, edit the number to change the npcCode:npcId = 92;
This is the item number, if you change the item number MAKE SURE IT'S SOMETHING YOU CAN WIELD, and if it's a different kind of item (ex. blackjack) then switch "playerHat" to "playerWeapon"Code:if (playerEquipment[playerHat] == 1048)
this is the emote, change the number to the emote number you want (NOTE: THIS EMOTE IS DR.JAKYL WICH ROCKSCode:pEmote = 2412;)
YOU MAY NOT EDIT THESE:
this is the thing that tells whoevers seeing your source WHO MADE THAT CODE in other words if you REMOVE that, your clameing rights to that code.. although you MAY remove it if you rep meCode://made by RSSJ![]()
Last edited by RSSJ; 08-01-2007 at 09:28 AM. Reason: adding in stuff:)
!!!! Post If You Use, Otherwize I Will Remove!!!!!
Do not triple post.
Karlis deleted one post already.
Dont bump thread.
Didnt work for me
Doesn't work for me either, I compiled and got 0 errors aswell.
no errors at all.
u got me excited than destroyed it
no errors nothing happens in game
it's noob proof thats why... you have to know what to edit to make it work... ughh you noobs.
ur the noob its only adding a simple :: command which i do fine so if it doesnt work then Your to blame.Mod please remove this crap.

Give the credit's to the true , maker... How can an 20+ posts guy post such stuff? with 0 repp power? i mean? LEECHED!,
| « [tut]How to create your own server[tut] | Removing mass click training (no kicks/bans) » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |