Support mod problem.

GreenLight17

Chieftain
Joined
Feb 18, 2019
Messages
2
Hi,i'm new in modding,i downloaded some mods,adding new factions to game,and some unit in one mods,Armenia-Tiridates,replaces great preacher there,can i undo that replacement?i checked units.sql file there,and tried to change but,not help,so anyone know how to do?
 
You'll want to delete (or, better, just comment out) the following line from JFD_ArmeniaFunctions.lua:
Code:
Events.SerialEventUnitCreated.Add(JFD_MamikonianProphet)

Since religious units are generated through unusual means, they usually have to be replaced through Lua. The line I highlighted tells the game to run JFD_MamikonianProphet, which replaces newly generated Armenian Great Prophets with Mamikonians; if it's inactive (whether deleted or commented), the game will never run JFD_MamikonianProphet, and so Great Prophets will remain as they are.
 
Back
Top Bottom