There are currently 68 players online.
 
Warsow


 
 

backHud Help

Posted by
Post Scroll to bottom
sl1x

Member
(38 posts)

HI

How can i remove the clock and the fragscores if race??

KoFFiE

Member
(1895 posts)

Depends a bit on which hud you use... you should edit the .hud files with a text-editor

I'd say, look for the lines where it does smth with "%STAT_FRAGS" and put the following around it:

if %STAT_GAMETYPE != #GAMETYPE_RACE
// ....
endif

do the same thing for a line containing "drawClock"

The easiest however is to use a hud which does this already offcourse :D

If you want to edit the HUD code - the wiki can be of great help...

sl1x

Member
(38 posts)

sl1x

Member
(38 posts)

and how can i make use of more then one command in my??

example: 100 normal crosshair
200 health bigger crosshair
200 health and 200 armor -> very big crosshair

MysTikal

Member
(1279 posts)

in crosshair.hud, something like this?

(probably wont work, cant be arsed testing it. If it doesnt, just use it as a base and work off of it)

if %STAT_WEAPON_ITEM
setAlign #CENTER, #MIDDLE
setCursor #WIDTH / 2, #HEIGHT / 2
if %STAT_HEALTH > 199
setsize 52, 52 //this might not be correct, i dunno the actual size of the default xhair
endif

if %STAT_HEALTH > 199
if %STAT_ARMOR > 199
setsize 64, 64
endif
endif
drawCrosshair
endif


sl1x

Member
(38 posts)

thx... but its already ok


Scroll to top



RSSRSSRSSRSS

Copyright © 2013 Chasseur De Bots

Warsow in social media



Warsow is an indie game developed by group of hobbyists. Please consider giving us a small donation: