Forum Jump :

Author Message


Posts: 6
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2011-04-16 02:00        
     
Just the program (no source code): http://www.sskacy.com/releases/ArmA2CommandLookupExe.zip
Source code: http://www.sskacy.com/releases/ArmA2CommandLookupSource.zip

This utility allows you to quickly search through scripting commands as well as look up the documentation on these commands in the biswiki. I'm including the source code in C#. If you just want the executable, it can be found in "ArmA2CommandLookup\bin\Debug\ArmA2CommandLookup.exe". This is a simple program so it shouldn't have many issues, but if you come across any, let me know and I'll see about addressing them for you. The program requires a version of the .NET framework at or above version 3.5. It also requires a version of Windows at or above XP. I've included screenshots below to illustrate the functionality of this program:

How to use the program:
When you first run the program, the form will look just like figure 1 below. When you start to type a command, the list will narrow down to only commands that contain the string in the textbox (as shown in figure 2). You can press "Tab" to set the focus to the listbox and move up and down the items by pressing the "Up and "Down" arrows on your keyboard. Then press "Enter" to bring up the form with the embedded browser as shown in figure 3. This is quicker if you have fast fingers and the list is short. Otherwise, you may want to double-click the item. The browser will nagivate to the command that you just double-clicked or pressed enter while having it selected.

How to update it when new commands are released (I may not be here forever):
- Assuming that the wiki page used is in the same format, download the contents of the following page: http://community.bistudio.com/wiki/Category:Scripting_Commands_ArmA2
- Name that downloaded file "wikipage.htm" and place it in the folder as the program
- Run the program with the argument "-generatelist"
- "wikipage.csv" should now show up in the same folder as "wikipage.htm" and the program
- If the page format hasn't changed, the new commands should now show up. If it has changed, you'll get unexpected results and will have to replace the "wikipage.csv" with a backup (or regenerate it using the old wikipage.htm)
- Alternatively, you can just add the commands and the links to the documentation manually to the CSV

Figure 1:


Figure 2:


Figure 3:

This post was edited by sskacy (2011-04-16 20:46, ago)


Author Message


Posts: 2872
Rank:


Level: Member

Country: cn
Location: PRC
Occupation:
Age: 39
In-game name: DarkXess

 
#2 Posted at 2011-04-16 03:32        
     
Hey sskacy and welcome to Armaholic *HI*

Ive moved your thread into the "Addons and Mods: Complete" as this really is
an addon for mission makers using scripting commands, I myself will find this as
a good tool, thank you very much.

Edit: providing a little "how to" would be great also, haha ive just opened it up and
its a little complicated for people who are not common with C#. I looked around and
found the actual program in > "bin" > "Debug" > "ArmA2CommandLookup".

Thx again

This post was edited by DarkXess (2011-04-16 03:51, ago)

1st - Check The Rules! 2nd - Use The Search!

Advertisement


Author Message


Posts: 6
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#3 Posted at 2011-04-16 04:30        
     
# DarkXess : Hey sskacy and welcome to Armaholic *HI*

Ive moved your thread into the "Addons and Mods: Complete" as this really is
an addon for mission makers using scripting commands, I myself will find this as
a good tool, thank you very much.

Edit: providing a little "how to" would be great also, haha ive just opened it up and
its a little complicated for people who are not common with C#. I looked around and
found the actual program in > "bin" > "Debug" > "ArmA2CommandLookup".

Thx again

You are very welcome DarkXess, I'm glad this program is going to benefit more than just myself. I have included the requested information in the op.


Author Message


Posts: 2872
Rank:


Level: Member

Country: cn
Location: PRC
Occupation:
Age: 39
In-game name: DarkXess

 
#4 Posted at 2011-04-16 16:20        
     
Thanks for that.

Anyways, just a little hint... A nice looking icon on it instead of what it is now??? hehe...

Just an idea, though its up to you. :-)

1st - Check The Rules! 2nd - Use The Search!

Author Message


Posts: 6
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#5 Posted at 2011-04-17 01:24        
     
I think I'm going to do something similar with http://browser.dev-heaven.net. I'll release it here too if I get permission.


Author Message


Posts: 20727
Rank:


Level: Super Admin

Country: nl
Location: The Netherlands
Occupation:
Age: 45
In-game name: Foxhound

 
#6 Posted at 2011-04-18 19:41        
     
Nice work and thanks for posting here :-)
News on the frontpage and the files can be found on our downloadpage here:




Author Message


Posts: 204
Rank:


Level: Member

Country: en
Location: Bucks, UK
Occupation: Commercial Logistics Facilitator
Age: 54
In-game name: tankbusterspaff

 
#7 Posted at 2011-04-19 10:11        
     
# sskacy : I think I'm going to do something similar with http://browser.dev-heaven.net. I'll release it here too if I get permission.

Oh yeah, that'd be cool. Sickboy is quite accomodating - I'd expect him to be happy to help.


Author Message


Posts: 204
Rank:


Level: Member

Country: en
Location: Bucks, UK
Occupation: Commercial Logistics Facilitator
Age: 54
In-game name: tankbusterspaff

 
#8 Posted at 2011-06-03 23:31        
     
Found a missing bit :)

value in array