Quake
Menú
Gamersmafia es ahora un archivo de solo lectura.

Un hud diferente para cada tipo de juego

Actualmente tengo un script que me cambia el hud automaticamente, diferenciando si estoy en un FFA o en un TDM.

Script:> alias f_spawn “if $matchtype == ffa then ffahud else tdmhud”

alias ffahud “hud_teamfrags_show 0;hud_frags_show 1;hud_recalculate”
alias tdmhud “hud_teamfrags_show 1;hud_teamfrags_shownames 1;hud_frags_show 0;hud_recalculate”

Me gustaría implementar una nueva entrada, un hud para duelos.

Alguien sabe como sería el asunto ?

Bueno ya lo he descubierto, el script ahora me reconoce FFA, Duel o TDM

///- script que autocambia los scores según tipo de juego (ffa duel tdm)
alias f_spawn “if $matchtype == ffa then ffahud else otrohud”
alias ffahud “hud_teamfrags_show 0;hud_frags_show 1;hud_recalculate”
alias otrohud “if $matchtype == solo then duelhud else if $matchtype == duel then duelhud else teamhud”
alias duelhud “hud_teamfrags_show 0;hud_frags_show 1;hud_recalculate”
alias teamhud “hud_frags_show 0;hud_teamfrags_show 1;hud_recalculate”
Para que funcione bien tenéis que tener preconfigurados los parámetros “hud_frags_” y “hud_teamfrags_”. Os pongo los que tengo en mi cfg para daros una idea:> hud_frags_align_x “left”
hud_frags_align_y “top”
hud_frags_cell_height “8”
hud_frags_cell_width “32”
hud_frags_cols “1”
hud_frags_fliptext “0”
hud_frags_frame “0”
hud_frags_padtext “1”
hud_frags_place “screen”
hud_frags_pos_x “0”
hud_frags_pos_y “190”
hud_frags_rows “3”
hud_frags_show “0”
hud_frags_shownames “1”
hud_frags_showself_always “1”
hud_frags_showteams “0”
hud_frags_space_x “3”
hud_frags_space_y “1”
hud_frags_strip “1”
hud_frags_style “0”
hud_frags_teamsort “0”
hud_frags_vertical “0”
hud_frags_extra_spec_info “0”
hud_teamfrags_align_x “left”
hud_teamfrags_align_y “top”
hud_teamfrags_cell_height “8”
hud_teamfrags_cell_width “32”
hud_teamfrags_cols “1”
hud_teamfrags_fliptext “0”
hud_teamfrags_frame “0”
hud_teamfrags_padtext “1”
hud_teamfrags_place “screen”
hud_teamfrags_pos_x “0”
hud_teamfrags_pos_y “190”
hud_teamfrags_rows “2”
hud_teamfrags_show “1”
hud_teamfrags_shownames “1”
hud_teamfrags_space_x “3”
hud_teamfrags_space_y “1”
hud_teamfrags_strip “1”
hud_teamfrags_style “5”
hud_teamfrags_vertical “0”
hud_teamfrags_extra_spec_info “0”
Un saludo

Los más activos en Configuración avanzada