The 3rd Age

Gauntlet: Dark Legacy

Gauntlet: Dark Legacy

Gauntlet: Dark Legacy BFME 2 Mod

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!

No Avatar

Turin Turumbar

Category: Code
Level: Intermediate
Created: Sunday July 8, 2007 - 9:16
Updated: Sunday July 8, 2007 - 10:10
Views: 10055
Summary: You want more abilitys than 6 for your hero in the palantir? Read here!

Rating

Staff says

3.0

Members say

4.2

Average

3.9/5.0

14 votes

Hi
I think that every Modder wanted to give a hero more then the 5 Palantir Abilitys.
I have found a method, how you can give your hero more then 5 abilitys!
I call it Commandsetswitching.
Its working with new ModelConditionStates and some Behaviors.
Now i am going to tell you how it works on Elrond:

At first you had to add this to your Elrond:

              
Code
ModelConditionState = WEAPONSET_TOGGLE_1
Model = RUElrond_SKN
End

ModelConditionState = WEAPONSET_TOGGLE_2
Model = RUElrond_SKN
End



You need this ModelConditionStates to switch the Commandsets.

Now the new Behaviors, add this:


              
Code
Behavior = MonitorConditionUpdate ModuleTag_CommandSetNew
ModelConditionFlags = WEAPONSET_TOGGLE_1
ModelConditionCommandSet = Elrond2CommandSet
End

Behavior = MonitorConditionUpdate ModuleTag_CommandSetOld
ModelConditionFlags = WEAPONSET_TOGGLE_2
ModelConditionCommandSet = ElrondCommandSet
End


Now are we going to the CommandSet.ini
We had to split the old Commandset, i had split it so:
              
Code

CommandSet ElrondCommandSet
1 = Command_ToggleStance
2 = Command_SpecialAbilityElrondElvenGrace
3 = Command_ElrondFakeLeadership
4 = Command_SpecialAbilityElrondFarsight
5 = Command_SpecialPowerSpawnWhirlwind
6 = Command_CommandsetOld
12 = Command_CaptureBuilding
13 = Command_AttackMove
14 = Command_Stop
16 = Command_SetStanceBattle
17 = Command_SetStanceAggressive
18 = Command_SetStanceHoldGround
End
CommandSet Elrond2CommandSet
1 = Command_ToggleStance
2 = Command_SpecialAbilityElrondRestoration
3 = Command_CommandsetOld
12 = Command_CaptureBuilding
13 = Command_AttackMove
14 = Command_Stop
16 = Command_SetStanceBattle
17 = Command_SetStanceAggressive
18 = Command_SetStanceHoldGround
End



Now the Commandbutton.ini:
              
Code

CommandButton Command_CommandsetOld
Command = TOGGLE_WEAPONSET
FlagsUsedForToggle = WEAPONSET_TOGGLE_2
TextLabel = CONTROLBAR:OldCommandset
ButtonImage = UCCommon_BackArrow
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:ToolTipOldCommandset
InPalantir = Yes
End

CommandButton Command_CommandsetNew
Command = TOGGLE_WEAPONSET
FlagsUsedForToggle = WEAPONSET_TOGGLE_1
TextLabel = CONTROLBAR:NewCommandset
ButtonImage = UCCommon_BackArrow
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:ToolTipNewCommandset
InPalantir = Yes
End


That was it! Now you can add more Abilitys to the Elrond2CommandSet.
With Heroes, who have already a WEAPONSET_TOGGLE or a mount is it a little bit complicated.
I am going to write a tutorial for that later.

Hope that helped, Turin

Comments

Display order: Newest first | Page: 1, 2

Turin Turumbar - Sunday July 8, 2007 - 10:10

k i made it

Bart (Administrator) - Sunday July 8, 2007 - 9:32

you might want to put in some [ code ] tags

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

 
22:18:05