PDA

View Full Version : ArmA (OFP) Script Editor



NoRailgunner
Jun 12 2007, 14:21
ArmA Script Editor developed by Chris Henderson
This is a full color script editor and file creator. It also has built in WIZARDS for quickly and easily creating briefings, overviews, custom units, custom crates, and description files. Plus much, much, more! Check it out! Makes finishing and customizing your ARMA/OFP missions a snap.
http://www.chenderman.com/images/Web/ARMAEDIT.JPG
Features
Included File Wizards:


Briefing Wizard (Creates single and multiplayer mission briefings)
Overview Wizard (Creates a single player mission overview)
Custom Unit Wizard (Create any unit load-out you want)
Crate Builder Wizard (Easily build custom ammo crates)
Description Wizard (Easily add gear, respawning, sounds, and music)

Text Editing Features:


Auto-complete text insertion and word learning.
Double click word selection.
Drag and drop text in same window or across multiple documents.
Advanced text features like increase/decrease indent, make upper/lower case.
Advanced search. Search for text in the current selection to all project files.

+ Project work environment. Keep track of all your current mission files.
+ Save, create, and edit text snippets that can be inserted into any document at any time.
+ Labels combo makes it easy to find and jump to script labels/classes.
+ Toggle between ARMA and OFP weapons and commands.
+ Edit data files to add commands, weapons, and ammo manually from within the application.
+ Built in HELP for all wizards, OFP files, scripting, and how to get started.
+ Install is an official Windows Installer Package. Super-clean uninstall.
+ MUCH, MUCH MORE!! Try it out!

Download @<hidden> Armaholic (http://www.armaholic.com/page.php?id=1455)
(Please uninstall any older versions before installing this new version! )

nettrucker
Jun 12 2007, 18:17
Hello NoRailgunner
Thanks for releasing this fine tool. I tried to install also the upgrade but it gave me an error message due to a missing DLL and therefore I couldn&#39;t install it. The missing DLL in question is MFC700DLL
Anyway thanks for releasing your fantastic editor tool.
Keep up the good work.
By the way I&#39;m missing a little bit the class for radio sounds in the description wizzard that would be a nice feature to be implemented.
Cheers
nettrucker http://forums.bistudio.com/oldsmileys/biggrin_o.gif

NoRailgunner
Jun 12 2007, 20:57
Sorry, but as i wrote in title this tiny tool is made by Chris Henderman - not by me http://forums.bistudio.com/oldsmileys/wink_o.gif
Trouble with dll&#39;s? Maybe you search & find here-click&#33; (http://www.dll-files.com/)

have a nice day&#33;

[APS]Gnat
Jun 12 2007, 23:42
Top job Chris &#33;

RangerX3X
Jun 13 2007, 02:03
Using the Custom Unit Wizard creates units that start out with a loaded weapon, but not selected as in this script:

; ****************************************************************
; Custom unit script for Armed Assault
; Created with ArmA Edit - Version 1.1.0000
; HELP: Run this script from the INITIALIZATION box of the unit.
; CODE: [this] exec "UNIT_542.sqs"
; ****************************************************************

; Get the unit parameter given
_unit = _this select 0

; Strip the units current gear
removeAllWeapons _unit

; Add the new gear to the unit
_unit addMagazine "30Rnd_556x45_Stanag"
_unit addMagazine "30Rnd_556x45_Stanag"
_unit addMagazine "30Rnd_556x45_Stanag"
_unit addMagazine "30Rnd_556x45_Stanag"
_unit addMagazine "30Rnd_556x45_Stanag"
_unit addMagazine "1Rnd_HE_M203"
_unit addMagazine "1Rnd_HE_M203"
_unit addMagazine "1Rnd_HE_M203"
_unit addWeapon "M4A1GL"
_unit selectWeapon "M4A1GL"
_unit addMagazine "M136"
_unit addMagazine "M136"
_unit addMagazine "M136"
_unit addWeapon "M136"
_unit addMagazine "15Rnd_9x19_M9SD"
_unit addMagazine "15Rnd_9x19_M9SD"
_unit addMagazine "15Rnd_9x19_M9SD"
_unit addMagazine "15Rnd_9x19_M9SD"
_unit addMagazine "15Rnd_9x19_M9SD"
_unit addWeapon "M9SD"
_unit addMagazine "HandGrenadeTimed"
_unit addWeapon "Binocular"
_unit addWeapon "NVGoggles"

Exit

It causes the user to have to press F to cycle to either single or burst mode.

Not sure if this is an issue with ArmA or just how the editor creates the script.

nettrucker
Jun 13 2007, 07:53
Sorry
thought you were Chris with the nick of NoRailgunner. Anyway thanks to Chris.
Cheers
nettrucker http://forums.bistudio.com/oldsmileys/biggrin_o.gif

MattXR
Jun 13 2007, 12:59
It causes the user to have to press F to cycle to either single or burst mode.

Not sure if this is an issue with ArmA or just how the editor creates the script.
You have to do that anyways to get single or burst http://forums.bistudio.com/oldsmileys/confused_o.gif

RangerX3X
Jun 13 2007, 21:04
It causes the user to have to press F to cycle to either single or burst mode.

Not sure if this is an issue with ArmA or just how the editor creates the script.
You have to do that anyways to get single or burst  http://forums.bistudio.com/oldsmileys/confused_o.gif
No, you don&#39;t.

OK, here we go:

1) Normal Rifleman

http://www.alliedwarmachine.us/upload/weapon1.gif

2.) Adding this script:

; ****************************************************************
; Custom unit script for Armed Assault
; Created with ArmA Edit - Version 1.1.0000
; HELP: Run this script from the INITIALIZATION box of the unit.
; CODE: [this] exec "UNIT_242.sqs"
; ****************************************************************

; Get the unit parameter given
_unit = _this select 0

; Strip the units current gear
removeAllWeapons _unit

; Add the new gear to the unit
_unit addMagazine "30Rnd_556x45_Stanag"
_unit addMagazine "30Rnd_556x45_Stanag"
_unit addMagazine "30Rnd_556x45_Stanag"
_unit addMagazine "1Rnd_HE_M203"
_unit addMagazine "1Rnd_HE_M203"
_unit addMagazine "1Rnd_HE_M203"
_unit addWeapon "M4A1GL"
_unit selectWeapon "M4A1GL"
_unit addMagazine "M136"
_unit addMagazine "M136"
_unit addMagazine "M136"
_unit addWeapon "M136"
_unit addMagazine "15Rnd_9x19_M9"
_unit addMagazine "15Rnd_9x19_M9"
_unit addMagazine "15Rnd_9x19_M9"
_unit addWeapon "M9"
_unit addMagazine "HandGrenade"
_unit addMagazine "HandGrenade"
_unit addMagazine "HandGrenade"
_unit addWeapon "Binocular"
_unit addWeapon "NVGoggles"

Exit

http://www.alliedwarmachine.us/upload/weapon2.gif

3. End result: No "weapon" is selected in the upper left corner; pulling the trigger does nothing. Player must cycle "F" key to get to single or burst mode.

http://www.alliedwarmachine.us/upload/weapon3.gif

MattXR
Jun 14 2007, 12:38
I see, thats because he&#39;s had his weapon taken from him and then a new weapon scripted to him so you press F to refresh that and everything goes back normal, its been around since OFP 1.0. Its not a bug.

Im sure pressing F at the start of the mission isnt going to kill anyone either lol.

Blanco
Jun 14 2007, 16:43
Shouldn&#39;t...

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_unit selectweapon &#40;primaryweapon _unit&#41;[/QUOTE]

...solve this?

Or maybe...
http://community.bistudio.com/wiki/reload

whisper
Jun 14 2007, 16:46
Shouldn&#39;t...

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_unit selectweapon &#40;primaryweapon _unit&#41;

...solve this?

Or maybe...
http://community.bistudio.com/wiki/reload[/QUOTE]
depends on weapon type. Not usefull for grenade launchers, from what I&#39;ve seen

RangerX3X
Jun 14 2007, 21:14
I see, thats because he&#39;s had his weapon taken from him and then a new weapon scripted to him so you press F to refresh that and everything goes back normal, its been around since OFP 1.0. Its not a bug.

Im sure pressing F at the start of the mission isnt going to kill anyone either lol.
The way the ArmA Editor runs the script generation it is incorrect.

The correct use for this particular package would be:

_unit selectWeapon "M4Muzzle"

Using this makes the weapon default on mission load to single shot mode just like the normal character model would.

RangerX3X
Jun 15 2007, 19:00
Also the Crate Builder Wizard is bugged. It generates scripts that have double quoatation marks causing the script to error out.

Here is an example:

; ****************************************************************
; Custom crate script for Armed Assault
; Created with ArmA Edit - Version 1.1.0000
; HELP: Run this script from the INITIALIZATION box of the crate.
; CODE: [this] exec "CRATE_374.sqs"
; ****************************************************************

; Get the crate parameter given
_crate = _this select 0

; Remove the stock items from the crate
clearMagazineCargo _crate
clearWeaponCargo _crate

; Add the items to the crate
_crate addMagazineCargo [""NVGoggles"", 2]
_crate addMagazineCargo [""TimeBomb"", 3]

Exit

Given that the wizards create more problems than they solve, I have two questions:

1.) Did Chris Henderson have any direct involvement in this ArmA Edit?
2.) Did whoever port this over to ArmA even bother to test it to see if it works?

If whoever is responsible for this can fix the script generation errors this will be a nice addition to the game. As it is now, it is nothing more than an annoyance in its current state.

Baddo
Jun 16 2007, 07:25
Send a report directly to Chris. He&#39;s the one behind this tool and there is absolutely no guarantee that he&#39;ll ever see your message here.

RangerX3X
Jun 16 2007, 13:17
Send a report directly to Chris. He&#39;s the one behind this tool and there is absolutely no guarantee that he&#39;ll ever see your message here.
I did that - waiting for a response.

I find it hard to believe this came from Chris as his OFP Editor was terrific and I still use that for ArmA (although I have to refer elsewhere for the class names obviously).

This ArmA Edit is really bugged up and not to his quality standards.

CHenderMan
Jun 18 2007, 15:49
Hey All,

Chris here. Thanks to all who like and use the editor. I have addressed all of the issues above (I think). Sorry, I&#39;m still getting it fixed up from swiching to ARMA. Haven&#39;t had the game but a few weeks and not everything is fully tested still.

Please keep sending me emails about any errors or problems and I will try to fix them ASAP.

[APS]Gnat
Jun 18 2007, 23:36
Thanks for poppin in Chris http://forums.bistudio.com/oldsmileys/thumbs-up.gif
Good to hear.

[DirTyDeeDs]-Ziggy-
Jun 19 2007, 01:12
thanks for the useful tool, and http://forums.bistudio.com/oldsmileys/welcome.gif to ArmA, Chris http://forums.bistudio.com/oldsmileys/biggrin_o.gif

NoRailgunner
Jun 22 2007, 19:13
*little update to version 1.1.2 see 1st page.

RangerX3X
Jun 22 2007, 20:02
Thank you sir. http://forums.bistudio.com/oldsmileys/notworthy.gif

Imutep
Jun 23 2007, 08:26
This is the best Script Editor i&#39;ve ever used.
Thanks for your work, Chris http://forums.bistudio.com/oldsmileys/smile_o.gif

ck-claw
Jun 23 2007, 13:22
The most versatile/useful tool about&#33; http://forums.bistudio.com/oldsmileys/notworthy.gif

Ti0n3r
Jun 27 2007, 19:48
Just found out about this. Thanks a lot Chris. The OFP script tool really made some parts of mission editing easy http://forums.bistudio.com/oldsmileys/smile_o.gif

Kristian
Jun 30 2007, 16:54
while I tried to install I got this message:
http://img222.imageshack.us/img222/4810/omgsb0.jpg

dunno what to do&#33;  http://forums.bistudio.com/oldsmileys/sad_o.gif

allso, I get this message:

http://img211.imageshack.us/img211/3922/lol1yq5.jpg

is there needed fgile "arma edit 110" or something.. :???&#33;&#33;&#33;
I a SO confused...

Rexxenexx
Jul 12 2007, 21:53
This is a MUST HAVE&#33; Thanks man&#33; No more copy/paste BS or line hunting. http://forums.bistudio.com/oldsmileys/notworthy.gif

Maximus-Sniper
Jul 13 2007, 02:02
Hi.

Can&#39;t get it to work http://forums.bistudio.com/oldsmileys/sad_o.gif Got this error all the time when i press File, View, Project...........

http://www.maximus-sniper.net/rast/arma/images/ArmA_Edit_error.jpg

Anyone have the same problem?

And i have tryed to install this on 3 different computers, same damn error. http://forums.bistudio.com/oldsmileys/sad_o.gif http://forums.bistudio.com/oldsmileys/banghead.gif

ck-claw
Jul 13 2007, 09:07
I&#39;m now getting a very similar error to this too&#33;

The ofp version ran great then started to do this,now the arma version aswell?

Maximus-Sniper
Jul 13 2007, 14:44
Hi.

I have tested it with the old OFP version to.. but same error.
I have reinstalled .NET Framework 1, 2 and 3 and still not work http://forums.bistudio.com/oldsmileys/help.gif ??

Imutep
Jul 13 2007, 16:06
Version 1.1.5000 is out few days ago http://forums.bistudio.com/oldsmileys/wink_o.gif

Quote[/b] ]
===============================================================================
Version 1.1.5000 Upgrades DATE: 07/06/07
===============================================================================
Added ability to use spaces and tabs before comments in scripts.
Added link to specific command help. Right click command and click "Get Command Help". This opens OFPEC.com online COMREF manual, so it requires an internet connection.
Changed the way the labels/class combo works. Improves typing speed on very long documents.
Added the ability to add multiple project files at once.
Added the ability to edit snippets after they have been created.
Magazines are now listed under the weapons they fit in the command tree.
Other minor misc. fixes and changes.

Link to ArmA Script Editor V1.1.5 by Chris (http://www.chenderman.com/ARMAEDIT.htm)

Now it should works fine. I got no problems now http://forums.bistudio.com/oldsmileys/smile_o.gif

Maximus-Sniper
Jul 13 2007, 16:23
Hi.

I have the newest version, and i have tested some older version too.. But no luck. Maybe that program is not meant for me now http://forums.bistudio.com/oldsmileys/help.gif This is really strange, can&#39;t get it to work on any of my computers, have tested it on 3 computers, same problem.

@<hidden> what .NET Framework have u installed on your computer?

Imutep
Jul 13 2007, 18:22
Only Version 1.1...at the moment

Maximus-Sniper
Jul 14 2007, 09:12
Hi.

I found the problem... reinstall of Win XP Pro, LOOOOOL http://forums.bistudio.com/oldsmileys/rofl.gif
Thanks anyway http://forums.bistudio.com/oldsmileys/smile_o.gif

ck-claw
Jul 14 2007, 09:42
Hi.

I found the problem... reinstall of Win XP Pro, LOOOOOL http://forums.bistudio.com/oldsmileys/rofl.gif
Thanks anyway http://forums.bistudio.com/oldsmileys/smile_o.gif
Gez&#33; http://forums.bistudio.com/oldsmileys/wow_o.gif

I guess my Arma-edit wont be working for awhile then&#33; http://forums.bistudio.com/oldsmileys/wink_o.gif

Imutep
Jul 14 2007, 13:23
Hi.

I found the problem... reinstall of Win XP Pro, LOOOOOL http://forums.bistudio.com/oldsmileys/rofl.gif
Thanks anyway http://forums.bistudio.com/oldsmileys/smile_o.gif
OMG http://forums.bistudio.com/oldsmileys/biggrin_o.gif what people do for ArmA

Maximus-Sniper
Jul 14 2007, 13:41
hehe... I&#39;m crazy sometimes http://forums.bistudio.com/oldsmileys/biggrin_o.gif http://forums.bistudio.com/oldsmileys/rofl.gif http://forums.bistudio.com/oldsmileys/rofl.gif http://forums.bistudio.com/oldsmileys/rofl.gif
As I always say "Reinstall fix almost all problems, It&#39;s not that I&#39;m so smart, it&#39;s just that I stay with problems longer." http://forums.bistudio.com/oldsmileys/biggrin_o.gif

mrbean1112
Jul 15 2007, 22:53
I&#39;m Also getting that memory read error.
=[
http://forums.bistudio.com/oldsmileys/help.gif

ck-claw
Jul 15 2007, 23:15
yeah its a huge pain when ya create a huge custom create-then that happens&#33; http://forums.bistudio.com/oldsmileys/banghead.gif

nettrucker
Aug 3 2007, 20:49
Hello Chris.
My congrats to a well made editing tool: I already used your editor for OFP and it was simply great. It saved me lots of time doing things. There&#39;s one thing though I still miss in your AA editor and which I missed also in the OFP version.
The feature I miss has to do with soundediting and the creating of the description file.
I miss the radio class, because if I&#39;m not wrong the sound you hear when switching the radio on or of during communication is generated automatically by the radio class. In ArmA you hear a kind of a beep and in old OFP it was just some static white noise with some distortion I guess. Using for radio sounds the radio class the switch on-off sound is created automatically. If you use simply the sound class these sounds are not there and you have to create them on your own when creating the radio files.
For the rest this is a very well made editing tool.
Thanks for releasing it to the community.
Stay tuned
nettrucker http://forums.bistudio.com/oldsmileys/biggrin_o.gif

pcpilot
Aug 7 2007, 03:39
Just popped in to say that this is a VERY cool utility. I have REALLY needed something like this since Arma came out. Sure makes life easier with the breifings, etc. Thanks Chris... http://forums.bistudio.com/oldsmileys/notworthy.gif http://forums.bistudio.com/oldsmileys/yay.gif

ck-claw
Aug 7 2007, 06:17
Yeah since the last release,seems to be fixed for me&#33; http://forums.bistudio.com/oldsmileys/smile_o.gif

NoRailgunner
Oct 9 2007, 20:09
sorry - now new version is 1.2.6&#33;
make some nice mission and campaigns http://forums.bistudio.com/oldsmileys/wink_o.gif

Tankbuster
Nov 26 2007, 08:57
I can&#39;t seem to add line feeds in the briefing wizard, so all my text is in one nasty lump.
Am I doing something wrong?

MattXR
Nov 26 2007, 11:39
new version is out check his website on the first post. This tool is amazing, i dunno where i would of been without it.  http://forums.bistudio.com/oldsmileys/notworthy.gif

Remeber To Uninstall any OLD versions before installing the new downloaded version&#33;&#33;&#33;


Quote[/b] ]Version 1.2.7500 DATE: 11/07/07
------------------------------------------------------------------------------------------
---------------------
- Slightly enhanced some text editing features.
- Added more sound classes and made a few changes to the Description Wizard.
- Other minor misc. fixes and changes.



===============================================================================
Version 1.2.7000 DATE: 10/28/07
------------------------------------------------------------------------------------------
---------------------
- Added advanced find and replace dialog for finding and replacing text in multiple files.
- Added tool for localizing all strings in a project to the string table.
* Fixed drawing and scrolling problem sometimes with undo and redo.
- Other minor misc. fixes and changes.

Tankbuster
Nov 26 2007, 15:13
I have the latest version, 1.2.7500.

Imutep
Feb 29 2008, 12:48
New version 1.2.9500 is out http://forums.bistudio.com/oldsmileys/xmas_o.gif

Download Version 1.2.9500 (http://www.chenderman.com/armaedit.php)

Regards

zGuba
Mar 15 2008, 11:58
Hope it won&#39;t spoil unicode files anymore... ISO/ANSI is a bit out of step...

lucifervivo
Sep 8 2008, 19:07
Hi first of all thanks for this great editing tool&#33;&#33; i´ve been using it for months and with great results.

But now i have a problem, i got vista 64 and the program do not seems to work with it. Do you know if its compatible??, if not have you think in make one version compatible.

Thanks for that great work&#33;&#33;
regards from spain&#33;&#33;&#33;

MattXR
Sep 8 2008, 21:41
i dont no what i would do with out this tool, its definitly a key feature of my arsonal.

lucifervivo
Sep 9 2008, 08:21
well i can confirm its copatible, a friend send me the program unpackaged and i´ve copied the folder into my HD.
It works. So the only problem with vista 64 is that you cannot install it by yourself.

Thanks to all

Dwarden
Sep 9 2008, 10:12
sorry to ask stupid question bud does it have now ability to detect unclosed {} [] () "" &#39;&#39; missing ; at end of lines etc like PSPad ?

Commando84
Sep 9 2008, 10:29
Hi I have a idea for your script editor, i know it handles like official files but i wish there was a easy graphical script editor that could edit warefare missions http://forums.bistudio.com/oldsmileys/biggrin_o.gif
So i could like edit the warefare scripts in a graphical style like this editor. And since warefare mission is sort of official stuff and all..

{USI}_Zombie
Dec 6 2009, 23:07
I absolutely love this tool, and couldn't get by without it. There is one feature I could use though, a wildcard find/replace. I can find all entries like loon1, loon2,loon3 etc but a feature like find loon* which would find all entries that start with loon would be SO handy for multiple find/replaces