Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
USE key code
#13
I think I got it...this is the modified code checking for map type. I checked it on rc_stalkyard to ensure I could use the elevator and PnG helped me test on rc_arena. I need to clean up testing code and then port it over to the linux side.



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) )
 {
   //Block if map is arena-type - desNotes
     if (!m_iArenaOff)
     {
   VectorScale( pmove->velocity, 0.3, pmove->velocity );
     }
 }
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: 1 Guest(s)