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.

Report article 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 Master_Fenring on Nov 16th, 2004
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 Aug 28 2006, 12:16am says:

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.

+1 vote     reply to comment
CCCP_Gosho
CCCP_Gosho Oct 11 2006, 11:08am says:

Click on "Editing the Rules"

-1 votes     reply to comment
Axmand
Axmand Jan 23 2008, 11:52am replied:

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.

+1 vote     reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Icon
C&C: Red Alert 2
Platform
Windows
Developer
Westwood Studios
Publisher
Electronic Arts
Engine
Westwood 2D
Contact
Send Message
Official Page
Westwood.ea.com
Release Date
Released Oct 3, 2000
Game Watch
Track this game
Tutorial
Browse
Tutorials
Report Abuse
Report article
Related Games
C&C: Red Alert 2
C&C: Red Alert 2 Single & Multiplayer Real Time Strategy