Can we simulate a CLI in a UE game?

Hi,

I have this concept for a game and have been looking into UE to try to realize it. UE seems like a powerful engine to use and the tons of video tutorials make learning it so much easier. But anyway, the concept is basically that you’re playing a first person game and somewhere along the line the game “crashes” you to the command line and you have to use commands like clr, ls (or dir), cd, cat etc. to change directories, find and run a file to restart the game.
I’ve googled all over but I couldn’t find whether it’s possible to do this in UE, i.e. simulate a command line interface that accepts some basic commands and reacts to them accordingly. It’s probably a long shot, but I’m hoping it can be done.

I’m a novice to UE myself, but im confident that this could be done (in almost any 3d engine, really, depending on your knowledge of it.)

Sounds promising. I’d like to know how to do it.

You could probably mimic the CMD interface in a widget blueprint, allowing a text box for the user to type the commands in. This would probably be the smart place to start. Bind the text on screen to text variables that change when commands are submitted (If they are equal to the text of the command you want them to execute)

Just a thought, hope this gives you a starting point to work on :slight_smile:

Ah thanks. I’ll look into widgets and widget blueprints :slight_smile:

There’s a developer’s console accessed via ~ like in Valve games, if that’s what you mean.