This is for the users out there that wish to Run Civ4 in Windowed mode. Of the users that I have had contact with that have run Civ4 in windowed mode, there was no noticable performance hit.One note: in windowed mode you cannot 'bump' the screen edge to scroll the map. Use your keyboard's arrow keys instead.How to set up windowed mode:1) Browse to C:Program FilesFiraxis GamesSid Meier's Civilization 4 - or your Civ4 root directory.2) Double-click 'Civ4Config' - this will load CivilizationIV.ini, which is actually stored somewhere in your MyDocuments. Civ4Config is a shortcut to it.3) Find the line that reads 'FullScreen = 1'4) Change the 1 to either 0, or ask (ask will make a pop-up when loading the game that lets you choose each time)5) Save and Exit6) Reload Civ4.Note: Two additional changes might be necessary to ensure the full window is visible.
It sometimes takes a moment (or 5 on slower machines) to switch between windowed and fullscreen modes. After switching it wait to see if it comes back up. Also, you can attempt this from the login screen Options button; this is sometimes more forgiving than changing options in the game.
Either change the resolution in-game, or manually change it by the following:(This example sets the game's window size to 1024x768, useful for players with desktop res at 1280x960)7) load the same Config file as before8) Find and change ScreenHeight from 0 to 7689) Find and change ScreenWidth from 0 to 102410) Save and Exit.11) Reload Civ4.Enjoy Windowed mode =).
.Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both.Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined witheach other.
Examples. cat dog -matches anything with cat,dog or both. cat +dog -searches for cat +dog where dog is a mandatory term.
cat -dog - searches for cat excluding any result containing dog. cats —will restrict your search to results with topic named 'cats'. cats dogs —will restrict your search to results with both topics, 'cats', and 'dogs'. I am working on a quiz/trivia game and it needs to be in windowed mode.
I have it working just fine in windowed mode, but when you click and drag the window around the game pauses. This actually creates an exploit as you can do this while answering a question and it'll pause the game.
This gives you as much time as you want to answer the question without the timer running down. My question is how can I keep the game running if the player clicks and drags the game window? Also if this isn't something that is possible, how can I detect this pausing/freezing so I can display an image to block the screen while they drag the window?
I've done some searching but haven't found anything that works yet. AFAIK there is no easy way to go about achieving this easily. In the case of blueprints I think the only solution is to run an internal time keeping system like DevilsD suggests.You can have a lastTime variable that polls the System datetime every single frame and reduce the ingame timer by (newTime - lastTime) every frame.An alternative is just to get the DeltaTime and reduce the ingame timer by that amount every single frame. DeltaTime should behave nicely if the game suddenly stops updating.These should suffice for the case where the player tabs out of the game and the update code halts, since you'd have a frame that took x amount of time to render, where x is the amount of time the game has been paused and the next frame either of these solutions would reduce the ingame timer by x + updateTime so the second the player tabs back into the game, the timer will run out.You just need to make sure you handle the case where they press the button the SAME frame that they alt tab into the game.