Jump to content
Sign in to follow this  
moricky

Debug Console

Recommended Posts

I want to present you my debug console which I used in OFP and which made my missionmaking much easier. It's based on FDF debug console, I just added new features and new interface. In ArmA is in form of addon, so you don't need to modify description.ext of missions.

It's working in missions, intros and outros not only in editor, but also in SP missions and in campaign (useful things for betatesters). Of course it's not working in multiplayer, because it's potential tool for cheaters.

DOWNLOAD [5 kB]

__

How to use

In mission/intro/outro go to interrupt menu and press 'Enter' - debug console will appear.

stra_debug_en.jpg

1. Value check line (if you vant to check multiple values, put them into array - [value1,value2])

2. Value result line

3. Button for checking value once

4. Button for checking value repeatedly (every 0.1 second)

5. Command line

6. Execute button for command line

7. Pause/Play buttons

8. Creates camera on players position with camera borders

9. Creates camera on players position without camera borders

Share this post


Link to post
Share on other sites

New version available on the same link, I fixed some camera creating bugs.

Share this post


Link to post
Share on other sites

Some feedback/visions/ideas:

- Could you make 2 versions, 1 as it is now and 1 that is implementable directly in a mission instead of needing the addon? This way we can use it however and whenever we want, don't need the addon on the servers or other clients as etc, but still also debug while on deddy servers..

- The location of the dialog should be better to the right upper corner, imho, instead of left down, as radio messages come by there, left upper corner = hints, and right side down.. I dunno, I prefer up biggrin_o.gif

Just some thoughts!

Share this post


Link to post
Share on other sites
Guest

This is a very nice tool, this will come in very handy for many mission makers! (including me smile_o.gif)

We made it news on Armaholic.com and we also mirror the file here.

[EDIT]Armaholic link updated to latest version.

Share this post


Link to post
Share on other sites

New version uploaded - now it's possible to move the console on screen.

- The location of the dialog should be better to the right upper corner... I dunno, I prefer up

And I prefer down - it's more ... natural smile_o.gif

I'll try to find a way how to customize it.

- Could you make 2 versions, 1 as it is now and 1 that is implementable directly in a mission instead of needing the addon? This way we can use it however and whenever we want, don't need the addon on the servers or other clients as etc, but still also debug while on deddy servers..

Hmm, does it mean to change also MP interrupt menu? I didn't wanted to do it.

But I'm not MP player and I'm SP mission-maker, so I don't know what is needed for create MP mission.

BTW: When you want non-addon debug console, try the one made by Vektorboson: http://home.arcor.de/vektorboson/res/console2.0.zip (decumentation is here).

Share this post


Link to post
Share on other sites

And once again, new version is available.

Now you can change cosnole position using stra_debug_x and stra_debug_y variables in your mission. Top right corner is:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">stra_debug_x = 0.54;

stra_debug_y = -0.68;

Share this post


Link to post
Share on other sites

Call me a noob but i dont see the use of this program.

I got some clues by reading the explanation of the numbers but i'm not sure if i got this right. Could somebody enlighten me? smile_o.gif

Share this post


Link to post
Share on other sites
Call me a noob but i dont see the use of this program.

I got some clues by reading the explanation of the numbers but i'm not sure if i got this right. Could somebody enlighten me? smile_o.gif

I´m even more a noob than you if it comes to mishun editing but the purpose of the tool seems to be enabling you passing commands over to various objects for testing w/o having to switch back to the editor all the time.

e.g. you wanna test if you can set a fireplace aflame instead of going back you´d use the console to give it the "objectname inflame true" command

Hopefully no BS biggrin_o.gif

Share this post


Link to post
Share on other sites
But what is the value check for then xD

To see if waypoints/triggers got activated, or units know about others? huh.gif

I already see blackdog~ getting a stroke because of my pointless guessing tounge2.gif

Share this post


Link to post
Share on other sites
...

Thank you very much m8, I had the console, altough an older version. The movement features  of your new version are great wink_o.gif

I couldn't be bothered to port the CoC console by/for CoC, so I simply exported your console and used an addaction command smile_o.gif If you wish I could share you the configuration. I wish we could hop you over to the MP though m8  notworthy.gif

Share this post


Link to post
Share on other sites

As I stated in some old thread, I hoped that something like this will be a default feature of ArmA. Glad you made it!

Share this post


Link to post
Share on other sites

nice work making this, but just to warn you fellows that this has now made it to a few cheat sites, expect some clever lil coder to alter this for MP and use it as the base for some cheats

Share this post


Link to post
Share on other sites

This is nice and usable little thingie, thanks for that.

I have just one suggestion:

Could we have the "variable value" field to be multiline?

Share this post


Link to post
Share on other sites

thnx Gnat,

can someone show me how to execute a script from this console?

i've written a blah.sqs and put it into /addons (is this where i suppose to put it?)

so how can i exec this fomr this console? thnx

Share this post


Link to post
Share on other sites

Doesnt work in addons, scripts have to be within the mission PBO file being played at the time.

..... one of the ways to stop little kiddies executing there own "special" scripts during MP sessions.

For SP, add your script to your mission folder before saving as a PBO mission. Then while playing that mission you can exec the script

Share this post


Link to post
Share on other sites

A few days ago I made MP version of debug console. I'm not going to release it free, but some MP missionmakers asked me if I could send it to them for personal use only. Here is list of them:

<span style='font-size:13pt;line-height:100%'>List of MP Debug Console owners</span>

All of them promised that they use it for developing missions only (and I trust them) and won't share it, but it will be better if their names will be known by public.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×