![]() |
Clientside TDrawingPanel
Well I decided I would experiment with it today but I just can't get it to work.
PHP Code:
GraalScript: Couldn't create object: type TDrawingPanel is not existing in script of Weapon Jerret/Debugger Edit: I was able to find success with GuiDrawingPanel but I'm still curious as to why the above doesn't work. |
Pretty sure Graal doesn't want you to create a TDrawingPanel out of nowhere. GuiDrawingPanel inherits TDrawingPanel anyway, so that should do.
|
It is possible to create it on serverside like that. But Stefan has yet to port those changes to the client.
|
Well I finished experimenting and ended up making this nifty drawing function on the serverside.
PHP Code:
|
Quote:
I remember that the body color swapping was one of the biggest CPU hogs on Graal, and it probably uses some internal function to do it, so I doubt it would be able to replicate it properly/efficiently. |
It'd be easy to do if there was some sort of replace color function for TDrawingPanel.
Also noticed that Clientside DrawingPanels (Well on the Windows client) don't save transparency while Serverside ones do. |
| All times are GMT +2. The time now is 01:58 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.