AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   hudmessages (https://forums.alliedmods.net/showthread.php?t=46279)

JohnJ3 10-22-2006 17:46

hudmessages
 
function set_hudmessage:
Code:

set_hudmessage ( red=200, green=100, blue=0, Float:x=-1.0, Float:y=0.35, effects=0, Float:fxtime=6.0, Float:holdtime=12.0, Float:fadeintime=0.1, Float:fadeouttime=0.2, channel=4 )
How values can accept parameter "effects"? What is this effects? How the screen coordinates to hud-message coordinates correspond?
screen:
0--------------1 (coordinate X)
|
| hud message
|
1 (coordinate Y)
It's true?

Zenith77 10-22-2006 18:11

Re: hudmessages
 
Experiment?

teame06 10-22-2006 19:25

Re: hudmessages
 
Use AMXX Studio -> Generator -> Hudmessage Generators. Easiest way to get the hud where you want it without having testing it in game everytime.

spider853 10-23-2006 10:29

Re: hudmessages
 
max X = 1
max Y = 1
0,5 center(point)
0,5 center(point)
its seem that -1:-1 is center(text)

... 0:0 from top left corner

JohnJ3 10-23-2006 13:03

Re: hudmessages
 
thanks you, very match!
but what about effects? generator in amxx-studio do not support effect of HUD-message. How many effects we can use? Where I can read a description for any effect?

Silencer123 10-23-2006 15:06

Re: hudmessages
 
Effect 0 = Fade In/Out - It uses fadein, fadeout and holdtime. (In Seconds)
Effect 1 = Credits = Fade In/Out with a flickering Effect.
Effect 2 = Scan Out = It uses fadein, but it means Character Scan Time in that Case and fxtime and holdtime. It also uses a secondary Color but because AMXX Developers were out of Coffee when making this Function there is no secondary Color you can add.
:)


All times are GMT -4. The time now is 04:55.

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