Posted: Sun Jun 04, 2017 8:12 am Post subject:
Cloaking super weapon possible?
So I read about this AttachEffect but I'm not exactly sure if this is possible so I'm trying to give it a shot. Heck, I don't really know how this AttachEffect works as I have average to below average knowledge when it comes to coding/modding. I use IronCurtain so AI will cloak its own units then engage.
The thing is, it didn't work. So, is it possible to make a cloaking super weapon? QUICK_EDIT
AttachEffect
The AttachEffect system was designed as a spiritual
successor to NPatch‘s Upgrade logic,
but it was aimed to not be limited only to superweapons.
AttachEffect tags can be applied to both the Big Four (all TechnoTypes) and Warheads, unless stated otherwise.
alright short answer yes it can. long answer welp thats on you how you want it to work.
I am assuming you know the basic or foundation of modding, like how to mod weapons and units. I would suggest working with it on basic weapon to experiment with it, then adapting it to a superweapon once you are more familiar with ARES. _________________ Delirium.. QUICK_EDIT
Yes I'm always reading the documentation first before trying some sort of experiments.
Anyway, here's my attempt on Cloaking super weapon:
Code:
[CloakingSpecial]
UIName=Name:Iron
Name=Cloaking
IsPowered=true
RechargeVoice=00-I156
ChargingVoice=
ImpatientVoice=
SuspendVoice=
RechargeTime=.1
Type=IronCurtain
Action=IronCurtain
SidebarImage=IRCRICON
ShowTimer=yes
DisableableFromShell=yes ; gs this determines which superweapons are turned off by the checkbox
Range=1.4
LineMultiplier=3
SW.Range=3
SW.Animation=CLOAKRING
SW.AnimationHeight=1
SW.AffectsHouse=team
SW.RequiresTarget=infantry,units
Protect.Duration=0
AttachEffect.Duration=-1
AttachEffect.SpeedMultiplier=2
AttachEffect.Cloakable=yes
One is it kills infantry and the other is it's not making the units cloaked.
Maybe it's a mistake to make a super weapon based on Iron Curtain? But if I use something else, it might not work effectively well on AI. Or am I doing it wrong on AttachEffect? QUICK_EDIT
Type and Action need to change. It's what kills off the poor troops. Why would you go Order 66 on 'em? _________________ One and only developer of the Command & Conquer Dune "C&C D" mod.
m7 wrote:
I tend to release things I create so that assets are never lost to hard drive problems, accidental deletion, or me having to pretend to care about rippers taking things from my project when it is done.
Last edited by TAK02 on Sun Jun 04, 2017 10:40 am; edited 1 time in total QUICK_EDIT
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Sun Jun 04, 2017 10:38 am Post subject:
You should create a GenericWarhead SW with all AttachEffect properties applied through it's warhead.
Using IronCurtain for this is nonsense. _________________ "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
Ideally I want to make it similar to AI Iron Curtain where they'll form units near enemy base, using the Cloaking super weapon, then proceed the attack.
That's why I used the Iron Curtain as a base. QUICK_EDIT
Though I retained the super weapon action as Iron Curtain. This may be a stupid question but does that mean AI will use this super weapon similar on how AI uses Iron Curtain? QUICK_EDIT
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Sun Jun 04, 2017 12:12 pm Post subject:
I'd consider a halfly functioning variant of this (by using ally PsyDom targeting) better than something completely not working. _________________ "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
Man, if only there's an Iron Curtain AI Targeting...
But there isn't, as that is done through aimd.ini.
It only works with Action/Type=IronCurtain super weapon. Hence, only Iron Curtain.
What I mean is AI will use the super weapon similar on how and when they use their Iron Curtain.
Just like a Parabomb super weapon uses ParaDrop as its base super weapon yet its AI Targeting is Nuke(Or whatever preference does other people have) and not ParaDrop. QUICK_EDIT
Use SW.AITargeting=Base, the AI will then randomly fire it at units waiting in their base, which will then often be sent to attack soon after. I doesn't always work but it's the best method that I know of for making the AI use a super weapon like this on their own units. _________________
Use SW.AITargeting=Base, the AI will then randomly fire it at units waiting in their base, which will then often be sent to attack soon after. I doesn't always work but it's the best method that I know of for making the AI use a super weapon like this on their own units.
Agreed here. I use SW.AITargeting=Base for all buff-type SWs, such as a cloaking field, a permanent armor buff, and a healing circle. I too recommend this for best results. _________________ Tiberium Uprising (a few missions for TS): http://www.ppmsite.com/forum/viewtopic.php?t=31029 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