Author Topic: Customising Derma Panels  (Read 2300 times)

0 Members and 1 Guest are viewing this topic.

Offline DankNessProvides

  • Newbie
  • *
  • Posts: 26
  • Karma: -3
Customising Derma Panels
« on: May 29, 2016, 05:14:16 AM »
I want to customise the DPanels from the old ugly ones that look like this:
https://gyazo.com/0fc3d59e3489aa58e56084e525d3b67a
https://gyazo.com/af4a9b4126c8d38ccead083d93ccf390
https://gyazo.com/f4323491ca13b0d902bf50978a88b149

What I wish to know is where is the default code for these as I do not know where it is and would just like to make them look a little nicer I understand the basics of DPANEL and the sort of things you can do with it and if I screw it up thats my fault. All I am asking does anyone know where the code is and tell me the location of it as I want to make it look nicer and more custom to our community as most players hate the default ones. I know there was an addon that did this but it is no longer around :/.
« Last Edit: May 29, 2016, 07:17:17 AM by DankNessProvides »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Customising Derma Panels
« Reply #1 on: May 29, 2016, 07:57:24 AM »
It would be difficult to tell you where the code is without knowing what those menus are from.
They are not ULX, or an addon I'm familiar with.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline DankNessProvides

  • Newbie
  • *
  • Posts: 26
  • Karma: -3
Re: Customising Derma Panels
« Reply #2 on: May 29, 2016, 08:07:40 AM »
It would be difficult to tell you where the code is without knowing what those menus are from.
They are not ULX, or an addon I'm familiar with.

They are just the default DarkRP ones just no idea where the code would be. I would assume it would be in the gamemode folder....

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Customising Derma Panels
« Reply #3 on: May 29, 2016, 08:21:18 AM »
Don't edit a core gamemode.
FPTje created a addon so you can overwrite whatever functions.
See https://github.com/FPtje/darkrpmodification
(Which is pointed to by https://github.com/FPtje/DarkRP/blob/master/DON'T%20TOUCH%20ANY%20OF%20THESE%20FILES.txt )

You can find the actual code and functions that you want to modify in https://github.com/FPtje/DarkRP/

List of Dark RP links, including a nice wiki that includes key functions -
https://github.com/FPtje/DarkRP/wiki/Links

But again, don't modify core files.
Just as we would never recommend editing core ULib or ULX files.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming