Button Fortress

Modding, Map Editor, IES Scripting and Other Questions
Post Reply
juan11220
Posts: 14
Joined: 31 Oct 2014, 11:24

Button Fortress

Post by juan11220 »

Hello! I wish to add the HERA anti-missile button to a fortress.
How do i do it? Db?
Thanks you

User avatar
Dr.MonaLisa
High Representative
Posts: 8707
Joined: 17 Jun 2010, 11:21
Location: Poland
Has thanked: 49 times
Been thanked: 108 times

Re: Button Fortress

Post by Dr.MonaLisa »

Hello.
It seems like the fortress .ddf was never edited in UP1.5, so it should be:

EE2: zips\db.zip\db\Units\fortress.ddf
AOS: zips_ee2x\EE2X_db.zip\EE2X_db\Units\fortress.ddf

In the same folder inside zip, there should also be file "herc_noncombat.ddf".
Hera is "HercRepair" and has:

Code: Select all

SpecialPower
		{
			range = 2
			effects = [ HERC_Shield ]
		}
But I suppose you're interested in Hades, "HercElecWarfare":

Code: Select all

SpecialPower
		{
			range = 2
			effects = [ HERC_AntiMissileSystem HERC_EMP_blast ]
		}
Don't forget that those effects should be inside:

Code: Select all

abilities = [

]
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
juan11220
Posts: 14
Joined: 31 Oct 2014, 11:24

Re: Button Fortress

Post by juan11220 »

You are a genius!!!

Added after 2 hours 43 seconds:
Could the shield be made larger?
Post Reply

Return to “Questions”