Jump to content
  • Sign Up
1 vote
Guests cannot vote

Replace Hardcoded GodPowerExclusion/Hesperides flag with "GodPowerExclusion" proto-action

  • Views: 89
  • Submitted:

Age of Mythology has behaviour for actors (i.e Monuments) to block godpowers with the GodpowerExlusion flag, however this is limited as it is dependent on hardcode (i.e it's in the source code)

For example "GodpowerExclusion" only works if the player is "isis", and the range for the power is unmodifiable. The effect only works when the unit is in the "AliveState".

example code:

		<action name="GodpowerExclusion">
			<param name="MaximumRange" value1="30"></param> //maximum range of godpower block, at 0 there is no godpower blocking effect, modifable with techtree.xml
			<param name="Persistent"></param> //effect is persistant
			<param name="IsHesperides"></param> //used for Hesperides tree, basically alternate cursor
		</action>

Edited by XLightningStormL

User Feedback

Recommended Comments

There are no comments to display.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...