Page 1 of 1
I need help again coz I am a nooooooooooooooobbbbbbbbb
Posted: Sat May 28, 2016 11:47 am
by Stormbringer
Sigh... how do I make heavy lasers which fire three shots?
I believe most ov you will be groaning...

Re: I need help again coz I am a nooooooooooooooobbbbbbbbb
Posted: Sat May 28, 2016 11:53 am
by stylesrj
Look for the <shots> tag.
But I recommend you copy the Heavy Laser blueprint, call it "Dual Heavy Laser" or something and... well here's how I'd do it.
Code: Select all
<weaponBlueprint name="LASER_HEAVY_3">
<type>LASER</type>
<title>Heavy Laser Mark III</title>
<short>Heavy Laser III</short>
<tip>tip_laser</tip>
<desc>This heavy laser fires three shots in quick succession, each dealing 2 damage.</desc>
<tooltip>Fires 3 heavy lasers, 2 damage each with low chance of fire and breaching.</tooltip>
<damage>2</damage>
<shots>3</shots>
<sp>0</sp>
<fireChance>3</fireChance>
<breachChance>3</breachChance>
<stunChance>2</stunChance>
<cooldown>16</cooldown>
<power>4</power>
<cost>90</cost>
<!--was 75-->
<bp>10</bp>
<rarity>4</rarity>
<image>laser_heavy1</image>
<launchSounds>
<sound>heavyLaser1</sound>
<sound>heavyLaser2</sound>
<sound>heavyLaser3</sound>
</launchSounds>
<hitShipSounds>
<sound>hitHull1</sound>
</hitShipSounds>
<hitShieldSounds>
<sound>hitShield1</sound>
<sound>hitShield2</sound>
<sound>hitShield3</sound>
</hitShieldSounds>
<missSounds>
<sound>miss</sound>
</missSounds>
<weaponArt>boss_1</weaponArt>
<iconImage>heavyL</iconImage>
</weaponBlueprint>
It looks like a Boss Laser but it fires three shots, uses 4 power and costs more in stores. It'll also look funny when you mount it on any slot but you could always change it to the Heavy Laser if you want it to look normaller.
Also has a cooldown of 16 seconds.
Re: I need help again coz I am a nooooooooooooooobbbbbbbbb
Posted: Sat May 28, 2016 1:31 pm
by mr_easy_money
I recommend looking at MetzelMax's guide on creating weapons here:
http://www.ftlgame.com/forum/viewtopic.php?t=17122
It has an overview of what each tag does and other stuff about weapons (art, animation, etc.). I don't think it has any of the tags specially in AE, but I'm sure there is an overview of those tags in some other post.
Also, there is a thread specifically for questions here:
http://www.ftlgame.com/forum/viewtopic.php?f=12&t=17442
There are also useful modding reference links (guides, tools & tutorials) here:
http://www.ftlgame.com/forum/viewtopic.php?f=12&t=17135