therfiles Posted October 24, 2012 Posted October 24, 2012 Alright. So I have this really cool idea, but I need to be able to change the hud, real-time. So I go in to the console and use "cg_hudfiles" plus my .txt containing the menu loader (default is ui/jahud.txt). This works fine, but It requires me to reload the map "re-devmap it" before it changes the hud. I need it to change as soon as cg_hudfiles changes. I tried a command I found, "loadhud", but it was a dud. Anyone know how to do this? I would be forever grateful!
eezstreet Posted October 24, 2012 Posted October 24, 2012 vid_restart reloads the game. Not sure if that's what you're after. therfiles likes this
therfiles Posted October 24, 2012 Author Posted October 24, 2012 Hm...I don't think that would work. It needs to seamlessly change the hud, with no disruption to the gameplay. Thanks, though.
Raz0r Posted October 24, 2012 Posted October 24, 2012 try ui_load? it doesn't say it's a command, but it's handled specifically. I use it to reload .menu changes, might work.
therfiles Posted October 24, 2012 Author Posted October 24, 2012 Hmmm...interesting. Ui_load does in fact load all the menus again, but the hud suddenly becomes invisible. You have to type "loadhud" in for it to come back, but it's still the original one, not the new one I need loaded. Close, but no cigar.
therfiles Posted October 24, 2012 Author Posted October 24, 2012 It's not to big a deal if we can't figure it out. We could use @eezstreet's hud-jailbreak plugin, if he lets us, when it comes out. But being able to change the hud via console would be so much easier.
RancorSNP Posted October 25, 2012 Posted October 25, 2012 There actually is a command for toggling huds, you can find it in articles on my site www.jediacademy.cba.pl artykuły - komendy -> lista komend jk3.Writing from phone so can't link directly.The only problem is to figure out how to name your hud so ingame cmd finds it.Search for something like nexthud therfiles likes this
therfiles Posted October 25, 2012 Author Posted October 25, 2012 Hmmm...nice and useful site, you have there! I didn't see anything like 'nexthud'...all I can see that do anything hud-wise is "Cg_hudfiles" and "cf_hudcolor", the latter of which I have never heard of. I also saw a command called 'nextframe'. Does that have anything to do with it? Will run some tests today.
afi Posted October 25, 2012 Posted October 25, 2012 "nextframe", "prevframe", "nextskin", and "prevskin" commands will change the frame or skin of the testmodel. I don't think that nexthud exists therfiles likes this
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now