hi all, how are we today?
i am having trouble with this system to holster weapons.
first, theres a hud that should show up once i hit the "h" key
its script is as follows
;Artificial Intelligence Script
;Header
desc = Weapon HUD
;Triggers
:state=0:hudreset,hudx=50,hudy=67,hudimagefine=gamecorehudsweaponhudgun.tga,hudname=gunmenu,hudhide=1,hudmake=display,state=10
:state=10,scancodekeypressed=35:state=3,sound=audiobankmiscping.wav
:state=3:hudshow=gunmenu,hudfadeout=gunmenu
:state=3,scancodekeypressed=36:state=0,sound=audiobankmiscping.wav
and i put a hud i made called "gunmenu.tga" in
C:\Program Files\The Game Creators\FPS Creator\Files\languagebank\english\gamecore\huds
as well as
C:\Program Files\The Game Creators\FPS Creator\Files\gamecore\huds
and as for a weapon id change its main script with this one
;Artificial Intelligence Script
;Header
desc = Pickup Item (can drop - press 1) [SLOT 1] TRUNCHEON
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=languagebankenglishtextgamecoretextpidkedupaweapon.tga,hudname=itemprompt,hudhide=1,hudmake=display,state=10,coloff
;slot empty - take weapon
:state=10:globalvar=11
:state=10,plrdistwithin=40,varnotequal=37:state=2,playertake,hudshow=itemprompt,hudfadeout=itemprompt,globalvar=11,setvar=37
:state=2,scancodekeypressed=35:state=3
:state=3,scancodekeypressed=36:state=2
:state=3,scancodekeypressed=79:playerdrop
:state=4,plrdistfurther=45:state=10,globalvar=11,setvar=5
;End of Script
and i set always active to yes
but the hud does not show up, the weapon can be picked up but not put down, i cant pick up the same type of weapon for ammo, i cant rop the weapon, etc.
any help would be greatly appreciated
thanks
[url=http://profile.mygamercard.net/gorbafletch]