Platy's Peculiar Pleasant Posh Python

OK. I downloaded the version from the same store in the database.

I have a question. I´m working on the video for growt victory. Is Possible write some for growt victory video in game?
 
What you mean? Isn't there a movie tag in victory xml?
 
I have two ideas for python mod comps...
1. Expand the regicide modcomp to have the King's name change based on civics, i.e. President with representation etc.
2. A city-state mod using python... sounds like it would be impossible but I thought I'd throw it out there just in case
 
1) That is possible, however:
A) Currently the name of the unit itself is the leader's, not King.
Example: Alexander, Boudica. So why will you want to change it to President instead.
B) It means codes have to be hard-coded, because not every mod will have the same set of civics, extra trouble for modders to merge to their own mod with own set of civics.
C) There is no "change civic" check in python, the only way is loop through the civics for every player every turn. Pretty waste of performance time just for a unit name change?

2) Elaborate.
 
1) That is possible, however:
A) Currently the name of the unit itself is the leader's, not King.
Example: Alexander, Boudica. So why will you want to change it to President instead.
B) It means codes have to be hard-coded, because not every mod will have the same set of civics, extra trouble for modders to merge to their own mod with own set of civics.
C) There is no "change civic" check in python, the only way is loop through the civics for every player every turn. Pretty waste of performance time just for a unit name change?

2) Elaborate.

1. Well, I guess changing the name would be pretty useless then.
2. I'm assuming you mean explain more (I really hate English sometimes), so I will--i mean a python mod comp that would start several civs at the beginning, that have random names and just a picture for the leaderhead, which can't have more than one city. would that be insanely hard, or even possible?
 
1) The King/Queen itself is just the base unit, which can of course be changed to President, Chieftian or whatever, provided you have to make duplicates of the same unit just like what I did with King and Queen.

The trouble is doing a civic check, which is a waste of time just for cosmetic effects.

2) As for new ideas/requests, I can't possibly do anything with just an idea name.
For instance, Inquistors => Unit that can remove religions.
Palace Upgrade => Do something to the palace upon certain situations just like old Civ titles.
 
It is pretty easy to add extra civs into the game at the start of the game.
The troublesome part is to differeniate them from the real civs.

One way is to set them all as Minor Civs, which however cannot do any diplomacy stuff I believe.
The other way is to make use of player script data which is troublesome to merge with another mod using the same script data.

Only when you can differeniate them from the rest, then you can set limitations to them only.
 
Would it be possible to make them minor civs but then make code that would allow you to give the civs gifts or threats by clicking on their name, which would make them happy or mad at you? Theoretically if that is possible it could be applied to all civs, which could make it easier... right?
 
Possible but tedious.
Pretty much impossible to teach ai what to do
 
Thanks anyway for taking the time to respond to something like this!
 
I have one final idea for a python mod: there are lots of mods that add unit action buttons. There's even a tutorial on how (I've read it, it's all Gobbledegook until I get better at programming), but nobody has done a sniper action button, as far as I know. What it would do is: the player clicks the button (which only certain units have) then clicks a tile nearby. All enemy units on that tile are then listed in a popup, and the player picks one of the units. His sniper unit then has a chance of wounding or killing that unit. It could be used for precision artillery too, I guess.
 
Thing about python actions is inability to teach ai.
I made some before like inquisitors or enhanced gp with basic ai involved.
The more troublesome the action, the tougher it is to teach ai
 
It is pretty easy to add extra civs into the game at the start of the game.
The troublesome part is to differeniate them from the real civs.

To limit them to only the starting city, you could give them civilization types which are set up to block them from building settlers (give them a UU type of NONE for the settler's unit class, just like the Barbarians have for this). Well, they could also capture cities from other players, but I think the city states in Civ V can do that and I assume that the Civ V sort of city state is what was wanted.

In all other ways they would act as a regular civ. To get more specialized behavior, like the different types of city states in Civ V, would be a bit trickier.
 
Well, Civ V City States AFAIK can do these:

1) Give Gold for first meeting, more for first player.
Can be easily done

2) Give Own Resource to best friend.
Can be done by giving them 2 copies of one random luxory.
They will then keep one themselves and trade away the surplus.
The difference will be first come first served, since they won't cancel the deal and trade with another guy just because the attitude changes.

3) Missions to increase attitude
Not quite possible

4) Attitude degenerate overtime
Doable if you don't mind checks every turn.

5) Special benefits based on types, maritime, cultural and military.
This is actually the main benefit of them, and the main reason for keeping them alive rather than killing them off. Yet this is pretty tedious to code, and even if it is possible to code, tedious to teach the AI.

Thus, if 5) is not doable, then there is not much point in it, since AI will just kill them off like flies, since they only have one city and can't possibly put up a fight.
 
Thank you for the Inquisition!

I have added a check to exclude the button for your State Religion from inquisition (in CVMainInterface).
 
Civ V City States into civ 4? Excellent. I can make new graphics for it, if need. But next week :)

Some ideas: In civ5 are city states on map from the beginning of the game. This is not good. They should be two or three that were rare and others may come under some circumstances during the game.
 
Nah, unless the benefits can be done, not likely I will bother to attempt :D
 
Back
Top Bottom