C&C Labs Forums
»
C&C Maps and Modding
»
Generals: Modding
»
Can't set Camera Height in Original Generals
Private Joined: 12/20/2014(UTC) Posts: 15 Thanks: 1 times
|
So, we all know about the method of increasing maximum camera height for Zero Hour, i.e. by editing the (or downloading a modded) GameData.ini file in the Data/INI folder.
However, this same trick doesn't work for the original Generals.
Does anyone know how to fix this?
I can play Zero Hour, but not Generals. Kind of hurts the continuity..
Thanks!
|
|
|
|
General Joined: 4/10/2014(UTC) Posts: 1,591 Location: Laniakea; Virgo Supercluster; Local Sheet; Local Group; Milky Way Galaxy; Orion–Cygnus Arm; Gould Belt; Local Bubble; Local Interstellar Cloud; Sol System; Sol III; Europe; United Kingdom of Great Britain and Northen Ireland; Great Britain; England; Essex Thanks: 16 times Was thanked: 247 time(s) in 217 post(s)
|
The line of code is the same in generals as zh. I don't see the problem. |
|
|
|
|
Private Joined: 12/20/2014(UTC) Posts: 15 Thanks: 1 times
|
Originally Posted by: klingondragon The line of code is the same in generals as zh. I don't see the problem. The problem is that it doesn't work in Generals.
|
|
|
|
Private Joined: 12/20/2014(UTC) Posts: 15 Thanks: 1 times
|
Anyone have any way to fix this..?
|
|
|
|
Captain Joined: 3/3/2015(UTC) Posts: 62 Location: "Made in the U S of A" Thanks: 4 times Was thanked: 3 time(s) in 3 post(s)
|
I'm not sure, but it actually may be placed under Options.ini in the documents/generals folder. I think they moved it from there into GameData.ini for ZeroHour, that's my guess.
Try inserting that cameraheight line into the Options.ini file. |
I build mods. |
|
|
|
General Joined: 12/30/2011(UTC) Posts: 982
Thanks: 95 times Was thanked: 574 time(s) in 364 post(s)
|
I worked my way around this in the past by placing an object which you can select to adjust the cam height in game. I used frosty in one of my missions, i changed the camera height to 1.60 in 5 seconds Code:
[ns A D][E N H]Frosty selected_1
*** IF ***
Unit 'Frosty' is currently selected.
*** THEN ***
Change camera zoom to 1.60 in 5.00 seconds.
Enable Script 'Frosty selected_2'.
[ns na nd][E N H]Frosty selected_2
*** IF ***
Unit 'Frosty' is currently selected.
*** THEN ***
Enable Script 'Frosty not selected'.
Disable Script 'Frosty selected_2'.
[ns na nd][E N H]Frosty not selected
*** IF ***
Unit 'Frosty' is currently selected.
*** THEN ***
Null operation. (Does nothing.)
*** ELSE ***
Enable Script 'Frosty selected_1'.
Disable Script 'Frosty not selected'.
Greetz |
Panem et kirkinses |
|
|
|
Private Joined: 12/20/2014(UTC) Posts: 15 Thanks: 1 times
|
Originally Posted by: acidbrain I worked my way around this in the past by placing an object which you can select to adjust the cam height in game. I used frosty in one of my missions, i changed the camera height to 1.60 in 5 seconds Code:
[ns A D][E N H]Frosty selected_1
*** IF ***
Unit 'Frosty' is currently selected.
*** THEN ***
Change camera zoom to 1.60 in 5.00 seconds.
Enable Script 'Frosty selected_2'.
[ns na nd][E N H]Frosty selected_2
*** IF ***
Unit 'Frosty' is currently selected.
*** THEN ***
Enable Script 'Frosty not selected'.
Disable Script 'Frosty selected_2'.
[ns na nd][E N H]Frosty not selected
*** IF ***
Unit 'Frosty' is currently selected.
*** THEN ***
Null operation. (Does nothing.)
*** ELSE ***
Enable Script 'Frosty selected_1'.
Disable Script 'Frosty not selected'.
Greetz That's cool, but how do I use it?
|
|
|
|
General Joined: 4/10/2014(UTC) Posts: 1,591 Location: Laniakea; Virgo Supercluster; Local Sheet; Local Group; Milky Way Galaxy; Orion–Cygnus Arm; Gould Belt; Local Bubble; Local Interstellar Cloud; Sol System; Sol III; Europe; United Kingdom of Great Britain and Northen Ireland; Great Britain; England; Essex Thanks: 16 times Was thanked: 247 time(s) in 217 post(s)
|
put those scripts into a map |
|
|
|
|
Private Joined: 12/20/2014(UTC) Posts: 15 Thanks: 1 times
|
Originally Posted by: KlingonDragon put those scripts into a map How? Do I have to do this for every map in the campaign?
|
|
|
|
General Joined: 4/10/2014(UTC) Posts: 1,591 Location: Laniakea; Virgo Supercluster; Local Sheet; Local Group; Milky Way Galaxy; Orion–Cygnus Arm; Gould Belt; Local Bubble; Local Interstellar Cloud; Sol System; Sol III; Europe; United Kingdom of Great Britain and Northen Ireland; Great Britain; England; Essex Thanks: 16 times Was thanked: 247 time(s) in 217 post(s)
|
How: click the add scripts button.
Every map: yes. |
|
|
|
|
Private Joined: 12/20/2014(UTC) Posts: 15 Thanks: 1 times
|
Originally Posted by: KlingonDragon How: click the add scripts button.
Every map: yes. Okay, I managed to extract the map files using FinalBIG and I think I managed to create a similar script and then save the map. But now I have to get the map back into the BIG file and I don't know how. The "jump to game" option does not work. It causes the program to not respond. The "dump file" option does absolutely nothing. Help? Edited by user Tuesday, August 11, 2015 3:52:21 PM(UTC)
| Reason: Not specified
|
|
|
|
General Joined: 4/10/2014(UTC) Posts: 1,591 Location: Laniakea; Virgo Supercluster; Local Sheet; Local Group; Milky Way Galaxy; Orion–Cygnus Arm; Gould Belt; Local Bubble; Local Interstellar Cloud; Sol System; Sol III; Europe; United Kingdom of Great Britain and Northen Ireland; Great Britain; England; Essex Thanks: 16 times Was thanked: 247 time(s) in 217 post(s)
|
If you trying to do this for every map in the game you should probably give up. There is/was a way to mod it but I can't remember. |
|
|
|
|
Private Joined: 12/20/2014(UTC) Posts: 15 Thanks: 1 times
|
Originally Posted by: klingondragon If you trying to do this for every map in the game you should probably give up. Why should I give up? All I need to know is how to insert the map back into the BIG file. Originally Posted by: klingondragon There is/was a way to mod it but I can't remember. Game is unplayable until I fix this one thing, so I would appreciate the help.
|
|
|
|
Private Joined: 11/19/2015(UTC) Posts: 1 Was thanked: 4 time(s) in 1 post(s)
|
Hi, I've found this post while searching for the same problem on google. At the time (actually yesterday) I didn't found a solution but thought it makes no sense to have to edit all maps individually when Zero Hour, a game that share the same engine and assets, had a much simpler method. Turns out there are slight differences between the Zero Hour INIZH.BIG and the Generals INI.BIG (which contains the necessary configuration parameters), so trying to use ZH ini on Generals would return an error menssage. I've copied the gamedata from both .BIG files, edited the "maxcameraheight" parameter from 310.0 to 510.0 and saved on Data\INI. I tested with The First Decade edition of generals (with the unofficial patch installed). I don't know which version you have or if it makes any difference, but if it worked for Zero Hour before it should work with Generals now. Download link: http://www.mediafire.com...4f4/CnC_Gen_Gamedata.zipPS: The original post is 4 months old at the time I'm writing this but there might be people with the same problem so I'll leave it here.
|
4 users thanked LkMax for this useful post.
|
|
|
Private Joined: 12/20/2014(UTC) Posts: 15 Thanks: 1 times
|
LkMax, that WORKED! I decided to Google it again to see if anything changed and it led me back to this thread. I don't even know why I read through it - just to feel disappointed again.
But holy *censored*! I can't believe it.. it's like some wonderful dream.. You're my hero! Thank you so much! Edited by user Thursday, November 3, 2016 7:40:33 PM(UTC)
| Reason: Not specified
|
|
|
|
Users browsing this topic |
Guest
|
C&C Labs Forums
»
C&C Maps and Modding
»
Generals: Modding
»
Can't set Camera Height in Original Generals
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.