Download ETScript 4 beta!


(Flippy) #1

Yes, it’s finally read for download, the second Beta of ETScript 4!

If you have been living under a rock and have no idea what ETScript is, have a look here for the latest developments, screenshots etc:
http://www.splashdamage.com/forums/showthread.php?t=17760

Also make sure to have a look at the video’s of many features (some of them already old hehe)
http://www.splashdamage.com/forums/showthread.php?t=17870

Please note that this is a Beta version. I know there are still issues and missing features, but they hopefully won’t stop you from working with this application.

There is no Readme yet, I’m still working on that. However, here is a short changelog from the beta1 version:

Bugs fixed:
- Outlining is now reloaded after Splitting the document.
- Outlining now works properly for different brace syntax (opening brace on the same line as the class/event name).
- Map Select dropdown now positioned properly in the Auto-Backup Manager window.
- Apply button in options screen now applies changes correctly.
- Draw Line Modifications option now works.
- Entities are now coloured properly after changing BSP file.


New features:
- 'Script Directory' allows you to choose a script directory other than etmain\maps.
- File Browser now supports adding/removing directories.
- Select BSP file allows you to select a different BSP file manually to import entities from.
- Added a Date Filter calendar to the Auto-Backup Manager and Revert to Backup windows.

This release is meant mainly to receive some feedback from the community. If you find bugs, let me know. If you find something you don’t like, let me know. If you have a question, or can’t find something, let me know!
You can post in this thread, or you can email me directly at r0fnick [at] gmail [dot] com (yes, that’s with a zero).

Requirements:
Microsoft .NET Framework 3.5 or higher (can be downloaded for free on Microsoft.com)

DOWNLOAD
You may need to uninstall the beta1 version first if you see any weird trouble!
Rapidshare mirror
Sendspace mirror
Mirror by Nail
Need mirrors, thanks!
Note that links you may find later in this thread may be outdated. I will try to keep the list on this first post up to date. If you cannot find any working download, you can always email me at the address above.

Enjoy, and please let me know of any errors, bugs, requests, etc!


(Flippy) #2

Oh, and if it’s not too much trouble to upload it somewhere, I would appreciate a mirror very much! Rapidshare isn’t ideal… But please note that I may be releasing minor updates, so if it’s some trouble for you to provide a mirror please don’t, as it might become old fast :tongue:


(S14Y3R) #3

Wild!

FileFront man: http://files.filefront.com/ETScript4+beta+setupzip/;13755427;/fileinfo.html
added a “created by Flippy” readme there, that’s all.

I noticed the autobackup failed on initial startup, because it couldn’t find errorlog.txt, but its working fine now.

Will give more feedback one I’ve played with it a bit.

Good Job!


(Flippy) #4

Yeah I noticed that issue too. It seems to be related to the fact that there is no folder yet at the ApplicationSettings (hidden) directory to store my files in. I am pretty sure I am checking to see if it exists first though but for some reason it’s not doing that correctly. It will only happen the first time I think.

Oh and thanks for the mirror!


(S14Y3R) #5

nps. Loving it:

minor buts:
-splitting window kills all outlining capabilities, need to reload script to get it back
-outlining right click context menu disappeared after playing(won’t come back after reload, but is there on other newly opened scripts)

-if a class’s spawn is commented out(for testing), after ‘collapse all’ those class blocks can’t be opened(it shows as [//…])

I don’t know if I’m the only person to comment out ‘spawn’(there’s other chunks that i do the same on, for testing quick remove or w/e), just in case.

  • it would be great if after collapsing all, and opening a class block, all the events in the block would open too.

:smiley:
I’ll keep hunting.


(Flippy) #6

I noticed that you still get outlining on the lower editor, but not on the upper one. You do have to make a quick change to the text however to tell the editor to re-load the outlining. I will see if I can do anything about that.

Noted!.. Very wierd bug. Instead of my own context menu, a default context menu appears for some reason… I have no clue what happened here, as I don’t notice this effect during debugging.

Noted! Good work, these are the bugs I’m looking for as they really stop you from editing the code any further…

No idea if this is possible. I am simply calling a pre-made ‘collapse all’ function that also collapses the events. I’m not sure if I can manually collapse all classes only.

Thanks for your support!


(Diego) #7

[QUOTE=S14Y3R;190668]

  • it would be great if after collapsing all, and opening a class block, all the events in the block would open too.

:smiley:
I’ll keep hunting.[/QUOTE]

I wouldn’t want that as default behavior. That might be fine for small scripts, but I wouldn’t want every event in my tank script to open up when I uncollapse the class. The beauty of this tool is that it will allow me to see all of my events in a big script without too much scrolling. But I do see the value in this. I wouldn’t want to uncollapse all of them manually either if I needed to do that.

Perhaps if you pick a collapsed class and uncollapse it, it can perform the operation on just the class.
However, if you select uncollapse on an already uncollapsed class, it could force it to uncollapse all embeded events within that class that are still collapsed.

Anyway, I’ve got it downloaded, but I probably won’t be able to try it out until this weekend.


(Nail) #8

sorry, it took so long was a little busy. 4players.de was transferring us to a new webserver and I had to check everything but here’s a mirror, don’t worry about updates, I’ll update as you do

mirror:
http://ftp.freenet.de/pub/4players/hosted/et/tools/ETScript4_beta2_setup.zip


(Diego) #9

Ok, I opened it up tonight and now I have a better Idea what Slayer was getting at. Yeah, I was expecting the collapse button to collapse all of the classes in the script -not just the selected one. Yeah, I think it needs to collapse and uncollapse everything. If I want to collapse classes 1 at a time, I can just click on the + signs next to the class.


(Diego) #10

I had a bug:

I collapsed the game manager class and could not re-open it. It just showed me this:
+spawn…

Saw this same bug happen to other classes as well - one of which was a class that I had commented out.


(Flippy) #11

You need the Collapse All button for that.

The other bug seems to happen when you have commented out a class, im looking into that.


(Diego) #12

That bug did happen on a class I had commented out, but it also happend on the spawn section fof the game_manager class.


(Flippy) #13

I have some time this evening and I’ll check it out. I hope I can reproduce it, cause debugging it will be hard if I can’t :stuck_out_tongue:

One more thing that may not be directly obvious: the Intellisense list has ‘Common’ and ‘All’ buttons. If the All button is selected, the script- and targetnames of all your entities will be displayed as well.


(Magic) #14

Good work Flippy
Another mirror for you ETScript4 beta


(Flippy) #15

Thanks!

(10char)


(Flippy) #16

Some more comments on the bugs found so far:

  • Outlining bugs: Although I have seen them happening occasionally, I have not been able to reproduce them and knowing exactly what I did… So I still have no clue what’s causing this.
    Also, instead of the ‘Toggle Outlining Expansion’ button on the Toolbar, there are also the Collapse All and Expand All buttons in the Edit - Outlining menu, or the contextmenu. The Toggle outlining Expansion is the same as clicking the [+] or [-] icon, while the Collapse All button will collapse ALL outlining ranges (including the events).

  • Split view ‘bugs’: This is a limitation of the editor. You can only have outlining, contextmenu, etc on the lower editor while in split view. The upper editor is mainly for viewing a different part of the same script (although you can still edit text there).

  • Contextmenu changing: I have seen the contextmenu changing to the default (non-skinned) context menu while I was testing yesterday, but I haven’t seen it since. I think this is very weird, there is nothing that should cause this! I am assuming it is a bug in the editor which I probably can’t fix my self. If it happens to you (remember, there is usually a Office2007 skinned contextmenu, with Outlining menu, but if the bug occurs it will be a normal windows contextmenu with normal options), please let me know what you did so I can try to reproduce it!


(S14Y3R) #17

Ey, for the outlining, I’ve found it only does the bug if you use the ‘collapse_all’ with a spawn commented out, pressing the + - on that same block works well

-this will disable whole block after collapse all, you need to expand all to view it again
collapse_test
{
//spawn
//{
////these comments don’t affect
//}
}

but this doesn’t cause it, with that space there( it creates seperate [-] for spawn)
collapse_test
{

//spawn
//{
////these comments don’t affect
//}
}

split view(of same doc) -
-setting a bookmark in top window works flawlessly <3
-so no right click in top window? That’s okay, it shows you what line# you’re on if you need to move a block, or just set a bookmark there

but: splitting window always kills my outlining in bottom window, whether using button, or menu’s to split, and does not come back after switching to single view. (still need to reload) maybe its just my old machine, lol.
edit:fixed, it re-initiates after making a change

Context menu: I haven’t been able to re-create the context menu changing either, but it still only does it on that one script. But that one script is 10k+ lines…

New one:
In the Tools/Auto backup manager, the drop down menu doesn’t dissapear after selecting a script to browse backups
edit:was noted, img removed


(Flippy) #18

About the splitview breaking outlining: you need to make a change in your script to have the outlining reloaded. Outlines are only calculated when your script has changed otherwise it would lag to much. There is a simply enough fix for this (all I need to do is tell it to update after splitview) which I will implement in the next release. For now, I don’t think its a major problem to quickly put an enter somewhere and delete it again? That should recover the outlining.

The Autobackup manager screen is broken. That’s strange. The maplist should be embedded in the toolbar as in the screenshot below, but for some reason it’s floating outside it… I think I may have accidently dragged it out or something. I think it’s easy enough to fix.

It should be like this:


(Diego) #19

These images show you the bug I’m finding.
First image is the game_manager class in the script.
Second image is what it should look like when it is collapsed.
Third image is what I get when it breaks. When the collapsed class shows “spawn” instead of “game_manager”, I can only uncollapse it by uncollapsing the whole script.

By the way, how can I add the collapse/uncollapse all buttons to the toolbar?


(Flippy) #20

Cool, I was able to reproduce that bug. The problem seems to be with the way you format your code, using the opening brace on the same line as the event name. You may notice that you also do not get the option to collapse the event this way. However, it does work (not 100% correctly though) if there is a line between the opening brace of the class, and the opening brace of the event.

For example, this image shows the way you formatted your code, and there is no outlining available for the spawn event:

Now, after adding an enter, it does create a outline node (but on the wrong line), and the bug after collapsing all nodes is no longer there:

I don’t know how I did not notice this bug, as I made sure that all my features worked with both formatting methods. Guess this is one thing that doesn’t work so well then!

I will see what I can do to fix this, because I really want it to support all formats of code and not just the one used by default ET scripts…

Oh and about the toolbar(s), they are completely customizable. You can use the Tools - Customize option, or rightclick the toolbar and choose Customize for the same effect. Have a look around on the window that appears, you can set options, change shortcuts, change the order of the toolbars, the order of the items, you can add / remove items, you can even create your own extra toolbars which you can then drag somewhere else (side by side, or even to the bottom of the main window).

To put extra items on the toolbar you need the Command tab, and then click the Rearrange commands button. You then click the Toolbar radiobutton and choose the FileToolBar in the dropdown:

To add toolbars you need the Toolbars tab and click the New button.

Don’t worry, this will all be in the documentation once it’s ready!