Jump to content


Photo

Realistic Lasers


  • Please log in to reply
3 replies to this topic

#1 Яάđịαит Ξхзя

Яάđịαит Ξхзя
  • Members
  • 37 posts
  • Location:Male', Maldives
  •  The Guy Behind The Specs!!

Posted 04 September 2008 - 03:56 AM

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.

;;;; 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

Then, create your Weapon
;;; Start Prism-Gattling Abuse Mixup Weaponry

[PrismFocus]  ; You'll regret it if you increase the damage. It already packs a wallop as it is.
Damage=3
ROF=1
Range=8
Speed=100
Projectile=InvisibleHigh
Warhead=PrismWarhead
LaserOuterSpread= 0,0,0
LaserDuration = 15
IsLaser=true
IsHouseColor=true
Report=ChronoLegionAttack

[PrismFocus2]
Damage=5
ROF=1
Range=8
Speed=100
Projectile=InvisibleHigh
Warhead=PrismWarhead
LaserOuterSpread= 0,0,0
LaserDuration = 15
IsLaser=true
IsHouseColor=true
Report=ChronoLegionAttack

[PrismFocus3]
Damage=8
ROF=1
Range=8
Speed=100
Projectile=InvisibleHigh
Warhead=PrismWarhead
LaserOuterSpread= 0,0,0
LaserDuration = 15
IsLaser=true
IsHouseColor=true
Report=ChronoLegionAttack

[PrismFocus4]
Damage=12
ROF=1
Range=8
Speed=100
Projectile=InvisibleHigh
Warhead=PrismWarhead
LaserOuterSpread= 0,0,0
LaserDuration = 15
IsLaser=true
IsHouseColor=true
Report=ChronoLegionAttack

[PrismFocus5]
Damage=17
ROF=1
Range=8
Speed=100
Projectile=InvisibleHigh
Warhead=PrismWarhead
LaserOuterSpread= 0,0,0
LaserDuration = 15
IsLaser=true
IsHouseColor=true
Report=ChronoLegionAttack

[PrismFocus6]
Damage=23
ROF=1
Range=8
Speed=100
Projectile=InvisibleHigh
Warhead=PrismWarhead
LaserOuterSpread= 0,0,0
LaserDuration = 15
IsLaser=true
IsHouseColor=true
Report=ChronoLegionAttack

[PrismFocusE]
Damage=7
ROF=1
Range=8.5
Speed=100
Projectile=InvisibleHigh
Warhead=PrismWarhead
LaserOuterSpread= 0,0,0
LaserDuration = 15
IsLaser=true
IsHouseColor=true
Report=ChronoLegionAttack

[PrismFocus2E]
Damage=9
ROF=1
Range=8.5
Speed=100
Projectile=InvisibleHigh
Warhead=PrismWarhead
LaserOuterSpread= 0,0,0
LaserDuration = 15
IsLaser=true
IsHouseColor=true
Report=ChronoLegionAttack

[PrismFocus3E]
Damage=12
ROF=1
Range=8.5
Speed=100
Projectile=InvisibleHigh
Warhead=PrismWarhead
LaserOuterSpread= 0,0,0
LaserDuration = 15
IsLaser=true
IsHouseColor=true
Report=ChronoLegionAttack

[PrismFocus4E]
Damage=16
ROF=1
Range=8.5
Speed=100
Projectile=InvisibleHigh
Warhead=PrismWarhead
LaserOuterSpread= 0,0,0
LaserDuration = 15
IsLaser=true
IsHouseColor=true
Report=ChronoLegionAttack

[PrismFocus5E]
Damage=21
ROF=1
Range=8.5
Speed=100
Projectile=InvisibleHigh
Warhead=PrismWarhead
LaserOuterSpread= 0,0,0
LaserDuration = 15
IsLaser=true
IsHouseColor=true
Report=ChronoLegionAttack

[PrismFocus6E]
Damage=27
ROF=1
Range=8.5
Speed=100
Projectile=InvisibleHigh
Warhead=PrismWarhead
LaserOuterSpread= 0,0,0
LaserDuration = 15
IsLaser=true
IsHouseColor=true
Report=ChronoLegionAttack

;;; End Prism-Gattling Abuse Mixup Weaponry

Thats pretty much all for the rulesmd.ini.. (Don't forget to add the building to the XXXBaseDefenses= list, or else the AI won't build it as you like.

Now, for the Artmd.ini

In the one too, duplicate the 'GAPRIS' entry and rename it to 'GAPRIS2' and add the following tag(s) to it.

Image=GAPRIS
Weapon1FLH=0,0,378
Weapon2FLH=0,0,378
Weapon3FLH=0,0,378
Weapon4FLH=0,0,378
Weapon5FLH=0,0,378
Weapon6FLH=0,0,378
Weapon7FLH=0,0,378
Weapon8FLH=0,0,378
Weapon9FLH=0,0,378
Weapon10FLH=0,0,378
Weapon11FLH=0,0,378
Weapon12FLH=0,0,378
EliteWeapon1FLH=0,0,378
EliteWeapon2FLH=0,0,378
EliteWeapon3FLH=0,0,378
EliteWeapon4FLH=0,0,378
EliteWeapon5FLH=0,0,378
EliteWeapon6FLH=0,0,378
EliteWeapon7FLH=0,0,378
EliteWeapon8FLH=0,0,378
EliteWeapon9FLH=0,0,378
EliteWeapon10FLH=0,0,378
EliteWeapon11FLH=0,0,378
EliteWeapon12FLH=0,0,378

Apart from this, its recommended to remove or comment out the 'IsAnimDelayedFire=yes' tag. or, you can always set it to no.

There you have it. go check it out. and uhh, make a distinguishing feature (or you'll confuse the two towers).. Add a CSF string to it. OR, you can have this as a special structure for a country. So that only that country gets to build it, and make sure that that country can't build the existing Prism Tower. (use ForbiddenHouses= and RequiredHouses= tags)

Its not a seriously overpowered building as it is. (basically the same as the normal Prism tower) but the effect looks better. (It fires a laser that doesn't go out until the enemy is destroyed, or it gets out of range OR a Power Failure occurs.) It even follows the enemy (much like Spotlight)..

Just when they think they have all the answers... I change the questions!

Posted ImagePosted Image
92% of teens have moved onto rap. If you are part of the 8% that still listen to real music, copy and paste this into your signature.


#2 Apollo

Apollo

    The bringer of doom

  • Hosted
  • 3,467 posts
  • Location:Core of Nexus
  • Projects:Robot Storm, Project Phantom
  •  1337 Modder

Posted 04 September 2008 - 05:03 AM

Heh, i had done this stuff ages ago however i cut it as with such rapid firing, the laser logic actually LAGS as you got higher laser beam duration than rof so first one doesnt even get to fade out when its drawing another.
Posted Image

EAApoc wrote:
The only written law in a C&C game I ever saw is please Mr.Developer make it fun and give me a lot of **** to explode, o and don't you ever get another soul to play Kane but Joe Kucan. Aside from those two rules, all bets are off =) hehe
-APOC

#3 SSTG

SSTG

    alive again!

  • Hosted
  • 1,270 posts
  • Location:NZ
  • Projects:might just go back to voxeling
  •  just voxeling stuff

Posted 04 September 2008 - 08:49 AM

Would it be less lag with a duartion of 3 or so?
Posted Image
Posted Image
Posted Image

#4 Яάđịαит Ξхзя

Яάđịαит Ξхзя
  • Members
  • 37 posts
  • Location:Male', Maldives
  •  The Guy Behind The Specs!!

Posted 04 September 2008 - 01:44 PM

I forgot to put that there.. (I copied the original core and changed it in this window, so that it won't have any or my own modifications).. It did lag, so I had changed that, but didn change it here..

Just when they think they have all the answers... I change the questions!

Posted ImagePosted Image
92% of teens have moved onto rap. If you are part of the 8% that still listen to real music, copy and paste this into your signature.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users