AG's Extra Victory Conditions

amateurgamer88

Emperor
Joined
Aug 24, 2018
Messages
1,612
Hi everyone! This is amateurgamer88! Since I've started on adding more ideologies, I slowly realized that there was a need for more victories to make the ideologies more unique. Currently, I'm still working on the alpha version of the Religious Victory and have plans to make Economic Victory.

A lot of the code was made possible when I dissected the Extra Victory Condition mod. Why didn't I use that code? This was mentioned in the mod description:
It has been reported that the religious victory does not work when using the Vox Populi mod.
Therefore, I'm making one that should be compatible with VP and it has been quite the learning experience.

Currently, my Religious Victory takes into account how many cities you spread to. I have set the number to 90% currently but that number can change depending on feedback. If anyone has time and want to give this a run, I would appreciate any feedback regarding the numbers. The idea is that you will convert most of the world and win that way. Now, we all know that it's not much fun if there are no screenshots. Below is what I have thus far.

Spoiler New Victory Condition Screen :

The screen will be empty if there are no religions. Once a religion is found, it will have its own icon. As you spread to more cities, the icon will fill up much like how you see your influence with other civs for Cultural Victory will fill up. Fill that up fully and you will win the game. I have tested and you will get a victory screen. Sadly, you won't get more information if you hover over the icon.

20200405132435_1.jpg



Spoiler Things I need help with :

1. If anyone is more familiar with UI, I'd appreciate the help. I need to add an icon next the Religious and don't quite know how at the moment.
2. New atlas for both Religious Victory and Economic Victory. This not only includes the images you see right of each Victory condition box (the V with something representative of the victory over it) but also the final victory screen). Any artists who have some free time and willing to help is highly appreciated. I sadly got no artistic skills whatsoever.


Spoiler To-do-list :

Finish and polish Religious Victory.
Created, finish and polish Economic Victory.
Rework the Ideologies.
 

Attachments

Last edited:
Why don't you just copy the UI file and adjust it to VP instead of creating new one from scratch. Ask for permission of course. Don't break the open door :p VP victory screen has not changed probably between base and VP. Part related to economic victory can be commented for now if you don't have appropriate code.
 
Last edited:
Why don't you just copy the UI file and adjust it to VP instead of creating new one from scratch. Ask for permission of course. Don't break the open door :p VP victory screen has not changed probably between base and VP. Part related to economic victory can be commented for now if you don't have appropriate code.

My approach was using the VP's victory condition files and add in the new victories as opposed to trying to find out what differs between the two files and make the changes to the copied UI file. I also find it as a good exercise to learn since I do plan on doing some UI changes in the future (for what, I don't know). I have tried to contact the original modder but I haven't gotten any response yet.

Overall, I'm making decent progress as much of it is more or less working. Since I cannot get permission, I'm trying to avoid using the images from the original mod in the final release of this mod. That's possible except for the victory screen which I'm stuck with the Cultural Victory screen for now. I must be missing something obvious as that's the last major issue I'm having with along with a few smaller problems.
 
90% sounds a lot harder than the domination victory by comparison. The 70% from the original mod sounds like a good number to me.

Your economic victory will have to be very different from Stephen's original mod, with monopolies and corporations having to be incorporated/worked around in some way. I'm interested to hear what you come up with for victory conditions
 
90% sounds a lot harder than the domination victory by comparison. The 70% from the original mod sounds like a good number to me.

Your economic victory will have to be very different from Stephen's original mod, with monopolies and corporations having to be incorporated/worked around in some way. I'm interested to hear what you come up with for victory conditions

The 90% can change but the reason why I have it this high is due to two reasons. First, I don't want this victory to come easily enough that it can be achieved sooner than Cultural, Science and Diplomatic Victory. Spreading your faith starts much sooner than working towards the other victories, except Domination, so you do have a head start. Secondly, the original mod also requires you to convert all holy cities. I didn't include holy cities because the number might not update properly making this victory condition impossible. I do think that, in order to achieve a similar result, you likely will have converted most of the cities anyways. We can always lower 90% if it seems too difficult but I will need proper feedback from players.

Regarding Religious Victory, I also have the intention of adding an additional condition where you must accumulate x number of faith. This will hopefully prevent or make it harder for players to just cheesing the game by converting all the necessary cities in one go to get the victory. As for what x is, that's also a variable that will change based on feedback.

The economic victory will be very different for sure. I'm still juggling a few ideas to see what's viable. I intend to rework the original ideologies so more than one ideology will be geared for economic victory. Therefore, I need something that will work for those ideologies. I'm also considering luxuries as well but we'll see.
 
Secondly, the original mod also requires you to convert all holy cities. I didn't include holy cities because the number might not update properly making this victory condition impossible.
I never understood that condition... It seems like domination victory but with extra steps. If you control all the holy cities then you have decapitated 5/8 civs on a standard game, and probably the strongest ones.
Regarding Religious Victory, I also have the intention of adding an additional condition where you must accumulate x number of faith.
Could add a religious wonder at the end that is faith purchased.
The economic victory will be very different for sure. I'm still juggling a few ideas to see what's viable. I intend to rework the original ideologies so more than one ideology will be geared for economic victory. Therefore, I need something that will work for those ideologies. I'm also considering luxuries as well but we'll see.
I would recommend against changing existing tenets, only adding new ones, if possible. Maybe upping all ideologies to 9/9/4 or something. If anything changes in the base mod -- and I remind you that late game is where the most work is still needed -- you will be making work for yourself just to keep your mod playable, and you will get discouraged. It happened to me; I still haven't updated my mods in months because everything keeps changing arbitrarily
 
I never understood that condition... It seems like domination victory but with extra steps. If you control all the holy cities then you have decapitated 5/8 civs on a standard game, and probably the strongest ones.

Could add a religious wonder at the end that is faith purchased.

I would recommend against changing existing tenets, only adding new ones, if possible. Maybe upping all ideologies to 9/9/4 or something. If anything changes in the base mod -- and I remind you that late game is where the most work is still needed -- you will be making work for yourself just to keep your mod playable, and you will get discouraged. It happened to me; I still haven't updated my mods in months because everything keeps changing arbitrarily

I think you are misunderstanding what they meant. The condition isn't to capture all the holy cities. Instead, it's converting all the holy cities to your religion. Basically, all the holy cities now follow your faith. While capturing them and converting them is one method, you can also just convert all their cities by overwhelming their religious pressure which can be achieved.

As for a religious wonder that can be faith purchased, I'd rather lessen my work by just making the player stock up enough faith. Honestly, at that point, it's one less thing to click while achieving the same thing since you need quite a bit of faith anyways.

The funny thing is I do have plans to change the entire late game eventually but I'm using this ideology mod and extra victory conditions mod as a learning exercise to delve more into lua and dll. I know what you meant by changing versions make mod unplayable and it can be discouraging. For me, I'll probably go with the sane route and wait for the next stable version. VP will constantly change and grow but I'll be taking things in a new direction with one version. One reason why I started modding is due to me tired of hoping someone will change things up a certain way. If I ever like new changes to VP, I can always mod it in later at my own risk. Otherwise, I can just work with one version and see where things go from there. I appreciate the warning and have noticed it from the post you made. However, I also know better than trying to keep up with an ever changing VP. I don't want VP to ever stop because that's how new and better ideas can be born.
 
I wish to thank @HungryForFood for the assistance in some coding. Here's the new update where it's mostly UI changes with an extra condition for Religious Victory. To win Religious Victory, you now need to:

Code:
Spread your religion to 90% of the cities on the map.
AND
Accumulate 20,000 Faith.

Spoiler New Religious Victory Screen :

You have access to the same tool tip for all the religions so you'll know how your competition is doing.
20200407193526_1.jpg

 
You asked new icons for this mod, but from the pic above, I find that what you have done so far is not bad at all. A bit "flat" maybe, but perfectly fonctionnal, readable and aesthetic.
I wonder if it's compatible with the very popular Calypso's Colored Religious Icons mod (Basic and Extended)
 
You asked new icons for this mod, but from the pic above, I find that what you have done so far is not bad at all. A bit "flat" maybe, but perfectly fonctionnal, readable and aesthetic.
I wonder if it's compatible with the very popular Calypso's Colored Religious Icons mod (Basic and Extended)

Well, the thing is everything that's shown above are either already available in civ or made possible through the UI (both lua and xml). I did no drawing or art designing at all to make any of this possible. Therefore, I still need help with the icons if you ever find time.

As for other mods, I don't know enough of their code to be certain if they are compatible. Like I said, all of this was 95% code so it might be possible.
 
Here's a new update! Attached is one screenshot. I also need some feedback from people but more on that after the screenshot. For Economic Victory, the current conditions (numbers will be tweaked):

Code:
Control 8 Monopolies.
Accumulate up to 1,000,000 Gold.

Spoiler New Economic Victory Screen :

20200409221647_1.jpg



I'm not quite sure what exactly is a good number for Monopoly on a Standard map. Any feedback on this would be appreciated while I clean up the UI a bit more. Thanks!
 
Here's a new update! Attached is one screenshot. I also need some feedback from people but more on that after the screenshot. For Economic Victory, the current conditions (numbers will be tweaked):

Code:
Control 8 Monopolies.
Accumulate up to 1,000,000 Gold.

Spoiler New Economic Victory Screen :


I'm not quite sure what exactly is a good number for Monopoly on a Standard map. Any feedback on this would be appreciated while I clean up the UI a bit more. Thanks!

How many luxuries spawn on a standard map for reference? Is the victory based on a ratio of the luxuries spawned, or is 8 just a number selected at random.

Anyway, how would Indonesia factor in? And Brazil to a lesser factor. Maybe not really an exploit, but they do get free luxuries. And hopefully, Great Admiral luxuries don't count.

Also maybe a third condition to have a Corporation, and have a certain number of franchises.
 
As for a religious wonder that can be faith purchased, I'd rather lessen my work by just making the player stock up enough faith. Honestly, at that point, it's one less thing to click while achieving the same thing since you need quite a bit of faith anyways.
If you make it a building/purchase then there is at least an input from the player to confirm they want to win the game there. One of the reasons a wonder was brought back for CV was people didn't like how cultural victories would just appear from nowhere while they pursued another victory like domination.

I can't remember how many luxuries a standard map has, but yeah, Indonesia's 3 extra luxuries certainly makes this a little easier for them. I like the idea of it being %-based on the number of potential monopolies on the map.
And hopefully, Great Admiral luxuries don't count.
If AG is using the monopoly screen, a resource has to have a tile, or a city-state attached to it in order to be counted.
 
How many luxuries spawn on a standard map for reference? Is the victory based on a ratio of the luxuries spawned, or is 8 just a number selected at random.

Anyway, how would Indonesia factor in? And Brazil to a lesser factor. Maybe not really an exploit, but they do get free luxuries. And hopefully, Great Admiral luxuries don't count.

Also maybe a third condition to have a Corporation, and have a certain number of franchises.

I personally feel that a more useful number is how many luxuries players usually get. Then, we can add a x amount so that those pursuing this victory have to work for it instead of it just happening as a norm. The victory is based on the map size so larger maps will require you to get more monopolies. However, I don't play on maps other than Standard so I need feedback to know for certain. As for 8, it's a random number but it's a number that will scale with map sizes.

As for Indonesia and Brazil, they will be more geared towards this victory but the number should be adjusted so they won't have it easy either. Remember that this is monopolies and not just luxuries. Great Admiral luxuries don't give monopolies so we don't have worry about that. Even if they do, we can always adjust the number if necessary.

Regarding certain number of franchises, I am thinking about it. It will make this victory only possible late game but I will have to make it a number achievable by all civs, not just those going for the new ideology that gives you unlimited franchises.

If you make it a building/purchase then there is at least an input from the player to confirm they want to win the game there. One of the reasons a wonder was brought back for CV was people didn't like how cultural victories would just appear from nowhere while they pursued another victory like domination.

I can't remember how many luxuries a standard map has, but yeah, Indonesia's 3 extra luxuries certainly makes this a little easier for them. I like the idea of it being %-based on the number of potential monopolies on the map.

If AG is using the monopoly screen, a resource has to have a tile, or a city-state attached to it in order to be counted.

Regarding a building for Religious Victory, I don't think it's necessary. Unlike CV where you don't usually know how other civs are doing in influencing others unless you regularly check the Tourism screen, Religious Victory had a few obvious signs that you ignore at your own risk. First, you have your religion being converted aggressively so it's obvious someone is aiming for the victory. Secondly, the civ aggressively pursuing this victory will have more votes due to 1 delegate per 10 city following its religion. I think it will be obvious when you are wondering how a civ not going for diplomatic is getting so many votes.

I will try to make it being %-based on number of potential monopolies but, if I fail to do so, I will just have a set number that scales with map sizes. Indonesia will have an advantage but not hopefully so massive that it's an easy win for them.

The plan is using the same parameter of the monopoly screen. We'll see how it goes because the UI was the toughest issue thus far and I was spending so much time fiddling it to show icons and numbers correctly.
 
After some tinkering with code, I decided to go for a more straightforward approach where I just set the numbers for monopoly needed for victory. This number changes with map sizes.

I tried to implement what was in the monopoly screen but it didn't quite work out. I also realized that, even if I did figure it out, I will still need to figure out a percentage which would be a number nonetheless. Indonesia might have an advantage but I guess it's true for its neighbors who can also get more monopolies by conquering Indonesia.

The franchise was also a no-go as it apparently needs a lot of for loops to find the number of franchises for each civ Considering that I want to make other mods, I don't think I want this mod to hog too much processing power.

Anyways, the new numbers are below (but will be tweaked based on feedback). We have the map size followed by the number of monopolies you need to acquire.

Code:
Tiny: 5   Small: 8   Standard: 10   Large: 13   Huge: 15

All that's left are the icons someone is generously making for this mod and we'll be ready for alpha. For those eager to do tests and don't care as much about icons, you can download the attachment of this post.
 

Attachments

I played recently and 90% for Religion is waay to much. I wuld say 75% is safe. I didn't manage to pass 50% and I sent many missionaries and prophets early game. Also when all faith is spent on Prothets, then accumulating 20000 seems impossible. I would change that to converting half+1 holy cities. In 6 player game it would be 3 of 4 goly cities.
 
I played recently and 90% for Religion is waay to much. I wuld say 75% is safe. I didn't manage to pass 50% and I sent many missionaries and prophets early game. Also when all faith is spent on Prothets, then accumulating 20000 seems impossible. I would change that to converting half+1 holy cities. In 6 player game it would be 3 of 4 goly cities.

Thanks for the feedback! Were you playing with the new Ideology I made or just with a religious civ?

At the moment, that number does seem a little high. However, I am reworking the ideologies, including the new one. It's possible that you can achieve those with the new tools I'm adding to ideologies. I might lower the faith needed to accumulate if it's still too high then.
 
I unfortunately didn't use your mods so far, but observing what conditions you used to compare it with my feeling. I can see that your mod is early stage of the developement, so it need some important balance. When you are sure after few game testing, that you have such, provide it, and I will try to test it out. But I will look at it today.
 
I unfortunately didn't use your mods so far, but observing what conditions you used to compare it with my feeling. I can see that your mod is early stage of the developement, so it need some important balance. When you are sure after few game testing, that you have such, provide it, and I will try to test it out. But I will look at it today.

My mod is in early stages of development for sure. Still need to change numbers along with other variables that are important. I will try to do some tests but life is just so busy and I'm enjoying modding more than playing at the moment. That's kinda rare for me.
 
Back
Top Bottom