Rempit2502
14 years ago
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?
For sure,whatever it was,the best option is to fight dirty when there's is no more choices.-That was my own philosophy.
Sponsor
NewNightmare
14 years ago
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)
Rempit2502
14 years ago
yes,that's what I do in the first place but I got base China general powers instead.
For sure,whatever it was,the best option is to fight dirty when there's is no more choices.-That was my own philosophy.
NewNightmare
14 years ago
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.
Rempit2502
14 years ago
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.
For sure,whatever it was,the best option is to fight dirty when there's is no more choices.-That was my own philosophy.
Annihilationzh
14 years ago
Give it a try and post your attempt.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
Rempit2502
14 years ago
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.   CHI06.zip (323kb) downloaded 6 time(s).
For sure,whatever it was,the best option is to fight dirty when there's is no more choices.-That was my own philosophy.
NewNightmare
14 years ago
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
***if***
player has building x xx xxx xxxx etc or own a unit of type?
***else***
defeat
the script itself might be structured though, so good look with going through all of it again 😉
Rempit2502
14 years ago
can you try look at it since I still can't play on it.
For sure,whatever it was,the best option is to fight dirty when there's is no more choices.-That was my own philosophy.
NewNightmare
14 years ago
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
Rempit2502
14 years ago
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
Science SCIENCE_RedGuardTraining
  PrerequisiteSciences = SCIENCE_CHINA SCIENCE_Rank1
  SciencePurchasePointCost = 1
  IsGrantable = Yes
  DisplayName = SCIENCE:ChinaRedGuardTraining
  Description = CONTROLBAR:ToolTipChinaScienceRedGuardTraining
End
Does I need to add the prefix "Nuke_" behind everything?
For sure,whatever it was,the best option is to fight dirty when there's is no more choices.-That was my own philosophy.
Annihilationzh
14 years ago
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.   Map.zip (2kb) downloaded 4 time(s).
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
Rempit2502
14 years ago
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.
For sure,whatever it was,the best option is to fight dirty when there's is no more choices.-That was my own philosophy.