The 3rd Age

Echoes

Echoes

A BFME1 mod adding an elaborate Eriador faction to the game.

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

Turin's More Ability System! With Weapon Toggle

Tutorial for Battle for Middle-earth II BFME 2, Battle for Middle-earth II: Rise of the Witch-king ROTWK

Avatar of Elric

Elric

Category: Code
Level: Intermediate
Created: Wednesday January 12, 2011 - 12:45
Updated: Monday January 24, 2011 - 8:48
Views: 7275
Summary: Add On For Turin's More Ability System...

Rating

Staff says

4.0

Members say

5.0

Average

4.5/5.0

2 votes

Page 1 2 3
Ok, Now for the Weapon Toggle part. (I am using Faramir for the Toggle)


Take this piece of code out from where you put it:


              
Code

ModelConditionState = WEAPONSET_TOGGLE_1
Model = RUElrond_SKN
End

ModelConditionState = WEAPONSET_TOGGLE_2
Model = RUElrond_SKN
End



Then find the WeaponSet in your objects.ini

Should look something like this:


              
Code

    WeaponSet
        Conditions = None
        Weapon = PRIMARY FaramirBow
        AutoChooseSources = PRIMARY FROM_PLAYER FROM_SCRIPT FROM_AI
    End    

    WeaponSet
        Conditions            = MOUNTED
        Weapon                = PRIMARY    FaramirSword
    End

    WeaponSet
        Conditions = WEAPONSET_TOGGLE_1        ;CLOSE_RANGE CONTESTING_BUILDING
        Weapon = PRIMARY FaramirSword
        AutoChooseSources = PRIMARY FROM_PLAYER FROM_SCRIPT FROM_AI
    End



Ok, All you have to do is this:

Change the Conditions from None to:


              
Code

WEAPONSET_TOGGLE_2



Should now look like this:


              
Code

    WWeaponSet
        Conditions = WEAPONSET_TOGGLE_2 <-------------------------- Right There!
        Weapon = PRIMARY FaramirBow
        AutoChooseSources = PRIMARY FROM_PLAYER FROM_SCRIPT FROM_AI
    End    

    WeaponSet
        Conditions            = MOUNTED
        Weapon                = PRIMARY    FaramirSword
    End

    WeaponSet
        Conditions = WEAPONSET_TOGGLE_1        ;CLOSE_RANGE CONTESTING_BUILDING
        Weapon = PRIMARY FaramirSword
        AutoChooseSources = PRIMARY FROM_PLAYER FROM_SCRIPT FROM_AI
    End


Now go to the game a test it out,
Then make one Command Set for the Bow Toggle and one for the Sword Toggle!


Thanks for Reading!
Please Comment and Rate!

By:
Dragon Rider

Links / Downloads

 HitsAdded
Turin's More Ability System ~Main Topic~1276January 12, 2011 - 13:26

Comments

Display order: Newest first

Elric - Sunday January 23, 2011 - 19:33

Done

Spartan184 - Saturday January 22, 2011 - 20:14

You should add Turin in the credits for his part in this ;)

Elric - Friday January 14, 2011 - 15:27

Its intermediate because Turin's Main topic Is. I Forgot To Edit That Out Sorry... :p and u are in it because you teach me it.

Imdrar - Friday January 14, 2011 - 4:08

"This Is very Simple." - Then why does your article pretend to be "Intermediate"?
And how the hell am I a credit of this?!

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."

 
16:29:21