[tool][wip] weapon creator

Discuss and distribute tools and methods for modding. Moderator - Grognak
lordrockit
Posts: 34
Joined: Sun Oct 06, 2013 10:01 pm

[tool][wip] weapon creator

Post by lordrockit »

hello again,
being that i am very board, i am going to make a tool to help us all, a html based weapon creator. this will provide you with the code to make the weapon, you just have o set it up! if you want any special features or want to host the web page for me, please let me know in the comments below.
thanks in advance,
-lordrockit
FTL lordrockit's weapon creator. Lordrockit- programer, 3d artist, gamer
lordrockit
Posts: 34
Joined: Sun Oct 06, 2013 10:01 pm

Re: [tool][wip] weapon creator

Post by lordrockit »

i have been working on a bit now, its not hard just tedious, but i plan the weapon base, anim sheets, and sounds. very tedious work, lots of picking apart mods(second time making a weapon first time i just copied, renamed, and coverd the image with my own) so some time now and it will be ready. just remember i want your feedback and sugestions so i can make this as good as possible. :D
FTL lordrockit's weapon creator. Lordrockit- programer, 3d artist, gamer
User avatar
R4V3-0N
Posts: 1287
Joined: Sun Oct 06, 2013 11:44 am

Re: [tool][wip] weapon creator

Post by R4V3-0N »

Even though I think looking at the coding and stuff is an important skill. I do quite like the idea off a program to assist me...

If only someone someday makes an event tool :)
R4V3-0N, a dreamer.
lordrockit
Posts: 34
Joined: Sun Oct 06, 2013 10:01 pm

Re: [tool][wip] weapon creator

Post by lordrockit »

i havent done anything with events yet so if you send me sample code for it with tons of comments, i can make a thing for it, simmiler to what im working on with text inputs and stuff to get a result. any way almost done :D sooooooooo much code :shock:
FTL lordrockit's weapon creator. Lordrockit- programer, 3d artist, gamer
lordrockit
Posts: 34
Joined: Sun Oct 06, 2013 10:01 pm

Re: [tool][wip] weapon creator

Post by lordrockit »

bout time this got done, there are some limitations with html that i had to change some things, so you have to add the quotes around the values, and replace brackets with the tag signs, but it works :D . http://jsfiddle.net/lordrockit/9w9v9hn9 ... ed/result/
edit DONT CLICK I JUST FORGOT ITS BROKEN SO IM EDITING THIS.
edit fixed new link http://jsfiddle.net/lordrockit/9w9v9hn9 ... ed/result/
FTL lordrockit's weapon creator. Lordrockit- programer, 3d artist, gamer
User avatar
stylesrj
Posts: 3638
Joined: Tue Jul 08, 2014 7:54 am

Re: [tool][wip] weapon creator

Post by stylesrj »

Sweet. Does this mean I can throw in images of a weapon and make a custom weapon out of it? Because that will make it much easier than fiddling with animation sheets and not getting the gun to fire :lol:

Can't wait...
lordrockit
Posts: 34
Joined: Sun Oct 06, 2013 10:01 pm

Re: [tool][wip] weapon creator

Post by lordrockit »

stylesrj wrote:Sweet. Does this mean I can throw in images of a weapon and make a custom weapon out of it? Because that will make it much easier than fiddling with animation sheets and not getting the gun to fire :lol:

Can't wait...
you still need an animation sheet but thats easy just decide how many frames you want, multiply the width of the image by the number of frames, and then animate from there read though this http://www.ftlgame.com/forum/viewtopic.php?f=12&t=17122 to get a general idea of how it works, also you need to know were to put the images for it to work, this also tells you that.


If you dont want your new weapon to look as dull as the standard stuff you want to add a new image and animation.
For that to work you first need to know how FTL will treat the image you give it:

Image

Here you see the basic laser animation strip.

The gray arrow points onto the base or depowered image. If your weapon is not powered, it will show this one.
The white arrow shows the start of the charging animation. Until your weapon is fully powered FTL will go through the remaining images of the powerup animation to the Charged Image until the weapon is powered.
The Green arrow is the Charged Image. Here the weapon is off cd and ready to fire. (this image also shows in stores)
The Red Arrow is the firing image. All images between the Charged Image and firing image are the shooting animation. All images behind the firing image are the recoil animation. (just as a note: Beam weapons only use the recoil animation as the animation they shoot).

from Metzelmax's artical on how to make a weapon
FTL lordrockit's weapon creator. Lordrockit- programer, 3d artist, gamer
lordrockit
Posts: 34
Joined: Sun Oct 06, 2013 10:01 pm

Re: [tool][wip] weapon creator

Post by lordrockit »

lol forgot ion damage here it is finished http://jsfiddle.net/lordrockit/9w9v9hn9 ... ed/result/
FTL lordrockit's weapon creator. Lordrockit- programer, 3d artist, gamer
User avatar
stylesrj
Posts: 3638
Joined: Tue Jul 08, 2014 7:54 am

Re: [tool][wip] weapon creator

Post by stylesrj »

I know how the animation sheets work. I've been struggling with them for some time in trying to create an ion blaster weapon :lol:
User avatar
R4V3-0N
Posts: 1287
Joined: Sun Oct 06, 2013 11:44 am

Re: [tool][wip] weapon creator

Post by R4V3-0N »

stylesrj wrote:I know how the animation sheets work. I've been struggling with them for some time in trying to create an ion blaster weapon :lol:
I know how to make weapon animations, it's just I am not accurate at making them and in the end of the day It boils down to me putting random numbers in the areas and double checking to not accidentally miss lable something :lol:


Anyway OP I would like to help you with events but I am afraid I know nearly nothing about them. The reason why I want someone to make a tool to make events is because events is the hardest thing you can do in FTL. (not considering custom art from scratch or making audio or what have you)
R4V3-0N, a dreamer.
Post Reply