OSRS Ethos Base Custom Modeling Questions

Jul 30, 2024
32
6
0
Hey guys, so I’m trying to figure out some things about custom models.
I’ve been learning Java through YouTube and various resources online and would like some info not looking for a spoon-fed tutorial but more info to get started with and learn from.

When creating a custom model, for this example I’ll use a “sword” how or where would you get the items definition info or would this be trial and error.

For example

Code:
case #####:
            itemDef.name= "A sword";
            itemDef.inventory = #####;
            itemDef.maleEquip1 = #####;
            itemDef.rotation_x =#####;
            itemDef.rotation_y =#####;
            itemDef.rotation_z = #####;
            itemDef.zoom = #####;
            itemDef.offsetX = #####;
            itemDef.offsetY = #####;
            itemDef.actions = new String[]{null, "Wield", null, "Revert", "Drop"};
            itemDef.groundactions = new String[]{null, null, "Take", null, null};
            break;

If the rotations, zoom, and offset aren’t provided how would you gather this info? Would you trial and error these values or would you pull it from a preexisting item that’s similar, and if so how would you know that items values?

Next question is for inventory would the regular drop version of the model also work for the inventory model number or would you need to create an entirely custom sprite?

I know nothing of the information an object file can contain and this is why I’m trying to learn.

Appreciate any replies and thank you.

If I posted this in the wrong spot I apologize.

Thanks!
 
For itemdef zoom/rotations/offsets, you can:
1) Go trial and error. This is quite tedious and would usually require many client restarts to get a desired icon look you're going for.
2) Use rebecca's inventory model helper (free). Gzip the model, drag it into the editor, adjust configs and apply them in your client.
3) You can base configs off other configs if their actual drop models are positioned the same way.
4) If it's an OSRS or higher revision item, there are resources out there like Walied's cache dumps or Runeapps to get the actual definitions.

Drop models and inventory models are the same and you will use it for modelID.
 
  • Like
Reactions: Sub and Hood
For itemdef zoom/rotations/offsets, you can:
1) Go trial and error. This is quite tedious and would usually require many client restarts to get a desired icon look you're going for.
2) Use rebecca's inventory model helper (free). Gzip the model, drag it into the editor, adjust configs and apply them in your client.
3) You can base configs off other configs if their actual drop models are positioned the same way.
4) If it's an OSRS or higher revision item, there are resources out there like Walied's cache dumps or Runeapps to get the actual definitions.

Drop models and inventory models are the same and you will use it for modelID.
This was very helpful and I really appreciate the response. Thank you.
 

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