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 content RSS feed 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

You are not logged in, your comment will be anonymous unless you join the community. Or sign in with your social account:

Icon
C&C: Red Alert 2
Platforms
Windows
Developer
Westwood Studios
Publisher
Electronic Arts
Engine
Westwood 2D
Contact
Send Message
Homepage
Westwood.ea.com
Release date
Game watch
Start tracking
Tutorial
Browse
Tutorials
Share
Related Games
C&C: Red Alert 2
C&C: Red Alert 2 Real Time Strategy
Related Engines
Westwood 2D
Westwood 2D Proprietary
Related Groups
Electronic Arts
Electronic Arts Developer & Publisher
Westwood Studios
Westwood Studios Developer & Publisher