//Custom HUD by Pierf

This is a classical version for a HUD.

//Medals
Note that this HUD has medals that show the number of humiliations,excellents,impressives,captures,defends and assist done in a match.
There is also a hidden medal that should show the number of frags done in a match.Now the right ownerdraw doesn't exist,
but if it will be added,delete the /* and the */ at the begin and the end of te itemdef e write the ownerdraw.
Note that medals' numbers don't change automatically,but you have to press "+scores" for updating them.

//fv_weapon cvars
If you open the .menu file,you'll find these:

itemDef {
 	name "ammovalue-200,150"
	rect -130 11 63 12
	visible 1
	textstyle 6
	decoration
	textscale .53
      cvarTest "fv_weapon"
      showcvar {2 6 8 13}
	forecolor 1 1 1 1
	ownerdraw CG_PLAYER_AMMO_VALUE
	addColorRange -999 30 .67 .2 0 1
      addColorRange 31 70 1 .75 0 1
	addColorRange 71 999 1 1 1 1
	}

itemDef {
 	name "ammovalue-25"
	rect -130 11 63 12
	visible 1
	textstyle 6
	decoration
	textscale .53
      cvarTest "fv_weapon"
      showcvar {3 4 5 7 9 11}
	forecolor 1 1 1 1
	ownerdraw CG_PLAYER_AMMO_VALUE
	addColorRange -999 7 .67 .2 0 1
	addColorRange 8 12 1 .75 0 1
      addColorRange 13 999 1 1 1 1
	}

itemDef {
 	name "ammovalue-5"
	rect -130 11 63 12
	visible 1
	textstyle 6
	decoration
	textscale .53
      cvarTest "fv_weapon"
      showcvar {12}
	forecolor 1 1 1 1
	ownerdraw CG_PLAYER_AMMO_VALUE
	addColorRange -999 2 .67 .2 0 1
	addColorRange 3 3 1 .75 0 1
      addColorRange 4 999 1 1 1 1
	}

Cvartest and ShowCvar are options that permise you to make an item apparing only if some conditions ae done.
Fv_weapon is a cvar that you should add on your cfg,on your weapons' keys.
Remember that:

Gauntlet=weapon 1
Machinegun=weapon 2
Shotgun=weapon 3
Grenade Launcher=weapon 4
Rocket Launcher=weapon 5
Lightning Gun=weapon 6
Railgun=weapon 7
Plasma Gun=weapon 8
Bfg10k=weapon 9
Grappling Hook (not available yet)=weapon 10
Nailgun=weapon 11
Proxy Launcher=weapon 12
Chaingun=weapon 13

On your game config,you have to add this string for every weapon.Example

Bind ? "weapon 5;othercommands;fv_weapon 5"
Bind ? "weapon 8;othercommands;fv_weapon 8"

That permises to have different colours' values for every weapon.Meaning,if you're using the lightning gun,the number
of ammos will be orange under 71,and red under 30.If you are using the rocket launcher,it will become orange under 13,
and red under 7.

//Gametype informations
In warmup,you should have a string that displays the name of the mode you are playing.
But the informations about instagib or instactf are ignored by /* and */, because actually there isn't a cvar
for insta modes (g_instagib).Or at least I don't see it on cvarlist "insta".

Thanks to Pudrick for the servers' tiers values and to Meguro for the fv_weapon cvars.