Jump to content


coldplay62

Member Since 02 Jul 2006
Offline Last Active Jul 01 2007 02:13 AM

Topics I've Started

Athelas area

03 July 2006 - 12:05 AM

Can we define an area with athelas ? I have tried but it doesn't work...... :p

Heal power for Saruman

02 July 2006 - 04:53 PM

Hello everyone,
I have make a heal power for Saruman with the power of EvenStar heal power, but it doesn't work properly : Saruman just does his animation, and the heal power doesn't work . I am really desperate. :(

I show you the codes I have put in the game :

-evilfactionunitd.ini :
Behavior = SpecialPowerModule ModuleTag_SarumanHealEnabler
	SpecialPowerTemplate	= SpecialAbilitySarumanHeal 
	InitiateSound				= SarumanVoiceSpeechCraft
	UpdateModuleStartsAttack  = Yes						   
	TriggerFX				= FX_HealPower; FX_SpeechCraft 
	StartsPaused				= No
	SetModelCondition		= ModelConditionState:USER_1
	SetModelConditionTime	= 3.0
	End

Behavior = SpecialAbilityUpdate ModuleTag_SarumanHealStarter			 
	   SpecialPowerTemplate	= SpecialAbilitySarumanHeal 
	   StartAbilityRange	   = 200.0 
	   UnpackTime			  = 1; Nothing to touching it
	   PreparationTime		 = 2000 ; touching it to grabbing it
	   PackTime				= 2096; whacking it to holding it nice
 	   AwardXPForTriggering	= 0
	End   

Behavior = PlayerHealSpecialPower ModuleTag_SarumanHealUpdate 
		SpecialPowerTemplate = SpecialAbilitySarumanHeal	   
		HealAffects		 = INFANTRY CAVALRY MONSTER MACHINE 
		HealAmount		= 0.9; 1.0; 0.5 = 50% of maximum health
		HealRadius			 = 90.0; SPELL_HEAL_RADIUS_UNIT_SCAN
		HealFX			 = FX_SpellHealUnitHealSaruman;  FX_SpellHealUnitHealBuff
;FX_DefaultUnitHealBuff																	  
			  End			  

   Behavior = AutoHealBehavior ModuleTag_SarumanHealing
		StartsActive = Yes
		HealingAmount = HERO_HEAL_AMOUNT
		HealingDelay = 1000
		StartHealingDelay = HERO_HEAL_DELAY
		HealOnlyIfNotInCombat = Yes
	End

in commandbutton.ini :
CommandButton Command_SpecialAbilityHealPower
  Command				 = SPECIAL_POWER 
  SpecialPower			= SpecialAbilitySarumanHeal 
  Options				 = NEED_TARGET_POS CONTEXTMODE_COMMAND
  TextLabel			   = CONTROLBAR:HealPower
  ButtonImage			 = HPSaruman
;  CursorName			  = Bombard
  RadiusCursorType		=  HEAL
;  InvalidCursorName	   = GenericInvalid
  ButtonBorderType		= ACTION 
  DescriptLabel		   = CONTROLBAR:ToolTipHealPower
  InPalantir			  = Yes
  AutoAbility			  =  No ;  Yes 
  AffectsAllies			  = Yes
; PresetRange			  = 50.0; 100.0
;  NeedDamagedTarget		  = Yes
End

in specialpower.ini :
;------------------------------------------------------------------------------
SpecialPower SpecialAbilitySarumanHeal
	Enum				= SPECIAL_SPELL_BOOK_HEAL 
	ReloadTime		  = 170000;120000
	PublicTimer		 = No
			  RadiusCursorRadius = 90.0; 150.0
End
Please please please, can you help me ? I would be most grateful. Thank you.

Heal power for Saruman

02 July 2006 - 01:12 PM

Hello everyone,
I have make a heal power for Saruman with the power of EvenStar heal power, but it doesn't work properly : Saruman just does his animation, and the heal power doesn't work . I am really desperate. :(

I show you the codes I have put in the game :

-evilfactionunitd.ini :
Behavior = SpecialPowerModule ModuleTag_SarumanHealEnabler
	SpecialPowerTemplate	= SpecialAbilitySarumanHeal 
	InitiateSound				= SarumanVoiceSpeechCraft
	UpdateModuleStartsAttack  = Yes						   
	TriggerFX				= FX_HealPower; FX_SpeechCraft 
	StartsPaused				= No
	SetModelCondition		= ModelConditionState:USER_1
	SetModelConditionTime	= 3.0
	End

Behavior = SpecialAbilityUpdate ModuleTag_SarumanHealStarter			 
	   SpecialPowerTemplate	= SpecialAbilitySarumanHeal 
	   StartAbilityRange	   = 200.0 
	   UnpackTime			  = 1 ; Nothing to touching it
	   PreparationTime		 = 2000 	; touching it to grabbing it
	   PackTime				= 2096 ; whacking it to holding it nice
 	   AwardXPForTriggering	= 0
	End   

Behavior = PlayerHealSpecialPower ModuleTag_SarumanHealUpdate 
		SpecialPowerTemplate = SpecialAbilitySarumanHeal	   
		HealAffects		 = INFANTRY CAVALRY MONSTER MACHINE 
		HealAmount		= 0.9; 1.0; 0.5 = 50% of maximum health
		HealRadius			 = 90.0; SPELL_HEAL_RADIUS_UNIT_SCAN
		HealFX			 = FX_SpellHealUnitHealSaruman;  FX_SpellHealUnitHealBuff
	;FX_DefaultUnitHealBuff																	  
			  End			  

   Behavior = AutoHealBehavior ModuleTag_SarumanHealing
		StartsActive = Yes
		HealingAmount = HERO_HEAL_AMOUNT
		HealingDelay = 1000
		StartHealingDelay = HERO_HEAL_DELAY
		HealOnlyIfNotInCombat = Yes
	End

in commandbutton.ini :
CommandButton Command_SpecialAbilityHealPower
  Command				 = SPECIAL_POWER 
  SpecialPower			= SpecialAbilitySarumanHeal 
  Options				 = NEED_TARGET_POS CONTEXTMODE_COMMAND
  TextLabel			   = CONTROLBAR:HealPower
  ButtonImage			 = HPSaruman
;  CursorName			  = Bombard
  RadiusCursorType		=  HEAL
;  InvalidCursorName	   = GenericInvalid
  ButtonBorderType		= ACTION 
  DescriptLabel		   = CONTROLBAR:ToolTipHealPower
  InPalantir			  = Yes
  AutoAbility			  =  No  ;  Yes 
  AffectsAllies			  = Yes
; PresetRange			  = 50.0; 100.0
;  NeedDamagedTarget		  = Yes
End

in specialpower.ini :
;------------------------------------------------------------------------------
SpecialPower SpecialAbilitySarumanHeal
	Enum				= SPECIAL_SPELL_BOOK_HEAL 
	ReloadTime		  = 170000 ;120000
	PublicTimer		 = No
			  RadiusCursorRadius = 90.0; 150.0
End
Please please please, can you help me ? I would be most grateful. Thank you.