Posted: Thu Jul 03, 2014 8:45 am Post subject:
Prism forward support beam
Subject description: ignoring custom electric bolt colors
Guys, I am using Ares prism forwarding for electric bolts which are colored into white color withBolt.Color123
As you can see, firing weapon is white colored, but support bolt is default colored
I even removed secondary weapon but it is same.
Here are my codes:
[RTESLA]
UIName=Name:TESLA
Name=Soviet Tesla Coil
Image=OBEL
BuildCat=Combat
Prerequisite=RPOWR,RRADR,RCNST
Strength=600
Armor=steel
TechLevel=5
Adjacent=4
Sight=8
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry,Aliens
AIBasePlanningSide=3 ;gs 0 for Good, 1 for Evil
Cost=1000
Points=30
Power=-75
Crewed=no
Capturable=false
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
;DestroyAnim=NATSLADM
Primary=TowerBolt
Secondary=TowerBoltSupport
Turret=no
TurretAnimZAdjust=-100
DebrisAnim=Dbris1sm,Dbris1lg,Dbris4sm,Dbris5sm,Dbris4lg,Dbris7sm,Dbris8sm,Dbris5lg,Dbris4lg
MaxDebris=15
MinDebris=5
ThreatPosed=40 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys,BigGreySmokeSys
DamageSmokeOffset=96, 64, 112
IsBaseDefense=yes
BaseNormal=no
Powered=yes
HasStupidGuardMode=false
WorkingSound=PowerOn
NotWorkingSound=PowerOff
ImmuneToPsionics=no ; defaults to yes for buildings, no for others
;Drainable=yes
AntiInfantryValue=25
AntiArmorValue=25
AntiAirValue=0
;gs these three are in abstract units and just help the AI pick the right base defense. (see AIForcePredictionFudge)
HasRadialIndicator=true
PrismForwarding=yes
PrismForwarding.MaxFeeds=4
PrismForwarding.MaxNetworkSize=3
PrismForwarding.SupportModifier=150%
PrismForwarding.SupportWeapon=TowerBoltSupport
; Fire by Telsa Coil
[TowerBolt]
Damage=250
ROF=90 ;120
Range=8
Speed=100
Warhead=Electric
Report=ShockTowerAttack1
;Projectile=InvisibleHigh
Projectile=Electricbounce
IsElectricBolt=true
; SJM: Now using home-grown DelayedFire system. Charges=yes
Bolt.Color1=255,255,255
Bolt.Color2=255,255,255
Bolt.Color3=255,255,255
Joined: 05 Sep 2013 Location: LocationNotFoundException at RealLife.Location.find() at line: -1
Posted: Thu Jul 03, 2014 11:14 am Post subject:
It seems that using PrismForwarding.SupportWeapon= instead of Secondary= makes it work sometimes(With IsRadBeam it does), but in this case there must be a bug. QUICK_EDIT
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Thu Jul 03, 2014 7:26 pm Post subject:
Yer, it works with PrismForwarding.SupportWeapon. I have a black supportbolt in my 2011 deadend build which worked well with 0.7dev build last time I checked IIRC. _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... QUICK_EDIT
I looked at the code this afternoon and I cannot see the electric bolt remembering what weapon fired it. This is specific to electric bolts, though and it's a one line fix. I changed something for 0.7, so I don't know whether this is affected, but it really shouldn't. I'll look into it. _________________ QUICK_EDIT
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Fri Jul 04, 2014 3:41 am Post subject:
Hmmm, there was something with my old HouseBoltColors implementation which triggered a crash like 1 out of 10k times which I thought was related to the fact that ebolts were constantly updated.
I'll also check. _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum