[T1] Rocking Ski Script

Pages : [1] 2 3

[meph]DooM!
07-19-2003, 07:12 PM
I got the idea from Eric's new Film.cs.. schedule free skiing!

editActionMap("playMap.sae");
bindCommand(keyboard0, make, space, TO, "Jump::Start();");
bindCommand(keyboard0, break, space, TO, "Jump::Stop();");

function Jump::Start()
{
//observer
if ((Client::GetTeam(getMana gerId()) == -1))
{
postAction(2048, IDACTION_MOVEUP, 1);
return;
}

function Game::EndFrame()
{
PostAction(2048, IDACTION_MOVEUP, 1);
}
}

function Jump::Stop()
{
function Game::EndFrame(){}
}

Evita
07-19-2003, 07:40 PM
thats sweet

Bizpunk
07-19-2003, 07:44 PM
i dont get it :(

MassMedia
07-19-2003, 07:57 PM
hows this work?

[meph]DooM!
07-19-2003, 10:18 PM
Game::EndFrame() is the function automatically called by Tribes at the end of rendering every frame.

ShowFPS() works off this by echo'ing the current framerate inside the Game::EndFrame() function:

function showFPS()
{
function Game::EndFrame()
{
echo($ConsoleWorld::Frame Rate);
}
$Console::LastLineTimeout = 1000;
$Console::updateMetrics = false;
}


All the ski script does is redefine the function to jump at the end of every frame, then redefine the function to do nothing when the player stops jumping. I have no idea if this will perform better/worse than a standard ski script, but at least it frees up your system from doing a massive amount of schedules :)

Ski script interval equivalents:
20fps = 0.05
30fps = 0.0333
40fps = 0.025
60fps = 0.0166
80fps = 0.0125
120fps = 0.0083

NiceBoy
07-19-2003, 10:39 PM
anyone try this and if so feedback?

MassMedia
07-20-2003, 12:10 AM
what else could we bind this thing to?

AppleCider
07-20-2003, 12:17 AM
Nice, tryin it out.

Bizpunk
07-20-2003, 12:37 AM
where was this when i was on a celeron with onboard video and 64megs of ram :(

MassMedia
07-20-2003, 12:53 AM
anyone wanna run performance tests?

·liquid·
07-20-2003, 01:21 AM
Aight.. I decided to test it for you guys. My comp isn't really a high-end comp (although it will be soon.. getting a FX 5900 Ultra)

System:
XP 1900+
512MB PC2100
GF2 GTS
WinXP Pro

I tested this on an empty server. Map was DX. Here are my results..

Avg. FPS standing still: 71
Avg. FPS using Andrew's: 70
Avg. FPS using ski script w/ .001 sloop: 69

Azra3l
07-20-2003, 02:04 AM
I don't understand exactly why it would help.

I'm having a stupidity attack.

SuperSlug
07-20-2003, 05:10 AM
I don't understand exactly why it would help.

I'm having a stupidity attack.
No scheduling.

vortex
07-20-2003, 05:52 AM
Aight.. I decided to test it for you guys. My comp isn't really a high-end comp (although it will be soon.. getting a FX 5900 Ultra)

System:
XP 1900+
512MB PC2100
GF2 GTS
WinXP Pro
Ok, if that's not a high-end comp, then I guess my 600 celery, 128MB SDRAM, WinXP Pro, TNT2 32mb should be thrown out the window? ;)

|KiLLeR2001|
07-20-2003, 10:50 AM
Ok, if that's not a high-end comp, then I guess my 600 celery, 128MB SDRAM, WinXP Pro, TNT2 32mb should be thrown out the window? ;)

Or what about my 667 celery, 64MB SDRAM, Windows ME, Intergrated Graphics card 11MB? (12 fps in Tribes on software mode)

bLiSS
07-20-2003, 04:11 PM
Being the worst of the worst is way cool :P

NiceBoy
07-20-2003, 06:12 PM
so script-wise...it works just as well as z0dd_ski say?

Shinigami
07-20-2003, 09:05 PM
so script-wise...it works just as well as z0dd_ski say?

This works much better than any previous ski scripts. :P

Nikita
07-21-2003, 12:08 AM
gayski.cs ....

unless u can add for it 2 crouch and do vav animation to it plz

Timalis_
07-21-2003, 04:06 AM
Question.. what's the point of crouch ski'ing?