Jump to content


Photo

Theoden's Glorious Charge


  • Please log in to reply
17 replies to this topic

#1 |EG| Witch-King Riding Shelob

|EG| Witch-King Riding Shelob
  • Members
  • 110 posts

Posted 02 July 2005 - 03:09 PM

How do I make Theoden's glorious charge effect mounted Heros? I went into this code in theoden.ini:

Behavior = SpecialPowerModule ModuleTag_TheodenGloriousChargeUpdate   
  SpecialPowerTemplate      = SpecialAbilityTheodenGloriousCharge
  UpdateModuleStartsAttack  = Yes
  StartsPaused = Yes
  AttributeModifier = TheodenGloriousCharge
  AttributeModifierRange = 200
  AttributeModifierAffectsSelf = Yes
  AttributeModifierAffects = ANY +CAVALRY
  AttributeModifierFX = FX_TheodenGloriousChargeFX
	End

And added all of the names of all of the mounted Heros (RohanEomerCavalry, RohanEowynDisguised, etc.), but it didn't work. I then tried to ad +HERO to it, but it also effects non-mounted heros (tested on a rank 2 Merry). I'm clueless at the moment. What now?
Posted Image
Posted Image

#2 GothmogtheOrc

GothmogtheOrc

    Ruler of the Morgul Vale

  • Hosted
  • 2,263 posts
  • Location:USA
  • Projects:Kings of the West Mod
  •  T3A Chamber Member - Retired

Posted 02 July 2005 - 05:01 PM

Ok, here is what I found:

In Eomer's file it says:

; *** ENGINEERING Parameters ***
RadarPriority = UNIT

KindOf = HERO PRELOAD SELECTABLE CAN_CAST_REFLECTIONS INFANTRY PATH_THROUGH_EACH_OTHER SCORE CAN_ATTACK ATTACK_NEEDS_LINE_OF_SIGHT ARMY_SUMMARY

You will need to add "CAVALRY" to the end of that list:

; *** ENGINEERING Parameters ***
RadarPriority = UNIT

KindOf = HERO PRELOAD SELECTABLE CAN_CAST_REFLECTIONS INFANTRY PATH_THROUGH_EACH_OTHER SCORE CAN_ATTACK ATTACK_NEEDS_LINE_OF_SIGHT ARMY_SUMMARY CAVALRY

This will give Eomer the bonus, both when he is on foot and when he is mounted...but the bonus will not effect the other on-foot heroes. However there may be side effects of making Eomer a cavalry unit...you will want to test this out against the computer in a regular game (esp. against pikes and any other anti-cav units).

I will keep playing around with this and let you know if I find anything else, or anything that works better.

-GothmogtheOrc

Nine%20rings.jpg
Click on my Sig to go to my BFME Modding site where you can download my mods.
KotW%20Morgul%20In-game.jpg
Kings of the West Mod Leader
*Retired. PM me if you need to get a hold of me as I'll get an email notification and should reply within a day or so*


#3 |EG| Witch-King Riding Shelob

|EG| Witch-King Riding Shelob
  • Members
  • 110 posts

Posted 02 July 2005 - 05:12 PM

That's was what I was thinking of doing, but that would make them uber-weak against pikeman, so that option was out.
Posted Image
Posted Image

#4 GothmogtheOrc

GothmogtheOrc

    Ruler of the Morgul Vale

  • Hosted
  • 2,263 posts
  • Location:USA
  • Projects:Kings of the West Mod
  •  T3A Chamber Member - Retired

Posted 02 July 2005 - 05:40 PM

Several questions to anyone who knows:

-Where is the file that refrences these character types: (they come from the Eomer.ini file)

KindOf = HERO PRELOAD SELECTABLE CAN_CAST_REFLECTIONS INFANTRY PATH_THROUGH_EACH_OTHER SCORE CAN_ATTACK ATTACK_NEEDS_LINE_OF_SIGHT ARMY_SUMMARY

-Is is possible to create new types?

-Do character names work (ex. Gandalf has a KindOf: Gandalf)


Thanks, GothmogtheOrc

Nine%20rings.jpg
Click on my Sig to go to my BFME Modding site where you can download my mods.
KotW%20Morgul%20In-game.jpg
Kings of the West Mod Leader
*Retired. PM me if you need to get a hold of me as I'll get an email notification and should reply within a day or so*


#5 Lord Of Gifts

Lord Of Gifts

    I'm not corrupt, I'm morally flexible.

  • Hosted
  • 889 posts
  • Location:Canada
  • Projects:Battle for the Galaxy, EaWZone, Spy Mod
  •  Ph34r the blue text!
  • Division:EaWZone
  • Job:Webmaster and Modding Community Leader

Posted 02 July 2005 - 05:57 PM

Several questions to anyone who knows:

-Where is the file that refrences these character types: (they come from the Eomer.ini file)

KindOf = HERO PRELOAD SELECTABLE CAN_CAST_REFLECTIONS INFANTRY PATH_THROUGH_EACH_OTHER SCORE CAN_ATTACK ATTACK_NEEDS_LINE_OF_SIGHT ARMY_SUMMARY

-Is is possible to create new types?

-Do character names work (ex. Gandalf has a KindOf: Gandalf)


Thanks, GothmogtheOrc

<{POST_SNAPBACK}>

the file is game.dat
No you can't create more
Some character names work (ARAGORN) but you would have to check game.dat for others.

#6 GothmogtheOrc

GothmogtheOrc

    Ruler of the Morgul Vale

  • Hosted
  • 2,263 posts
  • Location:USA
  • Projects:Kings of the West Mod
  •  T3A Chamber Member - Retired

Posted 02 July 2005 - 06:15 PM

the file is game.dat
No you can't create more
Some character names work (ARAGORN) but you would have to check game.dat for others.


What program can I use to open and view the game.dat file

Thanks, GothmogtheOrc

Edited by GothmogtheOrc, 02 July 2005 - 06:15 PM.

Nine%20rings.jpg
Click on my Sig to go to my BFME Modding site where you can download my mods.
KotW%20Morgul%20In-game.jpg
Kings of the West Mod Leader
*Retired. PM me if you need to get a hold of me as I'll get an email notification and should reply within a day or so*


#7 Lord Of Gifts

Lord Of Gifts

    I'm not corrupt, I'm morally flexible.

  • Hosted
  • 889 posts
  • Location:Canada
  • Projects:Battle for the Galaxy, EaWZone, Spy Mod
  •  Ph34r the blue text!
  • Division:EaWZone
  • Job:Webmaster and Modding Community Leader

Posted 02 July 2005 - 08:06 PM

I just use notepad. You could probably use any other text editor though

#8 Hostile

Hostile

    Benefitting Humanity Simply by Showing Up!

  • Veterans
  • 9,551 posts
  • Location:Washington DC
  •  T3A Founder
  • Division:Revora
  • Job:Global Administrator
  • Donated
  • Association

Posted 02 July 2005 - 08:42 PM

Use the hex editor on this site cause it opens alot quicker and still has the search function. The list of valid kind ofs is listed in WB, in addition to the condition states, and something else of great use I can't think of at the moment under scripts.

#9 Celeglin

Celeglin

    Silhouette of a Serenade

  • Hosted
  • 2,468 posts
  • Projects:The Elven Alliance, Rhovanion Alliance
  •  T3A Team Chamber Member

Posted 04 July 2005 - 12:18 PM

For the record, adding the CAVALRY block to Eomer's KindOf will also make him affected by any leadership that effects CAVALRY (which is most of them). What you could do is add +RohanEomer to the filter for Glorious Charge (and +RohanEowyn, for that matter). This does not change the fact that he will still be affected by Glorious Charge when dismounted (not that adding CAVALRY to his KindOf helped this either).

Posted Image
Posted Image


#10 halbarad

halbarad

    lone wanderer

  • Project Team
  • 466 posts
  • Projects:RA, tinkering...
  •  random guy

Posted 04 July 2005 - 12:45 PM

well becasue the childobject under hweros like rohaneomermounted is not actually used when they mount im not sure u can do this

(the childobject is only used when u want to create the hero on horse)
Now for Wrath, Now for Ruin, and for a Red Dawn...

#11 Grim

Grim

    Mad Axe

  • Project Team
  • 537 posts
  •  T3A Team Chamber Member
  • Division:T3A Moderator

Posted 04 July 2005 - 12:52 PM

Mounting a hero does not change its kindof, only its state, so i don't see how you could make a leadership work with it :(
Posted Image

#12 |EG| Witch-King Riding Shelob

|EG| Witch-King Riding Shelob
  • Members
  • 110 posts

Posted 05 July 2005 - 02:32 AM

I tried what you said, Halbarad. It doesn't work. I also tried this with my Ent leadership to Treebeard (adding things like RohanBirch, etc), but that didn't work. I had to put +MONSTERS for it too work.
Posted Image
Posted Image

#13 Celeglin

Celeglin

    Silhouette of a Serenade

  • Hosted
  • 2,468 posts
  • Projects:The Elven Alliance, Rhovanion Alliance
  •  T3A Team Chamber Member

Posted 05 July 2005 - 12:12 PM

Post the filter code you put in for Treebeard and for Glorious Charge. There might be something wrong there (because it should have worked, I've done it myself).

Posted Image
Posted Image


#14 |EG| Witch-King Riding Shelob

|EG| Witch-King Riding Shelob
  • Members
  • 110 posts

Posted 09 July 2005 - 03:50 PM

There's nothing wrong with the code, it just doesn't work like that. I simply added RohanEomer and RohanEowyn (hell, I added RohanLegolas) and it still wouldn't work.
Posted Image
Posted Image

#15 Celeglin

Celeglin

    Silhouette of a Serenade

  • Hosted
  • 2,468 posts
  • Projects:The Elven Alliance, Rhovanion Alliance
  •  T3A Team Chamber Member

Posted 09 July 2005 - 04:02 PM

Well, you must have something wrong because I have three heroes that give leadership to only specific units/heroes referenced in the filter and they all work fine. Are you sure it's not just the fx that aren't showing up, but the attributemodifier is still on (the fx for Glorious charge only work on certain models).

Posted Image
Posted Image


#16 |EG| Witch-King Riding Shelob

|EG| Witch-King Riding Shelob
  • Members
  • 110 posts

Posted 10 July 2005 - 02:25 AM

Its not the FX, I have tried online with someone- trust me, they don't have a 99% damage. Besides, the FX will work on any model - a la my Last Stand.
Posted Image
Posted Image

#17 Celeglin

Celeglin

    Silhouette of a Serenade

  • Hosted
  • 2,468 posts
  • Projects:The Elven Alliance, Rhovanion Alliance
  •  T3A Team Chamber Member

Posted 10 July 2005 - 12:58 PM

I'm sorry, you're right. I forgot that Glorious Charge goes by a different filter. I'm really sorry. I'm currently working with a power using Glorious Charge; if I find anything, I'll let you know. Sorry again.

(However, the Treebeard leadership should still work... Unless you're using Glorious Charge there too :p )

Posted Image
Posted Image


#18 |EG| Witch-King Riding Shelob

|EG| Witch-King Riding Shelob
  • Members
  • 110 posts

Posted 10 July 2005 - 08:45 PM

Actually Theoden's Leadership. Couldn't get that too work either.
Posted Image
Posted Image




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users