[CLEO]small script request
Posted 05 April 2012 - 06:45 PM
thanks in advance...and my scripting knowledge restricts to common sense (changing keys and basic things in other's scripts, compiling n stuff) so if anyone has time to make a full-ready script...
Posted 05 April 2012 - 08:39 PM Edited by lolleroz, 05 April 2012 - 08:42 PM.
I mean something like this:
Posted 05 April 2012 - 09:59 PM
Anyway, to answer your question "I'm wondering if it's possible...". Yes.
Posted 06 April 2012 - 07:48 AM
Basically I'd like to have my mob name and my mob rank showed on the hud, for a pseudo-RP server. Similar to Godfather 1 the game, is it that bad?
Posted 06 April 2012 - 08:22 AM
03F0: enable_text_draw 1 // required to clear currently drawn textures and texts from screen
gosub @SetTextProperties // thou shalt always set text properties before text draw!
033E: set_draw_text_position 320.0 240.0 GXT 'CRED008'
03E0: draw_text_behind_textures 1
033F: set_text_draw_letter_size 0.4 1.2
0343: set_text_draw_linewidth 640.0
03E3: set_texture_to_be_drawn_antialiased 0
060D: draw_text_shadow 1 color_RGBA 0 0 0 255
Posted 06 April 2012 - 10:41 AM
CRED008 Rank: Veteran Mobster
but it seems to show 'Senior Programmer' while ingame, lol
Posted 06 April 2012 - 10:52 AM
It's whole screen.
Use MS Paint and resize screenshot to 640.0 x 448.0
Get the XY by moving cursor on image.
Remember the XY is used for top-right position of text.
Posted 06 April 2012 - 12:39 PM
Actually, it's interesting why it fails. I might take a look in it.
Posted 07 April 2012 - 09:27 AM
So SilentPL, can I just find some random unused entry in gxt (lets say sh*t0001 for example), edit the text, and change the text entry in cleo script to sh*t0001 to get it to work?
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users