PDA

View Full Version : HUD: Hide Weapons



wilder
11-06-2009, 08:19 PM
Whats the command to hide weapons ingame?

Lunazure
11-06-2009, 08:46 PM
Are you referring specifically to playing in-game with no weapon equipped, or with no HUD showing? Both are easy within the editor.

To test your game with no weapons equipped, simply hit the main menu at the top left of the window and click View, then World Properties. From here, open the World Info tab and scroll down a bit until you see a parameter called "No Default Inventory for Player". Check this parameter and you're good to go! You should have nothing equipped while testing your map.

To test your game with no visible HUD, you'll have to open up Kismet. Right-click anywhere in the Kismet workspace to bring up the context menu. From here, click New Event, then Level Startup in the subsequent menu. Your Level Startup node will appear in the workspace, and it should have a single Out connector. Right-click in the open workspace again to bring back the menu, but this time click New Action ---> Toggle ---> Toggle HUD. Click and drag a wire from Level Startup's Out connector over to Toggle HUD's Hide connector. Now, again bring up the context menu and choose New Variable ---> Player ---> Player. A round, pink-bordered variable node will appear. Click and drag a wire from Toggle HUD's Target connector (it's on the bottom, bright pink) onto the Player variable. Ok, we're good! Now when you test your level, there should be no visible HUD.

Let me know if you have any further questions and I'll be happy to help! I've already begun work on a series of UDK-specific Unreal tutorials in order to help our community better understand the new features and their potential, as well as catering to people who are completely new to the Unreal community. Keep an eye out for them!

micahpharoh
11-06-2009, 08:52 PM
type "togglescreenshotmode" into the command prompt
do it twice if you need to

wilder
11-06-2009, 09:28 PM
Thanks guys, all good....

Jagen
01-24-2011, 05:04 PM
Hello Lunazure,
When removing the weapons and HUD using kismet two weird parts will appear.
See: http://forums.epicgames.com/showthread.php?t=719754
I'm a newbee and the solution does not ring a bell. Do you (or someone else) know a way to fix this?
Many thanks.