Weapon Projectile Invisible

Discuss and distribute tools and methods for modding. Moderator - Grognak
Post Reply
User avatar
please dont touch me
Posts: 22
Joined: Fri Oct 27, 2017 7:49 am

Weapon Projectile Invisible

Post by please dont touch me »

Hello! I'm trying to make my own artillery weapon, which has its own custom projectile. However, the projectile is invisible when the artillery fires in-game. Help would be great.

Blueprint:

Code: Select all

<weaponBlueprint name="FIRE_ARTILLERY">  
   <type>BURST</type>        
   <flavorType>Physical Projectile Blast</flavorType>
   <drone_targetable>1</drone_targetable>
   <title>Cluster Fire-Grenade Shot</title>         
   <short>Fire Grenades</short>                       
   <desc>Shoots a cluster of 5 grenades in a large radius which deal no hull damage but deal 2 system damage and has a high chance of fire.</desc>    
   <tooltip>Fires 5 grenades which each deal 2 system damage and lights fires.</tooltip>         
   <radius>35</radius>
	<damage>0</damage>
        <sysDamage>2</sysDamage>
	<persDamage>2</persDamage>
	<spin>250</spin>
	<shots>1</shots>
	<sp>5</sp>
	<fireChance>7</fireChance>
	<breachChance>0</breachChance>
	<cooldown>40</cooldown>
	<power>3</power>
	<cost>150</cost>
	<bp>10</bp>
	<speed>25</speed>
	<rarity>0</rarity>
	<projectiles>
		<projectile count="5" fake="true">missile_fire</projectile>
	</projectiles>                                   
	<launchSounds>
		<sound>smallMissile1</sound>
		<sound>smallMissile2</sound>
	</launchSounds>
	<hitShipSounds>
		<sound>smallExplosion</sound>
	</hitShipSounds>
	<hitShieldSounds>
		<sound>hitShield1</sound>
		<sound>hitShield2</sound>
		<sound>hitShield3</sound>
	</hitShieldSounds>
	<missSounds>
		<sound>miss</sound>
	</missSounds>
	<weaponArt>drakon_artillery</weaponArt>
	<iconImage>missile</iconImage>
</weaponBlueprint>
Projectile Animation:

Code: Select all

<animSheet name="missile_fire" w="32" h="80" fw="32" fh="80">weapons/missile_fire.png</animSheet>
<anim name="missile_fire">
	<sheet>missile_fire</sheet>
	<desc length="1" x="0" y="0" />
	<time>1</time>
</anim>
Again, help would be appreciated. Thanks!
wow! its The Guy
Discord - microwave#0388. Contact if you need pirate paint done or just general shading work.
User avatar
bamalf
Posts: 204
Joined: Wed Dec 17, 2014 12:57 pm

Re: Weapon Projectile Invisible

Post by bamalf »

Instead

Code: Select all

<projectile count="5" fake="true">missile_fire</projectile>
must be

Code: Select all

<projectile count="5" fake="false">missile_fire</projectile>
Image Image Image
User avatar
please dont touch me
Posts: 22
Joined: Fri Oct 27, 2017 7:49 am

Re: Weapon Projectile Invisible

Post by please dont touch me »

Ah, that seems to have fixed it. Thanks!
wow! its The Guy
Discord - microwave#0388. Contact if you need pirate paint done or just general shading work.
Post Reply