Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
USE key code
#12
You are right .asm, I was trying to block it there but it still allowed push disc blocking.

What I found if I block out the following code in /pm_shared/pm_shared.c I can block the USE key:

Code:
    
// Slow down, I'm pulling it! (a box maybe) but only when I'm standing on ground

    if ( ( pmove->onground != -1 ) && ( pmove->cmd.buttons & IN_USE) )
 {
     VectorScale( pmove->velocity, 0.3, pmove->velocity );
 }


pm_shared is the section of code that talks with the client.dll and although the code looks like it wouldn't be for this, it works. Now, if I can pull the map type (arena/deathmatch) at that point I can block it for arena and allow it for deathmatch. Unfortunately map type is not sent to the HL engine so I am trying to set up a global variable that will update during map change.
Reply


Messages In This Thread
USE key code - by evil_admin - 07-28-2003, 08:20 PM
USE key code - by Guest - 07-29-2003, 02:32 AM
USE key code - by kermit - 07-29-2003, 06:48 AM
USE key code - by Guest - 07-29-2003, 01:24 PM
USE key code - by GRITS - 07-29-2003, 02:14 PM
USE key code - by Guest - 07-29-2003, 04:09 PM
USE key code - by Guest - 07-29-2003, 04:16 PM
USE key code - by Pique - 08-03-2003, 12:43 PM
USE key code - by evil_admin - 08-03-2003, 01:37 PM
USE key code - by Guest - 08-03-2003, 02:47 PM
USE key code - by kermit - 08-08-2003, 07:57 PM
USE key code - by evil_admin - 08-09-2003, 10:07 AM
USE key code - by evil_admin - 08-09-2003, 01:40 PM
USE key code - by kermit - 08-09-2003, 06:04 PM
USE key code - by evil_admin - 08-09-2003, 06:43 PM
USE key code - by kermit - 08-09-2003, 06:50 PM
USE key code - by evil_admin - 08-09-2003, 10:04 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)