Page 1 of 1

Weapon Projectile Invisible

Posted: Fri Nov 10, 2017 11:44 pm
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!

Re: Weapon Projectile Invisible

Posted: Sat Nov 11, 2017 6:23 am
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>

Re: Weapon Projectile Invisible

Posted: Sat Nov 11, 2017 6:35 am
by please dont touch me
Ah, that seems to have fixed it. Thanks!