UE3 - UDK DrawScale in Projectile

  • 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.

KrAzDHeretic

New Member
Sep 19, 2010
4
0
0
I am making weapons using projectiles and it has been going well so far. However, one question I have is how do I make the explosion template larger?

For instance, in one of my weapons I have this in the DefaultProperties:
Code:
ProjFlightTemplate=ParticleSystem'VH_Scorpion.Effects.P_Scorpion_Bounce_Projectile_Red'
ProjExplosionTemplate=ParticleSystem'Envy_Effects.VH_Deaths.P_VH_Death_SpecialCase_1_Base_Near'

This sets the in flight projectile to the scorpion bounce particle and the explosion projectile to another particle which I'm sure is obvious.

Adding this to it scales the in flight particle up x10
Code:
DrawScale=10.0

However the explosiontemplate particle remains at x1. How do I change the explosion particle size?

Any help would be appreciated, I tried looking in the UT files but all I found was DrawScale which didn't affect explosiontemplate.
 

brold9999

New Member
Apr 5, 2009
142
0
0
There is a function setExplosionEffectParameters that allows you to adjust anything about the explosion particle system:

Code:
simulated function setExplosionEffectParameters(ParticleSystemComponent projExplosion) {
  super.setExplosionEffectParameters(projExplosion);

  projExplosion.setScale(explosionDrawscaleFactor);
}