Jump to content

Egozi44

Members
  • Content count

    841
  • Joined

  • Last visited

Everything posted by Egozi44

  1. I see, if only we had some method aside the attributes to set statusbit duration it would've solve everything, Mjjstral gave me this lua before: function OnZocomCondorCreated(self) ExecuteAction("UNIT_CHANGE_OBJECT_STATUS",self,60,1) local RemoveStatus = function() ExecuteAction("UNIT_CHANGE_OBJECT_STATUS",%self,60,0) end SetScriptTimer(2,RemoveStatus) end But strangely the remove status part after 2 seconds didn't work... Do you perhaps know any other lua commands that can disable it with timer?
  2. The only idea that I can think of is: To set two lua commands: one that change status to NO_AUTO_ACQUIRE NO_ATTACK_FROM_AI upon create, And another which spawn a dummy that will disappear after 2 secs that will trigger type object upgrade which will effect the condor's StatusToClear command. The question is if it even possible to effect other units with dummy (and I hope it won't effect All Condors and just the spawner), and if lua can do the second part together with the first part Edit Actually the both parts can be done in the xml and may help the spawn object to detect the spawner? (no idea if it relate or possible)
  3. Umm, it didn't work, I believe the game see unit B as "ground" unit for few secs (I always imagine that the game see it as if it a airctaft that just took off and have few sec till it reach the air.. that the only explanation if it replace the unit right away) Here what I done, I keep using EA's upgrades for trigger since they already set as type object <?xml version="1.0" encoding="utf-8"?> <AssetDeclaration xmlns="uri:ea.com:eala:asset"> <UpgradeTemplate id="Upgrade_Pack" Type="OBJECT" SkirmishAIHeuristic="IGNORE"> <GameDependency ForbiddenModelConditions="UNPACKING" /> </UpgradeTemplate> </AssetDeclaration> <?xml version="1.0" encoding="utf-8"?> <AssetDeclaration xmlns="uri:ea.com:eala:asset"> <UpgradeTemplate id="Upgrade_UnPack" Type="OBJECT" SkirmishAIHeuristic="IGNORE" WaypointQueueable="True"> <GameDependency ForbiddenModelConditions="UNPACKING" /> </UpgradeTemplate> </AssetDeclaration> This what both units have (well unit B have different name for upgrade and support power but that not really import so I included only one of them) : <StatusBitsUpgrade id="ModuleTag_StatusBitUpgrade" StatusToSet="UNATTACKABLE"> <TriggeredBy>Upgrade_UnPack</TriggeredBy> </StatusBitsUpgrade> <SpecialPower id="0xDC53024FE" UpdateModuleStartsAttack="True" AvailableAtStart="False" SpecialPowerTemplate="SpecialPower_GrantUnpackUpgradeCondor"> <AttributeModifierAffects Rule="UNPARSED"/> <RequirementsFilterMP Rule="UNPARSED"/> <RequirementsFilterStrategic Rule="UNPARSED"/> </SpecialPower> <GiveOrRestoreUpgradeSpecialPower id="0x5960413F6" SpecialPowerTemplate="SpecialPower_GrantUnpackUpgradeCondor" UpgradeToGive="Upgrade_UnPack" FaceTarget="True"/> <ReplaceSelfUpgrade id="0xFC1FA59EE" NewObjectUnpackTime="1.8s"> <TriggeredBy>Upgrade_UnPack</TriggeredBy> <ReplacementTemplate>ZOCOMCondorSpeedMod</ReplacementTemplate> </ReplaceSelfUpgrade> Trigger any bit withb lua upon creation Will work but then I have no way how to set statustoclear code with 2 sec duration... unless I use dummy maybe? I may include video of how it looks like in the game later but I don't think it needed, if you want I can send the xmls but I think what ever I posted here is enough. As for the rings, I took that part from the MARV fx and took the firehawk white line effect and recolor it to blue (which is hard to see thank to the rings) I thought about change the rings to orange so they have similar color to the super sonic aircrafts engine or replace it with flame effect of sort, but then recall that the Condor concept art showed it had blue flame effect from the engines so I thought it may be fit after all... not that I tried to follow that concept art (that look 10 times more awesome than the final model imo) to begin with xD
  4. Ummm I will try it but I assume it won't going to work because from what I saw the way EALA used to replace the unit via button (though it honestly up to us) is by replace the unit straight away to unit B the moment you'll press the button and then in the xml they ordered it so it tell the unit to show unpack animations (To unit B in this case), the status won't transfer to unit B as you said but this is exactly why they will attack it (cause unit B will be spawn right away faking unpack animation that make you think it unit A), also these units are supposed to be able to switch between each other at ease (Though having 30s cooldown for the ability) so it not one-side transformation, whatever unit A have will also need to be in unit B or both will get attacked by the evil spaghetti monster I added a video just so you can see things rather than relying on your imagination, as they saying "One video worth one thousand of selfies" https://www.youtube.com/watch?v=z-h4DopzBAc (Btw it not include the bug and you can ignore the game messages that appear above)
  5. Right now I'm not trying to add it to anything cause it will effect any other Condor as well once one of them use it's ability. I need some way to trigger it to each unit without any global upgrade. do you know any better way to remove status bit with duration ? telling it somehow to wait for the death of a dummy is not so good either cause it still effect other Condorside, unless it was all via lua I assume
  6. So we tried something along these lines, I reach to the conclusion that attribute have ZERO effect on air to air unit, it just ignore it no matter what we tried. Only statusbit have effect but then we have no way to remove it cause lua don't seem to have line that remove status-with-duration that work on these conditions. Mjjstral said we can try something the Scrin have that have upgrade which add statusbit and then upgrade that remove it once the dummy dies (Something along these lines, just different: <CommandSetUpgrade id="ModuleTag_GuardShieldAIModuleActiveCommandset" CommandSet="GuardShieldEmitterCommandSetAIModusON"> <TriggeredBy>Upgrade_GuardShieldAIModusON</TriggeredBy> </CommandSetUpgrade> <CommandSetUpgrade id="ModuleTag_GuardShieldAIModuleInactiveCommandset" CommandSet="GuardShieldEmitterCommandSet"> <TriggeredBy>Upgrade_GuardShieldAIModusOFF</TriggeredBy> </CommandSetUpgrade> <RemoveUpgradeUpgrade id="ModuleTag_CommandSet_GuardShield_RemoveFor_01"> <TriggeredBy>Upgrade_GuardShieldAIModusON</TriggeredBy> <UpgradeToRemove>Upgrade_GuardShieldAIModusOFF</UpgradeToRemove> </RemoveUpgradeUpgrade> <RemoveUpgradeUpgrade id="ModuleTag_CommandSet_GuardShield_RemoveFor_02"> <TriggeredBy>Upgrade_GuardShieldAIModusOFF</TriggeredBy> <UpgradeToRemove>Upgrade_GuardShieldAIModusON</UpgradeToRemove> </RemoveUpgradeUpgrade> <StatusBitsUpgrade id="ModuleTag_GuardShield_StatusBitUpgrade01" StatusToClear="RIDER2" StatusToSet="RIDER1"> <TriggeredBy>Upgrade_GuardShieldAIModusON</TriggeredBy> </StatusBitsUpgrade> <StatusBitsUpgrade id="ModuleTag_GuardShield_StatusBitUpgrade02" StatusToClear="RIDER1" StatusToSet="RIDER2"> <TriggeredBy>Upgrade_GuardShieldAIModusOFF</TriggeredBy> </StatusBitsUpgrade> ) But I suspect it will give other issues to the other Conodors that still don't need that upgrade. If I had sane way to remove the statusbit with duration it may solve my issue...
  7. I thought I report what progress I made so far, I tried few other things which related to self attribute, and other stuff that I forgot at this point which didn't worked, even some LUA dummy scripts that Mjjstral gave me still end up with the same result... However when I tried to applied statusbit in the behavior this way (without the upgrade button though): <StatusBitsUpgrade id="0xA764658E9" StatusToSet="NO_AUTO_ACQUIRE NO_ATTACK_FROM_AI" Duration="5s"> <TriggeredBy>Everyone_Faction</TriggeredBy> </StatusBitsUpgrade> it worked, but now enemies won't attack the unit at all, well the AI still try to attack it with few rockets squads few times, but most of the time they and other anti air units include aircrafts will end up ignore it, I suspect it because the duration code not working properly, I added it there anyway just for test assuming it won't work... I also notice that my unit also won't auto attack anyone after unpack/repack ability, probably due to the "NO_AUTO_ACQUIRE" part? though if it because of that it shouldn't be able to auto attack from the beginning at all cause the statusbitsupgrade being triggered by faction's upgrade the moment the unit being spawned .... At least I confirmed that statusbitsupgrade works, but how can I set it with duration setting now?
  8. Alright, this is literally the only serious thing that hold me from saying farewell to this unit, I rather finish with it before I move on to the next one :/, what was the direct upgrade+button method you was talking about? maybe I could try that till you will be able to check the xmls yourself.
  9. I think 50% health or damaged conditions can works, I recall I saw xml use health condition once, don't recall where and why Maybe you can also make upgrade that will disable the AutoHealBehavior once health had reached 100% to create a loop? Don't know if it possible though
  10. Well I got from the tests that the specialpower module must be there, but I have no clue how to use the SwitchLocomotorsSpecialAbilityUpdate with it, because the moment they both in the same xml of my gameobject, the button become unpressable as if it not linked to the specialpower, unit ability mostly do the same thing and the MCV's SP is not much different from it (at least in the chain xmls of the ability button I think?).... Looking at the Shadows or Venom didn't helped much. So unless you can explain to imbecile like myself what I do wrong, we may better try the other method you just mentioned, I can also try sending you the xmls and you can try add to them whatever works, but I will need to know exactly what cause I need to re-add it again to the broken-style-extracted-xmls of wrathed 1.08 buggy ver (which work th best despite extracting the xmls that way)
  11. Hell o_o, hope you will feel better man, fussy/drunk, but better~ That actually make me feel bad about bothering you with my noob's questions >.> (Nice plan ;D????...? ) Take your time replying ~ Anyway, I done 3 tests, so far all of them failed in the same manner by making the button unpressable: Test 1. <SpecialPower id="0x7BD8B3AF" AvailableAtStart="False" SpecialPowerTemplate="SpecialPower_GrantUnpackUpgradeCondor"> <AttributeModifierAffects Rule="UNPARSED"/> <RequirementsFilterMP Rule="UNPARSED"/> <RequirementsFilterStrategic Rule="UNPARSED"/> </SpecialPower> <SwitchLocomotorsSpecialAbilityUpdate id="ModuleTag_UnpackupdateUpdate" SpecialPowerTemplate="SpecialPower_GrantUnpackUpgradeCondor" UnpackTime="2s" BusyForDuration="2s" UseUpgradedLocomotor="false" Options="IGNORE_FACING_CHECK" SetObjectStatusOnTrigger="NO_AUTO_ACQUIRE NO_ATTACK_FROM_AI"/> Test 2. <SpecialPower id="ModuleTag_unpackdispatch" SpecialPowerTemplate="SpecialPower_GrantUnpackUpgradeCondor" UpdateModuleStartsAttack="true" AvailableAtStart="False" /> <SwitchLocomotorsSpecialAbilityUpdate id="ModuleTag_UnpackupdateUpdate" SpecialPowerTemplate="SpecialPower_GrantUnpackUpgradeCondor" UnpackTime="2s" BusyForDuration="2s" UseUpgradedLocomotor="false" Options="IGNORE_FACING_CHECK" SetObjectStatusOnTrigger="NO_AUTO_ACQUIRE NO_ATTACK_FROM_AI"/> Test 3. <SpecialPowerDispatchSpecialPower id="0x7BD8B3AF" AvailableAtStart="False" SpecialPowerTemplate="SpecialPower_GrantUnpackUpgradeCondor"> <AttributeModifierAffects Rule="UNPARSED"/> <RequirementsFilterMP Rule="UNPARSED"/> <RequirementsFilterStrategic Rule="UNPARSED"/> <SpecialPower SpecialPowerTemplate="SpecialPower_GrantUnpackUpgradeTrigger"/> </SpecialPowerDispatchSpecialPower> <SpecialPower id="0x5731B6987" SpecialPowerTemplate="SpecialPower_GrantUnpackUpgradeTrigger" UpdateModuleStartsAttack="True"> <AttributeModifierAffects Rule="UNPARSED"/> <RequirementsFilterMP Rule="UNPARSED"/> <RequirementsFilterStrategic Rule="UNPARSED"/> </SpecialPower> <SwitchLocomotorsSpecialAbilityUpdate id="0x1E1062960" SpecialPowerTemplate="SpecialPower_GrantUnpackUpgradeTrigger" UseUpgradedLocomotor="False" BusyForDuration="2s" FaceTarget="True" SetObjectStatusOnTrigger="NO_AUTO_ACQUIRE NO_ATTACK_FROM_AI" Options="IGNORE_FACING_CHECK" UnpackTime="2s"/>
  12. Well that may didn't work either (Unless I done something wrong as usual) You meant I should add thses line to the unit's xmls right? I tried to even add it to the GiveOrRestoreUpgradeSpecialPower just in case Here what I done <SpecialPower id="0x028447855" SpecialPowerTemplate="SpecialPower_GrantPackUpgradeCondor" AvailableAtStart="False" UpdateModuleStartsAttack="True"> <SwitchLocomotorsSpecialAbilityUpdate id="ModuleTag_UnpackupdateUpdate" SpecialPowerTemplate="SpecialPower_GrantPackUpgradeCondor" UnpackTime="2s" BusyForDuration="2s" UseUpgradedLocomotor="false" Options="IGNORE_FACING_CHECK" SetObjectStatusOnTrigger="NO_AUTO_ACQUIRE NO_ATTACK_FROM_AI"/> <AttributeModifierAffects Rule="UNPARSED"/> <RequirementsFilterMP Rule="UNPARSED"/> <RequirementsFilterStrategic Rule="UNPARSED"/> </SpecialPower> <GiveOrRestoreUpgradeSpecialPower id="0xE135B0503" SpecialPowerTemplate="SpecialPower_GrantPackUpgradeCondor" FaceTarget="True" UpgradeToGive="Upgrade_Pack"/> <SwitchLocomotorsSpecialAbilityUpdate id="ModuleTag_UnpackupdateUpdate" SpecialPowerTemplate="SpecialPower_GrantPackUpgradeCondor" UnpackTime="2s" BusyForDuration="2s" UseUpgradedLocomotor="false" Options="IGNORE_FACING_CHECK" SetObjectStatusOnTrigger="NO_AUTO_ACQUIRE NO_ATTACK_FROM_AI"/> <ReplaceSelfUpgrade id="0xFC14FA9EE" NewObjectUnpackTime="1.8s"> <TriggeredBy>Upgrade_Pack</TriggeredBy> <ReplacementTemplate>ZOCOMCondorEmpMod</ReplacementTemplate> </ReplaceSelfUpgrade>
  13. Alright, will do it in the unit's xml, don't we also need to add NO_ATTACK_FROM_AI in the setobjectstatus as well? And I don't need to mess with the SP xml like you said in this post: right?
  14. Well... if no one have better idea then I probably must use EA's method (Unless you have better idea or you notice I did something wrong, please tell me anyone here have better idea :/ ) I actually didn't have trillion issues (as you have guessed) but just three major ones (may have more but these are the ones I notice right away) 1. The unit unpacking animation was a bit broken (have idea how to solve it though) 2. For some reason when I unpack/repack the unit it stop the selection of the unit and make me reselect it (unlike the any other unpack unit in this game include the scrin mothership) 3. When I change the jet mod to the plane mod (that move in circles), The plane won't move in circles till you tell it to move manually, it have the same locomators and JetAIUpdate as the Firehawk and didn't gave me this issue when I only replaced Unit A with B and vice versa If no one have any clue how to solve it with the method above (please tell me you have ;( ) Then I post the unit xml and hopefully someone can figure what causing issue 2 and 3 (and 1 if I won't be able to solve it on my own)
  15. ..... that actually doesn't work either o_o I added this to the unit behvior: <FireWeaponUpdate id="ModuleTag_Fireweapon"> <FireWeaponNugget OneShot="true" Firedelay="0.1s" WeaponName="CondorFakeWeaponForUnpack"/> </FireWeaponUpdate> And this in the behvior beneath <slowdeath/> just in case: <FireWeaponWhenDead id="0xF6CD4A6D3" InitiallyActive="True" DeathWeapon="CondorFakeWeaponForUnpack"> <DieMuxData DeathTypes="ALL"/> <WeaponFireProbability DeathType="ALL" ChancePercentage="100"/> </FireWeaponWhenDead> Made this attributie: <?xml version="1.0" encoding="utf-8"?> <AssetDeclaration xmlns="uri:ea.com:eala:asset"> <AttributeModifier id="AttributeModifier_CondorUnpack" Duration="2s" ObjectStatusToSet="NO_AUTO_ACQUIRE NO_ATTACK_FROM_AI" /> </AssetDeclaration> And made this weapon: <?xml version="1.0" encoding="utf-8"?> <AssetDeclaration xmlns="uri:ea.com:eala:asset"> <WeaponTemplate id="CondorFakeWeaponForUnpack" Name="CondorFakeWeaponForUnpack" AttackRange="100" ClipSize="1" RadiusDamageAffects="SELF"> <FiringDuration MinSeconds="0.1s" MaxSeconds="0.1s" /> <Nuggets> <AttributeModifierNugget AttributeModifierName="AttributeModifier_CondorUnpack" Radius="1"> <SpecialObjectFilter> <IncludeThing>ZOCOMCondorEmpMod</IncludeThing> <IncludeThing>ZOCOMCondorSpeedMod</IncludeThing> </SpecialObjectFilter> </AttributeModifierNugget> </Nuggets> </WeaponTemplate> </AssetDeclaration> Is something missing or was made wrong?
  16. Ok I done this: <?xml version="1.0" encoding="utf-8"?> <AssetDeclaration xmlns="uri:ea.com:eala:asset"> <SpecialPowerTemplate id="SpecialPower_GrantPackUpgradeCondor" AttributeModifier="AttributeModifier_CplaneUnpack" AttributeModifierAffectsSelf="true" ReloadTime="5s" TargetType="NONE"> <ObjectFilter Rule="UNPARSED" /> <ForbiddenObjectFilter Rule="UNPARSED" /> </SpecialPowerTemplate> </AssetDeclaration> And this <?xml version="1.0" encoding="utf-8"?> <AssetDeclaration xmlns="uri:ea.com:eala:asset"> <AttributeModifier id="AttributeModifier_CplaneUnpack" Duration="2s" ObjectStatusToSet="NO_AUTO_ACQUIRE NO_ATTACK_FROM_AI" /> </AssetDeclaration> And it didn't work, did I need to filter/tag it or anything of sort? Also I got an idea from the behemoth If the thing above doesn't work, how about adding a weapon that trigger upon unit "Creation" and use that attribute?
  17. Welp... doing it the same way as EA done give me trillion of bugs Are you sure there's no way to somehow make enemies ignore the unit when they using ability?
  18. I see, it still strange though, In the scrin mcv case it turn from flying unit into a structure In my unit's case Both units are aircrafts...
  19. Well tried it and gave up as well If it didn't work for you, there's no reason luck will shine on me xD I may just give up on the whole veterancy inherit.... I'm more concern about it being collide And just found out new issue I need help with... it seen that when the plane is under upack/repack ability, All kind of ground unit can shoot on it.... despite both gameobjects being aircrafts (unlike Scrin's MCV) Any idea what I can do in these situations? none of the units attack the scrin's MCV when unpack on air till it close to the ground... and I doubt it because it have double replacement gameobjects... though making double replacement and set the gameobject that come in between as attackable may work but I assume there's easier method if Scrin's aren't like that.
  20. 1. I tried it a few times and didn't was sure if I saw a different (the animation happened too fast but still look somewhat wrong), So I thought I'll ask about this code here and hopefully know how it works so I won't waste my time messing with it. 3. Well it was the CheckBuildAssistant="True" after all. As for your question, this unit is aircraft (more like havocraft that similar to the Venom) that transform into aircraft that act like the firehawk in midair, it stay as Air unit in both cases but transform into different gameobject ID with the replaceself as unit's ability, it more of supportive unit that have A mod (shoot emp ray on ground only) and B mod (move faster but replace the emp to AA missiles), I originally thought about making the second form weaponless (which could've stay rankless as it wont be able to kill anyone) so it will just rely on it speed for escape purposes, but thought it won't hurt to give it weak anti air missiles as escape only option look so-so (which now going to look weird if it stay rank-less), and the ability have cool down so it won't be useful at all till you can unpack it again. Are the shadows have better way to "transform" than replaceself? as far as I recall they just switch animation and locomotor but that all (will check it when I be home)
  21. Also may I ask how I can make the transformation ability to be available all the time? because it currently available only when the plane is not above any object (like the mcv) I thought it may be relate to the CheckBuildAssistant="True" but It probably matter of flags Do I need to add flag like this: Flags="WATER_OK SHARED_SYNC IS_PLAYER_POWER IGNORE_MAP_EXTENTS" To the modified SpecialPower_GrantUnpackUpgrade and SpecialPower_GrantpackUpgrade support power? (it have different name id so it won't effect the mcvs)
  22. 1. The FadeEndFrame="" FadeBeginFrame="" codes can't be used for it? they always on -1 at default though so don't sure how they works 2. I see, if you don't know what cause it I guess there's no point in upload the xml then? 3. Don't sure I got how it done as I never done something like this before, you mean I need to make 3 unpack/repack buttons that will be open for each rank upgrade (while the old one will get lock after each rank upgrade)? Or you meant something else? I think it will look funny, And it probably cause the rank FX to show up each time the ability was used (which can be deleted from the experience xml... but then it won't show the rank fx on normal state when level up). The EquivelantTo is not needed as this unit work a bit similar to the Empire of the rising sun's transformers from RA3, which probably going to work better as separate units.
  23. Well I solved most of my issues, I moved my other questions to another thread as this one become long and seemed to be ignored
  24. I have 2 issues I need help with 1. I moded the ST Hammerhead to have mores bones and have 2 sub objects that will function as sort of bunkers, I found out only recently that it causes it to sometimes spinning around in loop when you order it to unload squads in small spaces (Like next to building and etc) and do it in specific timing, I suspect it because the new bones/sub objects trying to avoid get touched by the building (or the bones just broken? though nothing else in terms of ability or animation seem to work wrong), the only way to stop the loop is to get the another hammerhead to bump the old one by moving next to it or load/unload squads near it, normal hammerhead that don't have modify bones and sub objects is unaffected Dx xD Could someone take a "loop" on the xml and tell me if there's a way to force it to unload without dancing in the air? SteelTalonsHammerhead.rar 2. I added new unit that came out form the GDI's airfield the same way as the Hammerhead, however it take more time for it to descend compared to the hammerhead despite having the same Locomotor, Normal and TAXIING speeds, and ReinvisibilityDelay. So what I miss here? how can I make it descend faster? Kane annoyed by the fact that other being stuck with him in the skies!
×