Jump to content


Photo

Editing the Witch-King


  • Please log in to reply
12 replies to this topic

#1 King Thranduil

King Thranduil

    King of Mirkwood

  • Members
  • 149 posts
  • Location:Mirkwood Forest

Posted 22 November 2006 - 12:30 AM

How do I edit the Witch-king to give him leadership and the Black Riders' Morgul blade attack?

I have the INI opened, but I can't seem to find it. My damn ADD isn't being very helpful and cooperative, either. Any help would be a great help.

Edited by King Thranduil, 22 November 2006 - 12:38 AM.


#2 Fingulfin

Fingulfin

    I Like Pi3. Do you?

  • Hosted
  • 1,752 posts
  • Location:California, USA
  • Projects:Staying Alive.
  •  This place looks familiar. I can't remember why.

Posted 22 November 2006 - 01:05 AM

DELETED SECOND POST
Please don't double post within ten minutes of each other. Give us at least 24 hours to respond before you post again.
Posted Image
--------------------------------------
"You look like a ghost of your former self..."

#3 Nazgul Lord

Nazgul Lord
  • New Members
  • 54 posts

Posted 22 November 2006 - 01:13 AM

You'll want to find a hero with leadership (like Theoden) and copy his leadership codes to the Witchking's ini (note that there are two Witch-king objects: one on foot and one on fellbeast). It should look something like this:
Behavior = AttributeModifierAuraUpdate ModuleTag_Leadership
		StartsActive		= No;If no, requires upgrade to turn on.
		BonusName	= GenericDamageLeadership;;GenericHeroLeadership
		TriggeredBy		= Upgrade_TheodenLeadership
		RefreshDelay		= 2000
		Range			= 200
	;;AntiCategory	= BUFF
		ObjectFilter		= GENERIC_BUFF_RECIPIENT_OBJECT_FILTER
	End
	
	Behavior = UnpauseSpecialPowerUpgrade ModuleTag_TheodenLeadership
		SpecialPowerTemplate = SpecialAbilityFakeLeadership
		TriggeredBy = Upgrade_TheodenLeadership
	End
	Behavior = SpecialPowerModule ModuleTag_TheodenLeadershipUpdate   
		SpecialPowerTemplate	  = SpecialAbilityFakeLeadership
		UpdateModuleStartsAttack  = No
		StartsPaused = Yes
	End	

Replace the Upgrade_TheodenLeadership with an upgrade from the Witch-king's exp levels. Then add the commandbutton to the Witchking's commandset.

Do the same with the Blackrider's Morgul Blade, except you'll probably only want to add it to the on-foot version. I think you can find the codes to copy (just search for MogulBlade in the Blackrider's ini; this ini is in data/ini/object/evilfaction/units/evilmen)
Do not come between a Nazgul and his prey.
Posted Image
92% of teens have moved onto rap. If you are part of the 8% that still listen to real music, copy and paste this into your signature

#4 King Thranduil

King Thranduil

    King of Mirkwood

  • Members
  • 149 posts
  • Location:Mirkwood Forest

Posted 22 November 2006 - 01:33 AM

I went in and found this in the Black Riders' ini for Morgul blade. Is this right and, if so, what do I have to do to give it to the WK?

;--------- MORGUL BLADE -----------------------------------------------------------------------------------
Behavior = UnpauseSpecialPowerUpgrade ModuleTag_BlackRiderMorgulBlade
SpecialPowerTemplate = SpecialAbilityBlackRiderMorgulBlade
TriggeredBy = Upgrade_BlackRiderMorgulBlade
End
Behavior = SpecialPowerModule ModuleTag_BlackRiderMorgulBladeStarter
SpecialPowerTemplate = SpecialAbilityBlackRiderMorgulBlade
UpdateModuleStartsAttack = Yes
StartsPaused = Yes
InitiateSound = FellBeastVoiceAttack ;LurtzVoiceAttackCripplingStrike
End
Behavior = WeaponFireSpecialAbilityUpdate ModuleTag_BlackRiderMorgulBladeUpdate
SpecialPowerTemplate = SpecialAbilityBlackRiderMorgulBlade
SkipContinue = Yes

UnpackTime = 250
PreparationTime = 1
PersistentPrepTime = 500
PackTime = 100

AwardXPForTriggering = 0
StartAbilityRange = 15.0

SpecialWeapon = EvilMenBlackRiderMorgulBlade
WhichSpecialWeapon = 1
End
Behavior = AutoAbilityBehavior ModuleTag_MorgulBladeAutoAbility
SpecialAbility = SpecialAbilityBlackRiderMorgulBlade
ForbiddenStatus = INSIDE_GARRISON
AllowSelf = No
Query = 1 MORGULBLADE_OBJECT_FILTER
End

Edited by King Thranduil, 22 November 2006 - 01:33 AM.


#5 zimoo

zimoo

    Ecthelion of the Fountain

  • Project Team
  • 2,009 posts
  • Location:Devon, England
  • Projects:Lurking until the off topic begins...
  •  Guardian of the Books

Posted 22 November 2006 - 09:21 AM

Just put that code into Witch-King's INI, put the upgrade Upgrade_BlackRiderMorgulBlade into his experience levels, then add the commandbutton to this commandset.
Posted Image
Posted Image
Posted Image
Posted Image
Posted Image
Posted Image

Playing games? Ah, you'll never be a good modder if you get involved in actually playing them!


#6 Nazgul Lord

Nazgul Lord
  • New Members
  • 54 posts

Posted 22 November 2006 - 12:36 PM

You may also want to add this:

		AnimationState		=  SPECIAL_WEAPON_ONE
			Animation		   = Morgul_Blade	 												AnimationName	 = MUWchKng_ATKA
				AnimationMode	 = ONCE
				UseWeaponTiming		= Yes
			End
		End

Put that at top of his animation codes, right after his DefaultModelConditionState. That'll giving the animatino for Morgul Blade.
Do not come between a Nazgul and his prey.
Posted Image
92% of teens have moved onto rap. If you are part of the 8% that still listen to real music, copy and paste this into your signature

#7 King Thranduil

King Thranduil

    King of Mirkwood

  • Members
  • 149 posts
  • Location:Mirkwood Forest

Posted 22 November 2006 - 08:13 PM

where are his experience levels?

#8 Pixel

Pixel

  • Hosted
  • 2,451 posts
  • Location:London, UK

Posted 22 November 2006 - 08:18 PM

You will find them in experiencelevels.ini

Edited by FlameGuard, 22 November 2006 - 08:18 PM.


#9 Nazgul Lord

Nazgul Lord
  • New Members
  • 54 posts

Posted 22 November 2006 - 08:22 PM

In experiencelevels.ini, in the main INI folder. Just search for WITCHKING to find his.
Do not come between a Nazgul and his prey.
Posted Image
92% of teens have moved onto rap. If you are part of the 8% that still listen to real music, copy and paste this into your signature

#10 King Thranduil

King Thranduil

    King of Mirkwood

  • Members
  • 149 posts
  • Location:Mirkwood Forest

Posted 22 November 2006 - 08:27 PM

Ok. I did everything, but the game crashes because of the animation code you said to put in. I took it out and will run it to see if it works...

Edited by King Thranduil, 22 November 2006 - 08:29 PM.


#11 King Thranduil

King Thranduil

    King of Mirkwood

  • Members
  • 149 posts
  • Location:Mirkwood Forest

Posted 22 November 2006 - 11:49 PM

Just put that code into Witch-King's INI, put the upgrade Upgrade_BlackRiderMorgulBlade into his experience levels, then add the commandbutton to this commandset.


What command button do I put in?

#12 Stealthsnake

Stealthsnake

    Battles of Gondor mod leader

  • Hosted
  • 976 posts
  • Location:United Kingdom
  • Projects:Battles of Gondor
  •  coder, skinner, mapper, graphics

Posted 23 November 2006 - 01:21 AM

the command button for the powers, just use find (ctrl + f) to find them.
Posted Image
Posted Image
a mod for rotwk, includes Harad, Rhun, Rohan and Southern Fiefdoms Factions, beta released, site/forums for the mod is here.

#13 King Thranduil

King Thranduil

    King of Mirkwood

  • Members
  • 149 posts
  • Location:Mirkwood Forest

Posted 23 November 2006 - 03:13 AM

I can't seem to find the right one because whenever I try to add it to his command set, I get an error message and the game crashes.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users