Quote: "Can I make a hud that is hidden appear by pressing a certain button? For instance, make the kill count hud appear by pressing "tab" or "caps"."
Yes, you can. For example, I have a series of maps that the player can preview for that level. I place a trigger zone where the player would pass through, and the following script will show the map when they press "M". At the end of the sequence (after map10), the map hud hides until called again with the "M" key.
Our map script:
;Artifical Inteligence Script::::::::::::::::::::::::::
desc = Shows Map Text HUD (When M Key Is Pressed)
;Triggers
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=huds\imperium_df\imp_df_l01_map01.tga,hudname=map1,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=huds\imperium_df\imp_df_l01_map02.tga,hudname=map2,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=huds\imperium_df\imp_df_l01_map03.tga,hudname=map3,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=huds\imperium_df\imp_df_l01_map04.tga,hudname=map4,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=huds\imperium_df\imp_df_l01_map05.tga,hudname=map5,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=huds\imperium_df\imp_df_l01_map06.tga,hudname=map6,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=huds\imperium_df\imp_df_l01_map07.tga,hudname=map7,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=huds\imperium_df\imp_df_l01_map08.tga,hudname=map8,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=huds\imperium_df\imp_df_l01_map09.tga,hudname=map9,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=huds\imperium_df\imp_df_l01_map10.tga,hudname=map10,hudhide=1,hudmake=display,state=10
;M Key Pressed
:state=10,plrwithinzone=1
:state=10,scancodekeypressed=50:hudshow=map1,etimerstart,state=15
:state=15,etimergreater=500,scancodekeypressed=50:hudunshow=map1,state=20
:state=20,scancodekeypressed=50:hudshow=map2,etimerstart,state=25
:state=25,etimergreater=500,scancodekeypressed=50:hudunshow=map2,state=30
:state=30,scancodekeypressed=50:hudshow=map3,etimerstart,state=35
:state=35,etimergreater=500,scancodekeypressed=50:hudunshow=map3,state=40
:state=40,scancodekeypressed=50:hudshow=map4,etimerstart,state=45
:state=45,etimergreater=500,scancodekeypressed=50:hudunshow=map4,state=50
:state=50,scancodekeypressed=50:hudshow=map5,etimerstart,state=55
:state=55,etimergreater=500,scancodekeypressed=50:hudunshow=map5,state=60
:state=60,scancodekeypressed=50:hudshow=map6,etimerstart,state=65
:state=65,etimergreater=500,scancodekeypressed=50:hudunshow=map6,state=70
:state=70,scancodekeypressed=50:hudshow=map7,etimerstart,state=75
:state=75,etimergreater=500,scancodekeypressed=50:hudunshow=map7,state=80
:state=80,scancodekeypressed=50:hudshow=map8,etimerstart,state=85
:state=85,etimergreater=500,scancodekeypressed=50:hudunshow=map8,state=90
:state=90,scancodekeypressed=50:hudshow=map9,etimerstart,state=95
:state=95,etimergreater=500,scancodekeypressed=50:hudunshow=map9,state=100
:state=100,scancodekeypressed=50:hudshow=map10,etimerstart,state=105
:state=105,etimergreater=500,scancodekeypressed=50:hudunshow=map10,state=110
:state=110,scancodekeypressed=50:etimerstart,state=115
:state=115,etimergreater=500:state=10
;End of Script
This should give you some idea how to do it. Feel free to alter to your needs.
Twitter: @NFoxMedia