Mod Component Requests Thread

I wish a Sack city mod existed. I was thinking of working on one that could combine the ransom vikings feature(warlords python) so you get kicked out of the city immediately and don't own it. I just don't know python that well, but can alter sdk to create a new city conquest option. Any takers?
 
Is there any way to put movies to show up for units? Just like wonders, id like to do that for my "living legends" in my mod.

If you already know how to make the movies and such, I think there's a movie thing in the XML like with the wonders.. I know you could add movies to buildings, but I don't know about units...
 
If you already know how to make the movies and such, I think there's a movie thing in the XML like with the wonders.. I know you could add movies to buildings, but I don't know about units...

Yeah i do know that, ive been doing that for wonders, and thats where i got the idea. Im sure its pretty easy to do
 
Trace the XML field for wonder movies through the DLL via a search. Find where it's called, and then imitate it in the unit built function.
 
Is there any way to put movies to show up for units? Just like wonders, id like to do that for my "living legends" in my mod.

Trace the XML field for wonder movies through the DLL via a search. Find where it's called, and then imitate it in the unit built function.

The movies are run from Python not the dll. You would need to look in the CvEventManager.py if your mod uses one.
 
Do you have any experience with programming, especially in an object oriented manner? ...

A little, but nothing object oriented. -yet. :P
Thanks again - especially for the offer of mentoring!
(I promise not to pester you for a while, but i really hope i get the chance to create these mods, so i'm likely to take you up at some point in the not-too-distant future.) :)
 
New thought: Can you create completely new variables? I'm interested in creating a 'court/congressional/parliamentary-approval rating'. E.g.
'We think you're a god'
'You ARE this governement'
'You speak for us'
'You're a puppet'
'How did YOU get to be the boss?!'
This rating could make it easier/harder to enact policies & change civics etc.
 
Yes, you could do something like that- although I think you're looking for the word 'mechanic,' not variable. But what effect do you want it to have?
 
Let's say, to start with:
'We think you're a god'
= 50% time reduction for anarchy
= 50% reduction in corruption
= Decreases 'Upkeep Cost' of Government civics by upto 2 levels (ie. Medium & Low -> None, High -> Low)
'You ARE this governement'
= 25% time reduction in anarchy
= 25% reduction in corruption
= Decreases 'Upkeep Cost' of Government civics by 1 level (ie. High -> Medium, Medium -> Low, Low -> None)
'You speak for us'
= [standard rules]
'You're a puppet'
= 25% time increase for anarchy
= 25% increase in corruption
= +25% chance that any major action will be vetoed by your court/senate etc. (similar to what used to happen under a 'Democracy' government (Civ II?))
'How did YOU get to be the boss?!'
= 50% time increase for anarchy
= 50% increase in corruption
= +50% chance that any major action will be vetoed by your court/senate etc. (as above)
 
That sounds feasible (albeit a tad complicated), except for this:

'25% chance that any major action can be vetoed'

What's a major action? What happens when it's vetoed?
 
That sounds feasible (albeit a tad complicated), except for this:

'25% chance that any major action can be vetoed'

What's a major action? What happens when it's vetoed?

Declare war, spy, ...
maybe: launch an incomplete spaceship, build a wonder?

Granted, this is my most complex mod component idea. I'll probably start with the %chance of perishing in a desert & go from there.
 
I had an idea for an event..
A group of people want to leave your city to start a new life elsewhere:
---NO! You can not leave! (+1 Angry for x turns)
---Yes, please, settle elsewhere and retain your loyalty! (costs y gold, free settler)
 
Should be doable using only the Event and EventTrigger XML files. There's a good guide in the tutorial section on this.
 
Just out of interest, would this idea be much more do-able if i lose the 'veto' aspect?

(i think the aspect i'd like to implement the most would be the corruption modification - though anarchy time reduction would be nice too..)
 
Is there a modcomp that tells you what wonders where in the city you just captured? It's kinda annoying when you don't realize that you captured the pyramids or schwedagon paya
 
Back
Top Bottom