Question about Artillery

Discuss and distribute tools and methods for modding. Moderator - Grognak
Post Reply
Some_Random_Noob
Posts: 21
Joined: Thu Feb 11, 2016 2:27 am

Question about Artillery

Post by Some_Random_Noob »

If I give a ship an artillery system that is not available at the start, will artillery show up in stores like mind control and cloaking? If not, is there a way to make it show up?
User avatar
stylesrj
Posts: 3638
Joined: Tue Jul 08, 2014 7:54 am

Re: Question about Artillery

Post by stylesrj »

You have to set the rarity of the Artillery subsystem itself to a number greater than 0.
Be sure it's the subsystem, not the gun. Otherwise you'll find the Artillery in stores as a regular weapon which is probably not what you wanted.

But be careful. If you buy an artillery subsystem, the next time you reload your game, it'll crash because reasons. So you'll probably want to mod a version of the ship that starts with one you can use in its place to avoid this problem on the next reload.
Some_Random_Noob
Posts: 21
Joined: Thu Feb 11, 2016 2:27 am

Re: Question about Artillery

Post by Some_Random_Noob »

stylesrj wrote:You have to set the rarity of the Artillery subsystem itself to a number greater than 0.
Be sure it's the subsystem, not the gun. Otherwise you'll find the Artillery in stores as a regular weapon which is probably not what you wanted.

But be careful. If you buy an artillery subsystem, the next time you reload your game, it'll crash because reasons. So you'll probably want to mod a version of the ship that starts with one you can use in its place to avoid this problem on the next reload.
Would putting this code:

<systemBlueprint name="artillery">
<type>artillery</type>
<title>Artillery Beam</title>
<!-- dummy text. will steal from whatever weapon blueprint it uses-->
<desc>Powers a slow, high-powered beam that pierces all shields and does one damage per room hit. More power means faster cooldown.</desc>
<!-- dummy text. will steal from whatever weapon blueprint it uses-->
<startPower>2</startPower>
<maxPower>4</maxPower>
<rarity>1</rarity>
<upgradeCost>
<level>30</level>
<!-- level 2 -->
<level>50</level>
<!-- level 3 -->
<level>80</level>
<!-- level 4 -->
</upgradeCost>
<cost>150</cost>
</systemBlueprint>

in blueprints.xml.append accomplish that?
User avatar
stylesrj
Posts: 3638
Joined: Tue Jul 08, 2014 7:54 am

Re: Question about Artillery

Post by stylesrj »

Probably.
Look at Captain's Edition and how they did it if it doesn't work.
theDoomBox

Re: Question about Artillery

Post by theDoomBox »

Agreed. When in doubt, look at a mod that did exactly the same thing and see how they did it.
Braxbro
Posts: 78
Joined: Thu Mar 17, 2016 7:58 pm

Re: Question about Artillery

Post by Braxbro »

theDoomBox wrote:Agreed. When in doubt, look at a mod that did exactly the same thing and see how they did it.
Basically, when you can't do something or don't know how, you steal the assets from somewhere else. (not FTL, though, Subset wouldn't like that)
Kestrel A,B,C - Engi A,B,C - Stealth A - Zoltan A,B

Mantis board your teleporter. "They definitely can't just teleport us back onto our ship... these fleshy meatsacks are too dumb..."

"If we have AI, why not artificial stupidity?"
User avatar
fdagpigj
Posts: 84
Joined: Sat Apr 25, 2015 3:14 pm

Re: Question about Artillery

Post by fdagpigj »

Braxbro wrote:
theDoomBox wrote:Agreed. When in doubt, look at a mod that did exactly the same thing and see how they did it.
Basically, when you can't do something or don't know how, you steal the assets from somewhere else. (not FTL, though, Subset wouldn't like that)
Looks like you've been necroing a lot of random threads without adding anything very valuable. If you didn't know, when a thread receives a new reply, it gets pushed to the top of the board, so you probably shouldn't just comment things like ":lol:" on a long-dead topic, since it adds nothing and just annoys people.
Braxbro
Posts: 78
Joined: Thu Mar 17, 2016 7:58 pm

Re: Question about Artillery

Post by Braxbro »

fdagpigj wrote:
Braxbro wrote:
theDoomBox wrote:Agreed. When in doubt, look at a mod that did exactly the same thing and see how they did it.
Basically, when you can't do something or don't know how, you steal the assets from somewhere else. (not FTL, though, Subset wouldn't like that)
Looks like you've been necroing a lot of random threads without adding anything very valuable. If you didn't know, when a thread receives a new reply, it gets pushed to the top of the board, so you probably shouldn't just comment things like ":lol:" on a long-dead topic, since it adds nothing and just annoys people.
I did know; I'm just used to topics getting closed when they are dead. I'm pretty new here, so I haven't quite figured everything out...
Kestrel A,B,C - Engi A,B,C - Stealth A - Zoltan A,B

Mantis board your teleporter. "They definitely can't just teleport us back onto our ship... these fleshy meatsacks are too dumb..."

"If we have AI, why not artificial stupidity?"
Post Reply