[en] - Modding Corner > General Modding Questions

Blue Mages (In Edain 3.8.1)

(1/2) > >>

KingThranduil:
I do not like that Blue Mages are hired all the faction. I want to leave them in Rivendell

1) After removed from Gondor, Pippin is hired in the inn.
2) After removed from Lauren - Rumil and Orophin(in the inn).
3) After removed from Rohan, at the same time hiring Theoden the corrupt and normal Theoden.

How to fix it, that they hired, where should (without Blue Mages)?

FG15:
Recruiting a hero is not like building a normal unit. There is the list of all the buildable heroes in the playertemplate.ini and the building-buttons are just ones to build the hero at the target position. So if you delete a hero from the list, all heroes with a placement after this one in the list, will close the gap. So there will be the next hero in the list buildable.

The better way to do this is just replace the build-button by a fake one ( like this: Command_FakeHeroReviveSl ot1). So the hero can't be build anymore.

KingThranduil:

--- Zitat ---The better way to do this is just replace the build-button by a fake one ( like this: Command_FakeHeroReviveSb t1). So the hero can't be build anymore.
--- Ende Zitat ---

Where to find?(Command_FakeHeroReviveSb t1)

FG15:
ReviveSLOT not ReviveSBT ;)

You can find this button in the commandsets

Here is the Rohan-Inn Commandset

--- Code: ---CommandSet CommandSetInnRohanFaction
    InitialVisible = 3

1 = Command_ConstructInnHeroGoodRohan
2 = Command_ConstructLothlorienHaldirsElvesHordeInnGasthaus
3 = Command_StartSelfRepair

        4       = Command_FakeRingHeroReviveSlot
        5       = Command_FakeCreateAHeroReviveSlot 
        6       = Command_FakeRadagastReviveSlot
        7       = Command_FakeHeroReviveSlot1
        8 = Command_FakeHeroReviveSlot2
        9       = Command_FakeHeroReviveSlot3
       10       = Command_FakeHeroReviveSlot4
       11       = Command_FakeHeroReviveSlot5
       12       = Command_FakeHeroReviveSlot6
       13 = Command_GenericReviveSlot7
       14       = Command_GenericReviveSlot8
       15 = Command_GenericReviveSlot9
       16       = Command_GenericReviveSlot10
       17 = Command_FakeHeroReviveSlot11
       18 = Command_FakeHeroReviveSlot12
       19 = Command_RadialBack
End
--- Ende Code ---


For replacing the blue mages you look up their position in the playertemplate:

--- Code: ---    BuildableHeroesMP            = CreateAHeroDummy RohanRadagast RohanOldMan RohanEowyn_mod RohanHama RohanGamling_mod_neu RohanEomer_mod RohanTheodred GasthausPalando GasthausAlatar LothlorienHaldir_Rohan GasthausGhanBuriGhan RohanMerry_mod RohanTheoden_mod
--- Ende Code ---
They are at position 8 and 9 if you don't count the CAH. So replace in the commandset the revivepositions 8 and 9 by button "Command_FakeHeroReviveSl ot1"


--- Code: ---CommandSet CommandSetInnRohanFaction
    InitialVisible = 3

1 = Command_ConstructInnHeroGoodRohan
2 = Command_ConstructLothlorienHaldirsElvesHordeInnGasthaus
3 = Command_StartSelfRepair

        4       = Command_FakeRingHeroReviveSlot
        5       = Command_FakeCreateAHeroReviveSlot 
        6       = Command_FakeRadagastReviveSlot
        7       = Command_FakeHeroReviveSlot1
        8 = Command_FakeHeroReviveSlot2
        9       = Command_FakeHeroReviveSlot3
       10       = Command_FakeHeroReviveSlot4
       11       = Command_FakeHeroReviveSlot5
       12       = Command_FakeHeroReviveSlot6
       13 = Command_FakeHeroReviveSlot1 ;here was Palando before
       14       = Command_FakeHeroReviveSlot1 ;here was Alatar before
       15 = Command_GenericReviveSlot9
       16       = Command_GenericReviveSlot10
       17 = Command_FakeHeroReviveSlot11
       18 = Command_FakeHeroReviveSlot12
       19 = Command_RadialBack
End
--- Ende Code ---

You have to do this for every commandset, where you want to delete them.

KingThranduil:
In data\ini\commandset.ini I not found
--- Code: ---CommandSet CommandSetInnRohanFaction
    InitialVisible = 3

1 = Command_ConstructInnHeroGoodRohan
2 = Command_ConstructLothlorienHaldirsElvesHordeInnGasthaus
3 = Command_StartSelfRepair

        4       = Command_FakeRingHeroReviveSlot
        5       = Command_FakeCreateAHeroReviveSlot  
        6       = Command_FakeRadagastReviveSlot
        7       = Command_FakeHeroReviveSlot1
        8 = Command_FakeHeroReviveSlot2
        9       = Command_FakeHeroReviveSlot3
       10       = Command_FakeHeroReviveSlot4
       11       = Command_FakeHeroReviveSlot5
       12       = Command_FakeHeroReviveSlot6
       13 = Command_GenericReviveSlot7
       14       = Command_GenericReviveSlot8
       15 = Command_GenericReviveSlot9
       16       = Command_GenericReviveSlot10
       17 = Command_FakeHeroReviveSlot11
       18 = Command_FakeHeroReviveSlot12
       19 = Command_RadialBack
End
--- Ende Code ---

Navigation

[0] Themen-Index

[#] Nächste Seite

Zur normalen Ansicht wechseln