HelpDo I Need C++ Knowledge For Creating Source Engine Console ?

Posts 13 of 3 · Page 1 of 1
Do I Need C++ Knowledge For Creating Source Engine Console ?
And does anyone know any console source codes (apart from Hell Demon's mini console cause I've already seen it) that I can use to understand how they work? (for educational purposes obviously, I won't be ripping off code without credit)

Sorry if wrong section.

(the game is Vindictus if that matters)
Most of them are based off of my work, so won't be much of a difference.
The ones using a DOS window use AllocConsole like my oldest consoles did.

And yep, you need C++ for it.
You need to use AllocConsole, then have a way for the console to take input and output.
Here is a basic example.
Code:
int hCout;
 AllocConsole();
hCoutt = _open_osfhandle ((intptr_t) GetStdHandle(STD_OUTPUT_HANDLE), _O_TEXT);

//Free the console when you are done with it
FreeConsole();
Posts 13 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?