| General | Hosted Sites | Civ5 | CivRev | Civ4Col | Civ4 | Civ3 | Civ2 | Civ1 | Misc | Marketplace |
![]() |
|
|
Welcome to Civilization Fanatics' Center. You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Chieftain
Join Date: Aug 2010
Location: United Kingdom
Posts: 10
|
Era-Specific Flags
After trawling through the forums and attempting to use the awkward search function, I decided that the best way to get my answer would be to ask.
I want to get a Civilization's flag to change to a particular flag at the start of each new Era. Is this possible, and how would I do this? Specifically I want to switch to the US Betsy Ross flag when the English colonies enter the Revolution Era in CIV4 Colonization (it appears to use pretty much the same system for typical era advances in BTS, so I assumed I may get a better response here). Because it is the same system, I assumed I could also do Era flag changes for BTS English (Act of Union for the Industrial Era and all that). Thanks in advance for any replies. |
|
|
|
|
|
#2 |
|
Say No 2 Net Validations
![]() ![]() |
Welcome to CFC
.I don't think it's doable in an easy way, would need some programming skills. As far as i know, CommunityCivV has such a feature. |
|
|
|
|
|
#3 |
|
Emperor
Join Date: Jul 2010
Location: Grand Rapids, Mi
Posts: 1,185
|
I wonder if you could approach the situation from a different direction. Is it possible to evolve from one civilization to another? Not sure if it is, but if so you could replicate cultures at different time periods and evolve from one to the other, then receive a new flag, new UU, new UB, that sort of thing?
Washington --> Lincoln --> FDR --> Kennedy --> X
__________________
ExtremeMod/Multiverse: http://forums.civfanatics.com/showthread.php?t=440184 Extreme2: http://forums.civfanatics.com/showth...5#post10308175 Game Blog: http://emeraldtablet.wordpress.com/
|
|
|
|
|
|
#4 |
|
Say No 2 Net Validations
![]() ![]() |
Needs only a few changes in the SDK (or tons in python) to achieve leader or civ cycling.
I think, the moongose mod and community civ5 have such features. |
|
|
|
|
|
#5 |
|
General Guy
Join Date: Oct 2008
Location: Los Angeles
Posts: 5,529
|
What exactly do the getTag and setTag functions do in python? I assumed it changed the artdefines tag, but after some testing, it doesnt seem to do that.
|
|
|
|
|
|
#6 |
|
Say No 2 Net Validations
![]() ![]() |
That works in general...temporary.
Saibotlieh and i myself have already tried that for buildings and units, that works temporary, but can have unexpected side effects. I guess it could also be used here, but not sure, because with python you can't force the engine to a refresh, which would sometimes be needed. Why, what have you done exactly? |
|
|
|
|
|
#7 |
|
General Guy
Join Date: Oct 2008
Location: Los Angeles
Posts: 5,529
|
I was doing some more meddling with dynamic civ names.
Basically, I was trying to make the civ's short description and adjective change according to era (England becomes Britain, Rome becomes Italy, Khmer becomes Cambodia, and Persia becomes Iran). I managed to get that working and was thinking about getting the flag to change as well. |
|
|
|
|
|
#8 |
|
Say No 2 Net Validations
![]() ![]() |
Then give it a try
.I guess there are 3 things to modify imho: a) After onTechAcquired in the CvEventManager, you should have to apply what you've thought about, changing the artdefine tag of the civilizations. Would need tons of more entries in the artdefines, i guess. b) That has also to be done after a reload c) For the flag in the GUI, you probably have to modify somethign in CvMainInterface.py. That's quite a bit of a task, because it needs 32 (how many civs are there?) * 6 eras tags at all, and either you have to assign everything by hand, or you have to develop a good system, like naming the new tags directly after the civs + era integer number, so that you can get them automatically. |
|
|
|
|
|
#9 |
|
General Guy
Join Date: Oct 2008
Location: Los Angeles
Posts: 5,529
|
Well, for A I was actually going to link it to this:
Spoiler:
Which is how I convert the ShortDesc and Adj to the modern names. I was planning on simply adding it into there. B) I think it does, but not entirely sure. C) Don't know how to do that or even how to begin. |
|
|
|
|
|
#10 |
|
Say No 2 Net Validations
![]() ![]() |
a) that looks okay, but could probably be more automatised, if the TXT_KEYs were made for it.
e.g. TXT_KEY + CivilizationType + Era could work relativly good, but i guess it's more work to rename the keys than to do that. b) mmhh...depends on where it is attached .c) Me too, no idea, haven't tried something like that myself yet .
|
|
|
|
|
|
#11 |
|
General Guy
Join Date: Oct 2008
Location: Los Angeles
Posts: 5,529
|
Well, its attached to a function that is called whenever the player switches civics (apparently. It also appears to happen whenever a city is founded, but only sometimes. And its not called when the State Religion is changed
).
|
|
|
|
|
|
#12 | |
|
CCV-designer
Join Date: Aug 2007
Location: Germany
Posts: 1,164
|
Quote:
But to isolate it may be hard. But if you want to try. Okay. Or build your mod upon CCV. That may be easier...
__________________
Leading designer of the Community Civ V [CCV] project ![]() **** 22.06.2011 **** NEW PATCH **** 22.06.2011 **** Download =====> CCV 4.40 D <===== Download |
|
|
|
|
|
|
#13 |
|
General Guy
Join Date: Oct 2008
Location: Los Angeles
Posts: 5,529
|
I'll try and isolate the dynamic flag.
Shouldn't be too hard. ^famous last words. |
|
|
|
|
|
#14 |
|
CCV-designer
Join Date: Aug 2007
Location: Germany
Posts: 1,164
|
You have mail.
__________________
Leading designer of the Community Civ V [CCV] project ![]() **** 22.06.2011 **** NEW PATCH **** 22.06.2011 **** Download =====> CCV 4.40 D <===== Download |
|
|
|
|
|
#15 |
|
Deity
Join Date: Jan 2006
Location: Oregon
Posts: 2,525
|
Flags changing on era triggers? I think Aussie and I tried this years ago and weren't able to do it. I might give it another go at it once I get BtS...
|
|
|
|
|
|
#16 |
|
Deity
Join Date: Jan 2006
Location: Oregon
Posts: 2,525
|
Here is a WIP that I did a while back... it might help:
http://forums.civfanatics.com/downlo...o=file&id=2145 |
|
|
|
|
|
#17 |
|
godless Heathen
Join Date: Jan 2001
Location: Washington, DC
Posts: 8,957
|
Thomas, please PM me when you get a chance man.
__________________
Religion flies men into buildings, science flies men to the moon... Check out my stuff!!! UNITS | LEADERHEADS | DIPLOMACY II |
|
|
|
|
|
#18 |
|
Warlord
Join Date: Sep 2009
Location: Earth
Posts: 225
|
Sorry to necromance, but did anyone ever find a solution for this?
__________________
Stories: Aftermath (On When Sea Levels Attack) Civ IV Maps:Earth Full of Resources When Sea Levels Attack Mark 2 Polynesia Large Earth 1500 AD Colonization 2 Maps: Worldwide Colonization I now mod CIV IV and Colonization! If you need me, send a PM! |
|
|
|
![]() |
| Bookmarks |
|
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Idea- Leader Specific Flags | jlc102127 | Civ4 - Creation & Customization | 1 | Apr 19, 2009 05:00 PM |
| Nation specific flags | deanver | Civ4 - Creation & Customization | 3 | Feb 17, 2006 04:10 PM |
| Nation specific flags | deanver | Civ4 - General Discussions | 0 | Feb 15, 2006 06:07 PM |
| Era-related stills/images of leaderheads/flags in replacement of animations | tikwew | Civ - Ideas & Suggestions | 0 | Feb 03, 2006 10:44 AM |
| El-Dorado City Graphics(Single Era and Era Specific included) | Sword_Of_Geddon | Civ3 - Graphics Modpacks | 8 | May 17, 2005 06:51 AM |