Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Planet Search Overhaul (07/13/24)

Pages: [1] 2 3 ... 44

Author Topic: [0.8.1a] STARSECTOR Ship&Weapon Editor (v2.7.4)  (Read 408598 times)

Trylobot

  • Admiral
  • *****
  • Posts: 1170
    • View Profile
    • Github profile
[0.8.1a] STARSECTOR Ship&Weapon Editor (v2.7.4)
« on: September 27, 2011, 10:37:17 PM »

Download latest stable version v2.7.4



View Source | Report Issues | See Upcoming Features

Here's Deathfly's fork: http://fractalsoftworks.com/forum/index.php?topic=11491
I will try to keep this post in-sync with Deathfly's post as much as I can, and cross-post releases. I will tag my releases with [Trylobot], and presumably Deathfly will tag his similarly.

Changelog
______________________________________________________________________________
editor version 2.7.4 (starsector 0.8.1a) [Deathfly & Trylobot]

FEATURES
- Variant: added "wings" mode (add/remove fighter wings from variant)
- Ship/Variant: renders fighter wing sprites and available slots
- Ship/Variant: prevents adding more wings than ship has capacity for
- Variant: warns if adding more variant wings than variant has OPs for
- Variant: added "goalVariant", "quality" to details (strings) editor

BUGFIXES
- Ship: saves coversColor

Spoiler

______________________________________________________________________________
editor version 2.7.3 (starsector 0.8.1a) [Trylobot]

FEATURES
- SHIP / BUILT-IN WINGS EDITING MODE ADDED
  press "1" (ship mode), "D" (load), "N" (built-in wings submodule)

OTHER
- skeleton code / boilerplate necessary for Skin editing has been added,
    but this mode doesn't do anything yet (so don't get too excited if you see it in the menus)
- heavy code maintenance / cleanup / refactoring

______________________________________________________________________________
editor version 2.7.2 (starsector 0.8.1a) [Trylobot]

BUGFIXES
- Fixed bug #17 "Weapon Group changes in variant mode not saving."
- Added goalVariant, permaMods fields to TStarfarerVariant.type.bmx
- Fixed bug #15 "Selected weapon slot not displayed during weapon group assignment (variant mode)"
- Also moved the weapon groups list to the left side of the screen, so that the selected weapon can be seen more easily.
- Added a keyboard help entry in variant mode for toggling autofire with "A"

______________________________________________________________________________
editor version 2.7.1 (starsector 0.7.2a) [Deathfly]

BUGFIXES
- Fix up the "Clear Data"(or say “Create New Data”?) function.
- In ship edit mode it will no make the sprite display freeze anymore.
- In variant edit mode it will now try to create an empty new variant called "New" for edit.
- In weapon edit mode, it will create an new weapon file.
______________________________________________________________________________
editor version 2.7.0 (starsector 0.7.2a)

MAXGUI MIGRATION
- Add menu bar.
- Make editor resizable while running.
- Add an "Unsaved changes warning" when you may discards your unsaved changes.

UNDO / REDO
- Will consider a serial string editing actions as one step due to it is too annoying to capture every keys.

SET CENTER OF MASS, COLLISION RADIUS, SHIELD CENTER, SHIELD RADIUS
- Left Mouse Click now can only used for set center.
- Ctrl + Left Mouse Click now can used to set radius without reset the center frist.

LAUNCH BAYS EDITOR
- Ctrl + Left Mouse Click always add a new launch bay.
- Hold down Shift will lock on the nearest launch bay.
- Shift + Left Mouse Click will add a new launch port to the locked lauch bay.
- Remove the Right Mouse Click function.

SHIP BOUNDS POLYGON EDITOR
- Ctrl + Left Mouse Click now will try to insert new bound vertex between the nearest bound segment ends.

DECORATIVE WEAPON TYPE
- Same as "Built-in Weapon Edit Mode", but for decorative weapons.

WEAPON RENDERER
- Can render all build-in and deco weapons in ship edit mode. And render all weapons in variant edit mode.
- Hit "F5" can toggle weapon renderer from "render in 100% opacity", "render in 50% opacity", and "do not render".
- Can use F6, F7, and F8 to Play, Stop and Reset all weapon animations, if there any.
- In "Weapon Slots Edit Mode", "Built-in/Deco weapon Edit Mode", and "Variant Edit Mode", arrow keys can use to control weapon animation on selceted slot.(See on screen help.)

WEAPON EDITOR
- Will properly parse and recode a .wpn file.
- Will display weapon offsets properly. For hardpoint and turret, both.
- Will display cursor coordinate properly.
- Make the glow on weapon more closer to in game visual.
- String editor for weapon now will provide accessibility to most weapon parameters.
- Guides will mark the weapon's pivot point out.

MINOR CHANGES
- Add SYNERGY and COMPOSITE weapon slots support.
- Add "coversColor" support.
- Improve the performance for Preview All function.
- Replace the default background with a less obscure one.
- Add a filter that can fit out deco weapons when place weapon in non-deco slot.
- Enable language localisation.

SETTINGS
- Add "custom_bg_image" that can set path for using custom background.
- Add "performance_mode", set to 1 can simplify some drawing process and result a better performance.
- Add "fluxmod_limit_override", set to 1 can override the 10/20/30/50 max flux vants/caps limit in variant edit mode.
- Add "scale_help_UI", set to 1 can enable help UI zooming for extreme resolution ratio.(Or you can set "font_size" instead.)
- Add "scale_help_UI_scale_level". If it set to 0, help UI will auto zoom.
- Add "custom_FONT" that can set path for custom font.
- Add "UTF8_support", set to 1 to enable UTF-8 support, to decode UTF-8(without BOM) data file.
- Add "localization_file" that can set path for LanguageDefinition file.

- Make engine flames looks more close to in game visual.
- Rework String data editing console. Make insert characters practical.
- Rework all "item selector" to fit some way too looong item list.
- Guides precision increase to 0.5.

BUGFIXES
- Can safely remove weapon slots with built-in weapon in it.
- Simplified help UI text drawing method for better performance.
- Fixed a crash when try to remove a weapon slot/engine/launch bay while there isn't anyone.
- When rename a weapons slot, the built-in weapon in that slot will got removed now.
- Fixed a issue that the rjson core will mistakenly discard "0" for integer output.

______________________________________________________________________________
editor version 2.6.4 (starsector 0.7.1a)
- credit to zaphide for pull request!
- support for HYBRID weapon types
- support for longer weapon lists
______________________________________________________________________________
editor version 2.6.3 (starsector 0.7a RC1)
- ship variants will no longer assign DECORATIVE, SYSTEM or LAUNCH_BAY weapons
______________________________________________________________________________
editor version 2.6.2 (starsector 0.6.1a)
- full support for built-in hull mods
- silently ignores trailing "f" in JSON floating-point number literals
- rows starting with '#' in .csv files will now be skipped
- ship data csv columns updated
______________________________________________________________________________
editor version 2.6.1 (starsector 0.54.1a)
- added support for "DECORATIVE" weapon/slot types
______________________________________________________________________________
editor version 2.6 (starsector 0.54.1a)
- weapon editor can modify offsets (possibly buggy)
- weapon editor can set images
- weapon editor can switch between turret/hardpoint mode
- tilde [~] now toggles vanilla data on/off and forces a reload of all data
- compatible with "Starsector" name change
______________________________________________________________________________
editor version 2.5 (starfarer 0.53.1a RC5)
- added weapon editor prototype (incomplete)
- added more detailed logging in sf-ship-ed.log
- fixed: custom engines output with incorrect field name 'type_'
______________________________________________________________________________
editor version 2.4.5 (starfarer 0.53.1a RC5)
- fixed: strange data corruption bugs on main ship and variant string editors
______________________________________________________________________________
editor version 2.4.4 (starfarer 0.53.1a RC5)
- fixed: +/- keys not working
- fixed: synchronization of hull/variant/csv names
______________________________________________________________________________
editor version 2.4.3 (starfarer 0.53.1a RC5)
- fixed: incorrectly encoding weapon slots (fatal error)
______________________________________________________________________________
editor version 2.4.2 (starfarer 0.53.1a RC5)
- fixed: weapon groups list misbehaving
______________________________________________________________________________
editor version 2.4.1 (starfarer 0.53.1a RC5)
- fixed: variant data incompatible with ship data if certain ship data changed
- fixed: empty JSON containers  {} [] ""  always being encoded as null
- fixed: cannot load vanilla data in Linux (probably)
- fixed: quoted newlines in CSV data
- fixed: can't set hullmods in variant if ship has no weapon slots
- misc: HOME key is now equivalent to ESCAPE key
- feature: direct value entry for weapon arcs and angles (press T on a weapon)
______________________________________________________________________________
editor version 2.4.1a (starfarer 0.53.1a RC5)
PRE-RELEASE: more bugfixes coming soon!
- fixed: can't set weapons for newly-added built-in ship weapon slots
- fixed: variant weapon list stays open after assigning a weapon
- enhanced: in mode 1, when loading existing ship data, all other modes
  are automatically populated with data associated with the loaded hull
- feature: in mode 1, press CTRL+ALT+[N] to clear out all JSON/CSV data
- some other misc. bug fixes
______________________________________________________________________________
editor version 2.4 (starfarer 0.53.1a RC5)
- added support for fighter wings (wing_data.csv) editing: mode [4]
  with graphical formation preview!
______________________________________________________________________________
editor version 2.3 (starfarer 0.53.1a RC5)
- added support for BUILT_IN and SYSTEM weapons
  includes being able to set the weapon from *.SHIP mode
  and includes not being able to modify the built-in weapons in *.VARIANT mode
  and includes not counting OPs from built-in weapons in *.VARIANT mode
- added support for Custom Engine STYLE ID:
  this is HIGHLY RECOMMENDED to use over the STYLE SPEC per-engine.
  But to use it, you must first define your Engine Style ID in the following:
    data/config/engine_styles.json
- fixed bug in CSV Loader to properly quote fields containing commas
______________________________________________________________________________
editor version 2.2.3 (starfarer 0.53a)
- bugfix for a crash related to custom engines
______________________________________________________________________________
editor version 2.2.2 (starfarer 0.53a)
- added support for CUSTOM engines; press T while in Engines mode
______________________________________________________________________________
editor version 2.2.1 (starfarer 0.53a)
- added support for Starfarer 0.53a:
  - csv mode: added explicit support for PHASE as a shield type, and declared
    'system id' as a string type so it won't try to graph it.
______________________________________________________________________________
editor version 2.2 (starfarer 0.52a)
- ship: in bounds mode, weapons, engines and launch bays modes,
  you can now hold CTRL+ALT while RIGHT-CLICK dragging to drag all
  the entities on-screen at once.
- weapon slots: weapon slots are now assigned names with zero-padded numbers
  so that they can be sorted more easily
______________________________________________________________________________
editor version 2.1 (starfarer 0.52a)
- ship: launch bay mode; press L to use
- variant: weapon group autofire attribute added; press A to toggle
- variant: max weapon groups increased to 5
______________________________________________________________________________
editor version 2.0.3 (starfarer 0.51a)
- fixed bug with shield-center Y-coordinate being interpreted incorrectly
______________________________________________________________________________
editor version 2.0.2 (starfarer 0.51a)
- fixed bug with not always saving collision radius and shield radius
______________________________________________________________________________
editor version 2.0.1 (starfarer 0.51a)
- fixed bug with string editing that prevented some characters from being
  entered sometimes
- fixed bug with CSV editing (new data template)
- fixed bug where variant OP max was not observing the current CSV data
______________________________________________________________________________
editor version 2.0 (starfarer 0.51a)
- can now edit single rows of ship_data.csv, and save into an existing file
  (find and update existing row by ID, else insert new row) or into a new file
- all known statistical data from all loaded ship CSV data is shown in a
  handy bar graph so you can see where your ship falls in the grand scheme
- corresponding CSV row attempted to be auto-loaded when loading a *.ship
- made ship darker when editing weapon slots or strings
- smoother zooming (continually integrated easing)
- fixed long-standing bug (since version 0.1) with global overlay
  positions when panning & zooming
______________________________________________________________________________
editor version 1.9.7 (starfarer 0.51a)
- displays more information in *.variant mode
- fixed bug where small weapons were being allowed in large slots, and also
  restricted universal slots to exact weapon size-match
______________________________________________________________________________
editor version 1.9.6 (starfarer 0.51a)
- mirrored-pair editing of weapon-slots and engine-slots has been implemented
- improved help text; added status bar; reduced clutter
- altered ghost-previews for all modes to make more sense contextually
- bugfixes related to validating weapon-sizes and -types for variant mode
- fixed bug where variant was not being notified when weapon slot is removed
- misc polish & improvements internally
______________________________________________________________________________
editor version 1.9.3 (starfarer 0.51a)
- added default enum values for when no data is loaded (to prevent crash)
- fixed bug that caused a crash when editing weapons
- fixed bug that allowed weapon slots to be created with duplicate ids
______________________________________________________________________________
editor version 1.9.2 (starfarer 0.51a)
- fixed bug that caused invalid *.csv files to crash the editor
  now they are ignored
- editor automatically creates "sf-ship-ed.log" that shows what's being loaded
______________________________________________________________________________
editor version 1.9.1 (starfarer 0.51a)
- users of editor in a Mac OS running Wine can now provide the starfarer
  install dir with success
- variant hullID updated automatically
- ship image loaded automatically when ship data is loaded
- if an image is manually loaded, the editor will search upwards for a
  "graphics" directory; if it is found, the path to the image will be inserted
  into the ship data; otherwise it will remain unmodified
- default save-file-names for *.ship and *.variant
______________________________________________________________________________
editor version 1.9 (starfarer 0.51a)
- string editing is made faster for values that are enums; instead of typing
  them, use arrow left/right to choose a value from the list of acceptable
  values. the field is updated immediately.
- can now open, edit and save *.variants - use [1] and [2] to toggle between
  *.ship mode and *.variant mode; still use [D] and [V] to open/save
- click a weapon slot to assign a weapon from the list of weapons that are
  valid to occupy that slot; filters based on size & type of slot from
  currently loaded *.ship data
- press M to load a mod; it will be noted in the settings data so that it is
  auto-loaded on next startup of the editor; this will add the mod's data
  to the stock data for weapon slot selection and OP cost analysis & validation
- While in variant mode:
  Press T to edit variant string-data
  Press G to edit weapon groups
  Press F & C to increment flux mods. Shift+F & Shift+C to decrement. They
    will cap out at the limit for your ship's hull size
  Press H to select hull mods
    If you exceed the OP max specified in the ship CSV for the ship's hullID,
    it will be red-coloured but it will not otherwise prevent you
- WARNING: it is now REQUIRED that Starfarer be installed on the computer
  where the editor is being used, as the vanilla data is automatically loaded
  to speed up selection of multi-select values, and to prevent the editor
  from needing to be explicitly updated when Starfarer adds new such values
- fixed bug with key states after opening system dialogs in windows
______________________________________________________________________________
editor version 1.2 (starfarer 0.51a)
- can now use +/- as alternative to mousewheel for zooming
______________________________________________________________________________
editor version 1.1 (starfarer 0.51a)
- made zoom feature not ***
- added mirrored-mode adding of weapons & engines
- auto-saves last-used path for images and data (finally)
______________________________________________________________________________
editor version 1.0 (starfarer 0.51a)
- added string data editor [T]
- to edit strings for weapons and engines, press [T] from weapon or engine
  editing modes [W] or [E] which will allow you to edit the strings for that
  specific instance
- added weapons and engine locations to preview mode [P]
- when creating weapons and engines, automatically duplicates properties
  of nearest to speed up creation of similar slots
- more reasonable defaults for certain values
- preview cursor more context-sensitive
______________________________________________________________________________
editor version 0.4 (starfarer 0.51a)
- added engine slot editor
______________________________________________________________________________  
editor version 0.3 (starfarer 0.51a)
- added weapon slot editor, per request
- strengthened JSON decoder; ignores # comments and performs implicit type-
  conversion and uses reflection to automatically encode/decode from/to plain
  objects
______________________________________________________________________________  
editor version 0.2 (starfarer 0.35a preview rc2)
- fixed bug; data view not updating when you press "N" (new data)
  or "I" (load ship image)
- fixed bug; empty arrays being encoded as empty objects
- improved data view; added column-wrap and reduced font size
  to fit more information on screen
- program icon (windows only)
- added collision radius mode
- added preview all mode
______________________________________________________________________________  
editor version 0.1 (starfarer 0.35a preview rc2)
- initial release

[close]

Versions


« Last Edit: July 23, 2017, 06:29:55 PM by Trylobot »
Logged

Thana

  • Captain
  • ****
  • Posts: 289
    • View Profile
Re: Trylobot's ship editor (2.4.5)
« Reply #1 on: September 27, 2011, 11:17:00 PM »

I'll have to try this!

No time for it today, however, but I'll get back to you on this.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24875
    • View Profile
Re: Trylobot's ship editor (2.4.5)
« Reply #2 on: September 28, 2011, 08:21:34 AM »

This looks great! I really like how the UI is shaping up. The starry background is an especially nice touch :)


Confirmed to work on Windows XP. I do get a dialog with "EXCEPTION_ACCESS_VIOLATION" (and nothing else) on exit, but that's not exactly a big issue.

Btw, if you installed SF in the default location, just change the settings to
Code
"images_dir": "/Program Files/Fractal Softworks/Starfarer/starfarer-core/graphics/ships/",
"data_dir": "/Program Files/Fractal Softworks/Starfarer/starfarer-core/data/hulls/",

Did I mention that this is awesome?

Edit: stickied.
« Last Edit: September 28, 2011, 08:52:34 AM by Alex »
Logged

Psiyon

  • Admiral
  • *****
  • Posts: 776
    • View Profile
Re: Trylobot's ship editor (2.4.5)
« Reply #3 on: September 28, 2011, 08:36:13 AM »






You sir, are a God.
Logged

Trylobot

  • Admiral
  • *****
  • Posts: 1170
    • View Profile
    • Github profile
Re: Trylobot's ship editor (2.4.5)
« Reply #4 on: September 28, 2011, 09:58:30 AM »

Haha thanks for the feedback guys :) I had fun making it. Took ~1 day. BlitzMax is freaking awesome.
Logged

Avan

  • Admiral
  • *****
  • Posts: 1399
  • Pioneer of Starfarer Modding
    • View Profile
    • DevDB forums
Re: Trylobot's ship editor (2.4.5)
« Reply #5 on: September 28, 2011, 11:01:16 AM »

Hehe, this is nice. Might get me motivated to implement all those ships I have lying around >.> (I was otherwise waiting till .55)

aerandir

  • Ensign
  • *
  • Posts: 20
    • View Profile
Re: Trylobot's ship editor (2.4.5)
« Reply #6 on: September 28, 2011, 11:55:46 AM »

Great stuff, already eagerly awaiting future updates
Logged

Trylobot

  • Admiral
  • *****
  • Posts: 1170
    • View Profile
    • Github profile
Re: Trylobot's ship editor (2.4.5)
« Reply #7 on: September 28, 2011, 10:38:59 PM »

Update; version 0.2; see original post
Logged

mendonca

  • Admiral
  • *****
  • Posts: 1159
    • View Profile
Re: Trylobot's ship editor (2.4.5)
« Reply #8 on: September 28, 2011, 11:42:42 PM »

Nice work! You're the best, Trylobot.
Logged


"I'm doing it, I'm making them purple! No one can stop me!"

Thana

  • Captain
  • ****
  • Posts: 289
    • View Profile
Re: Trylobot's ship editor (2.4.5)
« Reply #9 on: September 28, 2011, 11:56:15 PM »

Okay, this looks promising!
Logged

WarStalkeR

  • Captain
  • ****
  • Posts: 343
  • Per Aspera Ad Astra!
    • View Profile
Re: Trylobot's ship editor (2.4.5)
« Reply #10 on: March 17, 2012, 02:25:46 AM »

Links, maybe somebody here have this tool and can upload it?
Logged

"Happiness for everybody, freely, and let no one to leave unhappy!" (c) Strugatsky Brothers
Independent Defense Force is here! And they already in Sector Xplo.

XpanD

  • Captain
  • ****
  • Posts: 380
    • View Profile
Re: Trylobot's ship editor (2.4.5)
« Reply #11 on: March 17, 2012, 03:16:07 AM »

http://ugstunt.com/sf-ship-ed_sf0.35a_ed0.2.zip
Fear my 1337 Google skillz.

But yeah, I have no idea if this even works anymore. Might be worth a try, though. Have fun.
Logged

Psiyon

  • Admiral
  • *****
  • Posts: 776
    • View Profile
Re: Trylobot's ship editor (2.4.5)
« Reply #12 on: March 17, 2012, 11:42:39 AM »

I must ask, Trylobot, do you plan to develop this utility any further? Even with its limited functionality, I use it over the other ship editor for one reason: precision. Being able to see the coordinates for any location by simply moving your mouse over it is extremely helpful, and allows new ships to be made with dead accuracy, rather than just eyeballing it.

One feature that would really make it great would be the ability to add in weapon slots, and adjust their angles and arcs, specifically. Engine slots and other misc attributes can be easily copy-pasted in from another .ship file, so if you do plan to do any more work on this, I'd make these a low priority.
Logged

Trylobot

  • Admiral
  • *****
  • Posts: 1170
    • View Profile
    • Github profile
Re: Trylobot's ship editor (2.4.5)
« Reply #13 on: March 17, 2012, 01:59:23 PM »

Yeah I'm working on it right now lol
Logged

Psiyon

  • Admiral
  • *****
  • Posts: 776
    • View Profile
Re: Trylobot's ship editor (2.4.5)
« Reply #14 on: March 17, 2012, 03:02:19 PM »

Yeah I'm working on it right now lol
Most excellent.  ;D

Feel free to ask me if you need it to be tested.
Logged
Pages: [1] 2 3 ... 44