It’s only been a day since my last help thread (not even a day technically), but this is one of the few ways I can get help on these things. So, I’m trying out the code sample for creating a DAdjustableModelPanel on the Gmod wiki: http://wiki.garrysmod.com/page/VGUI/Elements/DAdjustableModelPanel
The box was rather small and I didn’t like where it was positioned, so I modified the code (I only modified the size and position. That isn’t the cause of my problems, I had them before changing the code too). The problems I am having:
The model doesn’t initially appear in sight. However, this may have to do with both me having Garrys Mod in windowed mode, and the box not being precisely centered and enlarged. Is there a way I can change where the model will precisely appear in the box? I have to keep dragging it to the left to catch it.
There’s no clear border on the panel. Initially I thought to simply paint a box on it like in the basic derma tutorial, but painting appears to cause the DAdjustableModelPanel to not work properly, as the model no longer is visible even after dragging it in to the open. (I set its opacity quite low so I could see through the box, so that’s not the reason) How can I make a clear border on the DAdjustableModelPanel so I can see where it begins and ends?
When I do get the barrel out in the open, it’s at a very odd angle. I can’t seem to rotate it, is there a way to rotate it on to a proper side? If not, how else might I get it angled properly?
The documentation on the functions for DAdjustableModelPanel seem non-existent, so I’m really in the dark here. I hope someone can help me, I’m seeing a lot of potential uses for this VGUI element!