Realistic Lasers

Tutorial for Yuri's Revenge YR

Avatar of Xero Exer

Xero Exer

Category: Code
Level: Intermediate
Created: Wednesday July 29, 2009 - 2:15
Updated: Sunday October 11, 2009 - 8:33
Views: 2063
Summary: Creating more realistic looking lasers in Yuri's Revenge
Rating
  • Staff-
  • Members-
  • Average-

0 votes

Page 1 2 3
We all know how Light Amplified by Stimulated Emission of Radiation don't do That kind of damage in milliseconds. (talking about Prism Towers). Now, Using the Gattling stuff, it can be made to have this 'focusing' effect. Here's how.

In this example, I'll be using a Duplicate Prism Tower because I'm too lazy to add a new laser object solely for this purpose.

First, the rulesmd.ini part.

We'll be using a duplicated version of the Prism Tower, so lets add this new ID to the BuildingTypes list.
##=FPRISM ;Prism Focus Whatsoever.

Change this to whatever name you gave your building.

Now lets create our building.
Just copy the [ATESLA] section and rename it to [FPRISM], or whatever you named it. then, Change the Following Tag
Image=GAPRIS => Image=GAPRIS2

Next up, Comment out, or remove the following tags

Primary=PrismShot
Secondary=PrismSupport

Then, Add these tags it.

              
Code
;;;; Start Abuse;;;; This part can be optimized further, needs more experimenting.
IsGattling=yes

TurretCount=1
WeaponCount=12

Weapon1=PrismFocus
EliteWeapon1=PrismFocusE
Weapon2=PrismFocus
EliteWeapon2=PrismFocusE
Weapon3=PrismFocus2
EliteWeapon3=PrismFocus2E
Weapon4=PrismFocus2
EliteWeapon4=PrismFocus2E
Weapon5=PrismFocus3
EliteWeapon5=PrismFocus3E
Weapon6=PrismFocus3
EliteWeapon6=PrismFocus3E
Weapon7=PrismFocus4
EliteWeapon7=PrismFocus4E
Weapon8=PrismFocus4
EliteWeapon8=PrismFocus4E
Weapon9=PrismFocus5
EliteWeapon9=PrismFocus5E
Weapon10=PrismFocus5
EliteWeapon10=PrismFocus5E
Weapon11=PrismFocus6
EliteWeapon11=PrismFocus6E
Weapon12=PrismFocus6
EliteWeapon12=PrismFocus6E

WeaponStages=6
Stage1=100
Stage2=200
Stage3=300
Stage4=400
Stage5=500
Stage6=600

EliteStage1=50
EliteStage2=100
EliteStage3=150
EliteStage4=200
EliteStage5=250
EliteStage6=300

RateUp=1
RateDown=50
;;;; Abuse Ends

Return to top