OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Platoon Patton on 18 Sep 2005, 00:45:51

Title: Debug Console
Post by: Platoon Patton on 18 Sep 2005, 00:45:51
Does somebody know the story of this inbuild console?
What happened with it?Disabled like DebugLog command?
Would be nice to log errors so we can see where the #error is situated in long outputs.

(http://users.pandora.be/Patton./debug.jpg)



#Image size edited by macguba
Title: Re:Debug Console
Post by: paddy on 21 Sep 2005, 10:20:59
where did u get this, is it a screenie u found or is this taken ingame, do you have the original mission for this, this looks very interesting ...
Title: Re:Debug Console
Post by: Platoon Patton on 21 Sep 2005, 12:14:20
This dialog,called RscDisplayDebug,is defined inRES\ BIN\Resource.BIN.

You can simply create it in the mission editor,make a trigger Radio Alpha,on activation:
[] exec ""createdialog.sqs"

In createdialog.sqs:
_ok = createDialog "RscDisplayDebug"

Errors occure when U click the buttons,the actions are:
"diag_toggle ""collision"
""all" diag_enable false"
"diag_drawmode ""FireGeometry"

etc  ???
Title: Re:Debug Console
Post by: paddy on 21 Sep 2005, 15:48:18
maybe it had something to do with the defunct 'debuglog' command.

Whatever it is, it's clearly bin deactivated, and w/o its functionality it's pretty much useless.
Title: Re:Debug Console
Post by: h- on 21 Sep 2005, 16:26:01
That was puzzling me too when someone showed me that long time ago...

All those buttons like Geom. etc clearly have something to do with models...