> > How does UTIL_WeaponTimeBase actually work? On the server, is > > it the same as gpGlobals->time? > > On the server, UTIL_WeaponTimeBase returns gpGlobals->time if > you don't have CLIENT_WEAPONS defined otherwise it returns > 0.0f...
Ah, I see. Thanks. Here's why I asked: I'm trying to make it possible to change the speed of a func_conveyor. It can be done quite easily by calling its UpdateSpeed method - but the textures jump when you do it. It's clear why - their scroll position at any given time is determined by speed * current_time, instead of offsetting it by a variable. So: I want to time it so that I change their speed at *exactly* the right time - i.e. the time when the textures at one speed line up with the textures at the other speed. And I've done it - more or less. The problem is, I don't think I'm using the right time value. If I base the timing on gpGlobals->time, then a conveyor set to move at speed 1 will move one texel every 0.875 seconds, more or less. (But it varies depending on the framerate, so it gets messed up quite easily.) Any help? Could you tell me what time value the conveyors are actually based on? _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

