Post: Some New/Interesting Functions
08-09-2011, 04:04 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Here are some new/interesting functions for patch editing:

Set a clock HUD element to count down over a time period:

    SetClock( <time>, <speed>, "hudStopwatch", <width>, <height> );


How it would be used:

    level.bombstopwatch SetClock( 5, 60, "hudStopwatch", 64, 64 );



____________________________


Set a clock HUD element to count up over a time period.

    SetClockUp( <time>, <speed>, "hudStopwatch", <width>, <height> );


How it would be used:

    level.bombstopwatch SetClockUp( 5, 60, "hudStopwatch", 64, 64 );



____________________________


Set the hudelem string to display with a "Pulse" effect.

    SetPulseFX(  <speed> , <decayStart>,  <decayDuration> );

    <speed> Time (in milliseconds) each letter takes to type out.
<decayStart> Time to wait before starting the string's decay effect.
<decayDuration> How long to spend decaying.


How it's used:
    elem SetPulseFX( 40, 2000, 600 );
(adsbygoogle = window.adsbygoogle || []).push({});

The following 4 users say thank you to FourzerotwoFAILS for this useful post:

donsta3000, DreamKidzVa, iReset Nigga, Karoolus
08-09-2011, 04:22 AM #2
DreamKidzVa
OFWGKTADGAFLLBBLSBFBN
Originally posted by FourzerotwoFAILS View Post
Here are some new/interesting functions for patch editing:

Set a clock HUD element to count down over a time period:

    SetClock( <time>, <speed>, "hudStopwatch", <width>, <height> );


How it would be used:

    level.bombstopwatch SetClock( 5, 60, "hudStopwatch", 64, 64 );



____________________________


Set a clock HUD element to count up over a time period.

    SetClockUp( <time>, <speed>, "hudStopwatch", <width>, <height> );


How it would be used:

    level.bombstopwatch SetClockUp( 5, 60, "hudStopwatch", 64, 64 );



____________________________


Set the hudelem string to display with a "Pulse" effect.

    SetPulseFX(  <speed> , <decayStart>,  <decayDuration> );

    <speed> Time (in milliseconds) each letter takes to type out.
<decayStart> Time to wait before starting the string's decay effect.
<decayDuration> How long to spend decaying.


How it's used:
    elem SetPulseFX( 40, 2000, 600 );

You amaze me. marry me pl0xxxxxxx
08-09-2011, 04:41 AM #3
iReset Nigga
2Fresshh!!
Originally posted by FourzerotwoFAILS View Post
Here are some new/interesting functions for patch editing:

Set a clock HUD element to count down over a time period:

    SetClock( <time>, <speed>, "hudStopwatch", <width>, <height> );


How it would be used:

    level.bombstopwatch SetClock( 5, 60, "hudStopwatch", 64, 64 );



____________________________


Set a clock HUD element to count up over a time period.

    SetClockUp( <time>, <speed>, "hudStopwatch", <width>, <height> );


How it would be used:

    level.bombstopwatch SetClockUp( 5, 60, "hudStopwatch", 64, 64 );



____________________________


Set the hudelem string to display with a "Pulse" effect.

    SetPulseFX(  <speed> , <decayStart>,  <decayDuration> );

    <speed> Time (in milliseconds) each letter takes to type out.
<decayStart> Time to wait before starting the string's decay effect.
<decayDuration> How long to spend decaying.


How it's used:
    elem SetPulseFX( 40, 2000, 600 );



I wonder Where u Found These :p

The following user thanked iReset Nigga for this useful post:

FourzerotwoFAILS
08-09-2011, 04:53 AM #4
xFade-
Banned
Im already finding very useful ways to use these Smile
08-09-2011, 07:20 AM #5
Originally posted by iReset View Post
I wonder Where u Found These :p


In a COD4 gsc? Gaspkay:

Nice find though, I've seen the setTimer but not this one...
08-09-2011, 03:51 PM #6
Originally posted by x. View Post
In a COD4 gsc? Gaspkay:

Nice find though, I've seen the setTimer but not this one...


There's also setTimerUp or setUpTimer, which works the same as setTimer.
08-09-2011, 04:02 PM #7
Karoolus
I'm the W@W Menu Guy !
that's some nice functions you got there Winky Winky
sure will come in handy Smile
08-09-2011, 04:14 PM #8
iReset Nigga
2Fresshh!!
Originally posted by x. View Post
In a COD4 gsc? Gaspkay:

Nice find though, I've seen the setTimer but not this one...



i was joking with him i knew exactly where he found these
08-09-2011, 05:05 PM #9
Originally posted by iReset View Post
i was joking with him i knew exactly where he found these


I know .. Winky Winky

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo