Endless Sky

Endless Sky

This topic has been locked
Joker Jul 4, 2016 @ 7:29pm
Ship Generator [Tool]
Ever wanted to easily create ships? (as if it's not already easy :steammocking:)
Now you can! I created a simple tool that will generate the code for a ship.

If you use it or even just try it just once please leave feedback or a simple thanks. This helps me improve the tool and it will bump up the thread for others to see.

Try it here: https://evan153.github.io/Endless-Sky-Ship-Generator/

Works in:Google Chrome, Internet Explorer, and Firefox on PC. (tell me if your browser doesn't work)
I tried to make the page somewhat responsive so it might work on mobile and ipads just copy/paste the code and email it to yourself or whatever.

I'll move it to a different github page later. It's a WIP but seems functional enough for release. Try it and leave any feedback, enjoy!

Tutorial: http://steamcommunity.com/sharedfiles/filedetails/?id=718279752

I'm not going to go overboard and make a full online IDE for making mods in Endless Sky, nor will I go crazy trying to make it look amazing. This is just a simple tool to (hopefully) more easily create simple ships and in the future probably outfits and other mods.

Any feedback/contributions are welcome.

To do list below, not in any order. Some features may not get added if I decide it doesn't need some feature. Some planned features are not added on the list because I didn't update the list or because I forgot. To be sure if a feature you want is being added then go suggest it.

Planned Updates: (Updates happen weekly)
-Clean up code (there's always some code that needs cleaning)
-Change tier levels based on feedback (need feedback)
-Prevent adding more lines of the same outfits
-Bug fixing
-Performance fixes
-Random generation sliders
-Saving presets
-Custom random generation presets
-Outfit name fixing (volunteers needed)
-Move to a different web page
-Create a database for ship presets and outfit lists (currently pollutes the code)
-A lightweight version and a more feature rich version.
-Ship sales generation
-Dark / Light themes
-Sharing Ships
-Make it bootiful (Not as important as functionality so it comes last)

Planned Addons:
-Outfit Builder
-Weapon Builder
-Mission Creator

I need feedback for bugs, suggestions, and/or performance issues.
Volunteers needed to fix outfit names and bug test.
Last edited by Joker; Jul 26, 2016 @ 2:09am
< >
Showing 1-15 of 93 comments
Anima Jul 4, 2016 @ 7:39pm 
Hey, thats pretty neat, could stand to have a little more aesthetic, but nice job!
local god Jul 4, 2016 @ 7:41pm 
this is promising, and you may get more help with your "complete list of outfits" here.

these guys are itching for questions they can answer...
Last edited by local god; Jul 4, 2016 @ 7:42pm
Joker Jul 4, 2016 @ 7:43pm 
Originally posted by OmegaZanicus:
Hey, thats pretty neat, could stand to have a little more aesthetic, but nice job!

Thanks, just made it today :steamhappy: Right now it's functional, (barely, and sloppy code) but I do plan to add more features and make it pretty.

Originally posted by local god:
this is promising, and you may get more help with your "complete list of outfits" here.

these guys are itching for questions they can answer...

Lol maybe... if not I'll use Derpy's old list or come up with some commands to find them.
Last edited by Joker; Jul 4, 2016 @ 7:46pm
Anima Jul 4, 2016 @ 7:49pm 
Guess i'm gonna have to finish learning javascript now.

Originally posted by Legolas:
Lol maybe... if not I'll use Derpy's old list or come up with some commands to find them.
with the growing number of mods, you'll be hard pressed to gather up every outfit available, maybe a list of vanilla outfits and an option to add your own?
Last edited by Anima; Jul 4, 2016 @ 7:51pm
Joker Jul 4, 2016 @ 7:52pm 
Originally posted by OmegaZanicus:
Guess i'm gonna have to finish learning javascript now.

with the growing number of mods, you'll be hard pressed to gather up every outfit available, maybe a list of vanilla outfits and an option to add your own?

Go for it :steamhappy: or just learn some jquery and make magic happen

Good idea, but adding support for all mods would end up in a huge confusing list or many lists. As for adding your own you can easily do that by just typing it in.
But I could come up with a way for someone to create their own saved list of items..adding it to the to do list! Thanks.
Last edited by Joker; Jul 4, 2016 @ 8:12pm
Joker Jul 4, 2016 @ 11:58pm 
Added modules and engines, though I think they're a bit outdated.
Thanks to whoever made these lists: https://drive.google.com/folderview?id=0B635z_nU19WfQllrM2V2dWpFSFk&usp=sharing
I think Derpy Horse made them not sure though.

Also, added a little bit more style. Stay tuned for updates :praisesun:
Wrzlprnft Jul 5, 2016 @ 1:15am 
https://github.com/Wrzlprnft/Endless-Sky-Ship-Builder

feel free to take inspirations, ill shut it down completely, since i don't want a competition here.

Also, command line options of the game. might help you atleast with weapons
-h, --help: print this help message. -v, --version: print version information. -s, --ships: print table of ship statistics. -w, --weapons: print table of weapon statistics. -t, --talk: read and display a conversation from STDIN. -r, --resources <path>: load resources from given directory. -c, --config <path>: save user's files to given directory. -d, --debug: turn on debugging features (e.g. caps lock slow motion).
Joker Jul 5, 2016 @ 12:17pm 
Originally posted by Batmod Wrzlprnft:
https://github.com/Wrzlprnft/Endless-Sky-Ship-Builder

feel free to take inspirations, ill shut it down completely, since i don't want a competition here.

Also, command line options of the game. might help you atleast with weapons
-h, --help: print this help message. -v, --version: print version information. -s, --ships: print table of ship statistics. -w, --weapons: print table of weapon statistics. -t, --talk: read and display a conversation from STDIN. -r, --resources <path>: load resources from given directory. -c, --config <path>: save user's files to given directory. -d, --debug: turn on debugging features (e.g. caps lock slow motion).

What? Don't shut yours down :steamsad: The people need both lol. Yours looks like some awesome official builder mine is just a simple tool that will probably only be used until your awesome one is done. :steamhappy:

Also, thanks for sharing the command list.
Last edited by Joker; Jul 5, 2016 @ 12:26pm
Joker Jul 5, 2016 @ 7:45pm 
Guess I'll post a daily update at the end of each day.

I forgot most of what I added today buuut.....here's what I can remember adding
Cleaned up some generate code got rid of around 20 lines
Added another 20 lines of code for an autofill function - If you leave some sections blank or at 0 it will autofill suggested values doing math and stuff
Created a tutorial
Autofill algorithm/code for: mass, shields, explosion values.
I forgot the rest so if you really want to know just go find the history on github.

The autofill is pretty close to the game's ships. Here are some pictures: (automatically created mass/shields/explosion damages)
http://imgur.com/a/8r2Wv
The explosion math that MZ (developer) provided on the wiki doesn't seem very close. I could probably improve it as well as the ones I came up with later.

Tomorrow planned features:
A section to place values from ship builder
Add death explosions
Add more attributes like "automation"
More autofill algorithms

Enjoy and stay tuned for more features!:steamhappy:
Last edited by Joker; Jul 5, 2016 @ 10:10pm
Anima Jul 6, 2016 @ 5:53am 
You're doing a great jon on this, thanks :P
Ker Jul 6, 2016 @ 9:53am 
Neat tool. I see this functioning along side wz's well. Doesnt help me, though, i cant art.
Anima Jul 6, 2016 @ 10:20am 
Originally posted by Kiko the Exile:
Neat tool. I see this functioning along side wz's well. Doesnt help me, though, i cant art.
Look at west iron and tell me who can't art boi
Joker Jul 6, 2016 @ 3:57pm 
Daily Update #2
Will go in this post

Here's what I've added today so far:
Explosion adding
Outfit position adding
Added never disabled and automaton options
Added medium warship to the type of ship list
Adjusted layout to better fit all screens/resolutions
Added an all outfits list - Doesn't sort, but should include all properly named outfits. (Thanks to Batmod Wrzlprnft copied the list from one of his mods)
Fixed a few things on the all outfits list

Tomorrow planned features:
Prevent user from generating blank lines (position adding)
More autofill algorithms and code
Generate a random ship based on size
Improve code and bugfix

Stay tuned for more updates.

Also, if you're using the tool and come across an incorrect outfit name, bug, or whatever please post it. You'll save everyone a lot of time and work. :steamhappy:
Last edited by Joker; Jul 6, 2016 @ 6:08pm
Joker Jul 7, 2016 @ 12:17pm 
Bump

Daily Update #3
Will be in this post.

Added today:
generate random based on chosen ship category
autofill changes
added another autofill
prevent adding empty lines when adding outfit positions.
reset button now clears inputs instead of refreshing the page
changed mass algorithm
cleaned up style
other code changes don't remember or not important to list here

Notes:
Autofill will only fill in blank or inputs that have a value of 0 when you click generate.
Generate random button will clear all fields and create a random ship based on your selected ship category.
Adding outfit positions requires several lines and each line is considered one position.
(If you need to add just one position just add it manually)

Tomorrow planned features:
Clean up code, make it more readable and more efficient.
Last edited by Joker; Jul 7, 2016 @ 7:45pm
< >
Showing 1-15 of 93 comments
Per page: 1530 50

Date Posted: Jul 4, 2016 @ 7:29pm
Posts: 93