Home Unreal Engine

Custom Weapon and Projectile Not Showing Up in Game (URGENT)

Hello,

I'm creating a custom weapon for my game. I created the UScript for them and placed a Weapon factory in my game that corresponds to the new weapon. When I pick up the new weapon, it just says "link gun" and doesn't change. The projectiles don't change either.

Here is my code:

MyProjectileOfDoom.uc
class MyProjectileOfDoom extends UTProj_Rocket;

DefaultProperties
{
	ProjFlightTemplate=ParticleSystem'WP_LinkGun.Effects.P_FX_LinkGun_3P_Beam_MF_Blue';
	ProjExplosionTemplate=ParticleSystem'WP_LinkGun.Effects.P_WP_Linkgun_Skeleton_Dissolve';
	ProjectileLightClass=class'UTGame.UTShockComboExplosionLight';
	ExplosionSound=SoundCue'A_Weapon_BioRifle.Weapon.A_BioRifle_FireImpactExplode_Cue';


}

MyWeaponOfDoom.uc
class MyWeaponOfDoom extends UTWeap_LinkGun;

DefaultProperties
{
	WeaponProjectiles(0)=class'MyProjectileOfDoom';
	AmmoCount=50;
}

Where am I going wrong? Any help would be greatly appreciated and is rather urgent. Thank you!
Sign In or Register to comment.