Game Development Community

iT2D 1.4 Beta - Can't open console

by Conor O'Kane · in iTorque 2D · 05/13/2010 (3:35 am) · 9 replies

Build: 1.4 Beta 1

Platform: Windows 7 and MacOS

Target: Stand Alone app

Issues: Press the ~ key to open the console and nothing happens.

#1
05/13/2010 (5:14 am)
By "Stand alone app" do you mean the game, or the TGB itself.
#2
05/13/2010 (5:38 am)
Both in the editor and my game.

I noticed that this line:
GlobalActionMap.bind(keyboard, $Project::Game::ConsoleBind, toggleConsole);
in common.cs was commented out so I uncommented it, but still no console so I assume it's disabled somewhere in the source code.
#3
05/13/2010 (5:50 am)
Console has not been enabled for quite some time, as it is nonsensical on the device,

Re-adding the console as part of the windows/mac builds is in progress though ( just not in the current beta 1 ).
#4
05/13/2010 (6:03 am)
I agree the console has no purpose on the device, and should be disabled when running on the hardware, but it's very useful for development so it would be great to have it back.
#5
05/13/2010 (6:07 am)
Agreed! It is going to make a comeback for sure.
#6
05/13/2010 (9:05 am)
Logged in bug tracker as a task: ITGB-40
#7
05/14/2010 (4:20 am)
Opening console in the editor is done through control + console key and I think has been like that for a long time (can't remember when but on the TGB - iTGB side it has been like that for quite some time)
#8
05/14/2010 (5:05 am)
haha, i never knew that even. Nice info, Marc.
#9
12/11/2011 (9:19 pm)
Another gem found after digging through the forums!

What commands do you all use in the console? I tried alxplay(sound), but wound up having to exec("/scripts/audio.cs" first.

I found a comprehensive list on TDN, and will be reading for a while, : tdn.garagegames.com/wiki/TorqueScript_Console_Functions_1

But would like to know how you veterans use it day to day.