View Single Post
FIX: incorrect timer_pickup value
Old
  (#1)
sPlOrYgOn
<-- He did it.
 
sPlOrYgOn's Avatar
 
Status: Offline
Posts: 1,558
Join Date: Jan 2004
Location: Los Angeles, California, USA, North America, Earth, Solar System, Milky Way.
Default FIX: incorrect timer_pickup value - 01-05-2004

Fixed the bot not getting the timer_pickup value in podbot.cfg
in dll.cpp in StartFrame where it reads podbot.cfg:
Code:
           else if (FStrEq (cmd, CONSOLE_CMD_TIMEPICKUP))
            {
               g_fTimeSoundUpdate = atof (arg1);  // changing the sound even tho it's pickup is bad
               if (g_fTimePickupUpdate < 0.1)
                  g_fTimePickupUpdate = 0.1;

               UTIL_ServerPrint ("Pickup Update Timer set to %f secs\n", g_fTimePickupUpdate);
               break;
            }
should be:
Code:
           else if (FStrEq (cmd, CONSOLE_CMD_TIMEPICKUP))
            {
               g_fTimePickupUpdate = atof (arg1);  // this is what changed SoUlFaThEr
               if (g_fTimePickupUpdate < 0.1)
                  g_fTimePickupUpdate = 0.1;

               UTIL_ServerPrint ("Pickup Update Timer set to %f secs\n", g_fTimePickupUpdate);
               break;
            }

Last edited by sPlOrYgOn; 01-05-2004 at 16:39..
  
Reply With Quote