The 3rd Age

The Elven LegacY MoD

The Elven LegacY MoD

This mod for bfme 1 Mod based on Elvestar 5.5

Button for The 3rd AgeButton for The Dwarf HoldsButton for The Elven AllianceButton for Helm's Deep Last HopeButton for GothmogtheOrcButton for BFME+Button for The Four AgesButton for HDR HeadquartersButton for Middle Earth CenterButton for Project Perfect Mod

Become an affiliate!

   

Quick Lists

Top Rated Popular New Updated Last Comments Users

Register and log in to move these advertisements down

How to give Witch-King word of power

Tutorial for Battle for Middle-earth II BFME 2

Avatar of clank234

clank234

Category: Code
Level: Beginner
Created: Saturday December 11, 2010 - 6:48
Updated: Saturday December 11, 2010 - 7:29
Views: 6108
Summary: different to Gothmogs Tutorial

Rating

Staff says

-

Members say

3.5

Average

3.5/5.0

2 votes

Page 1 2 3
Fist off, I know that GothmogTheOrc has a tutorial just like this but he set it out for BFME1 and lots of people were getting confused as the names of some powers changed in BFME2/ROTWK.
In this tutorial, i will show you how to get the Witch-King (Angmar) to use Gandalfs Word of Power. The way i set out tutorials first is that i don't do the code for you as you will learn nothing except for copying and pasting skills ;) Lets begin.

Page 1 - Table of contents

Page 2 - (Hero's) ini

Page 3 - Experiencelevls & commandset

Credits

Comments

Display order: Newest first

Radspakr Wolfbane (Team Chamber Member) - Monday February 14, 2011 - 18:46

This is kind of redundant.
The idea of GtO's tutorial was to show how code in basic special powers.
It's the same for both games.

Unknown - Tuesday February 8, 2011 - 5:40

:D It works. Thx clank

Imdrar - Thursday December 23, 2010 - 8:59

I'm a credit of this? Never noticed.

modboy451 - Saturday December 18, 2010 - 13:43

thats because

              
Code

;;; WORD OF POWER ANIMS ON FOOT ;;;
        AnimationState = SPECIAL_WEAPON_ONE
            StateName = Attacking
            Animation
                AnimationName = GUGandalfG_SKL.GUGandalfG_SPCK
                AnimationMode = ONCE
            End
            FXEvent            = Frame:5 Name:FX_GandalfPreAttackBlast
        End

has the flag: SPECIAL_POWER_ONE
so does:
              
Code

;;; FIRE BALL SPECIAL POWER ;;;
        AnimationState         = SPECIAL_WEAPON_ONE
            Animation                = Throwing Fireball
                AnimationName        = IUSaruman_ATKB
                AnimationMode        = ONCE
            End
            FrameForPristineBonePositions = 27
        End


the fire ball and the Word of power ability
both ar flagged with SPECIAL_POWER_ONE flag...i don't know where you go to change it...
but that is why you get that glitch...

clank234 - Thursday December 16, 2010 - 5:37

@Modboy451
It worked fine for me except wen i used fireball he started with Word of Power but then the ball came out. Otherwise i have had no problmes with it

--------

sorry for double post,
also, this tutorial isn't meant to teach people how to model

modboy451 - Saturday December 11, 2010 - 15:46

Note: To Clank...
ERROR!!!

ANIMATIONS FROM OTHER UNITS WILL NOT WORK UNLESS THE MODEL IS BOUND TO THAT SKL!!!

EX:

Celeborn's (childobject at bottom of elrond.ini)animations/skl are the same as Elrond's so if you take one from elronds and add it to celeborn it WILL work...BUT...

gandalfs and thw which king's SKL are not the same of you add the animation listed above you might crash your game or make you unit stand funny like you see while modeling it(arms sticking out) if you want the animations to work you have to bind the model you want to use to Gandalfs SKL and use a model conditions state where he changes models and skeletons and then put that animations under that (flag the condition state and the animation with USER_# (i know 1 and 2 work for sure but some units already use that flag for something else)

Modboy451

Go to top

 

"One site to rule them all, one site to find them,
one site to host them all, and on the network bind them."

 
3:38:09