- 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
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!
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!