| ScrapyardBob |
02/12/06 11:32am
Post
#1
|
|
Major ![]() Group: {MOB} Posts: 814 Joined: January 6th 2006 Member No.: 1519 Xfire: scrapyardbob |
This goes back to my work from Oct 2004 on the compass range issue in the initial release of CoD:UO:
http://www.iwnation.com/Forums/index.php?showtopic=10222 The default value for CoD:UO still seems to be 1024 units for the compass range. You can check this in-game by opening the console and typing ([TAB] means to hit the tab key): /cg_hud[TAB] You'll notice that cg_hudCompassMaxRange indicates the radius of your compass. It's read-only so you can only change it by applying server-side mods. One of the fun things is that if the gametype or map that you're playing does not specifically set the compass_range variable in its GSC files, it will inherit it from the previously played map. This is why some of us noticed that sometimes Ponyri had a good compass while other times the compass was messed up. (It all depended on what map we played previously.) More in a bit... -------------------- |
![]() ![]() |
| ScrapyardBob |
02/12/06 1:25pm
Post
#2
|
|
Major ![]() Group: {MOB} Posts: 814 Joined: January 6th 2006 Member No.: 1519 Xfire: scrapyardbob |
Looks like I can adapt the following code snippet to allow different compass ranges for the various gametypes:
QUOTE gametype = getcvar("g_gametype"); cullflag = 0; switch(gametype) { // !Easy // strict team spawn areas case "ctf": cullflag = 256; break; case "sd": cullflag = 256; break; case "re": cullflag = 256; break; // not supported // !Medium // command point-style modes (i.e. Domination) case "dom": cullflag = 512; break; // !Hard // open dm-style spawning case "dm": cullflag = 1024; break; case "tdm": cullflag = 1024; break; case "hq": cullflag = 1024; break; case "bel": cullflag = 1024; break; case "ttdm": cullflag = 1024; break; // not supported // !Deathmatch // numerous localized team spawns (i.e. Base Assault) case "bas": cullflag = 2048; break; } or QUOTE if (getcvar("g_gametype") == "bel") Easy enough change if the 4096 doesn't feel right for all gametypes. -------------------- |
ScrapyardBob Might develop a patch for the Barb compass range 02/12/06 11:32am
ScrapyardBob Looking at Barbarossa's GSC file. After-Hourz ... 02/12/06 11:54am
ScrapyardBob Changed the ranges. Added a switch statement to a... 02/12/06 2:00pm
Sgt. Thomas Thanks for the info bob!!!!!... 02/12/06 2:42pm
ScrapyardBob Note that these PK3s are designed for server-side ... 02/13/06 12:05pm
ScrapyardBob We were talking about compass ranges in Ventrillo ... 02/14/06 11:34am
ScrapyardBob The one thing that I'm not sure of:
Do serv... 02/14/06 12:29pm
ScrapyardBob For example, on my test server I have:
mp_uo_ba... 02/14/06 12:51pm
Leadmagnet sounds good. 02/14/06 2:01pm
Hellfighter Hi Bob, you [and the other talented designers we w... 02/16/06 5:18pm
ScrapyardBob I watched some people play CNQ on Smolensk last ni... 02/17/06 11:22am
Painbysteelrain All I can say is wow Bob............................. 02/17/06 11:27am
ScrapyardBob Notes on gamestate:
http://www.after-hourz.com/fo... 02/26/06 4:43am![]() ![]() |
|
Lo-Fi Version | Time is now: 05/03/26 11:51am |