UE3 - UDK Fast Projectile and spawn particule location

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

Jeremweb

New Member
May 22, 2010
9
0
1
Hello world !

I try to make a simple plasma gun like Quake 3 Arena.
But, when I test (dedicated server), the projectile spawn but the particle do not start at the MuzzleFlash Weapon.
I mean that the particule appears after a certain distance depending on the speed.
When the speed is low, all is good (speed < ~3000) but I want to have a speed like 15000.

I have screenshots for details and as like you can see my weapons and my particle with impressive design ;)

http://puu.sh/h7Nro/c6d5c6d5b7.png
http://puu.sh/h7NIm/4a204b860e.png
http://puu.sh/h7ROd/94a72016f1.png
http://puu.sh/h7RPO/829e595c65.png

The script is very simple :
Code:
class MAProj_Plasma extends UTProjectile;

defaultproperties
{
ProjFlightTemplate=ParticleSystem'WP_TEST.Effects.P_WP_PLASMA'
ExplosionDecal=MaterialInstanceTimeVarying'WP_RocketLauncher.Decals.MITV_WP_RocketLauncher_Impact_Decal01'
    ProjExplosionTemplate=ParticleSystem'WP_TEST.Effects.WP_ShotGunExplo'
    AmbientSound=SoundCue'A_Weapon_RocketLauncher.Cue.A_Weapon_RL_Travel_Cue'
    ExplosionSound=SoundCue'SoundCue'A_Weapon_Link.Cue.A_Weapon_Link_ImpactCue'

    DecalWidth=82
    DecalHeight=82
    speed=15000  
    MaxSpeed= 15000       
    Damage=10
    DamageRadius=5
    LifeSpan=5
    bCollideWorld=true
}
Someone have an explanation?
Thanks for your help !
 
Last edited:

Jeremweb

New Member
May 22, 2010
9
0
1
My bad !
Indeed, in that way it works!

Code:
speed=1  
MaxSpeed= 25000    
AccelRate = 100000

Thanks Wormbo !