Nuclear_fallout

Modding, Map Editor, IES Scripting and Other Questions
Post Reply
Markus96
Posts: 4
Joined: 10 Jun 2019, 02:08
Has thanked: 1 time

Nuclear_fallout

Post by Markus96 »

Hi. Where exactly can I change the damage and duration of Nuclear_fallout215 of the MGMNuke and Nuclear_fallout on the ICBM Nuke?

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: Nuclear_fallout

Post by Dr.MonaLisa »

This should be in the UP1.5 area effects file. For both: Empire Earth II and Empire Earth II: The Art of Supremacy, it should be file:
zips\dbareaeffects_unittype.ddf

Code: Select all

DbAreaEffectInfo Nuclear_fallout215
{
	selectionType = None
	duration = 50
	
	effects = [
		EffectCauseDamageOverTime {
			range = RadiusFromLocation
			radius = 8
			mask = FootUnit
			player = NotTheWorld

			DamageAmount = 20
			NoDamageSource = true
			weaponType = Nuke
		}
				
		EffectCauseDamageOverTime {
			range = RadiusFromLocation
			radius = 8
			mask = LandNonFootUnit
			player = NotTheWorld

			DamageAmount = 10
			NoDamageSource = true
			weaponType = Nuke
		}
		
		EffectCauseDamageOverTime {
			range = RadiusFromLocation
			radius = 10
			mask = FootUnit
			player = NotTheWorld

			DamageAmount = 7
			NoDamageSource = true
			weaponType = Nuke
		}
				
		EffectCauseDamageOverTime {
			range = RadiusFromLocation
			radius = 10
			mask = LandNonFootUnit
			player = NotTheWorld

			DamageAmount = 3
			NoDamageSource = true
			weaponType = Nuke
		}

		EffectVisualGlow {
			range = RadiusFromLocation
			radius = 10
			mask = FootUnit
			player = NotTheWorld

			GlowType = Bad
			OwnerOnly = false
			Icon = spr_game_unitinfo_icon_nuke
			Tooltip = tt_power_nuclear_fallout
			VTooltip = vtt_power_nuclear_fallout
		}
				
		EffectVisualGlow {
			range = RadiusFromLocation
			radius = 10
			mask = LandNonFootUnit
			player = NotTheWorld

			GlowType = Bad
			OwnerOnly = false
			Icon = spr_game_unitinfo_icon_nuke
			Tooltip = tt_power_nuclear_fallout
			VTooltip = vtt_power_nuclear_fallout
		}		
	]
}
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
These users thanked the author Dr.MonaLisa for the post:
Markus96
Markus96
Posts: 4
Joined: 10 Jun 2019, 02:08
Has thanked: 1 time

Re: Nuclear_fallout

Post by Markus96 »

thanks
Post Reply

Return to “Questions”