Posted by: Rempit2502 - Wednesday, November 23, 2011 3:53:10 AM
I'm planning to convert missions from the base Generals to Zero Hour,but changing the original factions to use the generals instead(eg. China Nuke General in China mission 6).But the Generals Powers somewhat unable to adapt to this change.Can someone here point out how to set the Generals Powers to correspond to the change?

Posted by: NewNightmare - Thursday, November 24, 2011 3:13:24 PM
you've gotta use scripting with adding and removing special powers, or im my brain is still in tact you should be able to make China 6 nuke by simply switching Player in Player List (Edit>player list) from standard china to nuke gen. this should solve the special power tree problem, and then it's just the matter of re-building the base (ensuring CC is there so all special powers will be available)

Posted by: Rempit2502 - Thursday, November 24, 2011 4:01:06 PM
yes,that's what I do in the first place but I got base China general powers instead.

Posted by: NewNightmare - Friday, November 25, 2011 12:21:18 AM
You might wanna look at the scripts or something, there might be something already there which prevents you from changing them (i.e something already overwriting them). This might be quite time consuming though.. You might wanna upload the map as well, it's weekend and I haven't played with C&C for a while.

Posted by: Rempit2502 - Friday, November 25, 2011 12:57:11 AM
oh yeah I been browsing through the map.ini of the map.There is something in the file associated with generals powers,but I'm not pro at editing .ini files.

Posted by: Annihilationzh - Friday, November 25, 2011 12:09:33 PM
Give it a try and post your attempt.

Posted by: Rempit2502 - Friday, November 25, 2011 6:03:23 PM
Okay...here it is.But I'm also have a problem regarding "YOU ARE DEFEATED" message at the start of it.Can anyone point out what I'm been goofing around with the map?I don't know what else to do. [ATTACH]965[/Attach]

Posted by: NewNightmare - Monday, November 28, 2011 9:27:37 PM
my 1st guess shot w/o looking at the mission would be that you have not changed a script regarding to not having buildings or something since youve changed them from standard china to nuke type like [code]***if*** player has building x xx xxx xxxx etc or own a unit of type? ***else*** defeat[/code] the script itself might be structured though, so good look with going through all of it again ;)

Posted by: Rempit2502 - Tuesday, November 29, 2011 12:33:14 AM
can you try look at it since I still can't play on it.

Posted by: NewNightmare - Tuesday, November 29, 2011 4:57:04 PM
Scripts > Neutral > Win/Loss Conditions, in ***IF*** you have ChinaBarracks and ChinaBlackLotus Change it to nuke's barracks and lotus P.S. remove nuke timer from intro//freeze it during it, looks non-EA standard this way ;) not sure how to do this though ;P

Posted by: Rempit2502 - Tuesday, November 29, 2011 5:17:50 PM
Okay,I got to play it.Now back to the general powers.Any idea about it?The ini file have some codes regarding general powers like this [code]Science SCIENCE_RedGuardTraining PrerequisiteSciences = SCIENCE_CHINA SCIENCE_Rank1 SciencePurchasePointCost = 1 IsGrantable = Yes DisplayName = SCIENCE:ChinaRedGuardTraining Description = CONTROLBAR:ToolTipChinaScienceRedGuardTraining End [/code] Does I need to add the prefix "Nuke_" behind everything?

Posted by: Annihilationzh - Wednesday, November 30, 2011 2:24:23 AM
No. Nuke uses a lot of the basic China powers. Plus, most of the code in the map.ini doesn't do anything. There are only three changes to the generals powers, one is artillery barrage available at rank 1, the second is emergency repair at rank 1, which nuke gets already, and the third is making emergency repair 2 & 3, and Artillery Training exclusive to GLA, so that China can't purchase it. [ATTACH]967[/Attach]

Posted by: Rempit2502 - Thursday, December 1, 2011 4:53:39 PM
Okay...I should renamed this post to "How to convert mission from original Generals to Zero Hour" I guess because I'm still fixing how to end the mission thanks to intensive scripting in just 1 mission.