Raised This Month: $ Target: $400
 0% 

attack during freezetime


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
aportner
Member
Join Date: Nov 2004
Old 06-01-2006 , 03:07   attack during freezetime
Reply With Quote #1

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?
aportner is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 06-01-2006 , 08:24  
Reply With Quote #2

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.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
VEN
Veteran Member
Join Date: Jan 2005
Old 06-01-2006 , 10:16  
Reply With Quote #3

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).
VEN is offline
aportner
Member
Join Date: Nov 2004
Old 06-01-2006 , 13:51  
Reply With Quote #4

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
aportner is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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