Modding Union

[en] - Modding Corner => Mapping => Thema gestartet von: H4lbarad am 16. Aug 2016, 16:24

Titel: How to change an spellbook spell's OCL in the map.ini ?
Beitrag von: H4lbarad am 16. Aug 2016, 16:24
Hey, it's me again :P

I'm trying to change the ObjectCreationList of the Arnor Power "Gondor reinforcements" (OCL_SpawnSBStreitmachtGo ndors) but it doesn't work. :( I did like that, it worked with another power (Isengard Orcs of the spellbook) in the same way, but there it doesn't. In game, when I use the power, there is the "fog" but no units appear...



The first paragraph comes from the ini file "ProjectileEggs.ini", and the second comes from "objectcreationlist.inc". Do I have to change something in another file ?

Thank you very much for help :)
Titel: Re: How to change an spellbook spell's OCL in the map.ini ?
Beitrag von: FG15 am 16. Aug 2016, 16:43
The map.ini is read by the game from the top. Therefore, you have to define the OCL before using it.
Titel: Re: How to change an spellbook spell's OCL in the map.ini ?
Beitrag von: H4lbarad am 16. Aug 2016, 16:45
So I have to put it before the commandset ? or before the egg ?
Titel: Re: How to change an spellbook spell's OCL in the map.ini ?
Beitrag von: FG15 am 16. Aug 2016, 16:51
Before the place where it is used. In this case the egg
Titel: Re: How to change an spellbook spell's OCL in the map.ini ?
Beitrag von: H4lbarad am 16. Aug 2016, 17:24
Thank you, it works :D