Alliedassault           
FAQ Calendar
Go Back   Alliedassault > FPS Gaming General Discussion > MoH Maps, Mods & Skins
Reload this Page compass
MoH Maps, Mods & Skins Discuss custom maps, skins and mods here.

Reply
 
Thread Tools Display Modes
Old
  (#1)
philadelphia killing mach is Offline
Senior Member
 
Posts: 1,366
Join Date: May 2004
Location: I hate HippiesLand
   
Default 08-04-2004, 02:24 PM

use this script
[code:d58d9]menu "hud_compass" 128 128 NONE 1
bgcolor 0 0 0 0
fgcolor 1 1 1 1
align left top

//==================================================
// Compass Base

resource
Label
{
name "compassbase"
rect 0 0 128 128
fgcolor 1.00 1.00 1.00 1.00
bgcolor 0.50 0.50 0.50 0.00
borderstyle "NONE"
shader textures/eaglesback
}

resource
Label
{
name "compassface"
rect 0 0 128 128
fgcolor 1.00 1.00 1.00 1.00
bgcolor 0.50 0.50 0.50 0.00
borderstyle "NONE"
statbar compass
playerstat 16 // north direction
statbar_shader textures/eaglesface
}

//==================================================
// Damage Indicator

resource
Label
{
name "compassbase"
rect 0 0 128 128
fgcolor 1.00 1.00 1.00 1.00
bgcolor 0.50 0.50 0.50 0.00
borderstyle "NONE"
//shader textures/eaglesback
//statbar spinner 0 360
//statbar_endangles 0 360
statbar headingspinner 0 3600
statbar_endangles -180 180
playerstat 29 // damage direction
//statbar_shader textures/eaglespain
statbar_shader textures/hud/compasspainblank
statbar_shader_flash textures/eaglespain
}

//==================================================
// Objective Direction

resource
Label
{
name "objarrow"
//rect 18 42 92 64 // this makes it match the compass base
//rect 18 32 92 64 // this makes it match the compass top
//rect 15.5 14 100 100 // this makes it match the compass top
rect 0 0 128 128
fgcolor 1.00 1.00 1.00 1.00
bgcolor 0.00 0.00 0.00 0.00
borderstyle "NONE"
playerstat 19 // objective center
//statbar needle 0 360
//statbar_needlewidth 5.5
//statbar rotator 0 3600
statbar spinner 0 3600
//statbar_endangles 0 3600
//statbar_rotatorsize 3.5 2
//statbar_rotatorsize 2.5 2.5
statbar_endangles -180 180
//statbar_shader textures/eaglesobjball
statbar_shader textures/eaglesobjarrow
}

resource
Label
{
name "firstobjball"
//rect 18 42 92 64 // this makes it match the compass base
//rect 18 32 92 64 // this makes it match the compass top
rect 15.5 14 100 100 // this makes it match the compass top
fgcolor 1.00 1.00 1.00 1.00
bgcolor 0.00 0.00 0.00 0.00
borderstyle "NONE"
playerstat 17 // objective leftball
//statbar needle 0 360
//statbar_needlewidth 5.5
statbar rotator 0 3600
//statbar_rotatorsize 3.5 2
statbar_rotatorsize 2.5 2.5
statbar_endangles -180 180
statbar_shader textures/eaglesobjball
}

resource
Label
{
name "secondobjball"
//rect 18 42 92 64 // this makes it match the compass base
//rect 18 32 92 64 // this makes it match the compass top
rect 15.5 14 100 100 // this makes it match the compass top
fgcolor 1.00 1.00 1.00 1.00
bgcolor 0.00 0.00 0.00 0.00
borderstyle "NONE"
playerstat 18 // objective rightball
//statbar needle 0 360
//statbar_needlewidth 5.5
statbar rotator 0 3600
//statbar_rotatorsize 3.5 2
statbar_rotatorsize 2.5 2.5
statbar_endangles -180 180
statbar_shader textures/eaglesobjball
}

//==================================================
// Compass Needle

resource
Label
{
name "Default"
rect 0 0 128 128
fgcolor 1.00 1.00 1.00 1.00
bgcolor 0.50 0.50 0.50 0.00
borderstyle "NONE"
shader textures/eaglesneedle
}

end.[/code:d58d9]

Replace shader textures/WITH IMAGE YOU WANT

repak into pk3

only problem is, my pain indicator always flashes behind the whole compass not where the shot is coming from; no biggie for me.
  
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBulletin Skin developed by: vBStyles.com
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.