AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   attack during freezetime (https://forums.alliedmods.net/showthread.php?t=29211)

aportner 06-01-2006 03:07

attack during freezetime
 
is this possible? I know you can set maxspeed and move around during freezetime, but I don't know how you'd get attack working. Maybe there's something in the cbaseentity that I can't see?

Hawk552 06-01-2006 08:24

You could try making "fake" freezetime. Basically, set mp_freezetime to 0, make your own function that after 5 seconds or so executes, and on something like ResetHUD set everyone's speed to make them immobile. After the second function goes, set their speed back to normal and play a round begin sound.

VEN 06-01-2006 10:16

Seems like the game mod just ignores attack at the freezetime so you have to hack the memory to "tell" the mod that currently is no freezetime.
Or maybe there are some value(s) at the player's private data offset (less chances).

aportner 06-01-2006 13:51

I thought it might be in the private offset area too, but I tried comparing 512 bytes of it during and after freezetime and it didn't look like it changed much, or enough to indicate something involving freezetime. I might have to just do a fake freezetime but it'd look fishy with the clock


All times are GMT -4. The time now is 16:25.

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