Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline Track  
#1 Posted : Saturday, July 18, 2015 9:20:44 AM(UTC)
Track
Private
Joined: 12/20/2014(UTC)
Posts: 15
Israel

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!
Sponsor
Offline klingondragon  
#2 Posted : Saturday, July 18, 2015 10:31:09 AM(UTC)
klingondragon
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/10/2014(UTC)
Posts: 1,591
United Kingdom
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.
Offline Track  
#3 Posted : Saturday, July 18, 2015 1:32:27 PM(UTC)
Track
Private
Joined: 12/20/2014(UTC)
Posts: 15
Israel

Thanks: 1 times
Originally Posted by: klingondragon Go to Quoted Post
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.
Offline Track  
#4 Posted : Tuesday, July 21, 2015 2:09:30 AM(UTC)
Track
Private
Joined: 12/20/2014(UTC)
Posts: 15
Israel

Thanks: 1 times
Anyone have any way to fix this..?
Offline marcusaurelius  
#5 Posted : Tuesday, July 28, 2015 6:12:02 PM(UTC)
marcusaurelius
Captain
Joined: 3/3/2015(UTC)
Posts: 62
United States
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.
Offline acidbrain  
#6 Posted : Thursday, July 30, 2015 5:54:21 AM(UTC)
acidbrain
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
Offline Track  
#7 Posted : Thursday, July 30, 2015 6:06:45 AM(UTC)
Track
Private
Joined: 12/20/2014(UTC)
Posts: 15
Israel

Thanks: 1 times
Originally Posted by: acidbrain Go to Quoted Post
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?
Offline klingondragon  
#8 Posted : Saturday, August 1, 2015 9:55:24 AM(UTC)
klingondragon
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/10/2014(UTC)
Posts: 1,591
United Kingdom
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
Offline Track  
#9 Posted : Saturday, August 1, 2015 6:13:14 PM(UTC)
Track
Private
Joined: 12/20/2014(UTC)
Posts: 15
Israel

Thanks: 1 times
Originally Posted by: KlingonDragon Go to Quoted Post
put those scripts into a map


How?

Do I have to do this for every map in the campaign?
Offline klingondragon  
#10 Posted : Sunday, August 2, 2015 4:37:35 AM(UTC)
klingondragon
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/10/2014(UTC)
Posts: 1,591
United Kingdom
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.
Offline Track  
#11 Posted : Tuesday, August 11, 2015 3:15:30 PM(UTC)
Track
Private
Joined: 12/20/2014(UTC)
Posts: 15
Israel

Thanks: 1 times
Originally Posted by: KlingonDragon Go to Quoted Post
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

Offline klingondragon  
#12 Posted : Tuesday, August 11, 2015 4:01:08 PM(UTC)
klingondragon
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/10/2014(UTC)
Posts: 1,591
United Kingdom
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.
Offline Track  
#13 Posted : Wednesday, August 12, 2015 6:35:26 PM(UTC)
Track
Private
Joined: 12/20/2014(UTC)
Posts: 15
Israel

Thanks: 1 times
Originally Posted by: klingondragon Go to Quoted Post
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 Go to Quoted Post
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.
Offline LkMax  
#14 Posted : Thursday, November 19, 2015 11:52:36 AM(UTC)
LkMax
Private
Joined: 11/19/2015(UTC)
Posts: 1
Brazil

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.zip

PS: 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.
thanks 4 users thanked LkMax for this useful post.
Zatsupachi on 11/19/2015(UTC), Track on 11/3/2016(UTC), zero hour mad map maker on 11/3/2016(UTC), CommieDog on 11/4/2016(UTC)
Offline Track  
#15 Posted : Thursday, November 3, 2016 7:39:22 PM(UTC)
Track
Private
Joined: 12/20/2014(UTC)
Posts: 15
Israel

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
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.