Post by JRavens on Jul 28, 2015 1:57:01 GMT
Far Cry has a built in "cheat" called TimeScale which can be used to alter the flow of time faster or slower.
What this does in reality is speeds up or slows down the sky dome which as a result also causes shadows to move faster or slower since they are computed based on the sun or moons position overhead. Note that Far Cry 3 & 4 only update the sky dome while the player moves OR after a 3 minute pause if the player remains still (doesn't move the mouse, etc). I'm not sure why the game is programmed in that way, but if the timescale is very fast you will notice it the moment the player stops moving as the clouds and shadows will stop moving as well. This can be a bit jarring.
In order to take advantage of this hack and change the flow of time it is necessary to place the command in one of the .lua script files the game loads. Most of these .lua files are encrypted and will be ignored by the game engine if you try to change them. I have found one that works with some versions of the Far Cry patches including the latest one.
Attached to this post is a small .zip file containing the necessary .lua file inside of some directories. To make use of this unzip the file into your main patch_hd folder of the mod you are using. Be sure to keep the directory structure intact.
When properly unzipped the file structure should be:
\patch_hd\domino\user\fcc\fcc_master\fcc_master.fcc_master.lua
Once you successfully unzipped the file you can open it in a text editor ( I suggest the free Notepad++ ) and search for the following phrase:
SetTimeScale(0.5)
If Time Scale is set to 1.0 then time flows at x1 speed or the normal default. At 0.5 time is flowing at half speed so days and nights are twice as long and obviously at 3.0 days and nights go by three times as fast.
Change SetTimeScale to whatever you like, save the file and repack your mod. As long as you have not altered the file paths your time should now be as you like it
domino.zip (2.15 KB)
What this does in reality is speeds up or slows down the sky dome which as a result also causes shadows to move faster or slower since they are computed based on the sun or moons position overhead. Note that Far Cry 3 & 4 only update the sky dome while the player moves OR after a 3 minute pause if the player remains still (doesn't move the mouse, etc). I'm not sure why the game is programmed in that way, but if the timescale is very fast you will notice it the moment the player stops moving as the clouds and shadows will stop moving as well. This can be a bit jarring.
In order to take advantage of this hack and change the flow of time it is necessary to place the command in one of the .lua script files the game loads. Most of these .lua files are encrypted and will be ignored by the game engine if you try to change them. I have found one that works with some versions of the Far Cry patches including the latest one.
Attached to this post is a small .zip file containing the necessary .lua file inside of some directories. To make use of this unzip the file into your main patch_hd folder of the mod you are using. Be sure to keep the directory structure intact.
When properly unzipped the file structure should be:
\patch_hd\domino\user\fcc\fcc_master\fcc_master.fcc_master.lua
Once you successfully unzipped the file you can open it in a text editor ( I suggest the free Notepad++ ) and search for the following phrase:
SetTimeScale(0.5)
If Time Scale is set to 1.0 then time flows at x1 speed or the normal default. At 0.5 time is flowing at half speed so days and nights are twice as long and obviously at 3.0 days and nights go by three times as fast.
Change SetTimeScale to whatever you like, save the file and repack your mod. As long as you have not altered the file paths your time should now be as you like it
domino.zip (2.15 KB)