Community Patch Events Development

are the requirements for a given event always in their XML file, or do the files in the Lua directory have a bearing on it?
 
are the requirements for a given event always in their XML file, or do the files in the Lua directory have a bearing on it?
This event mod doesn't use any Lua trickery for the events since its function is already built within the DLL.
All requirement stuff is in the XML files.
 
The 'Way Of The Pilgrim' event triggers after settling your 2nd/3rd city for some reason, since the new VP version. Kinda annoying since it delays your prophet progress.
 
I'm working on slowly updating and balancing several of these events as well as cleaning up a lot of text. Eventual goal is to have all the Hokath events updated then go through the others and maybe even start building out more. I've always wanted more diversity in this regard.

Anyways, how would I go about applying the new "ReligiousUnrestFlatReduction" (or any of the others) to a local building from an event instead of the generic "CityHappiness" in the xml files?
 
I'm working on slowly updating and balancing several of these events as well as cleaning up a lot of text. Eventual goal is to have all the Hokath events updated then go through the others and maybe even start building out more. I've always wanted more diversity in this regard.

Anyways, how would I go about applying the new "ReligiousUnrestFlatReduction" (or any of the others) to a local building from an event instead of the generic "CityHappiness" in the xml files?
Same application to how a temple reduces religious unrest flatly.
 
A new update to make it compatible with the latest VP version.
Mostly around deleting any Logging Camp reference and changes to religious buildings that came from this mod.
DATABASE is missing links to load quite a few files. Was it intentional to enable game recognition but omit it? Is this a mistake? I've recently become interested and am looking at the code.
 
DATABASE is missing links to load quite a few files. Was it intentional to enable game recognition but omit it? Is this a mistake? I've recently become interested and am looking at the code.
Can you provide any log files? I can't work on it now, but if given any context I might try to help you.
 
Hi, I've just been trying to make some personal flavour edits, I changed the Civilopedia entry and description text for the Shopping Mall to what I think is more in line with the vanilla Civilopedia. I'm also trying to change the image in the banner for the Eye For An Eye (EyeForEye) event, but it shows up as a black rectangle in game. If this is allowed and you like what I've done feel free to incorporate it. Also I can't seem to attach the .dds file I'm trying to use, but it's basically the .jpg resized to 350x100 and saved as a .dds, set Compression to "BC2/DXT3", and left "Generate Mipmap" unchecked as per this, except I did it on Paint.net since I couldn't install the .dds plugin on GIMP.
 

Attachments

  • shopping mall.JPG
    shopping mall.JPG
    166.8 KB · Views: 81
  • Mall.xml
    Mall.xml
    15.9 KB · Views: 19
  • istockphoto-1140705087-612x612.jpg
    istockphoto-1140705087-612x612.jpg
    43 KB · Views: 84
  • eyeforeye1.JPG
    eyeforeye1.JPG
    58.9 KB · Views: 88
Last edited:
Hi, I've just been trying to make some personal flavour edits, I changed the Civilopedia entry and description text for the Shopping Mall to what I think is more in line with the vanilla Civilopedia. I'm also trying to change the image in the banner for the Eye For An Eye (EyeForEye) event, but it shows up as a black rectangle in game. If this is allowed and you like what I've done feel free to incorporate it. Also I can't seem to attach the .dds file I'm trying to use, but it's basically the .jpg resized to 350x100 and saved as a .dds, set Compression to "BC2/DXT3", and left "Generate Mipmap" unchecked as per this, except I did it on Paint.net since I couldn't install the .dds plugin on GIMP.
You would need to make sure the image file is loaded within the .modinfo file
 
You would need to make sure the image file is loaded within the .modinfo file

Sorry I'm noob, there's already this line in the .modinfo:

Code:
    <File md5="1E5274E454E2453CF336BD7BD74E9CE6" import="1">Art/EyeForEye.dds</File>

Do I need to change that or anything else?
 
The 'Way Of The Pilgrim' event triggers after settling your 2nd/3rd city for some reason, since the new VP version. Kinda annoying since it delays your prophet progress.
I'm getting this issue as well, and I'm noticing that even the AI are receiving it (a minor blessing, since it means most of us get delayed rather than just the Player). It happened for me on random turns too, one game it happened on Turn 45ish, another on Turn 82. But the one where it happened sooner I had been playing *hella* Tall, still had only my Capital
 
i know this mod is kind of in limbo in terms of being updated, but are there a bunch that are just broken? i feel like i dont get any of the advisor ones, or the civ specific ones. just a lot of "eye for an eye"
 
i know this mod is kind of in limbo in terms of being updated, but are there a bunch that are just broken? i feel like i dont get any of the advisor ones, or the civ specific ones. just a lot of "eye for an eye"
In my experience, at least a fifth of the events just don’t do anything anymore. It’s an old, bloated mod built as a sub mod for such an old version of VP that it was basically a different mod back then.
 
Hello there!
I have some technical issue that I wanna ask here. Why can't I enable community event even when I have enabled all VP component?
1704985968198.png

1704985993209.png
 
Uncheck and then recheck the base VP components. You may have to delete your VP cache as well
 
Back
Top Bottom