Wielding strange new technologies and hungering for revenge, the Soviet Army invades America. Overwhelmed Allied forces, unprepared for the surprise attack, are decimated. Will freedom be crushed under the heels of Communist aggression? Red Alert 2 is another Real Time Strategy from Westwood the makers of the brilliant Command and Conquer series. This is one of the few RTS that really was modded heavily, and not just limited to new maps and or player models.

Post tutorial Report RSS Creating Lagless Railgun Systems

Everyone loves railguns but they have a major flaw: lag. Due to the complex nature of particle system calculations, railguns tend to lag a great deal when in mass numbers and even alone the weapons can cause susbtantial amounts of slow downs.

Posted by on - Intermediate Client Side Coding

[page=Introduction]
Everyone loves railguns but they have a major flaw: lag. Due to the complex nature of particle system calculations, railguns tend to lag a great deal when in mass numbers and even alone the weapons can cause susbtantial amounts of slow downs.

[page=Editing the Rules]
Find your railgun system and look for the Perturbation coefficients. Set those values to zero to take out 90% of the system lag. Those values include nice effects but they add extra calculations that are not truly needed. Set the ParticlesPerCoord to something small like .05 and that also will decrease lag.

Now find your railgun particle and lower the MaxEC to something like 20. That reduces the amount of time the railgun has to be calculated.

[page=Additionally]
There, now you have lagless railguns.

Additional Credits: DeeZires's Editing Guide

Additionally, this will work in Tiberian Sun and FireStorm.

Post comment Comments
Marethius
Marethius

dude where is the bloody downloadable tutorial i can't find it anywhere. All i want to do is create a particle system that has a railgun effect.

Reply Good karma Bad karma+1 vote
CCCP_Gosho
CCCP_Gosho

Click on "Editing the Rules"

Reply Good karma Bad karma-1 votes
Axmand
Axmand

Sorry man the "Editing the Rules" its no a clikeable link so i canĀ“t and the description above its no very helpfull, its no says which file must be edited.

Reply Good karma Bad karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: