The models would have to be changed.
|
I have been hours to figure out how to change npc's size like man to hill giants size...
If someone know how to edit it, would be cool.
using 317 source
The models would have to be changed.
Theres two variables that is used inside the EntityDef (Client side) wich sets the sizeX and sizeY, if you wanna modify a specific id you can easily add that after the readvalues or else change the configs in the cache file
Code:switch (i) { case 1: npc.sizeXZ = 200; //this variable might be having another name in your client.. npc.sizeY = 200; //this variable might be having another name in your client.. break; }
Idk is this correct?Code:if(i == 792) { stream.currentOffset = streamIndices[630]; entityDef.aByte68 = 3; entityDef.readValues(stream); // Collect original NPC data entityDef.itemActions = new String[5]; entityDef.itemActions[1] = "Attack"; int changedColors = 1; // Number of model colors changed on the NPC entityDef.anIntArray70 = new int[changedColors]; entityDef.anIntArray76 = new int[changedColors]; entityDef.anIntArray76[0] = 40; // Original model color entityDef.anIntArray70[0] = 34; // Changed model color entityDef.anIntArray94 = new int[7]; entityDef.anIntArray94[0] = 55042;//Npc's Cape entityDef.anIntArray94[1] = 40131;//Npc's Head entityDef.anIntArray94[2] = 40125;//Npc's Plate entityDef.anIntArray94[3] = 40133;//Npc's Legs entityDef.anIntArray94[4] = 82973;//Npc's Weapon entityDef.anIntArray94[5] = 13307;//Npc's Gloves entityDef.anIntArray94[6] = 13565;//Npc's Boots //entityDef.anIntArray94[7] = 17461;//Npc's Darkness(Shadow) //entityDef.anIntArray94[8] = 20147;//Npc's Arms(You Dont Have To Edit) entityDef.standAnim = 808;// Npc's Stand Emote entityDef.name = "@gre@Ninja Torva"; entityDef.combatLevel = 195;//Combat Level entityDef.description = "Ninja Torva.".getBytes(); case 1: npc.sizeXZ = 200; npc.sizeY = 200; break; }
Misread. If you post your full entityDef I'll look further into it.
entityDef.anInt86 = X;
entityDef.anInt91 = X;
try these put X to 100 and see. decrease for smaller size increase for bigger size.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |