(317) & (OpenOSRS Runelite) Red Panda Rocky

Linus

🍕
 
 
 
Dec 30, 2008
2,797
220
0
Skärmbild 2024-10-27 220757.png

It is possible to recolor him but he has very many colors and I don't have them as of right now

OpenOSRS / Runelite
src\main\java\net\runelite\standalone\NPCDefinitions

Java:
if (id == 7353) { // normal rocky
    name = "Rocky";
    actions[0] = "Talk-to";
    actions[1] = null;
    actions[2] = "Pick-up";
    actions[3] = null;
    actions[4] = "Metamorphosis";
} else if (id == 9376) { // red rocky panda
    name = "Rocky";
    actions[0] = "Talk-to";
    actions[1] = null;
    actions[2] = "Pick-up";
    actions[3] = null;
    actions[4] = "Metamorphosis";
    models = new int[1];
    models[0] = 37361;
    walkingAnimation = 7316;
    standingAnimation = 7315;
    widthScale = 100;
    heightScale = 100;
}

ItemDef:
src\main\java\net\runelite\standalone\ItemDefinitions
Java:
      if(id == 9491) {
         ItemDefinition rockyDef = Occluder.getItemDefinition(20663);
         price = rockyDef.price;
         femaleModel1 = rockyDef.femaleModel1;
         femaleOffset = rockyDef.femaleOffset;
         inventoryActions = rockyDef.inventoryActions;
         model = 37361;
         maleModel = rockyDef.maleModel;
         isMembersOnly = rockyDef.isMembersOnly;
         name = "Rocky";
         isStackable = rockyDef.isStackable;
         xan2d = rockyDef.xan2d;
         yan2d = rockyDef.yan2d;
         offsetY2d = rockyDef.offsetY2d;
         zoom2d = rockyDef.zoom2d;
         offsetX2d = rockyDef.offsetX2d;
         zan2d = rockyDef.zan2d;
      }

Skärmbild 2024-10-29 193701.png

317 - NPCDefinitions
Java:
if(i == 7353) {
            entityDef.name = "Rocky";
            entityDef.description = "Raccoons, like pandas but worse.";
            entityDef.actions = new String[] { "Talk-to", null, "Trade", "Metamorphosis", null };
        }
        if(i == 9376) { //red
            entityDef.name = "Rocky";
            entityDef.description = "Raccoons, like pandas but worse.";
            entityDef.actions = new String[] {"Pick-up", null, "Talk-to", "Metamorphosis", null};
            entityDef.models = new int[1];
            entityDef.models[0] = 37361;
            entityDef.walkAnim = 7316;
            entityDef.standAnim = 7315;
            entityDef.anInt86 = 100;
            entityDef.anInt91 = 100;
        }
ItemDefinitions
Java:
    if(itemDef.id == 24026) {
            itemDef.name = "Rocky";
            itemDef.inventoryOptions = new String[] { null, null, null, null, null };
            itemDef.modelId = 37361;
            itemDef.maleModel = -1;
            itemDef.femaleModel = -1;
            itemDef.modelRotation1 = 195;
            itemDef.modelRotation2 = 333;
            itemDef.modelOffset1 = 0;
            itemDef.modelOffset2 = 0;
            itemDef.modelZoom = 1872;
            itemDef.certTemplateID = -1;
        }

I know some of you have red and ziggy already this obviously aint for you
 
Last edited:

Users who are viewing this thread (total: 1, members: 0, guests: 1)