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 18, 2010, 09:35 AM   #1
Gre_Magus
Manet
 
Gre_Magus's Avatar
 
Join Date: Oct 2005
Posts: 273
Change Gamespeed midgame

Would it be difficult to change the game speed (from normal to marathon, for example, or to a new speed) during a game? I'm building a scenario and I want to have a quicker "build-up" phase where the civs can develop cities and build units, but then have a war fought in an "operational phase" where you have multiple turns per year and production and research are slowed down appropriately.
Gre_Magus is offline   Reply With Quote
Old Mar 18, 2010, 10:32 AM   #2
Willem
Deity
 
Join Date: Feb 2002
Location: Canada
Posts: 7,081
Quote:
Originally Posted by Gre_Magus View Post
Would it be difficult to change the game speed (from normal to marathon, for example, or to a new speed) during a game?
More than difficult, impossible.
Willem is offline   Reply With Quote
Old Mar 18, 2010, 10:48 AM   #3
Gre_Magus
Manet
 
Gre_Magus's Avatar
 
Join Date: Oct 2005
Posts: 273
Why so? Is the game speed xml information only loaded once? Could you not create a function in the DLL to reload it at some point? Or would that break things?
Gre_Magus is offline   Reply With Quote
Old Mar 18, 2010, 11:24 AM   #4
Willem
Deity
 
Join Date: Feb 2002
Location: Canada
Posts: 7,081
Quote:
Originally Posted by Gre_Magus View Post
Is the game speed xml information only loaded once?
Yes, at the very start of the game. It can't even be changed by going into the World Builder.

Quote:
Could you not create a function in the DLL to reload it at some point? Or would that break things?
Well that I'm not sure of. It may be possible to do but I highly doubt it.
Willem is offline   Reply With Quote
Old Mar 18, 2010, 05:47 PM   #5
Jarlaxe Baenre
Secular Humanist
 
Jarlaxe Baenre's Avatar
 
Join Date: Feb 2010
Location: Alberta, Canada
Posts: 1,675
You could save the game as a world builder save and then modify the gamespeed in there.
Jarlaxe Baenre is offline   Reply With Quote
Old Mar 18, 2010, 08:01 PM   #6
Afforess
The White Wizard
 
Afforess's Avatar
 
Join Date: Jul 2007
Location: Michigan, USA
Posts: 10,652
Images: 8
Nonsense, you can change a lot of things mid-game. If you know how to use the SDK, you can compile a dll that checks to see if you are at gamespeed X and if you are, sets the gamespeed to Y. You can do the same with game options, amongst other things. If you have enough time on your hands, you could expose all those functions to python and create an interface where you can change game options, speed settings, difficulty levels, etc... on the fly each turn.

I'd do it, but I have a huge backlog of requests for my mod...
__________________
"A Witty Saying Proves Nothing"
-Voltaire

Civilization 4 Mods: Rise of Mankind - A New Dawn 1.75
Civilization 5 Mods: Active City Defense, Tech Diffusion
Minecraft Mods: Spout & Spoutcraft Lead Developer
Afforess is offline   Reply With Quote
Old Mar 19, 2010, 09:26 AM   #7
Gre_Magus
Manet
 
Gre_Magus's Avatar
 
Join Date: Oct 2005
Posts: 273
Thanks for the feedback. I thought more about my request, and I realized that what I'm hoping to achieve may actually more complicated than simply changing the gamespeed, in particular if I want to be able change back and forth in one game. Here's what I mean. On normal, let's say, a unit costs 40 hammers and a given city can put out 20 hammers a turn, so it will take 2 turns to build the unit. Now, if I change gamespeed to "super marathon" (1/10 normal) the unit will cost 400 hammers, and should take 20 turns to build. The city building it puts 20 hammers into it each turn, building up a total of 200 after 10 turns. Then all of the sudden, the gamespeed changes back to normal, and, if I understand correctly, the cost of the unit will go back to 40. The unit would then be finished immediately and give 160 hammers of overflow that can be dumped in a wonder or something. So what I would need to do is adjust the production (and food, science, culture, and gold) that was gained during the "slow" period back down to the "fast period" ratio (i.e, in my example, divide it by 10), so that the city has 20 hammers in the queue, not 200. It might be easier to actually penalize production (and research, etc.) during the slow period, instead of altering the costs, but that would cause all kinds of rounding problems. I guess this is actually more difficult than I thought.

Last edited by Gre_Magus; Mar 19, 2010 at 09:29 AM.
Gre_Magus is offline   Reply With Quote
Reply

Bookmarks

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

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
Change the gamespeed of RTW to Marathon Civask Civ4 - Road to War 1 Sep 22, 2008 02:21 PM
Gamespeed Ecofarm Civ4 - Strategy & Tips 22 Mar 16, 2007 04:31 AM
Any way to change turn limit midgame XenoOGear Civ4 - General Discussions 1 Aug 06, 2006 05:38 PM
[Utility]Change the rules, play how you like with [Gamespeed Tuner] Junuxx Civ4 - Utility Programs 33 Jun 11, 2006 01:43 PM
Midgame victory condition change C-Erikson Civ4 - General Discussions 3 Mar 04, 2006 06:51 AM


Advertisement

All times are GMT -6. The time now is 11:11 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