Printable Version of Topic

Click here to view this topic in its original format

SWR Productions Forum _ Generals/Zerohour Modding _ Special power enum in ROTR

Posted by: five star general 16 Jun 2017, 15:47

Hi guys i am making addon for ROTR and i want to add two more generals to USA to use different paradrops but dont know are there any free enums left in ROTR because russia uses two for VDV and conscripts. And i need one more for artillery barage.

Posted by: Shiro 17 Jun 2017, 13:44

ENUMs are engine instructions that do particular things, you cannot just randomly use one and expect it to work with whatever you want. Plus I am sure most if not all ENUMs are already planned out for ROTR.

... you can however copy an ENUM from a power that doesn't have a side-bar shortcut that is similar to what might want to do.

Posted by: five star general 18 Jun 2017, 0:38

QUOTE (Shiro @ 17 Jun 2017, 14:44) *
... you can however copy an ENUM from a power that doesn't have a side-bar shortcut that is similar to what might want to do.



Thanks this is helpfull.

Posted by: Shiro 18 Jun 2017, 10:31

You're welcome. But I should mention that having multiple different powers with the same ENUM only works mostly flawlessly if none of them are side-bar powers, hence the limitation mentioned.

This is because SAGE bugs out on this for some reason - if a player has multiple objects with different powers that use the same ENUM, then any side-bar shortcuts relating to those powers will not work. Oddly, it is ONLY the side-bar shortcuts, the regular buttons in the selected units/buildings will work just fine.

You can test this even in unpatched vZH, if you have a regular GLA and Toxin Gen Command Center and try to use the Ambush power's shortcut. It will not work.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)