Advertisement
Civilization Fanatics' Center  

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.

Go Back   Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization

Notices

Reply
 
Thread Tools
Old Mar 15, 2007, 06:00 PM   #1
Molybdeus
Prince
 
Molybdeus's Avatar
 
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.
Molybdeus is offline   Reply With Quote
Old Mar 15, 2007, 06:24 PM   #2
IVZanIV
Warlord
 
IVZanIV's Avatar
 
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.
IVZanIV is offline   Reply With Quote
Old Mar 15, 2007, 08:33 PM   #3
Molybdeus
Prince
 
Molybdeus's Avatar
 
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.
Molybdeus is offline   Reply With Quote
Reply

Bookmarks

Go Back Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization > Change Game Speed In-Game

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


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


Advertisement

All times are GMT -6. The time now is 11:49 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
This site is copyright © Civilization Fanatics' Center.
Support CFC: Amazon.com | Amazon UK | Amazon DE | Amazon CA | Amazon FR