Modding Union
[en] - Modding Corner => Mapping => Thema gestartet von: magickoala am 7. Dez 2015, 22:52
-
So, i got a little doubt about how playertemplate.ini and the GenericReviveSlots/FakeHeroReviveSlots are connected.
As far im noticed the game follow the order you input in playertemplate, but if we take as example, the Lorien base have a lot of slots, but show up just 5. Thats a CONTROLBAR update behaviour? Supposing i want to make more heroes show up in the fortress, how i would proceed?
Thanks ^^
-
[...]the Lorien base have a lot of slots, but show up just 5. Thats a CONTROLBAR update behaviour?
I don't understand this part.
If you want to add other Heroes you have to replace the Command_FakeHeroReviveSl otX with Command_GenericReviveSlo tX. Then you are able to recruit LothlorienLegolas ElvenThranduil_mod GasthausGrimbeorn in your fortress.
CommandSet LothlorienCastleBaseKeepCommandSet
InitialVisible = 10
1 = Command_ConstructElvenLorienWarriorHorde
2 = Command_ConstructElvenLorienArcherHorde
3 = Command_ConstructElvenLorienPikemanHorde
4 = Command_ConstructLothlorienSängerinnen
5 = Command_ConstructLothlorienGaladhrimHorde
6 = Command_ConstructLothlorienCarasGuardHorde
7 = Command_RingMechanikLothlorien
8 = Command_SpielsystemLothlorien
9 = Command_SelectRevivablesLothlorienCastleKeepHeroes
10 = Command_StartCitadelSelfRepair
11 = Command_FakeRingHeroReviveSlot
12 = Command_CreateAHeroReviveSlot
13 = Command_FrodoRingHeroReviveSlot
14 = Command_SamRingHeroReviveSlot
15 = Command_HaldirsBrüderGenericReviveSlot
16 = Command_GenericReviveSlot1
17 = Command_GenericReviveSlot2
18 = Command_GenericReviveSlot3
19 = Command_GenericReviveSlot5;Command_FakeHeroReviveSlot5
20 = Command_GenericReviveSlot6;Command_FakeHeroReviveSlot6
21 = Command_GenericReviveSlot7;Command_FakeHeroReviveSlot7
22 = Command_RadialBack
End
-
So, thanks! But i kinda understand that too. But if we look on the Mirkwood CommandSet:
CommandSet MirkwoodCampKeepCommandS et
InitialVisible = 7
1 = Command_ConstructLothlor ienMirkwoodFighterHorde
2 = Command_ConstructLothlor ienMirkwoodArcherHorde
3 = Command_ConstructLothlor ienMirkwoodElkriderHorde
4 = Command_ConstructLothlor ienMirkwoodPalaceGuardHo rde
5 = Command_SpecialAbilityMo bilisierungsbefehl
6 = Command_SelectRevivables MirkwoodCampKeepHeroes
7 = Command_StartCitadelSelf Repair
8 = Command_FakeRingHeroRevi veSlot
9 = Command_FakeCreateAHeroR eviveSlot
10 = Command_FakeHeroReviveSl ot1
11 = Command_FakeHeroReviveSl ot2
12 = Command_FakeHeroReviveSl ot3
13 = Command_FakeHeroReviveSl ot4
14 = Command_FakeHeroReviveSl ot5
15 = Command_FakeHeroReviveSl ot6
16 = Command_GenericReviveSlo t7
17 = Command_GenericReviveSlo t8
18 = Command_FakeHeroReviveSl ot9
19 = Command_RadialBack
End
There we have FakeHeroSlots too, but those show up Legolas, Thranduil and similars, but not Galadriel and such. Why? What defines wich heroes can be showed or not?
-
Lorien has 10 regular heroes and a ring hero. The first Revive CommandButton is for the Ring Hero. The next Revive CommandButtons are for the regular Heroes. The CommandButtons with "Fake" have a condition, which disables and hides the Button, so you can't recruit this heroes.
Galadriel is the 6th Hero (without the CaH) and the 6th normal (without Ringhero and CaH) Revive Button is Command_FakeHeroReviveSl ot6, which is a Fake Button.
Thranduil is the 7th normal Hero and Legolas the 8th normal Hero. Their CommandButtons' are Command_GenericReviveSlo t7 and Command_GenericReviveSlo t8, no Fake Buttons.
-
That was some perfect explanation, i totally got it now.
So the FakeSlot is basically a slot only for reviving but not for recruiting, meaning you can revive those from the fortress X, but you cant create them from there, while the GenericSlots are for reviving and recruiting aswell. Correct?
Thanks a lot for the explanation ^^
-
Not exactly. The FakeButtons are just there but never get used -Edain needs them, because the heroes have a special order (playertemplate.ini) and you have to keep this. Therefore if you want to only have say Legolas avaiable in a building, you can't just abandon all slots and only fill in his. That won't work! What you have to do is write invisible, inactive CommandButtons (those FakeReviveSlots) so technically you have all heroes in the building defined. Then the only thing you habe to do is make sure, only the wanted hero can be recruited (normal ReviveSlot).
So it's actually nothing more but a trick to be able to disperse the heroes over many buildings. (Or ger stuff like the Dwarves working in the first place.)
Greetings
Melkor Bauglir
-
I see. Well now it makes more sense ^^ thanks again! I will not dare to ask why we need the the special order fixed since i have i what i need already lol.
^^