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 10:28 am
All times are UTC + 0
I have some problems about Attach Effect based Cloak Gen.
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [6 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
MustaphaTR
Scorpion Sniper


Joined: 22 Jan 2015
Location: Kastamonu, Turkey

PostPosted: Wed Jul 22, 2015 5:33 am    Post subject:  I have some problems about Attach Effect based Cloak Gen. Reply with quote  Mark this post and the followings unread

I have some problems with Cloaking Machine using AttachEffect. It sometimes can not detect my units to cloak so i should attack command it to unit myself. But sometimes can. It also doesn't cloaks self. Here is the code.

Code:

;Building
[CACLOA]
UIName=Name:CACLOA
Name=Tech Cloaking Machine
Strength=750
Armor=steel
TechLevel=-1
Sight=10
Points=5
Power=-50
Powered=true
Capturable=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
DebrisAnim=Dbris1sm,Dbris1lg,Dbris4sm,Dbris5sm,Dbris4lg,Dbris7sm,Dbris8sm,Dbris5lg,Dbris4lg
MaxDebris=15
MinDebris=5
ThreatPosed=0
DamageParticleSystems=SparkSys,SmallGreySSys,BigGreySmokeSys
DamageSmokeOffset=220, 390, 150
HasRadialIndicator=true
DetectDisguise=yes
BaseNormal=no
;CloakGenerator=yes
;CloakRadiusInCells=10
NeedsEngineer=yes
Nominal=yes
Unsellable=yes
Insignificant=yes
DetectDisguiseRange=10
RadarVisible=yes
Image=NACLOA
Primary=CloakGenerator
OmniFire=yes
DamageSelf=yes
AttackFriendlies=yes
AttackCursorOnFriendlies=yes
CanPassiveAquire=yes
GuardRange=225
DefaultToGuardArea=yes

;Weapon
[CloakGenerator]
Damage=0
ROF=5
Range=10 ;To show the RadialIndicator true
Speed=1
AreaFire=yes
OmniFire=yes
FireOnce=no
Projectile=InvisibleAll
Warhead=CloakGenWH

;Warhead
[CloakGenWH]
Verses=100%,100%,100%,100%,100%,100%,100%,100%,100%,100%,100%
CellSpread=10
AffectsEnemies=no
AttachEffect.Duration=10
AttachEffect.Cloakable=yes

_________________
CnCD2K Mod: http://www.moddb.com/mods/red-alert-2-yuris-revenge-cncd2k-mod
Changed Dune Mod: http://www.moddb.com/mods/changed-dune
MustaphaTR's D2K Mod: http://www.moddb.com/mods/mustaphatrs-d2k-mod
Generals Alpha: http://www.moddb.com/mods/generals-alpha
Romanov's Vengeange: https://www.moddb.com/mods/romanovs-vengeance

Back to top
View user's profile Send private message
unknown_men
Cyborg Soldier


Joined: 09 Apr 2015
Location: Vi?t Nam

PostPosted: Wed Jul 22, 2015 12:05 pm    Post subject: Reply with quote  Mark this post and the followings unread

"MustaphaTR: It sometimes can not detect my units to cloak so i should attack command it to unit myself, It also doesn't cloaks self."

- Set Range=99999 if you want they always work.
- Check FireOnce=yes, DecloakToFire=no if you want self cloak.
- About RadialIndicator you should set Primary weapon like engineer VituralScanner with Range=10, CloakGenerator is Secondary. RadialIndicator only effect Primary weapon.

_________________
Under 2 year in conscription for socialism.

Back to top
View user's profile Send private message ModDB Profile ID
MustaphaTR
Scorpion Sniper


Joined: 22 Jan 2015
Location: Kastamonu, Turkey

PostPosted: Thu Jul 23, 2015 6:18 am    Post subject: Reply with quote  Mark this post and the followings unread

I solved detection problems. I added DecloakToFire=no too. But if i make FireOnce=yes. It causes flickering cloak (a cloaking-decloaking cycle) on both cloaked units and cloak generator. If i make FireOnce=no it still don't decloaks self.

_________________
CnCD2K Mod: http://www.moddb.com/mods/red-alert-2-yuris-revenge-cncd2k-mod
Changed Dune Mod: http://www.moddb.com/mods/changed-dune
MustaphaTR's D2K Mod: http://www.moddb.com/mods/mustaphatrs-d2k-mod
Generals Alpha: http://www.moddb.com/mods/generals-alpha
Romanov's Vengeange: https://www.moddb.com/mods/romanovs-vengeance

Back to top
View user's profile Send private message
badbully
Grenadier


Joined: 03 Jul 2015
Location: between heaven and hell "the healln point"

PostPosted: Thu Jul 23, 2015 10:29 am    Post subject: Reply with quote  Mark this post and the followings unread

MustaphaTR wrote:
I solved detection problems. I added DecloakToFire=no too. But if i make FireOnce=yes. It causes flickering cloak (a cloaking-decloaking cycle) on both cloaked units and cloak generator. If i make FireOnce=no it still don't decloaks self.


Add these code to your warhead and try again
AffectsAllies=yes
Malicious=no

_________________

Back to top
View user's profile Send private message Send e-mail Visit poster's website
MustaphaTR
Scorpion Sniper


Joined: 22 Jan 2015
Location: Kastamonu, Turkey

PostPosted: Thu Jul 23, 2015 2:12 pm    Post subject: Reply with quote  Mark this post and the followings unread

badbully wrote:


Add these code to your warhead and try again
AffectsAllies=yes
Malicious=no


Nothing changed.

_________________
CnCD2K Mod: http://www.moddb.com/mods/red-alert-2-yuris-revenge-cncd2k-mod
Changed Dune Mod: http://www.moddb.com/mods/changed-dune
MustaphaTR's D2K Mod: http://www.moddb.com/mods/mustaphatrs-d2k-mod
Generals Alpha: http://www.moddb.com/mods/generals-alpha
Romanov's Vengeange: https://www.moddb.com/mods/romanovs-vengeance

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


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Thu Jul 23, 2015 2:50 pm    Post subject: Reply with quote  Mark this post and the followings unread

Use ProjectileRange=0 instead of AreaFire.

_________________
"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 [6 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.1467s ][ Queries: 11 (0.0082s) ][ Debug on ]