News: SMF - Just Installed!
 
Welcome, Guest. Please login or register.
+  AnthraxBio
|-+  Return to Castle Wolfenstein
| |-+  Coding Tutorials
| | |-+  Updating Location Times
« previous next »
Pages: [1] Print
Author Topic: Updating Location Times  (Read 252 times)
SkreamerVirii
Administrator
Full Member
*****
Posts: 133


View Profile
« on: September 03, 2008, 11:06:53 PM »

In this rather short tutorial i will show you how to set the times between location updates
the information the updates players of your whereabouts on the hud
at the moment there is a 1 second delay?
and when we change it it will have a o.7 delay meaning instant update on the screen when you go somewhere else in the map

Set the project to to game
thern open up bg_public.hand scroll to line 1102
were you will see this code

// Time between location updates
#define TEAM_LOCATION_UPDATE_TIME 1000

change it to look like this
// Time between location updates
#define TEAM_LOCATION_UPDATE_TIME 700

Compile and see what i did
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Free SMF 1.1.5 Forum Theme by Tamuril. © 2008.