I need help again coz I am a nooooooooooooooobbbbbbbbb

Discuss and distribute tools and methods for modding. Moderator - Grognak
Post Reply
User avatar
Stormbringer
Posts: 247
Joined: Mon Apr 11, 2016 7:53 am

I need help again coz I am a nooooooooooooooobbbbbbbbb

Post by Stormbringer »

Sigh... how do I make heavy lasers which fire three shots?

I believe most ov you will be groaning... :x :x :x
Image
killin' slugs and beating Rebels since 2014, modding the game since 2016
User avatar
stylesrj
Posts: 3638
Joined: Tue Jul 08, 2014 7:54 am

Re: I need help again coz I am a nooooooooooooooobbbbbbbbb

Post by stylesrj »

Look for the <shots> tag.

Code: Select all

<shots>3</shots>
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.
User avatar
mr_easy_money
Posts: 625
Joined: Fri May 29, 2015 9:05 pm

Re: I need help again coz I am a nooooooooooooooobbbbbbbbb

Post 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
Post Reply