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: Simulator Enhancements (03/13/24)

Pages: [1] 2

Author Topic: [0.81a] [0.3.3.0] Starsector Forge: modding tools for ships, skins, variants+  (Read 25070 times)

Cataphract22

  • Ensign
  • *
  • Posts: 11
    • View Profile

26/06/2017: VERSION 0.3.3.0
  • Now in .zip format. Let me know if things are a little wonky.
  • New JSON parser
  • Can now remove built-in mods in skin editor
  • Variant Editor now calculates OP costs.
  • Loading ships automatically mirrors parts. Currently only works if the parts are exactly opposite
  • Added STATION_MODULE weapon type. You still need to add the modules manually, but I'll have that covered in the next update
  • Can now change autofire and mode for weapon groups. Press SHIFT+1-5 for autofire, and CTRL+1-5 for mode
  • Many small bug fixes.

It's still advisable to copy your /data and /graphics folders to local app data (see below), but I'm working on ironing out the major issues for cases where you don't do this.

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


Hi all,

I've been working pretty hard for a while now getting this in a passable/working(?) alpha state, and I present to you:
Starsector Forge
v0.3.1.0
DOWNLOAD HERE



So what does it do? Starsector Forge is intended to be a one-stop shop for creating new Starsector content. For now, you can create and edit new ships, skins, and variants. In the future, the feature list will be expanded to include wings, weapons, factions, styles, star systems, and more. This is a very early version. From the testing I've been able to do, everything should work fine. If (when) you encounter a bug, or a missing feature that you think needs to be here, please let me know and I'll get on it. This initial release is to introduce the tool, and fix up any egregious bugs before work begins on other features.





IMPORTANT INSTALLATION INSTRUCTIONS
Starsector Forge runs in a virtual sandbox, meaning that it can't read or edit files outside of its working directory without you giving it express permission. It's a limitation of the programming language/Windows, and not something I can change. What that means is that, if you want to get full value out of the tool, you will need to copy your mod folders, and the \data and \graphics folders from starsector-core, and paste them into %localappdata%\Starsector_Forge\. The Readme that comes in the download will explain in more detail. It'll still work without doing this, but you'll have to manually open files the first time you access them. It works nicer if you copy over the files, and there may be some bugs if you don't. //There ARE bugs. I'm ironing them out where I can, but it's recommended you copy folders over. The next version will mitigate this problem by duplicating data to the working directory.

On a similar note, because of the file handling, Starsector Forge will only work in Windows. Again, not something I can change. Sorry about that.


USING THE PROGRAM
The Readme file contains a list of common controls to use the editor, but the best way would probably be to just experiment - it shouldn't be too hard to get the hang of. You should know that everything is controlled with the left and right mouse buttons, the arrow keys, and shift/control/alt as modifiers. A tutorial and in-app control guides will come later. One thing that might not be so obvious is that you can right-click menu options when loading files to force the program to ask you for a file location. Usually it'll try to find the ship_data.csv/sprite/etc files on its own, but if you want to change them, right-click.

Most of the main menu options at the moment won't do anything. If clicking a button doesn't work, it's because it doesn't do anything yet. They all will eventually.

FEATURES
  • Ship Editor: create and edit new ships. Includes all ship editing functions, including built-in weapons, mods, and wings.
  • Skin Editor(!): create and edit skins. Includes everything you need to make new skins.
  • Variant Editor: Create and edit variants. Includes most variant editing functions, like weapon selection, weapon groups, and wings(!).


FUTURE FEATURES
  • Weapon Editor
  • Wing Editor
  • Mission Editor*
  • Style Editor
  • Faction Editor
  • Star Editor*

*There's a tiny chance these won't be possible, but at the moment I'm confident.


KNOWN ISSUES
  • If you don't follow the above installation instructions, ship images won't load automatically, and you'll have to manually locate all files. Things might also break, but I'm not sure
  • Variant weapon editor doesn't work (?) if you don't copy /data folder to local app data. I should have a fix next update.
  • Mirroring doesn't work when editing data. I'll be fixing this in the next release.

If you find other bugs, please let me know. I spend most of my time building the tool, and comprehensively testing it takes time away from creating (I'm so professional).

UPCOMING IN VERSION 0.4.0.0 (so far)
  • Add Station Modules in the variant editor
  • Hangar Mode in Ship Editor for adding multiple hangars (done)
  • Easier to use editors without copying folders to working directory (done)
  • Another pass on folder structures - should be better at remembering where parts are located
  • Memory for new weapons - will remember the settings of the last modified weapon and use them for new ones
  • Data mirroring - changing data will also update the data for mirrored parts
  • Control UI pass - add rollover tooltips, new hotkeys, control guides, general updates
  • Will have a little leeway with mirrored parts, so they'll link up if they're ~1 pixel off
  • First pass on the Faction Editor


This release is still closed source. It's a complete mess, and won't be any help to anyone in its current state. I'm working on refactoring and cleanup when I can. I'll release the source eventually, bear with me (not that you'll really want to see it, others have written much nicer code).


A final note of thanks needs to go to Trylobot for the Ship Editor, and Deathfly for the updated Ship & Weapon Editor. I've obviously taken a few layout notes from their excellent tools, and I hope I'm not flooding the editor market with the Starsector Forge.
« Last Edit: June 28, 2017, 02:42:13 AM by Cataphract22 »
Logged

CrashToDesktop

  • Admiral
  • *****
  • Posts: 3876
  • Quartermaster
    • View Profile
Re: [0.81a] Starsector Forge: modding tools for ships, skins, variants+
« Reply #1 on: June 22, 2017, 09:35:53 PM »

Ohh, this is interesting.  First EZ Faction, and now this.  As a modder who unfortunately doesn't know a lot about Java, I approve of all this stuff.  Hopefully you reach your goals! :) For my sake if anything, with the factions and systems, heh.  I'll have to check this out once I finish up with some other stuff.
« Last Edit: June 22, 2017, 09:43:10 PM by The Soldier »
Logged
Quote from: Trylobot
I am officially an epoch.
Quote from: Thaago
Note: please sacrifice your goats responsibly, look up the proper pronunciation of Alex's name. We wouldn't want some other project receiving mystic power.

Cataphract22

  • Ensign
  • *
  • Posts: 11
    • View Profile
Re: [0.81a] Starsector Forge: modding tools for ships, skins, variants+
« Reply #2 on: June 22, 2017, 10:01:50 PM »

Thanks :)

The other editors won't be that hard really. The reason I chose to do the ship/skin/variant editors first was because they had the largest breadth of functions I'd need to build the Forge. They're all done now, and mostly functional, so the rest will come easily. I'll be taking some time to bug test and fix problems with the existing editors, then I'll add the others.
Logged

Midnight Kitsune

  • Admiral
  • *****
  • Posts: 2846
  • Your Friendly Forum Friend
    • View Profile
Re: [0.81a] Starsector Forge: modding tools for ships, skins, variants+
« Reply #3 on: June 23, 2017, 08:14:00 AM »

I don't see why we needed this when we already have DeathFly's editor. I would have done things that the current editor doesn't do instead of wasting time on this.
Also, with this needing us to copy files into other locations, it makes it kinda a pain in the ass to use... I figure most people would not use it versus the other editor. Sorry

...First EZ Faction...
Which is made by a modder that has the Quality and Bug Control level of Bethesda and he will not listen at all to advice of those that have more experience than him with mods. Also, "EZ Faction" still leaves the majority of the work for you to do and only takes care of the more simple things.
Logged
Help out MesoTroniK, a modder in need

2021 is 2020 won
2022 is 2020 too

CrashToDesktop

  • Admiral
  • *****
  • Posts: 3876
  • Quartermaster
    • View Profile
Re: [0.81a] Starsector Forge: modding tools for ships, skins, variants+
« Reply #4 on: June 23, 2017, 09:28:49 AM »

I don't see why we needed this when we already have DeathFly's editor. I would have done things that the current editor doesn't do instead of wasting time on this.
Also, with this needing us to copy files into other locations, it makes it kinda a pain in the ass to use... I figure most people would not use it versus the other editor. Sorry

Which is made by a modder that has the Quality and Bug Control level of Bethesda and he will not listen at all to advice of those that have more experience than him with mods. Also, "EZ Faction" still leaves the majority of the work for you to do and only takes care of the more simple things.
Someone sounds a bit grumpy. :)

The answer to both - competition breeds excellence.  Why bother to update it and make it better when you're the only one?  Have an urge to make something better, even if it's only for nodding and you're not making anything off of it.  I can say that much from my experience.

I'll honest, I haven't used trylobot's editor in years and haven't used Deathfly's - trylobot's was a bit clunky but did it's job.  This one, however, right off the bat has a nicer looking interface and has the potential to go beyond just making ships.  Don't just shoot it down on sight, will you?
Logged
Quote from: Trylobot
I am officially an epoch.
Quote from: Thaago
Note: please sacrifice your goats responsibly, look up the proper pronunciation of Alex's name. We wouldn't want some other project receiving mystic power.

Tartiflette

  • Admiral
  • *****
  • Posts: 3529
  • MagicLab discord: https://discord.gg/EVQZaD3naU
    • View Profile
Re: [0.81a] Starsector Forge: modding tools for ships, skins, variants+
« Reply #5 on: June 23, 2017, 09:44:52 AM »

Gee Midnight! Way to nuke someone's work for absolutely no reason! Deathfly's tool is not updated for 0.8.1 yet and missing some features, plus it's not perfect by a long shot. I can only welcome any alternative that makes modding easier.

BTW Cataphract, you mentioned the creation of star systems? If there is one thing that is difficult to do right now, it's to create a stable economy (even with the changes in 0.8 ) A lot of the values are buried in the game's code and even more are multiplied by various factors. So a tool that, from the market conditions, calculates the average input and output of a planet (or better a whole system, or even better a whole mod) would be of an immense help.
Logged
 

Thaago

  • Global Moderator
  • Admiral
  • *****
  • Posts: 7174
  • Harpoon Affectionado
    • View Profile
Re: [0.81a] Starsector Forge: modding tools for ships, skins, variants+
« Reply #6 on: June 23, 2017, 10:04:29 AM »

This looks really neat! Thanks for sharing your work Cataphract.

Something we could really use, but might be difficult to make, is a mission editor. We COULD right now have all sorts of character driven missions in the game, but programming them is a pain.
Logged

xenoargh

  • Admiral
  • *****
  • Posts: 5078
  • naively breaking things!
    • View Profile
Re: [0.81a] Starsector Forge: modding tools for ships, skins, variants+
« Reply #7 on: June 23, 2017, 11:22:56 AM »

I really like this project :)

Will you be releasing the source so that others can extend / modify / maintain it?
Logged
Please check out my SS projects :)
Xeno's Mod Pack

Midnight Kitsune

  • Admiral
  • *****
  • Posts: 2846
  • Your Friendly Forum Friend
    • View Profile
Re: [0.81a] Starsector Forge: modding tools for ships, skins, variants+
« Reply #8 on: June 23, 2017, 01:43:58 PM »

I was just pointing out things that I thought would be obvious for this mod. I wish Cata the best of luck with these mod tools, I really do. It is just that the way he chose to create a editor for ships and weapons when we already have one just felt strange. Yes it isn't updated to .72 but that never stopped others in the past when the old Trylobot editor wasn't updated
Logged
Help out MesoTroniK, a modder in need

2021 is 2020 won
2022 is 2020 too

Cataphract22

  • Ensign
  • *
  • Posts: 11
    • View Profile
Re: [0.81a] Starsector Forge: modding tools for ships, skins, variants+
« Reply #9 on: June 23, 2017, 03:25:49 PM »

I was just pointing out things that I thought would be obvious for this mod. I wish Cata the best of luck with these mod tools, I really do. It is just that the way he chose to create a editor for ships and weapons when we already have one just felt strange. Yes it isn't updated to .72 but that never stopped others in the past when the old Trylobot editor wasn't updated


I understand, and this was one of the reactions I expected. I actually started this project after getting involved in the S&W editor. I made some updates, but Object BASIC is not a language I'm strongly familiar with. I got it in my head that building an editor in a language I know would allow me to work faster on changes/new features. At the moment you're right, apart from skins, wings, and a few other minor things, Forge doesn't do anything that S&WE doesn't - in fact in a couple places it falls down pretty hard (like not calculating OP yet). But like I said, I added those components first because I understood what they looked like and could just focus on programming the functionality.

As for having to move files, I'm pretty sure the same rule applies for the S&WE. You need to explicitly open a file before the program can load it without your instruction. That's why loading ships in S&WE doesn't load the image automatically until after you've done it manually. It's a pain, I agree. It'll work without it, but you'd have to manually open files the first time you use them. I honestly just haven't tested it fully, so to be safe i added the warning.

I really like this project :)

Will you be releasing the source so that others can extend / modify / maintain it?

I'm not against it. In fact, I'd love to, and it's certainly the plan. I want to stabilise the code first, then clean and comment what hasn't been done, then I'll get a repo going. Fair warning though: it isn't pretty. A lot of it is brute-forced, and all of it needs refactoring.

This looks really neat! Thanks for sharing your work Cataphract.

Something we could really use, but might be difficult to make, is a mission editor. We COULD right now have all sorts of character driven missions in the game, but programming them is a pain.

I'll look into it. I've begun tests for the faction editor to see exactly what I'm going to be able to do with this tool, and some of those will bleed over to a mission editor as well. I don't want to over-promise if I can't deliver. Some of the file handling stuff might be beyond the capability of the engine. If I can, I will.

...This one, however, right off the bat has a nicer looking interface and has the potential to go beyond just making ships.  Don't just shoot it down on sight, will you?

Thanks! Improving the user interface was one of my primary goals. There is still a lot of work to do in that regard, but I'm getting there. I still want to add mouse support for data editing, and proper text controls. Then there's hotkeys and menu buttons for part modifiers (arcs, angles, etc)...

If there's anything in the UI that's bugging you, let me know. I can look in to changing things.
Logged

c0nr4d1c4l

  • Commander
  • ***
  • Posts: 103
  • Local forum transient
    • View Profile
Re: [0.81a] Starsector Forge: modding tools for ships, skins, variants+
« Reply #10 on: June 23, 2017, 03:54:33 PM »

Would it be possible to feature tools for station modules?
Logged
"Slap slap slap, clap clap clap"

Head salesman and CEO of the Discount Shipyard

cjuicy

  • Captain
  • ****
  • Posts: 353
  • Figuring out how the hell to wear heels (She/it)
    • View Profile
Re: [0.81a] Starsector Forge: modding tools for ships, skins, variants+
« Reply #11 on: June 23, 2017, 04:58:51 PM »

Great work man! I can't wait to try this.

On a side note, the skin editor was a nice touch. :)
Logged
It's been a long time, but I still love ya!

- Pfp done by Sleepyfish!

Cataphract22

  • Ensign
  • *
  • Posts: 11
    • View Profile
Re: [0.81a] Starsector Forge: modding tools for ships, skins, variants+
« Reply #12 on: June 23, 2017, 09:11:33 PM »

Would it be possible to feature tools for station modules?

Yes, definitely. I haven't looked into it too much, but from what I could tell from a cursory look, creating modular ships should be really simple. Added to the shortlist.

Great work man! I can't wait to try this.

On a side note, the skin editor was a nice touch. :)

Thanks! Let me know if it breaks :) The skin editor was a high priority for me, because I'm a terrible spriter, but love the idea of more diversity, so I was keen on the idea of making skins.

Getting mirrors from loaded files is working now, as is removing built in mods on skins and a few other bug fixes. I'm doing some refactoring, but should have a new version up soon. I'm going to start digging into the Faction Editor today, so if that goes well I'll include that in the 4.0 release.
Logged

Cataphract22

  • Ensign
  • *
  • Posts: 11
    • View Profile

Sorry bout the double-post, but just wanted to let everyone know there's a new version out. Mostly bug fixes, and some missing features. As always, let me know if you hit a bug.
Logged

xenoargh

  • Admiral
  • *****
  • Posts: 5078
  • naively breaking things!
    • View Profile

A couple of thoughts:

SSED used the "A" key to adjust auto / non for weapon groups, detecting which group we were on (essentially the same process you're doing for recording the clicks to change groups).  Perhaps add an Autofire / Fire Mode button over each group or keys that are a little more intuitive.

Mirroring is extremely useful, for weapons, hitboxes and engines, but it needs a quick way to turn it on / off.

It would be very nice if you followed SSED's usability feature of using the nearest weapon's settings to set the next weapon when creating a slot; huge time-saver on big ships with lots of little guns, etc.

I'm still not sure how we use your tool to set up Carriers.  That's one area where SSED hasn't been updated and we're having to do it manually ATM.

I'd really like to see a proper Weapon editor; SSED's version is not quite there; it won't show the animations for animated weapons, for example, it doesn't show the Missile graphics on the mounts, it doesn't show the recoil animation.

Same with Projectiles; this is a pretty simple area of SS, but having a visual editor would save tons of time when trying to tweak the look of our mods.
Logged
Please check out my SS projects :)
Xeno's Mod Pack
Pages: [1] 2