Hud's.
Create using "var = newHudElem()" or a client hud... "var = newClientHuDElem(self)"
Search for 'hudelem' inside the gametype gsc files, that will show you how to make the hud.
Then to update the hud values, you need 2 things...
Firstly if you want to update a text value, you must have precached the text first (and also to remove errors, localise it also) If you want just a number, it doesn't need prechached.
To store a value, use...
self.<var> = value;
for example, to get the score of a player, the game has already used self.score
Look in the gametypes files to creating a clock.
HUD's + variables.
Moderator: Core Staff
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Who is online
Users browsing this forum: No registered users and 3 guests