Posted: Thu May 18, 2017 3:32 pm Post subject:
Independent or common actor upgrade.
Hello,
OpenRA to modify the Trait "Upgrade" by the Trait conditions, I still have some difficulty in mastering this new function and I leave the potential connoisseur on this small problem to solve.
Is it possible to create independent upgrades per actor (for example, General Overlord and Gatling Upgrade), I have set up a "build queue" to assign to the vehicle to make it benefit from improvements , Only Condition does not seem to take this change into account. QUICK_EDIT
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Fri May 19, 2017 5:41 pm Post subject:
Short and easy answer: you can't. Pluggable - which would be the logical expectation, asin the logic used for TS component tower/powerplant/etc - requires the parent actor to be a building.
Easy but grants different gameplay answer: You need to apply the upgrades though a support power (GrantExternalConditionPower is how it's called IIRC, check the Iron Curtain) with the actor being the provider.
Complicated but with enough hassle could working visually answer: let aircraft actors being produced on that queue, which are destroyed immediately though KillsSelf and their death explosion provides the condition though a GrantExternalConditionWarhead. Yes, aircraft is a must for this, because you can't get ground moving actors spawned on top of each other. _________________ "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
thanks a lot for your reply . It worked! But there is still a small issue, the upgrade can't be "blocked" once completed, the condition is not applying on the "buildable" trait and the prerequisite is working in a "general way" QUICK_EDIT
You can post new topics in this forum You can 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