Posted by: Track - Saturday, December 20, 2014 8:58:59 AM
I'm trying to set the camera height for C&C Generals on my 2560x1600 monitor using Windows 8.
I figured that you need to extract the .ini files in the INI.big file.
I did that, but no changes I make to the .ini files have any effect.
Everything is still controlled by Options.ini in my documents folder.
What am I doing wrong?
Thanks!
Posted by: NewNightmare - Saturday, December 20, 2014 10:58:16 AM
File: Data/INI/GameData.ini
(has to be extracted to those folders in generals/ZH directory)
look for these:
CameraPitch = 37.5
CameraYaw = 0.0
CameraHeight = 232.0
MaxCameraHeight = 310.0
MinCameraHeight = 120.0
I assume you already run the game at 2560x1600 by editing options.ini
Posted by: Track - Saturday, December 20, 2014 12:12:19 PM
[quote=newnightmare;135201]File: Data/INI/GameData.ini
(has to be extracted to those folders in generals/ZH directory)
look for these:
CameraPitch = 37.5
CameraYaw = 0.0
CameraHeight = 232.0
MaxCameraHeight = 310.0
MinCameraHeight = 120.0
I assume you already run the game at 2560x1600 by editing options.ini
[/quote]
I changed CameraHeight to 500.
MaxCameraHeight to 800.
MinCameraHeight to 300.
And yet, there is no difference.
Also, the GameData.ini file has parameters for resolution in it, as well.
I set those to 1920x1200 so I could tell if it takes effect, but it's still 2560x1600.
The game is unplayable without the camera height, so I don't know what to do..
And just to clarify, I'm playing Generals, not Zero Hour.
Posted by: Gameanater - Saturday, December 20, 2014 2:57:16 PM
Why would you change camera height like this anyway? Just wondering.
Anyway, I don't think this is something that should be changed like this to begin with, you can switch around camera height, angles, etc, with scripting in a map. Though the player can always reset the camera by pressing the mousewheel.
Posted by: Track - Sunday, December 21, 2014 9:25:59 AM
[quote=Gameanater;135205]Why would you change camera height like this anyway? Just wondering.[/quote]
Because the higher the resolution, the lower the camera is. Since I have a pretty high resolution, playing the game is just no longer fun.
[quote=Gameanater;135205]Anyway, I don't think this is something that should be changed like this to begin with, you can switch around camera height, angles, etc, with scripting in a map. Though teh player can always reset the camera by pressing the mousewheel.[/quote]
How else would you change the camera height?
I tried Gentool but it only allows you to change it in a replay, which doesn't help me at all.
But the real question is why don't the .ini files work?
Posted by: klingondragon - Sunday, December 21, 2014 1:15:27 PM
It works fine for me in bothe generals and zh when I change the gamedata.ini
Have ytou put the file in the correct place it should be in data/ini
Posted by: Gameanater - Sunday, December 21, 2014 2:20:31 PM
Oh... I see. I never knew that, huh.
---------------------------------
In a map, you can script the camera to change its zoom level to whatever you want, but if the player zooms in at all he can't change it back to the extra-far zoom or anything.
I would check the file location like Klingon said. if they're in the wrong directory, they do nothing.
Posted by: Track - Monday, December 22, 2014 8:02:58 AM
[quote=KlingonDragon;135234]It works fine for me in bothe generals and zh when I change the gamedata.ini
Have ytou put the file in the correct place it should be in data/ini[/quote]
Yeah, it's in Generals/Data/INI.
How can it be that GameData.ini and Options.ini both have parameters for resolution in them? Which one takes precedence?
At this point, GameData.ini does nothing.
Posted by: UTD^Force - Monday, December 22, 2014 8:44:40 AM
@Klingon, can you post the code which you used? So, he will see the right way to do it ;)
Posted by: Track - Monday, December 22, 2014 1:02:15 PM
[quote=UTD^Force;135250]@Klingon, can you post the code which you used? So, he will see the right way to do it ;)[/quote]
I don't think the code itself matters.
I've downloaded other people's GameData.ini files and they also had no effect.
Posted by: Annihilationzh - Monday, December 22, 2014 4:42:01 PM
What is the FULL directory you are putting these files in?
And what operating system are you using?
Posted by: Track - Tuesday, December 23, 2014 2:14:43 AM
[quote=Annihilationzh;135252]What is the FULL directory you are putting these files in?
And what operating system are you using?[/quote]
C:\Program Files (x86)\EA Games\Command and Conquer Generals\Data\INI
Windows 8 PRO 64-bit.
Posted by: klingondragon - Tuesday, December 23, 2014 5:05:01 AM
The file location is fine
If all you have done is change the numbers in gamedata it should work
Try it without options and see what happens
Posted by: Track - Tuesday, December 23, 2014 10:41:46 AM
[quote=KlingonDragon;135258]The file location is fine
If all you have done is change the numbers in gamedata it should work
Try it without options and see what happens[/quote]
Removing Options.ini does nothing. It just starts the game at 800x600 and creates a new Options.ini file.
Posted by: qqqqqqqqqp - Tuesday, December 23, 2014 10:43:45 AM
i know in zero hour i had fo mod 2 files to get it to work but i can't remember which 2 :/
Posted by: klingondragon - Tuesday, December 23, 2014 10:47:13 AM
If i ever get my laptop back I'll have a look at how i did it