[Help] How to change model while wearing weapons/armor?

11/20/2008 23:22 justprownage#1
Hi everyone, I would like to know how to change your model while wearing weapons and armor because each time I have my gears on, and change to a monster mesh, i become Invisible and cant even move. Is there a way to change my model without stripping myself in-game? o.O
11/20/2008 23:36 tao4229#2
Someone already said this on the forum in a nooby way though.
Just change mesh to this...
monster mesh * 10000000 + avatar * 100000 + mesh
Example 207671003
with 207 being the mesh you want to look like,
67 being your current avatar
and 1003 being your normal mesh
11/22/2008 00:41 justprownage#3
Quote:
Originally Posted by tao4229 View Post
Someone already said this on the forum in a nooby way though.
Just change mesh to this...
monster mesh * 10000000 + avatar * 100000 + mesh
Example 207671003
with 207 being the mesh you want to look like,
67 being your current avatar
and 1003 being your normal mesh
Btw, I'm trying to add models to the /model command thing, so if I want nightdevil, is it like this?

Code:
if (Splitter[1] == "nightdevil")
                                                MyChar.Model = 277671003;
I got 1 error when trying to build this: Constant value '277671003' cannot be converted to 'ushort'

Dunno how to fix this.

Or maybe I misunderstood what you meant.
11/22/2008 01:39 tao4229#4
Yeah, LOTF makes it a ushort. Mesh/Model is actually a uint, you'll have to change some stuff around to fix it.
11/22/2008 02:18 justprownage#5
Ghey. If only I knew how to change the "some stuff". :(
11/22/2008 03:59 © Haydz#6
change the mesh variable to a uint?, how hard is that >.>, you may get some cast exceptions but they're easy to fix
11/22/2008 18:04 justprownage#7
K. I'll try now. Btw, is it supposed to be mech or mesh? Can't find the mesh variable.
11/22/2008 18:18 tao4229#8
Quote:
Originally Posted by justprownage View Post
K. I'll try now. Btw, is it supposed to be mech or mesh?
I don't know who started calling it mech, but it's mesh.
11/22/2008 18:20 justprownage#9
I can only find Model and Mech. >.<
I found this in the Entities.cs.
Code:
Mech = mech;