Is GameEvents.PlayerCityFounded available to users without Gods & Kings?

General Tso

Panzer General
Joined
Oct 12, 2007
Messages
1,548
Location
U. S. of A.
As the title says. Is GameEvents.PlayerCityFounded available to users without the Gods & Kings expansion?

According to the "Lua and UI Reference" this event was added with Gods & Kings but is available in the base game. Can anybody confirm this?

Another question related to this:
The user would obviously need to have the game patched to at least the initial release of Gods & Kings. It looks like I can use associations in ModBuddy to limit access of my mod to people that have the proper version(s). Two questions: First what is the earliest version # for Gods & Kings. Secondly how do I use a second version that basically means anything after the first version. I would prefer not using the current version since that would cause the mod to needlessly stop working if a patch is released.
 
As the title says. Is GameEvents.PlayerCityFounded available to users without the Gods & Kings expansion?

According to the "Lua and UI Reference" this event was added with Gods & Kings but is available in the base game. Can anybody confirm this?

Actually I can confirm the exact opposite. It is NOT available in vanilla. The event is sent at the end of the CvPlayer::found(int iX, int iY) method (in CvPlayer.cpp) and that code only occurs in G&K

Another question related to this:
The user would obviously need to have the game patched to at least the initial release of Gods & Kings. It looks like I can use associations in ModBuddy to limit access of my mod to people that have the proper version(s). Two questions: First what is the earliest version # for Gods & Kings.
1.0.1.674

Secondly how do I use a second version that basically means anything after the first version. I would prefer not using the current version since that would cause the mod to needlessly stop working if a patch is released.
Given that maxversion for a mod is set to "999" I'd take a punt at "9.9.9.999"

BUT, do we even know that feature works - there are a few "good ideas" in ModBuddy that don't actually do anything (DLL Path, OnModActivated->UpdateUserData, etc)
 
Thanks for the answers to my questions whoward69.

Now that I think about it people with the vanilla version of the game should be able to use my mod. It's just that some of the options won't be available. I'll have to correct the documentation. Thanks again for the help.
 
Just to set the record straight. The "Lua and UI Reference" DOES NOT say that GameEvents.PlayerCityFounded is available with in the base game. I saw a gray "X" next to the list and thought that meant that it was included - it actual meant that it wasn't. My mistake.
 
Back
Top Bottom