Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \\Daylight mod GZ// by StratosGK
- -------------------------------------------------------------------------
- Guide to change the Ground Zeroes mission time and weather.
- (i didn't and won't upload modded game files)
- I apologize for my english.
- Tip: Notepad++ is recommended in order to work with .lua files and text based modding.
- If you haven't touched your game files yet and it's the very first time you try modding GZ then start from step 1.
- Else start from step 5.
- 1) Make a backup of the files data_01.g0s and data_02.g0s if there is a reason for not downloading again from Steam if you do something wrong.
- 2) Download the files from the OP AND these batch files.
- 3) Put them in your game directory as shown in picture below.
- Underlined files are essential and must be in the directory.
- 4) Run the unpack batch and wait for the console window to close.
- 5) Find the following file from the path: \data_02\Assets\tpp\pack\mission\extra\e20010\e20010_area01.fpkd
- 6) Make a backup of the file somewhere safe. (yes backups again)
- 7) Open it with a hex editor. (if you don't have one, try downloading HxD). Don't expect to be able to read anything, it's encrypted.
- 8) You need to select a block of bytes. In HxD you do it by pressing Ctrl + E or Edit -> Select Block.
- Select the block that starts from the offset 3A1B70 and ends in 40B6FD. Now delete the selected block.
- There will be a message saying that by deleting it you will decrase the size file. We are ok with that, so press ok.
- 9) Save the file and exit. (if there is e20010_area01.fpkd.bak file in the folder delete it, it's from the hex editor.)
- What we've done so far is delete the cached file that we want to edit, from the encrypted .fpkd. Now the game will load the settings from the file we are going to mess up with.
- 10) Find the following file: \data_02\Assets\tpp\level\mission\extra\e20010\e20010_sequence.lua
- 11) Make a backup, YES AGAIN, BACKUP NOW!
- 12) Open it with a text editor. ( I strongly recommend Notepad++)
- 13) Search for "TppClock.SetTime" without the ".
- It should take you to line 872 (more or less) and you should have the following lines in front of you:
- TppEffectUtility.SetColorCorrectionLut( "gntn_25thDemo_FILTERLUT" )
- GrTools.SetLightingColorScale(1.0)
- TppClock.SetTime( "00:00:00" )
- TppClock.Start()
- TppWeather.SetWeather( "pouring" )
- TppWeather.Stop()
- You can set the time anywhere between 00:00:00 to 23:59:59.
- The choices for weather are:
- sunny
- rainy
- cloudy
- sandstorm
- foggy
- pouring
- 14) After you change time or / and weather, save the file. (no need to close it too).
- 15) Go to the game directory where you have the batches.
- 16) Run the repack batch and wait for the console to close.
- From now on, you only need to modify the e20010_sequence.lua with a text editor and run the repack batch.
- So the second time you will try to change time or / and weather you will have to do the steps: 10, 12, 13, 14, 15,16 which may sound a lot but it's a 2 minute process.
- Don't be alarmed if the intro of the mission is complete white or different from the usual. Wait for the gameplay to start in order to judge if you need to change the settings. Even if there is no lighting at all or everything is white during the gameplay, move the mouse and observe the situation with the lighting. It might help you decide the next settings to try.
- The file e200010_sequence.lua lines 9103, 9751 and 10180 changed the value from 2 to 0 since zero is sunny and 2 is rainy.
- TppEffectUtility.SetColorCorrectionLut( "common_clearSky_a_FILTERLUT" )
- GrTools.SetLightingColorScale(2.0)
- TppClock.SetTime( "12:00:00" )
- TppClock.Start()
- TppWeather.SetWeather( "sunny" )
- TppWeather.Stop()
- and you can delete the WeatherManager lines apparantly. I did it and the mission was forever loading so just change the values from 2 to 0. should be 3 instances of WeatherManager. So change all three from 2 to 0 and it should appear correctly and no weird messing up after you rescue Paz. :) Will do that again myself to doubly make sure since I need to redo it, plus not sure how the intro cutscene will show.
- Deleting the lines of WeatherManager works.
- TppEffectUtility.SetColorCorrectionLut( "common_clearSky_a_FILTERLUT" )
- GrTools.SetLightingColorScale(2.0)
- TppClock.SetTime( "12:00:00" )
- TppClock.Start()
- TppWeather.SetWeather( "sunny" )
- TppWeather.Stop()
Advertisement
Add Comment
Please, Sign In to add comment