Page 44 of 127
Re: Questions here: an inquiry thread! [Updated Sep 15th, 20
Posted: Sat Mar 14, 2015 8:05 pm
by NarnKar
Nah. Just feed the images into the blueprint code, and it should process automatically.
Re: Questions here: an inquiry thread! [Updated Sep 15th, 20
Posted: Sat Mar 14, 2015 8:13 pm
by WhiteWeasel
NarnKar wrote:Nah. Just feed the images into the blueprint code, and it should process automatically.
What blueprint code would that be?
Re: Questions here: an inquiry thread! [Updated Sep 15th, 20
Posted: Sat Mar 14, 2015 8:20 pm
by NarnKar
Since you're referring to base/on/charged, I assume you made an attack drone. Defense drones have an alternate category of names, using a separate gun sprite as well.
Unfortunately, you caught me as I was away from my workstation again...
Just look through blueprints.xml and find an Anti-Ship Combat Drone. There should be a line that says <images>combat.png</images> or something similar. Again, I'm away from my workstation, so I'm not sure if that's the exact name, but it's fairly similar.
For your custom combat drone, you should change <images> to say <images>your_name_here</images>. Then, in your resource folder, you should go img>ship>drones, and paste your drone images there. You'll want to name them like this:
your_name_here_base.png
your_name_here_on.png
your_name_here_charged.png
And the <images> tag in the drone blueprint will process it automatically. No animations code or anything.
Re: Teleportation on Low Health
Posted: Tue Mar 24, 2015 9:47 pm
by BrounieMan
Hey peoples, I was wondering if it would be possible to create a type of wimpy crew mod, one where if my crew is on low health they will automatically be transported to the medbay.
I don't necessarily want it for myself, I just sort of want to know if it's possible. I've never tried modding before but I'm thinking about starting and quite simply have no idea where to look for something like this. Any specific help on this would be grand-diddly-dandy
I've got a few other mod ideas floating around but I
have no idea how to implement them, or if they're even possible

Re: Questions here: an inquiry thread! [Updated Sep 15th, 20
Posted: Tue Mar 24, 2015 10:06 pm
by NarnKar
Nope, can't be done.
In general, if you're trying to add completely new content that would require new code, it probably can't be done, whereas if you're trying to add new uses of existing code, it will probably go through.
Re: Questions here: an inquiry thread! [Updated Sep 15th, 20
Posted: Tue Mar 24, 2015 10:49 pm
by BrounieMan
Bummer. Kind of thought it would be impossible. Thanks, anyways.

Re: Questions here: an inquiry thread! [Updated Sep 15th, 20
Posted: Sun Apr 05, 2015 5:05 pm
by Kmc2000
Ship help needed!
Ok, so now i've learned more about ship modding, i'm trying to make a basestar from bsg with raiders and centurions and a custom nuke weapon that takes 5 missiles per use, i've coded all this in and sprited etc. but it refuses to work for me, I am literally stumped, I looked at mods like drones plus for implimentation (and looked at the amber shard by dry eagle to see how he does it) but it still won't work, so if anyone is willing to have a look at it, i'd be very grateful as I have no clue what's going wrong with it.
File is here:
https://drive.google.com/open?id=0B9VUb ... authuser=0
Re: Questions here: an inquiry thread! [Updated Sep 15th, 20
Posted: Mon Apr 06, 2015 2:03 am
by NarnKar
From the subreddit:
"Spent a few hours figuring out how FTL is packaged and run, and I want to add an extra drone slot to my favorite ship: The Basilisk. Except editing the ship with SuperLuminal2 causes all kinds of problems, and editing a single .xml file and repackaging it using Slipstream seems needlessly complex.
What am I doing wrong?
Basically, I just want to repackage the blueprints.xml file with an updated value for a single entry. I can't figure out how to do this, and any information I can find is wrong or outdated.
Thanks!"
The easiest way to do this would be with some of SMM's advanced modding tags, but I'm unfamiliar with those. RAD-82, your thoughts?
Re: Questions here: an inquiry thread! [Updated Sep 15th, 20
Posted: Mon Apr 06, 2015 3:15 am
by RAD-82
I want to add an extra drone slot to my favorite ship: The Basilisk.
NarnKar wrote:The easiest way to do this would be with some of SMM's advanced modding tags, but I'm unfamiliar with those.
data/blueprints.xml.append
Code: Select all
<mod:findName type="shipBlueprint" name="PLAYER_SHIP_MANTIS_2">
<mod-overwrite:droneSlots>3</mod-overwrite:droneSlots>
</mod:findName>
Putting that into an .ftl file should do it.
Re: Questions here: an inquiry thread! [Updated Sep 15th, 20
Posted: Mon Apr 06, 2015 4:01 am
by Hubnester
What are the image files I need (other than the weapon sheet itself) if I wanted to make, say, a chain weapon like the Chain Ion? I kind of want to make a laser weapon that acts like CE's adaptive beams, but I don't have CE so I can't examine the code.
Also, would it be possible to create a Flak-like drone?