add passengers to heroes so here it is....
Adding a Passenger ability for Faramir and Gandalf/other heroes that have passenger bones
by Extelleron
INIs:
Gandalf.ini
Theoden.ini
Eomer.ini
Faramir.ini
Commandset.ini (optional, will work without.)
Well, adding a passenger bone ability is very easy since its already all there,
all you have to do is take out the ;.
The following heroes have passenger bones that can be used so any neutral or friendly hobbit
can mount with them: Gandalf, Theoden, Faramir, and Eomer. Treebeard has 2 passenger bones too, but
I've yet to find a behavior and haven't tried anything with him yet.
Also, Aragorn has a passenger bone to throw Gimli, im trying that out today.
Let's take a look at Gandalf's file. Under the ENGINEERING PERIMETERs section you will find
this:
; Behavior = TransportContain ModuleTag_TransportContainTag ; ObjectStatusOfContained = UNSELECTABLE ; PassengerFilter = NONE +HOBBIT ; Slots = 1 ; ShowPips = No ; AllowEnemiesInside = No ; AllowNeutralInside = Yes ; AllowAlliesInside = Yes ; DamagePercentToUnits = 0% ; TypeOneForWeaponSet = HOBBIT ; PassengerBonePrefix = PassengerBone:PASSENGERBONE KindOf:HOBBIT ; EjectPassengersOnDeath = Yes ; ConditionForEntry = ModelConditionState: MOUNTED ; End
Well, like I said this is simple, just take out the ;. Allowing neutrals inside doesn't matter
much because how many times do you come across a neutral hobbit? You can obviously let any hero
mount with Gandalf, by changing passenger filter to NONE +HERO, but its pointlesas because there
is no animations and the hero will be invisible forever, even when he dismounts from the hero.
The second thing is optional, your mounting thing will work absolutely fine without it. However, if
you want, in the hero's commandset, you can add the following line:
1 (or whatever number) = Command_SpecialAbilityGrabPassenger
Gandalf already has this in his CommandSet, however it won't show up because Gandy already has
a full palantir. WIthout this command, for the hobbit to mount, you simply click on the hobbit, then
right click on the hero, like combining two hordes. You can do it opposite too: Hero right
click on hobbit. With the commandbutton added, you can click the commandbutton and then right
click on the hobbit. Pretty much pointless. The coolest thing is the hobbit earns experience as
your mounted hero kills enemies.
To get the hobbit off the horse, I believe you have to dismount the hero himself. I haven't really
experimented with it yet, but if any of you finds a command button to dismount the hobbit please
tell me and ill add it here.
NOTE: I've been informed that adding this line to your commandset wil enable you to dismount the hobbit:
1 = Command_TransportEvacuate
ARAGORN THROWING GIMLI:
While Aragorn has a behavior to throw Gimli, it needs some animation. When you combine Aragorn with Gimli, Gimli goes invisible. When you throw Gimli, he remains invisible. So, scratch that idea for now.
Enjoy!
Edited by Extelleron, 25 March 2005 - 04:51 PM.