Page 18 of 68

Re: [Tool] Superluminal 2.0.5 beta

Posted: Mon Aug 18, 2014 9:57 pm
by Sleeper Service
I have similar problems from time to time. Hiding the hull is all good, but that does not help if gibs are large and overlap each other a lot. Like on the Rebel Rigger for example.

Some other small things I noticed:
- Room place tool ocasional does not work for me, no idea why
- would be great if mounts and gibs would be (optionally) tied to the hull images and move with the hull whenever it is moved

Re: [Tool] Superluminal 2.0.5 beta

Posted: Mon Aug 18, 2014 10:47 pm
by kartoFlane
Sleeper Service wrote:I have similar problems from time to time. Hiding the hull is all good, but that does not help if gibs are large and overlap each other a lot. Like on the Rebel Rigger for example.
Hrmh, that's indeed problematic. All the more reason to get linking via overview done, I guess. For now, you can also hide each object individually -- just select the item you wish to hide, and click on the cloak icon in Ship Overview.
- Room place tool ocasional does not work for me, no idea why
Very odd indeed :/ I've never had that happen to me. Please tell me if you find a way to reproduce this
- would be great if mounts and gibs would be (optionally) tied to the hull images and move with the hull whenever it is moved
I got that implemented in 2.0.5/4 -- when you select a mount/floor/cloak/shield, there's a checkbox in the sidebar allowing you to tie the object to hull. Doesn't work for gibs yet (dunno why I didn't do that), though they already follow hull by default, IIRC *

* I just noticed that is only true for loaded ships, not newly created ones, gonna fix that...

Re: [Tool] Superluminal 2.0.6 beta

Posted: Sat Aug 23, 2014 5:47 pm
by kartoFlane
New update is ready -- this time I've improved stats display in the weapon & drone selection dialogs, as well as finally added artillery modification & display.

The Mac Command modifier seems to work as well, at least it did when I tested it on my VM *shrug*
Also fixed the bug where newly created gibs would not be tied to hull image. Dunno why it slipped past me.

There are also several usability improvements -- .ftl files can now be dropped on the editor's main window in order to load them. Dragging .ftl files on the .exe (or selecting it via "Open With..." option in .ftl files' context menu) will cause the editor to load the specified mod at launch. Doors and mounts can be linked via Ship Overview now.

Download: [ Superluminal 2.0.6a beta ]

Edit: a minor update to (potentially) fix two issues

Changelog:

Code: Select all

2.0.6a beta:
- Fixed a bug that prevented gibs from being selectable via Ship Overview
- Added a potential fix for crashes related to door & gib linking

2.0.6 beta:
- Improved stats display in weapon & drone selection dialogs
- Added 'Follow Hull' button to Mount Tool -- when checked, newly created weapon mounts will follow hull
- Added 'Follow Hull' button to gibs
- Newly created gibs now correctly follow hull by default
- Several minor UI tweaks
- Mac Command key support should now work correctly (tested)
- .ftl files can now be dropped onto the main editor frame to load them
- The editor can now open .ftl and .zip files by dragging them onto the .exe, or by using the "Open With..." option in the mod files' context menu
- Added "Unsaved Changes" warning when closing the application
- Added artillery modification & display (moved to Armaments tab)
- Fixed undo of offset that was modified by shift-dragging
- Added undo of reordering objects via Ship Overview
- Calculate Optimal Offset is now undoable
- Doors/Rooms and Mounts/Gibs can now be linked via ShipOverview
- When undoing deletion of elements, the editor now attempts to reinsert them at their old index

Re: [Tool] Superluminal 2.0.6a beta

Posted: Mon Aug 25, 2014 12:25 pm
by Metzelmax
One Question:
Is there a possibility to use custom glows for the room layouts? Not just in the Editor but general, since AE changed it with that rooms.xml. And I'd rather use the old system with _glow1/2/3.

Re: [Tool] Superluminal 2.0.6a beta

Posted: Mon Aug 25, 2014 1:32 pm
by kartoFlane
Yes, you can use custom glows.

To do that, you have to put your glow images in img/ship/interior. The glow images have to follow the naming scheme of {name}#.png -- where # is 1 (blue glow), 2 (green) or 3 (yellow). The stations in glow images should face up by default (since FTL rotates them as needed).

Then in rooms.xml you have to add a new <roomLayout> tag, with the name attribute specifying the room image to which this custom glow is tied (eg. for image named room_engines.png, name attribute should be engines).

Then add a new <computerGlow> tag inside of that, with name attribute specifying the set of glow images you have placed in img/ship/interior (basically the {name} part). Next you can use the x, y, and dir attributes to specify the location and facing of the station. For dir, values are UP (no rotation), RIGHT (90 degrees rotation), DOWN (180 degrees rotation), and LEFT (270 degrees rotation).

IIRC, the coordinate system is relative to the glow image itself, so if the dir attribute is equal to something else than "UP", then the x/y values will be properly inverted (eg. positive x values moving the glow image left instead of right, etc)

That said, the editor supports creation of custom glow sets, though it's pretty rudimentary. I'll be addressing that in the next update.

Re: [Tool] Superluminal 2.0.6a beta

Posted: Wed Aug 27, 2014 11:59 pm
by Pandora134
Any idea why this happens? Ghost doors on custom ships, not seen them on edited version of vanilla ships. These "doors" don't function and don't let in oxygen. Image


*Edit: FTL or Superluminal can't handle long corridors, so these ghost doors appear. I tired taking the oxygen from these long corridors but only one section was affected.

Re: [Tool] Superluminal 2.0.6a beta

Posted: Thu Aug 28, 2014 12:29 am
by kartoFlane
Pandora134 wrote:Any idea why this happens? Ghost doors on custom ships, not seen them on edited version of vanilla ships. These "doors" don't function and don't let in oxygen.
I've seen it once before, though I'm not sure why this happens. Perhaps door links get messed up somehow. Or maybe that's just how AE handles non-standard size rooms *shrug* I'll take a closer look at this tomorrow.
Pandora134 wrote:*Edit: FTL or Superluminal can't handle long corridors, so these ghost doors appear. I tired taking the oxygen from these long corridors but only one section was affected.
The editor can handle them fine, it's just that FTL was never designed with such rooms in mind. Oxygen is actually drained from the entire room, but the "out of oxygen" warning stripes use a predetermined image that doesn't always cover the entire room. Sadly, this can't be fixed.

Re: [Tool] Superluminal 2.0.6a beta

Posted: Thu Aug 28, 2014 12:57 am
by Pandora134
I've fixed it now, I'll just have smaller 2 square corridors for now.

Re: [Tool] Superluminal 2.0.6a beta

Posted: Thu Aug 28, 2014 2:12 am
by NarnKar
Pandora, it looks like your laser weapon on the Voyager is installed upside-down.

Re: [Tool] Superluminal 2.0.6a beta

Posted: Thu Aug 28, 2014 12:14 pm
by NarnKar
Superluminal crashed when playing the destruction animation, when I hadn't previously declared any animations for the gibs--although, really, this should just mean the gibs are default, right? Hmm.
I only had one gib, though.
I loaded in two mods: one that added in a custom weapon, and a "midway saving progress" kinda mod that imported in a half-complete ship. That ship DID come with gibs, though--no rooms though. I don't know if that's relevant.

The crash is replicatable, fairly easily so. Just add the two mods in and hit the play button.

Here's your stack traces.

Code: Select all

01:21:21.958 [main] DEBUG com.kartoflane.superluminal2.Superluminal - Superluminal v2.0.6a beta
01:21:21.959 [main] DEBUG com.kartoflane.superluminal2.Superluminal - Windows 8.1 6.3
01:21:21.960 [main] DEBUG com.kartoflane.superluminal2.Superluminal - Java HotSpot(TM) Client VM, 1.7.0_67, x86
01:21:21.964 [main] DEBUG com.kartoflane.superluminal2.Superluminal - SWT v4335
01:21:22.705 [main] TRACE com.kartoflane.superluminal2.Superluminal - Loading properties from config file...
01:21:22.963 [main] INFO  com.kartoflane.superluminal2.Superluminal - Using FTL dats path from config: C:\Program Files (x86)\Steam\steamapps\common\FTL Faster Than Light\resources
01:21:23.346 [main] TRACE com.kartoflane.superluminal2.Superluminal - Loading dat archives...
01:21:23.431 [main] TRACE com.kartoflane.superluminal2.Superluminal - Loading database...
01:21:23.639 [Thread-3] WARN  com.kartoflane.superluminal2.core.DatabaseEntry - DatabaseCore: could not load weapon: CRYSTAL_1: could not find animation 'crystal_shard'.
01:21:24.000 [Thread-3] TRACE com.kartoflane.superluminal2.core.DatabaseEntry - DatabaseCore was loaded successfully.
01:21:24.029 [main] INFO  com.kartoflane.superluminal2.Superluminal - Checking for updates...
01:21:26.569 [Thread-4] ERROR com.kartoflane.superluminal2.Superluminal - Update check failed -- connection to the repository could not be estabilished.
01:21:26.576 [main] INFO  com.kartoflane.superluminal2.Superluminal - Running...
01:35:06.909 [main] TRACE com.kartoflane.superluminal2.ui.EditorWindow - Saving ship as C:\Program Files (x86)\Steam\SteamApps\common\FTL workbench\Heavy Artillery Cruiser\midway save point.ftl
01:35:07.102 [main] TRACE com.kartoflane.superluminal2.ui.EditorWindow - Ship saved successfully.
01:35:37.340 [Thread-5] TRACE com.kartoflane.superluminal2.core.DatabaseEntry - ASB guns addon.ftl was loaded successfully.
01:35:37.342 [Thread-5] TRACE com.kartoflane.superluminal2.core.DatabaseEntry - midway save point.ftl was loaded successfully.
01:35:37.342 [Thread-5] TRACE com.kartoflane.superluminal2.core.Database - ASB guns addon.ftl reordered to position 1
01:35:37.342 [Thread-5] TRACE com.kartoflane.superluminal2.core.Database - midway save point.ftl reordered to position 2
02:08:25.016 [main] ERROR com.kartoflane.superluminal2.Superluminal - An error has occured and the editor was forced to terminate. org.eclipse.swt.SWTException: Widget is disposed
	at org.eclipse.swt.SWT.error(Unknown Source)
	at org.eclipse.swt.SWT.error(Unknown Source)
	at org.eclipse.swt.SWT.error(Unknown Source)
	at org.eclipse.swt.widgets.Widget.error(Unknown Source)
	at org.eclipse.swt.widgets.Widget.checkWidget(Unknown Source)
	at org.eclipse.swt.widgets.Control.setEnabled(Unknown Source)
	at com.kartoflane.superluminal2.ui.OverviewWindow.setEnabled(OverviewWindow.java:584)
	at com.kartoflane.superluminal2.ui.EditorWindow.setInteractable(EditorWindow.java:1287)
	at com.kartoflane.superluminal2.ui.ShipContainer.triggerGibAnimation(ShipContainer.java:1304)
	at com.kartoflane.superluminal2.ui.EditorWindow$4.widgetSelected(EditorWindow.java:397)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
	at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
	at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
	at com.kartoflane.superluminal2.Superluminal.main(Superluminal.java:294)

02:08:36.694 [main] INFO  com.kartoflane.superluminal2.Superluminal - Exiting...
02:08:36.812 [main] INFO  com.kartoflane.superluminal2.Superluminal - Bye

07:09:46.237 [main] DEBUG com.kartoflane.superluminal2.Superluminal - Superluminal v2.0.6a beta
07:09:46.239 [main] DEBUG com.kartoflane.superluminal2.Superluminal - Windows 8.1 6.3
07:09:46.239 [main] DEBUG com.kartoflane.superluminal2.Superluminal - Java HotSpot(TM) Client VM, 1.7.0_67, x86
07:09:46.242 [main] DEBUG com.kartoflane.superluminal2.Superluminal - SWT v4335
07:09:46.389 [main] TRACE com.kartoflane.superluminal2.Superluminal - Loading properties from config file...
07:09:46.468 [main] INFO  com.kartoflane.superluminal2.Superluminal - Using FTL dats path from config: C:\Program Files (x86)\Steam\steamapps\common\FTL Faster Than Light\resources
07:09:46.769 [main] TRACE com.kartoflane.superluminal2.Superluminal - Loading dat archives...
07:09:51.773 [main] TRACE com.kartoflane.superluminal2.Superluminal - Loading database...
07:09:52.043 [Thread-3] WARN  com.kartoflane.superluminal2.core.DatabaseEntry - DatabaseCore: could not load weapon: CRYSTAL_1: could not find animation 'crystal_shard'.
07:09:52.456 [Thread-3] TRACE com.kartoflane.superluminal2.core.DatabaseEntry - DatabaseCore was loaded successfully.
07:09:52.486 [main] INFO  com.kartoflane.superluminal2.Superluminal - Checking for updates...
07:09:53.891 [main] INFO  com.kartoflane.superluminal2.Superluminal - Program is up to date.
07:09:53.891 [main] INFO  com.kartoflane.superluminal2.Superluminal - Running...
07:10:29.518 [Thread-5] TRACE com.kartoflane.superluminal2.core.DatabaseEntry - ASB guns addon.ftl was loaded successfully.
07:10:29.521 [Thread-5] TRACE com.kartoflane.superluminal2.core.DatabaseEntry - midway save point.ftl was loaded successfully.
07:10:29.521 [Thread-5] TRACE com.kartoflane.superluminal2.core.Database - ASB guns addon.ftl reordered to position 1
07:10:29.521 [Thread-5] TRACE com.kartoflane.superluminal2.core.Database - midway save point.ftl reordered to position 2
07:10:49.884 [main] ERROR com.kartoflane.superluminal2.Superluminal - An error has occured and the editor was forced to terminate. java.lang.NullPointerException
	at com.kartoflane.superluminal2.ui.OverviewWindow.setEnabled(OverviewWindow.java:584)
	at com.kartoflane.superluminal2.ui.EditorWindow.setInteractable(EditorWindow.java:1287)
	at com.kartoflane.superluminal2.ui.ShipContainer.triggerGibAnimation(ShipContainer.java:1304)
	at com.kartoflane.superluminal2.ui.EditorWindow$4.widgetSelected(EditorWindow.java:397)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
	at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
	at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
	at com.kartoflane.superluminal2.Superluminal.main(Superluminal.java:294)

07:10:51.893 [main] INFO  com.kartoflane.superluminal2.Superluminal - Exiting...
07:10:51.986 [main] INFO  com.kartoflane.superluminal2.Superluminal - Bye
EDIT: It happened again. I think what the issue is, is that I hit the play button when gib visibility was toggled off. The trouble with that is, well, fully assembled gibs should look pretty much like their source ship, so it's not easy to immediately see that the gibs are off. Then Superluminal crashes, and all your work goes away. :c
I think a prompt would be nice--when clicking the play button, perhaps a prompt saying "turn on gibs first" would be helpful.

One more stack trace for ya.

Code: Select all

12:15:32.047 [main] DEBUG com.kartoflane.superluminal2.Superluminal - Superluminal v2.0.6a beta
12:15:32.049 [main] DEBUG com.kartoflane.superluminal2.Superluminal - Windows 8.1 6.3
12:15:32.049 [main] DEBUG com.kartoflane.superluminal2.Superluminal - Java HotSpot(TM) Client VM, 1.7.0_67, x86
12:15:32.053 [main] DEBUG com.kartoflane.superluminal2.Superluminal - SWT v4335
12:15:32.116 [main] TRACE com.kartoflane.superluminal2.Superluminal - Loading properties from config file...
12:15:32.154 [main] INFO  com.kartoflane.superluminal2.Superluminal - Using FTL dats path from config: C:\Program Files (x86)\Steam\steamapps\common\FTL Faster Than Light\resources
12:15:32.409 [main] TRACE com.kartoflane.superluminal2.Superluminal - Loading dat archives...
12:15:32.493 [main] TRACE com.kartoflane.superluminal2.Superluminal - Loading database...
12:15:32.699 [Thread-3] WARN  com.kartoflane.superluminal2.core.DatabaseEntry - DatabaseCore: could not load weapon: CRYSTAL_1: could not find animation 'crystal_shard'.
12:15:33.060 [Thread-3] TRACE com.kartoflane.superluminal2.core.DatabaseEntry - DatabaseCore was loaded successfully.
12:15:33.090 [main] INFO  com.kartoflane.superluminal2.Superluminal - Checking for updates...
12:15:33.947 [main] INFO  com.kartoflane.superluminal2.Superluminal - Program is up to date.
12:15:33.947 [main] INFO  com.kartoflane.superluminal2.Superluminal - Running...
12:15:47.147 [Thread-5] TRACE com.kartoflane.superluminal2.core.DatabaseEntry - ABCruiser_v1.02.ftl was loaded successfully.
12:15:47.147 [Thread-5] TRACE com.kartoflane.superluminal2.core.Database - ABCruiser_v1.02.ftl reordered to position 1
12:16:05.965 [main] ERROR com.kartoflane.superluminal2.Superluminal - An error has occured and the editor was forced to terminate. java.lang.NullPointerException
	at com.kartoflane.superluminal2.ui.OverviewWindow.setEnabled(OverviewWindow.java:584)
	at com.kartoflane.superluminal2.ui.EditorWindow.setInteractable(EditorWindow.java:1287)
	at com.kartoflane.superluminal2.ui.ShipContainer.triggerGibAnimation(ShipContainer.java:1304)
	at com.kartoflane.superluminal2.ui.EditorWindow$4.widgetSelected(EditorWindow.java:397)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
	at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
	at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
	at com.kartoflane.superluminal2.Superluminal.main(Superluminal.java:294)

12:16:07.885 [main] INFO  com.kartoflane.superluminal2.Superluminal - Exiting...
12:16:07.975 [main] INFO  com.kartoflane.superluminal2.Superluminal - Bye