Jump to content

HUD 3D avatar position


Stitzy

Recommended Posts

Hey

I use rayshud 3.98 and i want to know if you can move the 3d avatar from the bottom right to the bottom left and if you can, how?

Any help is appreciated

Link to comment
Share on other sites

in the tf/custom/hud/resource/ui folder, open HudPlayerClass.res and change the values under "xpos" for the ones that aren't 0

 

i'm still using pvhud, since I can't stand having health/ammo values in the middle of the goddamn screen but my 3d model is in the bottom left, so you could try copy/pasting this if you wanted to try that. just make sure to back up your existing file.

 

 

 

"Resource/UI/HudPlayerClass.res"
{
// player class data
"HudPlayerClass"
{
"ControlName" "EditablePanel"
"fieldName" "HudPlayerClass"
"xpos" "0"
"ypos" "0"
"zpos" "3"
"wide" "f0"
"tall" "480"
"visible" "1"
"enabled" "1"
}
 
"PlayerStatusClassImage" //When not disguised, the spy's image.  When disguised, the image of the class you're disguised as.
{
"ControlName" "CTFClassImage"
"fieldName" "PlayerStatusClassImage"
"xpos" "c-286" //"35"
"ypos" "r36"
"zpos" "3"
"wide" "37"
"tall" "37"
"visible" "1"
"enabled" "1"
"image" "../hud/class_scoutred"
"scaleImage" "1"
}
"PlayerStatusSpyImage" //When disguised, the spy's image.  Invisible when not disguised.
{
"ControlName" "CTFImagePanel"
"fieldName" "PlayerStatusSpyImage"
"xpos" "c-310" //"20"
"ypos" "r52"
"zpos" "2"
"wide" "55"
"tall" "55"
"visible" "1"
"enabled" "1"
"image" "../hud/class_spyred"
"teambg_2" "../hud/class_spyred"
"teambg_3" "../hud/class_spyblue"
}
"PlayerStatusSpyOutlineImage"
{
"ControlName" "CTFImagePanel"
"fieldName" "PlayerStatusSpyOutlineImage"
"xpos" "-15"
"ypos" "r44"
"zpos" "7"
"wide" "27"
"tall" "27"
"visible" "0"
"enabled" "1"
"image" "../hud/class_spy_outline"
}
"PlayerStatusClassImageBG"
{
"ControlName" "CTFImagePanel"
"fieldName" "PlayerStatusClassImageBG"
"wide" "0"
"tall" "0"
"visible" "0"
"enabled" "0"
// "scaleImage" "1"
"image" "../hud/character_red_bg"
}
 
"classmodelpanelBG"
{
"ControlName" "CTFImagePanel"
"fieldName" "classmodelpanelBG"
"xpos" "9999"
"ypos" "9999"
"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" "c-294" [$WIN32]
"ypos" "r100" [$WIN32]
 
"zpos" "2"
"wide" "50"
"tall" "100"
"autoResize" "0"
"pinCorner" "0"
"visible" "0"
"enabled" "0"
 
"render_texture" "0"
"fov" "12"
"allow_rot" "1"
 
"disable_speak_event" "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" "178"
"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"
}
}
}
}

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...