Plasmagun Radar 0.9 for Doom 3

Download

Screenshot 1

Readme:

Map name: plasmaradar09
PK4 includes: new test map, modified gui w/graphics, modified 
player and plasmagun scripts

-----------------------------------------

To run:
 * Copy "plasmaRadar09" directory included in this ZIP to your 
"Doom 3" directory.
 * Run Doom 3.
 * Click "mods" on the main menu
 * Select "plasmaRadar09".
 * Pull down the console (press CTRL-ALT-tilde, tilde being the ~ 
key to the left of the 1)
 * Type "map plasmaradar09"
 * Pick up the gun, approach the zombies, and observe the gun GUI.

-----------------------------------------

Description:
I wanted to see if a radar could be done in Doom 3 using scripts 
alone, mostly because someone on the forums laughed when asked if 
it could be done.  Yes, it can; it's an ugly hack internally, but 
the effect is pretty nice.  I chose the plasmagun because a) it 
has the largest GUI outside of the BFG, but no one walks around 
with the BFG out,  b) the square GUI is optimal for the radar, and 
c) the GUI drops into the gun during firing, which rather 
conveniently hides the fact that the radar only updates during 
idle() calls.  ^_^

-----------------------------------------

Notes:
 * Don't expect the radar to work on any other levels, including 
the main game.  It is currently hard-coded to detect the 4 guys in 
the test level.  The next step will be to make it detect all 
monsters within range, which will be considerably difficult if 
possible at all.  The original request was for a multiplayer 
version, but unless someone finds an easy way to grab all 4 player 
locations, I'm going to let that one slide.
 * There is no specific scripting in the test level outside of 
naming the 4 creatures fatboy1, fatboy2, fatboy3, and fatboy4.  
Theoretically, you could use those 4 names in another level and 
play with it under considerably nicer conditions than my crap 4 
second build.
 * There's a little bit of lag between the blips moving and, even 
more so, the blips appearing/disappearing.  I'll try to narrow 
down the cause next build.
 * A later build will bring back some way of seeing how much ammo 
you have left in the gun, now that the GUI is used elsewhere.  
I'll see if I can modify the main HUD to display plasma ammo as it 
does shotgun, pistol, etc.
 * Scripters more talented than I: PLEASE let me know if you know 
how to access weapon GUIs directly, pull player location in a 
level/weapon script, or detect nearby creatures to the player.  
I've racked my brain and spent many an hour trying to track down 
solutions to these fairly simple problems, but I've yet to find a 
better way that the hack you see here.

-----------------------------------------

Revision History

0.9 This release.  First release.

-----------------------------------------

License:
Please, as a courtesy, do not use this code or included assets 
elsewhere just yet.  I'll release a newer version very soon which 
will be much nicer and work regardless of what map is loaded 
(assuming I can get it to work).  See the notes above - this 
version isn't much good outside of the test level included.

-----------------------------------------

Thanks for reading; please enjoy!