AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   Help / Support [Help] Need New Hud And Countdown (https://forums.alliedmods.net/showthread.php?t=279662)

dr hicham 02-27-2016 09:40

[Help] Need New Hud And Countdown
 
Hello Coders :D
1 - I Need This Hud Like This Picture
http://img.ctrlv.in/img/16/02/29/56d43a9bf2c3a.bmp
2 - I Need This Countdown Like Picture 2
http://img.ctrlv.in/img/16/02/29/56d43a1b0a9ef.bmp
Please Help Me :( And Thanks :D
(Sorry For My Bad English)

amir saiaoud 02-27-2016 09:54

Re: [Help] Need New Hud And Countdown
 
edit this -{O}ne-

dr hicham 02-27-2016 10:07

Re: [Help] Need New Hud And Countdown
 
Ty But I Want To Make Rain Up And Down Like The Picture 2

georgik57 02-27-2016 11:43

Re: [Help] Need New Hud And Countdown
 
1 Attachment(s)
For ZP4: https://forums.alliedmods.net/showth...24#post2396024
For ZP5: https://forums.alliedmods.net/showth...56#post2372856

In order to add those two lines, you have to edit the language file like this:
Quote:

Originally Posted by zpnm_countdown.txt
[en]
ZPNM_COUNTDOWN = %d seconds until biological hazard

[ro]
ZPNM_COUNTDOWN = %d secunde pana la hazard biologic

[ru]
ZPNM_COUNTDOWN = Осталось секунд до биологического заражения %d

-->
Quote:

Originally Posted by zpnm_countdown.txt
[en]
ZPNM_COUNTDOWN = -----------------------------------^n%d seconds until biological hazard^n-----------------------------------

[ro]
ZPNM_COUNTDOWN = -----------------------------------^n%d secunde pana la hazard biologic^n-----------------------------------

[ru]
ZPNM_COUNTDOWN = -----------------------------------------------^nОсталось секунд до биологического заражения %d^n-----------------------------------------------

^n means new line, so they will actually be displayed like this:
Quote:

-----------------------------------
999 seconds until biological hazard
-----------------------------------
Quote:

-----------------------------------
999 secunde pana la hazard biologic
-----------------------------------
Quote:

-----------------------------------------------
Осталось секунд до биологического заражения 999
-----------------------------------------------
Here's the already modified language file:

dr hicham 02-27-2016 13:28

Re: [Help] Need New Hud And Countdown
 
Thanks You :D georgik57 For Help Of Countdown

dr hicham 02-27-2016 13:36

Re: [Help] Need New Hud And Countdown
 
2 - Thanks For Help Of Countdown
1 - Plz Help Me I'Want Hud Like Picture 1

dr hicham 02-28-2016 08:46

Re: [Help] Need New Hud And Countdown
 
C'ant Semoane Help Me :( I'need Hud Zp Like Picture 1

georgik57 02-28-2016 09:04

Re: [Help] Need New Hud And Countdown
 
Find the set_hudmessage for the hud you want to modify its position and modify the 4th and 5th parameters.

4th parameter is horizontal(X) position on screen. 0.0 = all the way to the left. 1.0 = all the way to the right.
5th parameter is vertical(Y) position on screen. 0.0 = all the way up. 1.0 = all the way down.
-1.0 = center(works for both horizontal and vertical).

Play with the values until you find your desired position.

dr hicham 02-28-2016 13:10

Re: [Help] Need New Hud And Countdown
 
1 Attachment(s)
Thank You georgik57 For This Information But C'ant You Give Me This Plz ??
https://lh3.googleusercontent.com/vR...sLc_HOmhD8=s85
Here it is My Sma Zp :D
(Sorry For My Bad English)

georgik57 02-28-2016 14:49

Re: [Help] Need New Hud And Countdown
 
1 Attachment(s)
Quote:

Originally Posted by dr hicham (Post 2397836)
Thank You georgik57 For This Information But C'ant You Give Me This Plz ??
https://lh3.googleusercontent.com/vR...sLc_HOmhD8=s85
Here it is My Sma Zp :D
(Sorry For My Bad English)

I've set them to approximately what I think are the values in your first screenshot.
If I didn't put the corect values, go into your ZPA main plugin sma, and as I told you, play with these values:
Code:
const Float:HUD_STATS_X = 0.1 const Float:HUD_STATS_Y = 0.8


All times are GMT -4. The time now is 20:28.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.