Jump to content


olog hai of the east

Member Since 11 Jan 2006
Offline Last Active Jul 29 2007 01:52 AM

Topics I've Started

Creating Powers

29 July 2007 - 01:52 AM

I am back, to irritate you all. Until you are driven insane. :lol:

Anyway, what I want to ask is.

To create a new power, would I copy the power it is to be like, and edit the parts. Then make the button, behaviour, and experience?

Also, how do I make the behaviour to be different from the core code. Would I have to work on so FX?

Thanks in advance.

Making Beorn

12 March 2007 - 04:19 AM

I know this has been done so I was wondering if anyone who had done this could help me.

To make Beorn, How would I give him the option to toggle between man and bear.
Also how would I make Neutral Animals into actual units for example the Bear or Pig.

Thanks in Advance

My New Heroes

03 March 2007 - 05:54 AM

It may not be much but I have been stuck with adding new units/ heroes at the moment. I am proud to present Gamling and Damrod

http://s168.photobuc...t=NewHeroes.jpg

Coding Questions

26 February 2007 - 04:21 AM

Hi anyone looking at this.

I would like to add some new passive powers to a few new heros.
But I can't seem to learn how.

. Adding Powers, not copying. EG. Leadership and Armour and Weapon upgrade powers
. Giving Heroes unit skins
. Any moddeling tutorials

If you can any of these questions I would be grateful

Thanks in advance

Adding A New Power

24 February 2007 - 03:30 AM

Hi. I Am having slight trouble adding a custom made power I will post up the codes now. Although this is my power and would not like it copied.

Behavior = UnpauseSpecialPowerUpgrade ModuleTag_EnableHorn
		SpecialPowerTemplate		= SpecialAbilityHornOfBuckland
		TriggeredBy					= Upgrade_MerryHornOfBuckland
	End
	Behavior = SpecialPowerModule ModuleTag_HornStarter						
		SpecialPowerTemplate		= SpecialAbilityHornOfBuckland
		UpdateModuleStartsAttack	= Yes
		AntiCategory				= LEADERSHIP
		AttributeModifier			= BoromirGondorHornAntiCategory	; Used for the anti category duration only.
		AttributeModifierRange		= 100.0
		StartsPaused				= Yes							; obtained on level 2
	End
	Behavior = ModelConditionSpecialAbilityUpdate ModuleTag_HornUpdate   
		SpecialPowerTemplate	= SpecialAbilityHornOfBuckland
;		StartAbilityRange	   = 2.0


		UnpackTime			  = 1700								; Drawing the horn
		PreparationTime		 = 1									; nothing
		PersistentPrepTime	  = 1600								; Blowing
		PackTime				= 1666								; Putting horn away

;	PackSound			   = 
;	UnpackSound			 = 
;	TriggerSound			= 
;	PrepSoundLoop		   = 
		AwardXPForTriggering	= 0
	End

Thats in the object INI.

; -- Horn anims
		AnimationState		= UNPACKING SPECIAL_POWER_1
			Animation		   
				AnimationName	 = GUBoromir_SKL.GUBoromir_HRNA
				AnimationMode	 = ONCE
			End
		End
		AnimationState		= PREPARING SPECIAL_POWER_1
			Animation		   
				AnimationName	 = GUBoromir_SKL.GUBoromir_HRNB
				AnimationMode	 = ONCE
			End
			EnteringStateFX = FX_BoromirHorn
		End
		AnimationState		= PACKING SPECIAL_POWER_1
			Animation		   
				AnimationName	 = GUBoromir_SKL.GUBoromir_HRNC
				AnimationMode	 = ONCE
			End
		End
		AnimationState		= SPECIAL_POWER_1
			Animation		   
				AnimationName	 = GUBoromir_SKL.GUBoromir_HRNB
				AnimationMode	 = LOOP
			End
		End

Thats in animations

CommandButton Command_MerryHornOfBucklandButton
  Command				 = SPECIAL_POWER
  SpecialPower			= SpecialAbilityFakeLeadership
  Options				  = NONPRESSABLE
  TextLabel			   = CONTROLBAR:LastStand
  ButtonImage			 = UCCommon_AggresiveStance
  RadiusCursorType		= TrainingRadiusCursor
  Upgrade		= Upgrade_MerryHornOfBuckland
  ButtonBorderType		= ACTION
  DescriptLabel		   = CONTROLBAR:ToolTipLastStand
  InPalantir		  = Yes
  UnitSpecificSound	   = TheodenVoiceSpeech
End

Thats in commandbutton INI

SpecialPower SpecialAbilityMerryHornOfBuckland
  Enum			  = SPECIAL_GENERAL_TARGETLESS
  ReloadTime		= 120000; in milliseconds
End

Thats in SPecial Power Ini

Upgrade Upgrade_MerryHornOfBuckland
  Type			  = OBJECT
End

Thats In Upgrade

Command_SpecialAbilityMerryHornOfBuckland

Now im having a game dat. about commandset and The above string