* Quake HUD Patch 1.0 * This patch displays the direction you are facing using a HUD compass at the position of the crosshair or above in the higher resolutions! Instructions: (just change weapons.qc) 1. insert right at the beginning (or where you like) void() DisplayCompass = { local float dir; dir = self.v_angle_y; if (dir > -22.5 && dir <= 22.5) centerprint (self, " É\n ø"); else if (dir > 22.5 && dir <= 67.5) centerprint(self, "Ü \n ø"); else if (dir > 67.5 && dir <= 112.5) centerprint(self, "\n­ø"); else if (dir > 112.5 && dir <= 157.5) centerprint(self, "\n ø\n¯ "); else if (dir > 157.5 || dir <= -157.5) centerprint(self, "\n ø\n É"); else if (dir > -157.5 && dir <= -112.5) centerprint(self, "\n ø\n Ü"); else if (dir > -112.5 && dir <= -67.5) centerprint(self, "\n ø­"); else centerprint(self, " ¯\n ø"); }; 2. insert "DisplayCompass();" whenever you want to call the HUD (for example inside the W_WeaponFrame routine) 3. compile the files according to the QuakeC instructions Regards go to Alon Albert for his initial text only Quake compass mod! This patch is again text only to make modifying of other mods possible using old cut-and-paste, to get a complete conversion including "use", to "get", "drop" and "kick" and lots of other features just go and get my Quake Plus patch (ftp.cdrom.com://pub/idgames2/quakec/misc/QPlus*)! Werner Spahl (ui22273@sun1.lrz-muenchen.de) 9.10.1996 "The reason of my life is to make me crazy!"