Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Fri Apr 19, 2024 6:25 pm
All times are UTC + 0
Prism forward support beam
Moderators: Ares Support Team at PPM, Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [5 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
MasterHaosis
General


Joined: 01 Nov 2010
Location: Serbia

PostPosted: Thu Jul 03, 2014 8:45 am    Post subject:  Prism forward support beam
Subject description: ignoring custom electric bolt colors
Reply with quote  Mark this post and the followings unread

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

; Prism Cannon support beam
[TowerBoltSupport]
Damage=300
ROF=80 ;60
Range=8
Speed=100
Projectile=InvisibleHigh
Warhead=DummyWarhead
IsElectricBolt=true
Bolt.Color1=255,255,255
Bolt.Color2=255,255,255
Bolt.Color3=255,255,255
Report=ShockTowerAttack2

_________________

PPM Halloween Season 2021

Back to top
View user's profile Send private message
Agent Z
AA Infantry


Joined: 05 Sep 2013
Location: LocationNotFoundException at RealLife.Location.find() at line: -1

PostPosted: Thu Jul 03, 2014 11:14 am    Post subject: Reply with quote  Mark this post and the followings unread

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.

Back to top
View user's profile Send private message
Graion Dilach
Defense Minister


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Thu Jul 03, 2014 7:26 pm    Post subject: Reply with quote  Mark this post and the followings unread

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

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID
AlexB
Commander


Joined: 31 May 2010
Location: Germany

PostPosted: Thu Jul 03, 2014 8:52 pm    Post subject: Reply with quote  Mark this post and the followings unread

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.

_________________

Back to top
View user's profile Send private message
Graion Dilach
Defense Minister


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Fri Jul 04, 2014 3:41 am    Post subject: Reply with quote  Mark this post and the followings unread

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

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
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


Powered by phpBB © phpBB Group

[ Time: 0.1725s ][ Queries: 11 (0.0081s) ][ Debug on ]