Hello !
Im trying to create a virtual console Main Menu, something like the windows CMD prompt but way simpler.
The idea is that the player can type some specific commands and get specific results based on the typed command.
I already have the interface setup where the player can type a command and the “pc” can give answers like : “error”, or “command confirmed”
I would like this system to do a lot of things, for example :
PLAY_ANIM_00 > play the idle animation on the character
PLAY_ANIM_01 > play the walking forward animation on characterPLAY_LVL_00 > load and open the first level of the game
PLAY_DISC_14 > Play a music track
INFO_PLAYER > display a list of commands for the player
SETUP_PLAYER_BINDS > open a config screen to change the game’s inputs
.. and so on ..
But i would also like to have some Easter Eggs commands that give you some jokes as an answer :
FORMAT_C > terminal replies : “no way bro”
But if you type something that is not in the valid commands list :
ZHHGDI_DFEWIUZG > Terminal replies : Error
You get the idea, i need a lot of commands, all will have a specific answer from the terminal, the answers need to have a specific color
- So i need an input Text (what the player typed)
- An Answer Text
- A color assigned to each answer
I guess i should use a DataTable with a structure and then check if my input Text is present in the DataTable and if true, then get its related pc answer but im not sure if its the best solution.
How would you set up something like that if you keep in mind that i need a lot of commands (100-300 ) ?