Forum

> > CS2D > Scripts > HUD image
Forums overviewCS2D overview Scripts overviewLog in to reply

English HUD image

3 replies
To the start Previous 1 Next To the start

old HUD image

alluclone1
User Off Offline

Quote
Hi guys
im trying to make HUD image but i dont know how to make it
can someone make example it?
edited 1×, last 06.03.11 08:07:32 am

old Re: HUD image

Banaan
User Off Offline

Quote
You have to use the Lua image() function for it. Read cs2d/sys/lua/info.txt and search for IMAGE for more info if you already know a little Lua scripting. You should also take a look at some samples and scripts using these HUD images.

1
local hud_img = image("gfx/sprites/myhudimg.png", 0, 1, 2)

Will create the same hud image for all players.
edited 1×, last 05.03.11 10:30:10 pm

old Re: HUD image

Mechanolith
User Off Offline

Quote
As Bannan says, you should use lua scripts, i tought you wanted to make gfx...
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview