Upvote Upvoted 9 Downvote Downvoted
Adding 3D Model to Custom HUDs
posted in Customization
1
#1
8 Frags +

So I've been digging around and can't seem to figure out how to add the 3D models to the HUD.
I assume it's something in "HudPlayerClass.res" but I can't really figure it out.
It would always say I was a red scout. No 3D model even though that hud element was enabled via console.
When I changed This:
"PlayerStatusClassImage"
{
"ControlName" "CTFImagePanel"
To this:
"PlayerStatusClassImage"
{
"ControlName" "CTFClassImage"
The image was corrected *disappeared after a short period of time* but is not the 3D model I want.

Simply, What do I need to change/add to enable the 3D Class Image to my custom HUD?

Forgive me if this has been addressed before, I honestly couldn't find anything.

ANSWER (Thanks to eXe)
Open the file "tf2_misc_dir.vpk" in your "common/Team Fortress 2/tf" folder using GCF scape.
Expand the folders "resource" and then "ui" from within that.
Scroll down to HudPlayerClass.res and extract (or drag and drop) onto your desktop.
Edit that file to your liking and place in your appropriate custom HUD folder.

So I've been digging around and can't seem to figure out how to add the 3D models to the HUD.
I assume it's something in "HudPlayerClass.res" but I can't really figure it out.
It would always say I was a red scout. No 3D model even though that hud element was enabled via console.
When I changed This:
"PlayerStatusClassImage"
{
"ControlName" "CTFImagePanel"
To this:
"PlayerStatusClassImage"
{
"ControlName" "CTFClassImage"
The image was corrected *disappeared after a short period of time* but is not the 3D model I want.

Simply, What do I need to change/add to enable the 3D Class Image to my custom HUD?

Forgive me if this has been addressed before, I honestly couldn't find anything.

[b]ANSWER (Thanks to eXe)[/b]
Open the file "tf2_misc_dir.vpk" in your "common/Team Fortress 2/tf" folder using GCF scape.
Expand the folders "resource" and then "ui" from within that.
Scroll down to HudPlayerClass.res and extract (or drag and drop) onto your desktop.
Edit that file to your liking and place in your appropriate custom HUD folder.
2
#2
0 Frags +

I'd really like to add these down in the bottom left hand corner on my hud. Along with the modified Medic one.

I'd really like to add these down in the bottom left hand corner on my hud. Along with the modified Medic one.
3
#3
1 Frags +

All I found was this: http://tf2.gamebanana.com/tuts/11403

I used GCF Scape to get the default hudplayerclass.res from tf2_misc_dir.vpk and edited it to my liking.

All I found was this: http://tf2.gamebanana.com/tuts/11403

I used GCF Scape to get the default hudplayerclass.res from tf2_misc_dir.vpk and edited it to my liking.
4
#4
0 Frags +

Yea, I found that link as well, but the content is being withheld by admins for whatever reason. Although, you did give me what I needed to know. I wasn't sure where the new default files were located. Thanks so much :D I'll edit the OP with the info to do what you did.

Yea, I found that link as well, but the content is being withheld by admins for whatever reason. Although, you did give me what I needed to know. I wasn't sure where the new default files were located. Thanks so much :D I'll edit the OP with the info to do what you did.
5
#5
1 Frags +

I hope I'm not resurrecting this thread, but how would I go about disabling the background RED/BLU box behind the 3d models? I don't really want it there, but I've tried disabling and making everything in hudplayerclass.res not visible, but with no luck.

I have been able to use your (eXe) advice to move the panel where I want it, but I just don't want that panel background there, haha.

Also, is there a way to have this panel only be visible when I'm playing certain classes? I don't really care to see my medic when I'm playing him, but I do want to see what the enemy medic is running when I'm playing Spy.

Any help is appreciated. :)

I hope I'm not resurrecting this thread, but how would I go about disabling the background RED/BLU box behind the 3d models? I don't really want it there, but I've tried disabling and making everything in hudplayerclass.res not visible, but with no luck.

I have been able to use your (eXe) advice to move the panel where I want it, but I just don't want that panel background there, haha.

Also, is there a way to have this panel only be visible when I'm playing certain classes? I don't really care to see my medic when I'm playing him, but I do want to see what the enemy medic is running when I'm playing Spy.

Any help is appreciated. :)
6
#6
0 Frags +
RJI hope I'm not resurrecting this thread, but how would I go about disabling the background RED/BLU box behind the 3d models? I don't really want it there, but I've tried disabling and making everything in hudplayerclass.res not visible, but with no luck.

I have been able to use your (eXe) advice to move the panel where I want it, but I just don't want that panel background there, haha.

Also, is there a way to have this panel only be visible when I'm playing certain classes? I don't really care to see my medic when I'm playing him, but I do want to see what the enemy medic is running when I'm playing Spy.

Any help is appreciated. :)

If you ever have trouble removing a control, just change the x and y positions to something like 9999, this while take them off the screen entirely. If that doesn't work, make sure you're not on minmode, as sometimes controls can have seperate options for that.

[quote=RJ]I hope I'm not resurrecting this thread, but how would I go about disabling the background RED/BLU box behind the 3d models? I don't really want it there, but I've tried disabling and making everything in hudplayerclass.res not visible, but with no luck.

I have been able to use your (eXe) advice to move the panel where I want it, but I just don't want that panel background there, haha.

Also, is there a way to have this panel only be visible when I'm playing certain classes? I don't really care to see my medic when I'm playing him, but I do want to see what the enemy medic is running when I'm playing Spy.

Any help is appreciated. :)[/quote]

If you ever have trouble removing a control, just change the x and y positions to something like 9999, this while take them off the screen entirely. If that doesn't work, make sure you're not on minmode, as sometimes controls can have seperate options for that.
7
#7
0 Frags +

Post what you have in hudplayerclass

Post what you have in hudplayerclass
8
#8
0 Frags +
"Resource/UI/HudPlayerClass.res"
{
	// player class data
	"HudPlayerClass"
	{
		"ControlName"	"EditablePanel"
		"fieldName"		"HudPlayerClass"
		"xpos"			"190"
		"ypos"			"-55"
		"ypos_minmode"	"18"
		"zpos"			"1"
		"wide"			"f0"
		"tall"			"480"
		"visible"		"1"
		"enabled"		"1"		
	}
	"PlayerStatusClassImage"
	{
		"ControlName"	"CTFClassImage"
		"fieldName"		"PlayerStatusClassImage"
		"xpos"			"25"	[$WIN32]
"xpos_minmode"	"15"	[$WIN32]
"ypos"			"r88"	[$WIN32]
"ypos_minmode"	"r54"	[$WIN32]
"xpos"			"57"	[$X360]
"ypos"			"r110"	[$X360]
"zpos"			"2"
		"wide"			"75"
		"wide_minmode"	"37"
		"tall"			"75"
		"tall_minmode"	"37"
		"visible"		"1"
		"enabled"		"1"
		"image"			"../hud/class_scoutred"
		"scaleImage"	"1"	
	}
	"PlayerStatusSpyImage"
	{
		"ControlName"	"CTFImagePanel"
		"fieldName"		"PlayerStatusSpyImage"
		"xpos"			"3"		[$WIN32]
"xpos_minmode"	"-5"	[$WIN32]
"ypos"			"r67"	[$WIN32]
"ypos_minmode"	"r44"	[$WIN32]
"xpos"			"35"	[$X360]
"ypos"			"r89"	[$X360]
"zpos"			"2"
		"wide"			"55"
		"wide_minmode"	"27"
		"tall"			"55"
		"tall_minmode"	"27"
		"visible"		"1"
		"enabled"		"1"
		"image"			"../hud/class_spyred"
		"scaleImage"	"1"	
		"teambg_2"		"../hud/class_spyred"
		"teambg_3"		"../hud/class_spyblue"			
	}	
	"PlayerStatusSpyOutlineImage"
	{
		"ControlName"	"CTFImagePanel"
		"fieldName"		"PlayerStatusSpyOutlineImage"
		"xpos"			"3"		[$WIN32]
"xpos_minmode"	"-5"	[$WIN32]
"ypos"			"r67"	[$WIN32]
"ypos_minmode"	"r44"	[$WIN32]
"xpos"			"35"	[$X360]
"ypos"			"r89"	[$X360]
"zpos"			"7"
		"wide"			"55"
		"wide_minmode"	"27"
		"tall"			"55"
		"tall_minmode"	"27"
		"visible"		"0"
		"enabled"		"1"
		"image"			"../hud/class_spy_outline"
		"scaleImage"	"1"	
	}		
	"PlayerStatusClassImageBG"
	{
		"ControlName"	"CTFImagePanel"
		"fieldName"		"PlayerStatusClassImageBG"
		"xpos"			"9"		[$WIN32]
"xpos_minmode"	"-10"		[$WIN32]
"ypos"			"r60"	[$WIN32]
"ypos_minmode"		"r40"	[$WIN32]
"xpos"			"41"	[$X360]
"ypos"			"r82"	[$X360]
"zpos"			"1"		
		"wide"			"100"
		"tall"			"50"
		"visible"		"1"
		"enabled"		"1"
		"scaleImage"	"1"
		"image"			"../hud/character_red_bg"	
		"teambg_2"		"../hud/character_red_bg"
		"teambg_2_lodef"	"../hud/character_red_bg_lodef"
		"teambg_3"		"../hud/character_blue_bg"
		"teambg_3_lodef"	"../hud/character_blue_bg_lodef"
	}

	"classmodelpanelBG"
	{
		"ControlName"	"CTFImagePanel"
		"fieldName"		"classmodelpanelBG"
		"xpos"			"-1"		[$WIN32]
"xpos_minmode"	"-15"		[$WIN32]
"ypos"			"r60"	[$WIN32]
"ypos_minmode"		"r40"	[$WIN32]
"xpos"			"41"	[$X360]
"ypos"			"r82"	[$X360]
"zpos"			"1"		
		"wide"			"109"
		"tall"			"50"
		"visible"		"1"
		"enabled"		"1"
		"scaleImage"	"1"
		"image"				"../hud/character_red_bg_clipped"	
		"teambg_2"			"../hud/character_red_bg_clipped"
		"teambg_2_lodef"	"../hud/character_red_bg_lodef_clipped"
		"teambg_3"			"../hud/character_blue_bg_clipped"
		"teambg_3_lodef"	"../hud/character_blue_bg_lodef_clipped"
	}

	"classmodelpanel"
	{
		"ControlName"	"CTFPlayerModelPanel"
		"fieldName"		"classmodelpanel"

		"xpos"			"0"	[$WIN32]
"xpos_minmode"	"0"	[$WIN32]
"ypos"			"r214"	[$WIN32]
"ypos_minmode"	"r88"	[$WIN32]
"zpos"			"2"		
		"wide"			"100"
		"wide_minmode"	"52"
		"tall"			"200"
		"tall_minmode"	"102"
		"autoResize"	"0"
		"pinCorner"		"0"
		"visible"		"1"
		"enabled"		"1"

		"render_texture"	"0"
		"fov"			"12"
		"allow_rot"		"1"

		"model"
		{
			"force_pos"	"1"

			"angles_x" "0"
			"angles_y" "172"
			"angles_z" "0"
			"origin_x" "200"
			"origin_y" "0"
			"origin_z" "-60"
			"frame_origin_x"	"0"
			"frame_origin_y"	"0"
			"frame_origin_z"	"0"
			"spotlight" "1"

			"modelname"		""

			"animation"
			{
				"name"		"PRIMARY"
				"activity"	"ACT_MP_STAND_PRIMARY"
				"default"	"1"
			}
			"animation"
			{
				"name"		"SECONDARY"
				"activity"	"ACT_MP_STAND_SECONDARY"
			}
			"animation"
			{
				"name"		"MELEE"
				"activity"	"ACT_MP_STAND_MELEE"
			}
			"animation"
			{
				"name"		"BUILDING"
				"activity"	"ACT_MP_STAND_BUILDING"
			}
			"animation"
			{
				"name"		"PDA"
				"activity"	"ACT_MP_STAND_PDA"
			}
			"animation"
			{
				"name"		"ITEM1"
				"activity"	"ACT_MP_STAND_ITEM1"
			}						
			"animation"
			{
				"name"		"ITEM2"
				"activity"	"ACT_MP_STAND_ITEM2"
			}									
			"animation"
			{
				"name"		"MELEE_ALLCLASS"
				"activity"	"ACT_MP_STAND_MELEE_ALLCLASS"
			}
			"animation"
			{
				"name"		"PRIMARY2"
				"activity"	"ACT_MP_STAND_PRIMARY"
			}
			"animation"
			{
				"name"		"SECONDARY2"
				"activity"	"ACT_MP_STAND_SECONDARY2"
			}
		}

		"customclassdata"
		{
			"undefined"
			{
			}
			"Scout"
			{
				"fov"			"25"
				"angles_x"		"-17"
				"angles_x_minmode"	"-10"
				"angles_y"		"220"
				"angles_z"		"-10"
				"origin_x"		"105"
				"origin_y"		"-1"
				"origin_z"		"-82"
				"origin_z_minmode"	"-52"
			}
			"Sniper"
			{
				"fov"			"25"
				"angles_x"		"-10"
				"angles_x_minmode"	"0"
				"angles_y"		"172"
				"angles_z"		"0"
				"origin_x"		"130"
				"origin_y"		"-3"
				"origin_z"		"-97"
				"origin_z_minmode"	"-57"
			}
			"Soldier"
			{
				"fov"			"25"
				"angles_x"		"-10"
				"angles_x_minmode"	"-3"
				"angles_y"		"170"
				"angles_z"		"0"
				"origin_x"		"145"
				"origin_y"		"-5"
				"origin_y_minmode"	"-8"
				"origin_z"		"-90"
				"origin_z_minmode"	"-50"
			}
			"Demoman"
			{
				"fov"			"25"
				"angles_x"		"-13"
				"angles_x_minmode"	"-3"
				"angles_y"		"200"
				"angles_z"		"0"
				"origin_x"		"138"
				"origin_y"		"-4"
				"origin_z"		"-93"
				"origin_z_minmode"	"-53"
			}
			"Medic"
			{
				"fov"			"20"
				"angles_x"		"-5"
				"angles_x_minmode"	"3"
				"angles_y"		"135"
				"angles_z"		"0"
				"origin_x"		"150"
				"origin_y"		"-5"
				"origin_z"		"-96"
				"origin_z_minmode"	"-60"
			}
			"Heavy"
			{
				"fov"			"20"
				"angles_x"		"-5"
				"angles_x_minmode"	"0"
				"angles_y"		"200"
				"angles_y_minmode"	"210"
				"angles_z"		"0"
				"origin_x"		"200"
				"origin_y"		"0"
				"origin_z"		"-102"
				"origin_z_minmode"	"-60"
			}
			"Pyro"
			{
				"fov"			"20"
				"angles_x"		"-5"
				"angles_x_minmode"	"0"
				"angles_y"		"172"
				"angles_z"		"0"
				"origin_x"		"175"
				"origin_y"		"-5"
				"origin_z"		"-90"
				"origin_z_minmode"	"-50"
			}
			"Spy"
			{
				"fov"			"20"
				"angles_x"		"-5"
				"angles_x_minmode"	"3"
				"angles_y"		"160"
				"angles_z"		"0"
				"origin_x"		"160"
				"origin_y"		"0"
				"origin_y_minmode"	"-3"
				"origin_z"		"-95"
				"origin_z_minmode"	"-60"
			}
			"Engineer"
			{
				"fov"			"20"
				"angles_x"		"-10"
				"angles_x_minmode"	"0"
				"angles_y"		"168"
				"angles_z"		"0"
				"origin_x"		"140"
				"origin_x_minmode"	"160"
				"origin_y"		"-2"
				"origin_y_minmode"	"-7"
				"origin_z"		"-82"
				"origin_z_minmode"	"-52"
			}
		}
	}
}

I've only changed the rotation on the medic 3d model, and the overall position of the hud element.

[code]"Resource/UI/HudPlayerClass.res"
{
// player class data
"HudPlayerClass"
{
"ControlName" "EditablePanel"
"fieldName" "HudPlayerClass"
"xpos" "190"
"ypos" "-55"
"ypos_minmode" "18"
"zpos" "1"
"wide" "f0"
"tall" "480"
"visible" "1"
"enabled" "1"
}
"PlayerStatusClassImage"
{
"ControlName" "CTFClassImage"
"fieldName" "PlayerStatusClassImage"
"xpos" "25" [$WIN32]
"xpos_minmode" "15" [$WIN32]
"ypos" "r88" [$WIN32]
"ypos_minmode" "r54" [$WIN32]
"xpos" "57" [$X360]
"ypos" "r110" [$X360]
"zpos" "2"
"wide" "75"
"wide_minmode" "37"
"tall" "75"
"tall_minmode" "37"
"visible" "1"
"enabled" "1"
"image" "../hud/class_scoutred"
"scaleImage" "1"
}
"PlayerStatusSpyImage"
{
"ControlName" "CTFImagePanel"
"fieldName" "PlayerStatusSpyImage"
"xpos" "3" [$WIN32]
"xpos_minmode" "-5" [$WIN32]
"ypos" "r67" [$WIN32]
"ypos_minmode" "r44" [$WIN32]
"xpos" "35" [$X360]
"ypos" "r89" [$X360]
"zpos" "2"
"wide" "55"
"wide_minmode" "27"
"tall" "55"
"tall_minmode" "27"
"visible" "1"
"enabled" "1"
"image" "../hud/class_spyred"
"scaleImage" "1"
"teambg_2" "../hud/class_spyred"
"teambg_3" "../hud/class_spyblue"
}
"PlayerStatusSpyOutlineImage"
{
"ControlName" "CTFImagePanel"
"fieldName" "PlayerStatusSpyOutlineImage"
"xpos" "3" [$WIN32]
"xpos_minmode" "-5" [$WIN32]
"ypos" "r67" [$WIN32]
"ypos_minmode" "r44" [$WIN32]
"xpos" "35" [$X360]
"ypos" "r89" [$X360]
"zpos" "7"
"wide" "55"
"wide_minmode" "27"
"tall" "55"
"tall_minmode" "27"
"visible" "0"
"enabled" "1"
"image" "../hud/class_spy_outline"
"scaleImage" "1"
}
"PlayerStatusClassImageBG"
{
"ControlName" "CTFImagePanel"
"fieldName" "PlayerStatusClassImageBG"
"xpos" "9" [$WIN32]
"xpos_minmode" "-10" [$WIN32]
"ypos" "r60" [$WIN32]
"ypos_minmode" "r40" [$WIN32]
"xpos" "41" [$X360]
"ypos" "r82" [$X360]
"zpos" "1"
"wide" "100"
"tall" "50"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "../hud/character_red_bg"
"teambg_2" "../hud/character_red_bg"
"teambg_2_lodef" "../hud/character_red_bg_lodef"
"teambg_3" "../hud/character_blue_bg"
"teambg_3_lodef" "../hud/character_blue_bg_lodef"
}

"classmodelpanelBG"
{
"ControlName" "CTFImagePanel"
"fieldName" "classmodelpanelBG"
"xpos" "-1" [$WIN32]
"xpos_minmode" "-15" [$WIN32]
"ypos" "r60" [$WIN32]
"ypos_minmode" "r40" [$WIN32]
"xpos" "41" [$X360]
"ypos" "r82" [$X360]
"zpos" "1"
"wide" "109"
"tall" "50"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "../hud/character_red_bg_clipped"
"teambg_2" "../hud/character_red_bg_clipped"
"teambg_2_lodef" "../hud/character_red_bg_lodef_clipped"
"teambg_3" "../hud/character_blue_bg_clipped"
"teambg_3_lodef" "../hud/character_blue_bg_lodef_clipped"
}

"classmodelpanel"
{
"ControlName" "CTFPlayerModelPanel"
"fieldName" "classmodelpanel"

"xpos" "0" [$WIN32]
"xpos_minmode" "0" [$WIN32]
"ypos" "r214" [$WIN32]
"ypos_minmode" "r88" [$WIN32]
"zpos" "2"
"wide" "100"
"wide_minmode" "52"
"tall" "200"
"tall_minmode" "102"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"

"render_texture" "0"
"fov" "12"
"allow_rot" "1"

"model"
{
"force_pos" "1"

"angles_x" "0"
"angles_y" "172"
"angles_z" "0"
"origin_x" "200"
"origin_y" "0"
"origin_z" "-60"
"frame_origin_x" "0"
"frame_origin_y" "0"
"frame_origin_z" "0"
"spotlight" "1"

"modelname" ""

"animation"
{
"name" "PRIMARY"
"activity" "ACT_MP_STAND_PRIMARY"
"default" "1"
}
"animation"
{
"name" "SECONDARY"
"activity" "ACT_MP_STAND_SECONDARY"
}
"animation"
{
"name" "MELEE"
"activity" "ACT_MP_STAND_MELEE"
}
"animation"
{
"name" "BUILDING"
"activity" "ACT_MP_STAND_BUILDING"
}
"animation"
{
"name" "PDA"
"activity" "ACT_MP_STAND_PDA"
}
"animation"
{
"name" "ITEM1"
"activity" "ACT_MP_STAND_ITEM1"
}
"animation"
{
"name" "ITEM2"
"activity" "ACT_MP_STAND_ITEM2"
}
"animation"
{
"name" "MELEE_ALLCLASS"
"activity" "ACT_MP_STAND_MELEE_ALLCLASS"
}
"animation"
{
"name" "PRIMARY2"
"activity" "ACT_MP_STAND_PRIMARY"
}
"animation"
{
"name" "SECONDARY2"
"activity" "ACT_MP_STAND_SECONDARY2"
}
}

"customclassdata"
{
"undefined"
{
}
"Scout"
{
"fov" "25"
"angles_x" "-17"
"angles_x_minmode" "-10"
"angles_y" "220"
"angles_z" "-10"
"origin_x" "105"
"origin_y" "-1"
"origin_z" "-82"
"origin_z_minmode" "-52"
}
"Sniper"
{
"fov" "25"
"angles_x" "-10"
"angles_x_minmode" "0"
"angles_y" "172"
"angles_z" "0"
"origin_x" "130"
"origin_y" "-3"
"origin_z" "-97"
"origin_z_minmode" "-57"
}
"Soldier"
{
"fov" "25"
"angles_x" "-10"
"angles_x_minmode" "-3"
"angles_y" "170"
"angles_z" "0"
"origin_x" "145"
"origin_y" "-5"
"origin_y_minmode" "-8"
"origin_z" "-90"
"origin_z_minmode" "-50"
}
"Demoman"
{
"fov" "25"
"angles_x" "-13"
"angles_x_minmode" "-3"
"angles_y" "200"
"angles_z" "0"
"origin_x" "138"
"origin_y" "-4"
"origin_z" "-93"
"origin_z_minmode" "-53"
}
"Medic"
{
"fov" "20"
"angles_x" "-5"
"angles_x_minmode" "3"
"angles_y" "135"
"angles_z" "0"
"origin_x" "150"
"origin_y" "-5"
"origin_z" "-96"
"origin_z_minmode" "-60"
}
"Heavy"
{
"fov" "20"
"angles_x" "-5"
"angles_x_minmode" "0"
"angles_y" "200"
"angles_y_minmode" "210"
"angles_z" "0"
"origin_x" "200"
"origin_y" "0"
"origin_z" "-102"
"origin_z_minmode" "-60"
}
"Pyro"
{
"fov" "20"
"angles_x" "-5"
"angles_x_minmode" "0"
"angles_y" "172"
"angles_z" "0"
"origin_x" "175"
"origin_y" "-5"
"origin_z" "-90"
"origin_z_minmode" "-50"
}
"Spy"
{
"fov" "20"
"angles_x" "-5"
"angles_x_minmode" "3"
"angles_y" "160"
"angles_z" "0"
"origin_x" "160"
"origin_y" "0"
"origin_y_minmode" "-3"
"origin_z" "-95"
"origin_z_minmode" "-60"
}
"Engineer"
{
"fov" "20"
"angles_x" "-10"
"angles_x_minmode" "0"
"angles_y" "168"
"angles_z" "0"
"origin_x" "140"
"origin_x_minmode" "160"
"origin_y" "-2"
"origin_y_minmode" "-7"
"origin_z" "-82"
"origin_z_minmode" "-52"
}
}
}
}
[/code]

I've only changed the rotation on the medic 3d model, and the overall position of the hud element.
9
#9
0 Frags +

Try setting your classmodelpanel and classmodelpanelBG xpos and ypos values to 9999. I dont have TF2 on this comp otherwise I'd double check for you, but I'm pretty sure that will work.

edit: also I dont think you can turn it on only for specific classes, but i think the red/blu panel background is separate from the spy disguise model so it will still be there even if you move the panel BG offscreen.

Try setting your classmodelpanel and classmodelpanelBG xpos and ypos values to 9999. I dont have TF2 on this comp otherwise I'd double check for you, but I'm pretty sure that will work.

edit: also I dont think you can turn it on only for specific classes, but i think the red/blu panel background is separate from the spy disguise model so it will still be there even if you move the panel BG offscreen.
10
#10
1 Frags +

Doing that just made the whole model disappear. I need help with this also. I've seen people with hud's that do not have the blu/red backgrounds behind the class models, surely there is a simply solution to this?

Doing that just made the whole model disappear. I need help with this also. I've seen people with hud's that do not have the blu/red backgrounds behind the class models, surely there is a simply solution to this?
11
#11
3 Frags +

Fixed!

It was pretty easy. All I did was go into HudPlayerClass.res, and changed the 'wide' and 'tall' values in classmodelpanelBG to 1.

Fixed!

It was pretty easy. All I did was go into HudPlayerClass.res, and changed the 'wide' and 'tall' values in classmodelpanelBG to 1.
12
#12
-1 Frags +

I would really love any help getting this to work since I have next to no idea what I'm doing wrong/trying to do currently with the below.
The HudPlayerClass.res file is from knhud and the model thing is from 7HUD (which works if I just bring over the entire 7HUD HudPlayerClass.res file, but I don't know if that has any negative ramifications?). I'd also like to make the models bigger than the 7HUD one.
Thanks

"Resource/UI/HudPlayerClass.res"
{
	// player class data
	"HudPlayerClass"
	{
		"ControlName"	"EditablePanel"
		"fieldName"		"HudPlayerClass"
		"xpos"			"999999"
		"ypos"			"0"
		"zpos"			"1"
		"wide"			"0"
		"tall"			"0"
		"visible"		"0"
		"enabled"		"0"		
	}
	"PlayerStatusClassImage"
	{
		"ControlName"	"CTFImagePanel"
		"fieldName"		"PlayerStatusClassImage"
		"xpos"			"25"	[$WIN32]
"xpos_minmode"	"15"	[$WIN32]
"ypos"			"r88"	[$WIN32]
"ypos_minmode"	"r54"	[$WIN32]
"xpos"			"57"	[$X360]
"ypos"			"r110"	[$X360]
"zpos"			"2"
		"wide"			"75"
		"wide_minmode"	"37"
		"tall"			"75"
		"tall_minmode"	"37"
		"visible"		"1"
		"enabled"		"1"
		"image"			"../hud/class_scoutred"
		"scaleImage"	"1"	
	}
	"PlayerStatusSpyImage"
	{
		"ControlName"	"CTFImagePanel"
		"fieldName"		"PlayerStatusSpyImage"
		"xpos"			"3"		[$WIN32]
"xpos_minmode"	"-5"	[$WIN32]
"ypos"			"r67"	[$WIN32]
"ypos_minmode"	"r44"	[$WIN32]
"xpos"			"35"	[$X360]
"ypos"			"r89"	[$X360]
"zpos"			"2"
		"wide"			"55"
		"wide_minmode"	"27"
		"tall"			"55"
		"tall_minmode"	"27"
		"visible"		"1"
		"enabled"		"1"
		"image"			"../hud/class_spyred"
		"scaleImage"	"1"	
		"teambg_2"		"../hud/class_spyred"
		"teambg_3"		"../hud/class_spyblue"			
	}	
	"PlayerStatusSpyOutlineImage"
	{
		"ControlName"	"CTFImagePanel"
		"fieldName"		"PlayerStatusSpyOutlineImage"
		"xpos"			"3"		[$WIN32]
"xpos_minmode"	"-5"	[$WIN32]
"ypos"			"r67"	[$WIN32]
"ypos_minmode"	"r44"	[$WIN32]
"xpos"			"35"	[$X360]
"ypos"			"r89"	[$X360]
"zpos"			"7"
		"wide"			"55"
		"wide_minmode"	"27"
		"tall"			"55"
		"tall_minmode"	"27"
		"visible"		"0"
		"enabled"		"1"
		"image"			"../hud/class_spy_outline"
		"scaleImage"	"1"	
	}		
	"PlayerStatusClassImageBG"
	{
		"ControlName"	"CTFImagePanel"
		"fieldName"		"PlayerStatusClassImageBG"
		"xpos"			"9"		[$WIN32]
"xpos_minmode"	"-10"		[$WIN32]
"ypos"			"r60"	[$WIN32]
"ypos_minmode"		"r40"	[$WIN32]
"xpos"			"41"	[$X360]
"ypos"			"r82"	[$X360]
"zpos"			"1"		
		"wide"			"100"
		"tall"			"50"
		"visible"		"1"
		"enabled"		"1"
		"image"			"../hud/character_red_bg"
		"scaleImage"	"1"	
		"teambg_2"		"../hud/character_red_bg"
		"teambg_2_lodef"	"../hud/character_red_bg_lodef"
		"teambg_3"		"../hud/character_blue_bg"
		"teambg_3_lodef"	"../hud/character_blue_bg_lodef"
	}
	"classmodelpanelBG"
	{
		"ControlName"	"CTFImagePanel"
		"fieldName"		"classmodelpanelBG"
		"xpos"			"0"	
		"ypos"			"r40"
		"zpos"			"1"		
		"wide"			"1"		//55
		"tall"			"1"		//19
		"visible"		"0"
		"enabled"		"0"
		"scaleImage"	"1"
		"image"				"replay/thumbnails/bg_black"	
		"teambg_1"			"replay/thumbnails/bg_black"
		"teambg_2"			"replay/thumbnails/bg_red"
		"teambg_2_lodef"		"replay/thumbnails/bg_red"
		"teambg_3"			"replay/thumbnails/bg_blue"
		"teambg_3_lodef"		"replay/thumbnails/bg_blue"
	}
	"classmodelpanel"
	{
		"ControlName"	"CTFPlayerModelPanel"
		"fieldName"		"classmodelpanel"

		"xpos"			"0"
		"ypos"			"r88"
		"zpos"			"2"		
		"wide"			"65"
		"tall"			"102"
		"autoResize"	"0"
		"pinCorner"		"0"
		"visible"		"1"
		"enabled"		"1"

		"render_texture"	"0"
		"fov"			"28"
		"allow_rot"		"1"

		"model"
		{
			"force_pos"	"1"

			"angles_x" "0"
			"angles_y" "270"
			"angles_z" "0"
			"origin_x" "200"
			"origin_y" "28"
			"origin_z" "-60"
			"frame_origin_x"	"0"
			"frame_origin_y"	"0"
			"frame_origin_z"	"0"
			"spotlight" "1"

			"modelname"		""

			"animation"
			{
				"name"		"PRIMARY"
				"activity"	"ACT_MP_STAND_PRIMARY"
				"default"	"1"
			}
			"animation"
			{
				"name"		"SECONDARY"
				"activity"	"ACT_MP_STAND_SECONDARY"
			}
			"animation"
			{
				"name"		"MELEE"
				"activity"	"ACT_MP_STAND_MELEE"
			}
			"animation"
			{
				"name"		"BUILDING"
				"activity"	"ACT_MP_STAND_BUILDING"
			}
			"animation"
			{
				"name"		"PDA"
				"activity"	"ACT_MP_STAND_PDA"
			}
			"animation"
			{
				"name"		"ITEM1"
				"activity"	"ACT_MP_STAND_ITEM1"
			}						
			"animation"
			{
				"name"		"ITEM2"
				"activity"	"ACT_MP_STAND_ITEM2"
			}									
			"animation"
			{
				"name"		"MELEE_ALLCLASS"
				"activity"	"ACT_MP_STAND_MELEE_ALLCLASS"
			}
			"animation"
			{
				"name"		"PRIMARY2"
				"activity"	"ACT_MP_STAND_PRIMARY"
			}
			"animation"
			{
				"name"		"SECONDARY2"
				"activity"	"ACT_MP_STAND_SECONDARY2"
			}
		}

		"customclassdata"
		{
			"undefined"
			{
			}
			"Scout"
			{
				"fov"			"27"
				"angles_x"		"0"
				"angles_y"		"270"
				"angles_z"		"-10"
				"origin_x"		"145"
				"origin_y"		"15"
				"origin_z"		"-47"
			}
			"Sniper"
			{
				"fov"			"30"
				"angles_x"		"-2"
				"angles_y"		"270"
				"angles_z"		"0"
				"origin_x"		"150"
				"origin_y"		"15"
				"origin_z"		"-47"	//-67
			}
			"Soldier"
			{
				"fov"			"27"
				"angles_x"		"0"
				"angles_y"		"260"
				"angles_z"		"0"
				"origin_x"		"175"
				"origin_y"		"24"
				"origin_z"		"-52"
			}
			"Demoman"
			{
				"fov"			"28"
				"angles_x"		"0"
				"angles_y"		"270"
				"angles_z"		"0"
				"origin_x"		"160"
				"origin_y"		"20"
				"origin_z"		"-55"
			}
			"Medic"
			{
				"fov"			"22"
				"angles_x"		"6"
				"angles_y"		"270"
				"angles_z"		"0"
				"origin_x"		"190"
				"origin_y"		"15"
				"origin_z"		"-57"
			}
			"Heavy"
			{
				"fov"			"20"
				"angles_x"		"0"
				"angles_y"		"270"
				"angles_z"		"0"
				"origin_x"		"260"
				"origin_y"		"15"
				"origin_z"		"-55"
			}
			"Pyro"
			{
				"fov"			"23"
				"angles_x"		"0"
				"angles_y"		"270"
				"angles_z"		"0"
				"origin_x"		"205"
				"origin_y"		"22"
				"origin_z"		"-50"
			}
			"Spy"
			{
				"fov"			"23"
				"angles_x"		"0"
				"angles_y"		"270"
				"angles_z"		"0"
				"origin_x"		"160"
				"origin_y"		"15"
				"origin_z"		"-60"
			}
			"Engineer"
			{
				"fov"			"23"
				"angles_x"		"0"
				"angles_y"		"270"
				"angles_z"		"0"
				"origin_x"		"160"
				"origin_y"		"15"
				"origin_z"		"-52"
			}
		}
	}
}
I would really love any help getting this to work since I have next to no idea what I'm doing wrong/trying to do currently with the below.
The HudPlayerClass.res file is from knhud and the model thing is from 7HUD (which works if I just bring over the entire 7HUD HudPlayerClass.res file, but I don't know if that has any negative ramifications?). I'd also like to make the models bigger than the 7HUD one.
Thanks

[code]"Resource/UI/HudPlayerClass.res"
{
// player class data
"HudPlayerClass"
{
"ControlName" "EditablePanel"
"fieldName" "HudPlayerClass"
"xpos" "999999"
"ypos" "0"
"zpos" "1"
"wide" "0"
"tall" "0"
"visible" "0"
"enabled" "0"
}
"PlayerStatusClassImage"
{
"ControlName" "CTFImagePanel"
"fieldName" "PlayerStatusClassImage"
"xpos" "25" [$WIN32]
"xpos_minmode" "15" [$WIN32]
"ypos" "r88" [$WIN32]
"ypos_minmode" "r54" [$WIN32]
"xpos" "57" [$X360]
"ypos" "r110" [$X360]
"zpos" "2"
"wide" "75"
"wide_minmode" "37"
"tall" "75"
"tall_minmode" "37"
"visible" "1"
"enabled" "1"
"image" "../hud/class_scoutred"
"scaleImage" "1"
}
"PlayerStatusSpyImage"
{
"ControlName" "CTFImagePanel"
"fieldName" "PlayerStatusSpyImage"
"xpos" "3" [$WIN32]
"xpos_minmode" "-5" [$WIN32]
"ypos" "r67" [$WIN32]
"ypos_minmode" "r44" [$WIN32]
"xpos" "35" [$X360]
"ypos" "r89" [$X360]
"zpos" "2"
"wide" "55"
"wide_minmode" "27"
"tall" "55"
"tall_minmode" "27"
"visible" "1"
"enabled" "1"
"image" "../hud/class_spyred"
"scaleImage" "1"
"teambg_2" "../hud/class_spyred"
"teambg_3" "../hud/class_spyblue"
}
"PlayerStatusSpyOutlineImage"
{
"ControlName" "CTFImagePanel"
"fieldName" "PlayerStatusSpyOutlineImage"
"xpos" "3" [$WIN32]
"xpos_minmode" "-5" [$WIN32]
"ypos" "r67" [$WIN32]
"ypos_minmode" "r44" [$WIN32]
"xpos" "35" [$X360]
"ypos" "r89" [$X360]
"zpos" "7"
"wide" "55"
"wide_minmode" "27"
"tall" "55"
"tall_minmode" "27"
"visible" "0"
"enabled" "1"
"image" "../hud/class_spy_outline"
"scaleImage" "1"
}
"PlayerStatusClassImageBG"
{
"ControlName" "CTFImagePanel"
"fieldName" "PlayerStatusClassImageBG"
"xpos" "9" [$WIN32]
"xpos_minmode" "-10" [$WIN32]
"ypos" "r60" [$WIN32]
"ypos_minmode" "r40" [$WIN32]
"xpos" "41" [$X360]
"ypos" "r82" [$X360]
"zpos" "1"
"wide" "100"
"tall" "50"
"visible" "1"
"enabled" "1"
"image" "../hud/character_red_bg"
"scaleImage" "1"
"teambg_2" "../hud/character_red_bg"
"teambg_2_lodef" "../hud/character_red_bg_lodef"
"teambg_3" "../hud/character_blue_bg"
"teambg_3_lodef" "../hud/character_blue_bg_lodef"
}
"classmodelpanelBG"
{
"ControlName" "CTFImagePanel"
"fieldName" "classmodelpanelBG"
"xpos" "0"
"ypos" "r40"
"zpos" "1"
"wide" "1" //55
"tall" "1" //19
"visible" "0"
"enabled" "0"
"scaleImage" "1"
"image" "replay/thumbnails/bg_black"
"teambg_1" "replay/thumbnails/bg_black"
"teambg_2" "replay/thumbnails/bg_red"
"teambg_2_lodef" "replay/thumbnails/bg_red"
"teambg_3" "replay/thumbnails/bg_blue"
"teambg_3_lodef" "replay/thumbnails/bg_blue"
}
"classmodelpanel"
{
"ControlName" "CTFPlayerModelPanel"
"fieldName" "classmodelpanel"

"xpos" "0"
"ypos" "r88"
"zpos" "2"
"wide" "65"
"tall" "102"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"

"render_texture" "0"
"fov" "28"
"allow_rot" "1"

"model"
{
"force_pos" "1"

"angles_x" "0"
"angles_y" "270"
"angles_z" "0"
"origin_x" "200"
"origin_y" "28"
"origin_z" "-60"
"frame_origin_x" "0"
"frame_origin_y" "0"
"frame_origin_z" "0"
"spotlight" "1"

"modelname" ""

"animation"
{
"name" "PRIMARY"
"activity" "ACT_MP_STAND_PRIMARY"
"default" "1"
}
"animation"
{
"name" "SECONDARY"
"activity" "ACT_MP_STAND_SECONDARY"
}
"animation"
{
"name" "MELEE"
"activity" "ACT_MP_STAND_MELEE"
}
"animation"
{
"name" "BUILDING"
"activity" "ACT_MP_STAND_BUILDING"
}
"animation"
{
"name" "PDA"
"activity" "ACT_MP_STAND_PDA"
}
"animation"
{
"name" "ITEM1"
"activity" "ACT_MP_STAND_ITEM1"
}
"animation"
{
"name" "ITEM2"
"activity" "ACT_MP_STAND_ITEM2"
}
"animation"
{
"name" "MELEE_ALLCLASS"
"activity" "ACT_MP_STAND_MELEE_ALLCLASS"
}
"animation"
{
"name" "PRIMARY2"
"activity" "ACT_MP_STAND_PRIMARY"
}
"animation"
{
"name" "SECONDARY2"
"activity" "ACT_MP_STAND_SECONDARY2"
}
}

"customclassdata"
{
"undefined"
{
}
"Scout"
{
"fov" "27"
"angles_x" "0"
"angles_y" "270"
"angles_z" "-10"
"origin_x" "145"
"origin_y" "15"
"origin_z" "-47"
}
"Sniper"
{
"fov" "30"
"angles_x" "-2"
"angles_y" "270"
"angles_z" "0"
"origin_x" "150"
"origin_y" "15"
"origin_z" "-47" //-67
}
"Soldier"
{
"fov" "27"
"angles_x" "0"
"angles_y" "260"
"angles_z" "0"
"origin_x" "175"
"origin_y" "24"
"origin_z" "-52"
}
"Demoman"
{
"fov" "28"
"angles_x" "0"
"angles_y" "270"
"angles_z" "0"
"origin_x" "160"
"origin_y" "20"
"origin_z" "-55"
}
"Medic"
{
"fov" "22"
"angles_x" "6"
"angles_y" "270"
"angles_z" "0"
"origin_x" "190"
"origin_y" "15"
"origin_z" "-57"
}
"Heavy"
{
"fov" "20"
"angles_x" "0"
"angles_y" "270"
"angles_z" "0"
"origin_x" "260"
"origin_y" "15"
"origin_z" "-55"
}
"Pyro"
{
"fov" "23"
"angles_x" "0"
"angles_y" "270"
"angles_z" "0"
"origin_x" "205"
"origin_y" "22"
"origin_z" "-50"
}
"Spy"
{
"fov" "23"
"angles_x" "0"
"angles_y" "270"
"angles_z" "0"
"origin_x" "160"
"origin_y" "15"
"origin_z" "-60"
}
"Engineer"
{
"fov" "23"
"angles_x" "0"
"angles_y" "270"
"angles_z" "0"
"origin_x" "160"
"origin_y" "15"
"origin_z" "-52"
}
}
}
}
[/code]
13
#13
0 Frags +

The 3d model is covering the chat window and I was wondering if it's possible to change its position and/or resize it.
Thanks in advance. Included is hudplayerclass.res

"Resource/UI/HudPlayerClass.res"
{
// player class data
"HudPlayerClass"
{
"ControlName" "EditablePanel"
"fieldName" "HudPlayerClass"
"xpos" "0"
"ypos" "0"
"zpos" "1"
"wide" "f0"
"tall" "480"
"visible" "1"
"enabled" "1"
}
"PlayerStatusClassImage"
{
"ControlName" "CTFClassImage"
"fieldName" "PlayerStatusClassImage"
"xpos" "25"
"ypos" "r70"
"zpos" "2"
"wide" "40"
"tall" "40"
"visible" "1"
"enabled" "1"
"image" "../hud/class_scoutred"
"scaleImage" "1"
"alpha" "0"
}
"PlayerStatusSpyImage"
{
"ControlName" "CTFImagePanel"
"fieldName" "PlayerStatusSpyImage"
"xpos" "3000" //3
"ypos" "r67"
"zpos" "2"
"wide" "55"
"tall" "55"
"visible" "1"
"enabled" "1"
"image" "../hud/class_spyred"
"scaleImage" "1"
"teambg_2" "../hud/class_spyred"
"teambg_3" "../hud/class_spyblue"
}
"PlayerStatusSpyOutlineImage"
{
"ControlName" "CTFImagePanel"
"fieldName" "PlayerStatusSpyOutlineImage"
"xpos" "3"
"ypos" "r67"
"zpos" "7"
"wide" "55"
"tall" "55"
"visible" "0"
"enabled" "1"
"image" "../hud/class_spy_outline"
"scaleImage" "1"
}
"PlayerStatusClassImageBG"
{
"ControlName" "CTFImagePanel"
"fieldName" "PlayerStatusClassImageBG"
"xpos" "999"
"ypos" "999"
"zpos" "1"
"wide" "100"
"tall" "50"
"visible" "0"
"enabled" "0"
"image" "../hud/character_red_bg"
"scaleImage" "1"
"teambg_2" "../hud/character_red_bg"
"teambg_3" "../hud/character_blue_bg"
}

"classmodelpanelBG"
{
"ControlName" "CTFImagePanel"
"fieldName" "classmodelpanelBG"
"xpos" "999"
"ypos" "999"
"zpos" "1"
"wide" "109"
"tall" "50"
"visible" "0"
"enabled" "0"
"scaleImage" "1"
"image" "../hud/character_red_bg_clipped"
"teambg_2" "../hud/character_red_bg_clipped"
"teambg_2_lodef" "../hud/character_red_bg_lodef_clipped"
"teambg_3" "../hud/character_blue_bg_clipped"
"teambg_3_lodef" "../hud/character_blue_bg_lodef_clipped"
}

"classmodelpanel"
{
"ControlName" "CTFPlayerModelPanel"
"fieldName" "classmodelpanel"
"xpos" "20"
"ypos" "r235"
"zpos" "2"
"wide" "100"
"tall" "200"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"

"render_texture" "0"
"fov" "12"
"allow_rot" "1"

"model"
{
"force_pos" "1"

"angles_x" "0"
"angles_y" "172"
"angles_z" "0"
"origin_x" "200"
"origin_y" "0"
"origin_z" "-60"
"frame_origin_x" "0"
"frame_origin_y" "0"
"frame_origin_z" "0"
"spotlight" "1"

"modelname" ""

"animation"
{
"name" "PRIMARY"
"activity" "ACT_MP_STAND_PRIMARY"
"default" "1"
}
"animation"
{
"name" "SECONDARY"
"activity" "ACT_MP_STAND_SECONDARY"
}
"animation"
{
"name" "MELEE"
"activity" "ACT_MP_STAND_MELEE"
}
"animation"
{
"name" "BUILDING"
"activity" "ACT_MP_STAND_BUILDING"
}
"animation"
{
"name" "PDA"
"activity" "ACT_MP_STAND_PDA"
}
"animation"
{
"name" "ITEM1"
"activity" "ACT_MP_STAND_ITEM1"
}
"animation"
{
"name" "ITEM2"
"activity" "ACT_MP_STAND_ITEM2"
}
"animation"
{
"name" "MELEE_ALLCLASS"
"activity" "ACT_MP_STAND_MELEE_ALLCLASS"
}
"animation"
{
"name" "PRIMARY2"
"activity" "ACT_MP_STAND_PRIMARY"
}
"animation"
{
"name" "SECONDARY2"
"activity" "ACT_MP_STAND_SECONDARY2"
}
}

"customclassdata"
{
"undefined"
{
}
"Scout"
{
"fov" "25"
"angles_x" "-17"
"angles_y" "220"
"angles_z" "-10"
"origin_x" "105"
"origin_y" "-1"
"origin_z" "-82"
}
"Sniper"
{
"fov" "25"
"angles_x" "-10"
"angles_y" "172"
"angles_z" "0"
"origin_x" "130"
"origin_y" "-3"
"origin_z" "-97"
}
"Soldier"
{
"fov" "25"
"angles_x" "-10"
"angles_y" "170"
"angles_z" "0"
"origin_x" "145"
"origin_y" "-5"
"origin_z" "-90"
}
"Demoman"
{
"fov" "25"
"angles_x" "-13"
"angles_y" "200"
"angles_z" "0"
"origin_x" "138"
"origin_y" "-4"
"origin_z" "-93"
}
"Medic"
{
"fov" "20"
"angles_x" "-5"
"angles_y" "210"
"angles_z" "0"
"origin_x" "150"
"origin_y" "-5"
"origin_z" "-96"
}
"Heavy"
{
"fov" "20"
"angles_x" "-5"
"angles_y" "200"
"angles_z" "0"
"origin_x" "200"
"origin_y" "0"
"origin_z" "-102"
}
"Pyro"
{
"fov" "20"
"angles_x" "-5"
"angles_y" "172"
"angles_z" "0"
"origin_x" "175"
"origin_y" "-5"
"origin_z" "-90"
}
"Spy"
{
"fov" "20"
"angles_x" "-5"
"angles_y" "160"
"angles_z" "0"
"origin_x" "160"
"origin_y" "0"
"origin_z" "-95"
}
"Engineer"
{
"fov" "20"
"angles_x" "-10"
"angles_y" "168"
"angles_z" "0"
"origin_x" "140"
"origin_y" "-2"
"origin_z" "-82"
}
}
}
}
The 3d model is covering the chat window and I was wondering if it's possible to change its position and/or resize it.
Thanks in advance. Included is hudplayerclass.res
[quote]"Resource/UI/HudPlayerClass.res"
{
// player class data
"HudPlayerClass"
{
"ControlName" "EditablePanel"
"fieldName" "HudPlayerClass"
"xpos" "0"
"ypos" "0"
"zpos" "1"
"wide" "f0"
"tall" "480"
"visible" "1"
"enabled" "1"
}
"PlayerStatusClassImage"
{
"ControlName" "CTFClassImage"
"fieldName" "PlayerStatusClassImage"
"xpos" "25"
"ypos" "r70"
"zpos" "2"
"wide" "40"
"tall" "40"
"visible" "1"
"enabled" "1"
"image" "../hud/class_scoutred"
"scaleImage" "1"
"alpha" "0"
}
"PlayerStatusSpyImage"
{
"ControlName" "CTFImagePanel"
"fieldName" "PlayerStatusSpyImage"
"xpos" "3000" //3
"ypos" "r67"
"zpos" "2"
"wide" "55"
"tall" "55"
"visible" "1"
"enabled" "1"
"image" "../hud/class_spyred"
"scaleImage" "1"
"teambg_2" "../hud/class_spyred"
"teambg_3" "../hud/class_spyblue"
}
"PlayerStatusSpyOutlineImage"
{
"ControlName" "CTFImagePanel"
"fieldName" "PlayerStatusSpyOutlineImage"
"xpos" "3"
"ypos" "r67"
"zpos" "7"
"wide" "55"
"tall" "55"
"visible" "0"
"enabled" "1"
"image" "../hud/class_spy_outline"
"scaleImage" "1"
}
"PlayerStatusClassImageBG"
{
"ControlName" "CTFImagePanel"
"fieldName" "PlayerStatusClassImageBG"
"xpos" "999"
"ypos" "999"
"zpos" "1"
"wide" "100"
"tall" "50"
"visible" "0"
"enabled" "0"
"image" "../hud/character_red_bg"
"scaleImage" "1"
"teambg_2" "../hud/character_red_bg"
"teambg_3" "../hud/character_blue_bg"
}

"classmodelpanelBG"
{
"ControlName" "CTFImagePanel"
"fieldName" "classmodelpanelBG"
"xpos" "999"
"ypos" "999"
"zpos" "1"
"wide" "109"
"tall" "50"
"visible" "0"
"enabled" "0"
"scaleImage" "1"
"image" "../hud/character_red_bg_clipped"
"teambg_2" "../hud/character_red_bg_clipped"
"teambg_2_lodef" "../hud/character_red_bg_lodef_clipped"
"teambg_3" "../hud/character_blue_bg_clipped"
"teambg_3_lodef" "../hud/character_blue_bg_lodef_clipped"
}

"classmodelpanel"
{
"ControlName" "CTFPlayerModelPanel"
"fieldName" "classmodelpanel"
"xpos" "20"
"ypos" "r235"
"zpos" "2"
"wide" "100"
"tall" "200"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"

"render_texture" "0"
"fov" "12"
"allow_rot" "1"

"model"
{
"force_pos" "1"

"angles_x" "0"
"angles_y" "172"
"angles_z" "0"
"origin_x" "200"
"origin_y" "0"
"origin_z" "-60"
"frame_origin_x" "0"
"frame_origin_y" "0"
"frame_origin_z" "0"
"spotlight" "1"

"modelname" ""

"animation"
{
"name" "PRIMARY"
"activity" "ACT_MP_STAND_PRIMARY"
"default" "1"
}
"animation"
{
"name" "SECONDARY"
"activity" "ACT_MP_STAND_SECONDARY"
}
"animation"
{
"name" "MELEE"
"activity" "ACT_MP_STAND_MELEE"
}
"animation"
{
"name" "BUILDING"
"activity" "ACT_MP_STAND_BUILDING"
}
"animation"
{
"name" "PDA"
"activity" "ACT_MP_STAND_PDA"
}
"animation"
{
"name" "ITEM1"
"activity" "ACT_MP_STAND_ITEM1"
}
"animation"
{
"name" "ITEM2"
"activity" "ACT_MP_STAND_ITEM2"
}
"animation"
{
"name" "MELEE_ALLCLASS"
"activity" "ACT_MP_STAND_MELEE_ALLCLASS"
}
"animation"
{
"name" "PRIMARY2"
"activity" "ACT_MP_STAND_PRIMARY"
}
"animation"
{
"name" "SECONDARY2"
"activity" "ACT_MP_STAND_SECONDARY2"
}
}

"customclassdata"
{
"undefined"
{
}
"Scout"
{
"fov" "25"
"angles_x" "-17"
"angles_y" "220"
"angles_z" "-10"
"origin_x" "105"
"origin_y" "-1"
"origin_z" "-82"
}
"Sniper"
{
"fov" "25"
"angles_x" "-10"
"angles_y" "172"
"angles_z" "0"
"origin_x" "130"
"origin_y" "-3"
"origin_z" "-97"
}
"Soldier"
{
"fov" "25"
"angles_x" "-10"
"angles_y" "170"
"angles_z" "0"
"origin_x" "145"
"origin_y" "-5"
"origin_z" "-90"
}
"Demoman"
{
"fov" "25"
"angles_x" "-13"
"angles_y" "200"
"angles_z" "0"
"origin_x" "138"
"origin_y" "-4"
"origin_z" "-93"
}
"Medic"
{
"fov" "20"
"angles_x" "-5"
"angles_y" "210"
"angles_z" "0"
"origin_x" "150"
"origin_y" "-5"
"origin_z" "-96"
}
"Heavy"
{
"fov" "20"
"angles_x" "-5"
"angles_y" "200"
"angles_z" "0"
"origin_x" "200"
"origin_y" "0"
"origin_z" "-102"
}
"Pyro"
{
"fov" "20"
"angles_x" "-5"
"angles_y" "172"
"angles_z" "0"
"origin_x" "175"
"origin_y" "-5"
"origin_z" "-90"
}
"Spy"
{
"fov" "20"
"angles_x" "-5"
"angles_y" "160"
"angles_z" "0"
"origin_x" "160"
"origin_y" "0"
"origin_z" "-95"
}
"Engineer"
{
"fov" "20"
"angles_x" "-10"
"angles_y" "168"
"angles_z" "0"
"origin_x" "140"
"origin_y" "-2"
"origin_z" "-82"
}
}
}
}
[/quote]
14
#14
1 Frags +

"classmodelpanel"
{
"ControlName" "CTFPlayerModelPanel"
"fieldName" "classmodelpanel"
"xpos" "20"
"ypos" "r235"
"zpos" "2"
"wide" "100"
"tall" "200"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"

Adjust the xpos and ypos values. I'm not sure how to resize it however

"classmodelpanel"
{
"ControlName" "CTFPlayerModelPanel"
"fieldName" "classmodelpanel"
"xpos" "20"
"ypos" "r235"
"zpos" "2"
"wide" "100"
"tall" "200"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"

Adjust the xpos and ypos values. I'm not sure how to resize it however
15
#15
0 Frags +
LazyPanda"classmodelpanel"
{
"ControlName" "CTFPlayerModelPanel"
"fieldName" "classmodelpanel"
"xpos" "20"
"ypos" "r235"
"zpos" "2"
"wide" "100"
"tall" "200"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"

Adjust the xpos and ypos values. I'm not sure how to resize it however

Thanks bro you really helped me a lot :)

[quote=LazyPanda]"classmodelpanel"
{
"ControlName" "CTFPlayerModelPanel"
"fieldName" "classmodelpanel"
"xpos" "20"
"ypos" "r235"
"zpos" "2"
"wide" "100"
"tall" "200"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"

Adjust the xpos and ypos values. I'm not sure how to resize it however[/quote]

Thanks bro you really helped me a lot :)
Please sign in through STEAM to post a comment.