Diagoras55
  • Diagoras55
  • 50.25% (Neutral)
  • Private Topic Starter
13 years ago
Hi there!

I've tried to recrut the CIA Agent in the America barracks, but when i put the commandset with the correct name ( I check it in AmerciaMiscUnit.ini), the game crash.
So what's wrong?

Moreover, i read the topic on this site to give a GLA Special Power to the USA for example, here i wanted to give the GP Scrambler to the USA.
I did everything in the topic: "http://cnclabs.com/modding/generals/creating-a-new-generals-power.aspx"
But the game crash, it doesn't work.
I'm using Zero Hour version.

Thank you Guys!
Sponsor
Annihilationzh
13 years ago

I've tried to recrut the CIA Agent in the America barracks, but when i put the commandset with the correct name ( I check it in AmerciaMiscUnit.ini), the game crash.
So what's wrong?


Did you type it manually or copy/paste it? The game does not like typos, and that will cause a crash.

I'm also suspicious that you have made no mention of CommandButton.ini, which is an essential step in this process.

Moreover, i read the topic on this site to give a GLA Special Power to the USA for example, here i wanted to give the GP Scrambler to the USA.
I did everything in the topic: "http://cnclabs.com/modding/generals/creating-a-new-generals-power.aspx"
But the game crash, it doesn't work.
I'm using Zero Hour version.


Would you please you post the code you wrote? I'm afraid I'm not psychic.
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.
Diagoras55
  • Diagoras55
  • 50.25% (Neutral)
  • Private Topic Starter
13 years ago
http://cnclabs.com/modding/generals/creating-a-new-generals-power.aspx 

This one?

Ok but it's only in CommandButtons i have to do something?
Annihilationzh
13 years ago

http://cnclabs.com/modding/gene...-new-generals-power.aspx

This one?


There is nothing wrong with the tutorial. I'm talking about the code you wrote whilst trying to follow the tutorial.

Ok but it's only in CommandButtons i have to do something?


Create a production command button for the unit in CommandButton.ini then place it in the CommandSet.ini entry for the US barracks.
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.
Diagoras55
  • Diagoras55
  • 50.25% (Neutral)
  • Private Topic Starter
13 years ago
I don't understand what you mean by "code"?
Annihilationzh
13 years ago
This is the code used by the tutorial to create a new science:
Science SCIENCE_GLAArtilleryBarrage1
  PrerequisiteSciences = SCIENCE_GLA SCIENCE_Rank3
  SciencePurchasePointCost = 1
  IsGrantable = Yes
  DisplayName = SCIENCE:ChinaArtilleryBarrage
  Description = CONTROLBAR:ToolTipChinaScienceArtilleryBarrage
End

Science SCIENCE_GLAArtilleryBarrage2
  PrerequisiteSciences = SCIENCE_GLAArtilleryBarrage1 SCIENCE_Rank3
  SciencePurchasePointCost = 1
  IsGrantable = Yes
  DisplayName = SCIENCE:ChinaArtilleryBarrage2
  Description = CONTROLBAR:ToolTipChinaScienceArtilleryBarrage
End

Science SCIENCE_GLAArtilleryBarrage3
  PrerequisiteSciences = SCIENCE_GLAArtilleryBarrage2 SCIENCE_Rank3
  SciencePurchasePointCost = 1
  IsGrantable = Yes
  DisplayName = SCIENCE:ChinaArtilleryBarrage3
  Description = CONTROLBAR:ToolTipChinaScienceArtilleryBarrage
End

What did you do whilst trying to add the GPS scrambler to the USA?
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.
Diagoras55
  • Diagoras55
  • 50.25% (Neutral)
  • Private Topic Starter
13 years ago
Ok! But I delete all the file because it didn't work... 😞
Diagoras55
  • Diagoras55
  • 50.25% (Neutral)
  • Private Topic Starter
13 years ago
I was sure to have done it correctly! Has he made a mistake in the topic? Could you check it?
Annihilationzh
13 years ago
It is a long tutorial that is not in your native language, and you had to adapt it to the GPS Scrambler. This is not an easy feat.

As for the tutorial, I have carefully read it (twice) and have found no mistakes.

It is an official C&C labs tutorial that is likely upwards of 8 years old. At the time it was written, I expect it was checked over by multiple INI coders to keep to C&C lab's quality standards.
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.
Diagoras55
  • Diagoras55
  • 50.25% (Neutral)
  • Private Topic Starter
13 years ago
I found the problem, thank you 🙂 It's working 😉