| 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 |
|
Prince
Join Date: Jul 2006
Posts: 524
|
Change Game Speed In-Game
Is there any way to change the speed of the game in-game? For example, moving from normal speed to marathon speed when Liberalism is discovered and then back to normal after 30 turns? (IE, is this an engine thing or an XML thing?)
Civ4GameSpeedInfo contains the XML info for the actual game speed. What I need to know is how to change which of the options (GAMESPEED_MARATHON or GAMESPEED_NORMAL) the game is using via python. Last edited by Molybdeus; Mar 15, 2007 at 06:11 PM. |
|
|
|
|
|
#2 |
|
Warlord
Join Date: Jan 2006
Posts: 285
|
In CyGame there is a function to get the game speed type, (.getGameSpeedType()) but there is no way to set the game speed. I believe SDK would be necessary.
|
|
|
|
|
|
#3 |
|
Prince
Join Date: Jul 2006
Posts: 524
|
Would I just have to add something like . . .
GameSpeedTypes CuGame :: setGameSpeedType(int iSpeed) const { int getGameSpeed() = iSpeed } You pass iSpeed something like GAMESPEED_MARATHON My [complete lack of] programming skills are years old, and I've never used Python. But it seems like that should work. Can any experienced users tel me if that would work? EDIT: No it won't. I am an idiot. Last edited by Molybdeus; Mar 15, 2007 at 10:55 PM. |
|
|
|
![]() |
| Bookmarks |
|
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How can i change the game speed of Rhye's and Fall | cuximodo | Civ4 - Rhye's and Fall of Civilization | 5 | Jan 10, 2009 08:03 AM |
| Will DisableFileCaching = 1 and change it to 0 improve game speed and how it works? | Feanor777 | Civ4 - General Discussions | 1 | Jul 28, 2008 09:17 PM |
| Is there a way to change the game speed in the middle of a game? | achilles17 | Civ4 - General Discussions | 2 | Dec 30, 2007 10:33 AM |
| Help! Is it possible to change game speed after I already started!! | AccipiterQ | Civ4 - General Discussions | 4 | Aug 21, 2007 01:56 PM |
| Is there a game speed mod for BtS that will make the game 1000 turns long? | Bursk | Civ4 - Creation & Customization | 3 | Aug 01, 2007 06:00 AM |