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)..