ETScript v0.2 released!


(Flippy) #1

Finally I got something cooked up again…

Version 0.2 of ETScript, the program that helps you write a script file for your map!

New features since 0.1 in short:

  • Usual notepad-like features (cut, copy, paste, select all, find, replace etc).
  • Complete scripting reference including usage and description.
  • Ability to edit this scripting reference.
  • Comes with Installer so you always have the right files.

Download:
http://rapidshare.com/files/39250287/ETScript_v02.zip.html

Readme:

ETScript	-	V 0.2
--------

Made by Nick Thissen	aka Flippy	aka reT!reD.Nick
[email]r0fnick@gmail.com[/email]

============


0. SPECIAL NOTES - Vista Users
1. ABOUT
2. FEATURES
3. KNOWN BUGS
4. TO DO
5. CREDITS
6. BUG REPORT


============



0. Special Notes - Vista users
================

If you are using Windows Vista, the program will have the 
Windows Classic look by default.
If you want your buttons etc to look like Vista, you will have 
to set the Compatibility of the program to "Windows XP - SP2".

To do this:
- Go to the installation folder (usually "C:\Program Files\ETScript")
and locate "ETScript.exe".

- Rightclick this file and go to the "Compatibility" tab.

- Check "Run this program in compatibility mode for:" and choose 
"Windows XP (Service Pack 2)"



1. About
========

This program will help you writing script files for
Wolfenstein Enemy Territory maps.
It features a few handy things that will make your
scripting life easier!

This program is made in Visual Basic 6, in Windows Vista.
Tested to run in both Windows XP and Windows Vista.


In the Options menu, you can specify the path to your
Enemy Territory folder. Click the Browse button and select
any file inside the folder that contains your script files
(usually etmain\maps).
If you specify this, the Open and Save dialog boxes will
default to that location.
By default, this is set to:
"C:\Program Files\Wolfenstein - Enemy Territory\etmain\maps"


Any options you set get stored in the file "options.dat".
Please do not edit this file if you don't know what you're doing.
The line numbers for each option are hardcoded into the program.
IF you must edit this file, be sure to keep every setting on the same line!

---------------------------------------------------------------------------------


2. Features
===========

Currently, the program features:

- Notepad-like script editor:
	Open and save in the .script filetype by default, never worry about
	the wrong filetype again!

- Syntax Highlighting:
	Special scriptcommands are colored, so you can easily see what you're
	doing!

- Customizable Preset:
	If checked in the Options menu, the program will load a game_manager
	preset when you open a new file.
	You can customize the preset by simply editing the "preset.txt" file.


NEW IN V0.2:
----
	
- TreeView with the complete scripting reference from Chruker's website.
    	Select any script command and see it's usage and description.
	Doubleclick any command and it will insert itself into the script, at the
	last cursor position.
	Unfortunately, I didn't have the time to include ALL commands yet. Only
	about 1/3 of the commands are currently there. It will include all commands 
	in the next release.
	You can hide or unhide the treeview with Ctrl+T or via the View menu.

	A script reference editor is also included, which allows you to easily view all commands
	as well as edit their descriptions.

- Standard notepad functions:
	Cut, Copy, Paste, Select All, Find, Replace, and a buggy GoTo.
	There is also an option to insert the current Date and Mapname (only if you have a map loaded).

---------------------------------------------------------------------------------


3. Known Bugs
=============

- Not really a bug, but when loading a very large script file, it can take a few
seconds to load the syntax highlighting. Please have patience for this, I will
try to make it faster in the future.

- Searching "Upwards" (selecting the "Up" radiobutton) in the Find dialog can be very slow, especially on
  large files, and might crash the program. Use with caution!

---------------------------------------------------------------------------------


4. To do
========

In the future I'm planning to add a few very cool features.
I don't promise anything, I don't know if I can pull it off.


- IntelliSense:
	A form of auto-completion that will show you a popup with available commands
	for the part of a command you typed.
	Example, type "abor", and a popup will show, saying "abort_if_equal, abort_if_not_equal, etc..."

- ToolTips:
	A tip popup that will tell you exactly what the command you typed
	does, and how you need to use it.

- Automatic indentation / tabbing

- Scriptname/targetname import from map file



---------------------------------------------------------------------------------


5. Credits
==========

I would like to thank Chruker, for his complete scripting reference:
http://games.chruker.dk/enemy_territory/scripting_reference.php

I would also like to thank Roeltje for his original idea (MasterScript), which
unfortunately never got finished.

And last but certainly not least, I would like to thank FreeVBCode, for the
Syntax Highlighting Textbox control, that is ofcourse the heart of this program:
http://www.freevbcode.com/ShowCode.Asp?ID=8548

---------------------------------------------------------------------------------


6. Bug Report
=============

Please report any bugs you find to the corresponding thread in the
SplashDamage forums, or email me: [email]r0fnick@gmail.com[/email]
Thanks in advance for your cooperation!

(Pytox) #2

Great!
Would like to try it out :slight_smile:


(broloi) #3

Ahh… Nice to see you’re still working on it :smiley:


(Flippy) #4

Finally got the weird error out :stuck_out_tongue:
It should work properly now!

Link added!


(Flippy) #5

I’ve just become aware of a small bug that prevents the options from saving right.

There is a hidden file called “options.dat”. If you unhide this file, any options you change in the ‘Edit - Options’ menu will be stored and loaded when you next load the program.
Because it is hidden by default the program cannot find it and does not save any changes to the options.


(==Troy==) #6

attrib -h :stuck_out_tongue:


(Flippy) #7

I made it hidden so people didnt go modify it, but didn’t know VB couldnt find it that way :stuck_out_tongue:


(Flippy) #8

Version 0.3 is already on the way!

I finally figured out the right way to add comment / uncomment block features.

Basically they allow you to select a few lines of text, press a button (or shortcut) and the program will comment out the selected lines. Always a nifty feature if you ask me…