BacardiCoke
8 years ago
Hi

How I can disable all zh units/buildings for a map?
I want to play any maps if it like ccg vanilla 🙂 ^^

Have anyone the right map.ini for that or can write it for me please?
Sponsor
SkyMix_RMT
8 years ago
You can do this through a script, you can locate this script at "Map" > "Modify" > "Adjust the tech tree for a specific object type."

Script should look something like:
**** If ****
True
**** Then ****
Unit "???" is buildable (No)

After that you'll need to disable all Zero Hour buildings and/or units.
Check out:
My Music  (Techno/House/Experimental)
My Website  (GeneralsCentral)
My Youtube Channel  (Inactive)
World Builder Community Discord 
acidbrain
8 years ago
Or you make a map.ini in which you disable the units.
Took the ChinaNuclearMissileLauncher as example...

Object ChinaNuclearMissileLauncher
  Buildable = No
End

Cheers
Panem et kirkinses
BacardiCoke
8 years ago

You can do this through a script, you can locate this script at "Map" > "Modify" > "Adjust the tech tree for a specific object type."

Script should look something like:
**** If ****
True
**** Then ****
Unit "???" is buildable (No)

After that you'll need to disable all Zero Hour buildings and/or units.

Originally Posted by: SkyMix_RMT 


Thx, I have found it.

Or you make a map.ini in which you disable the units.
Took the ChinaNuclearMissileLauncher as example...


Object ChinaNuclearMissileLauncher
  Buildable = No
End

Cheers

Originally Posted by: acidbrain 


Also thx, have you a list of all these buildingnames and units?
Unknown Editor
8 years ago
Well , at first I thought you mean how to Unpower them !!!
Actually ... No List is needed , They are Called Just what they are in the World Builder .
Find a Unit ...
When you are sure you don't want it , Click on ??? and find it like how did it at first (same List but This time with no IMAGE) and Set it in the Scipt or Just replace the name after the Object in INI

EDIT:
Sorry , if you put it that way ...
Well , There are many Units & Buildings .
Asking is Not a Problem , Problem is Not to Know Something .
Operation : Dark Angel
Static : Launch Delayed
Reason : Uncool Terrain - Old Logic in use - Lack of Performance
Status : Applying new Terrain - Applying new Logic - Increasing Performance by 300%
BacardiCoke
8 years ago
My problem is, that I play the german version and dont know all english designations. ^^
Jundiyy
8 years ago
What are you trying to do exactly? What about the script that goes something like
If
True
Then
Player0 is unable to build anything/units
(Or something like that)
SkyMix_RMT
8 years ago

What are you trying to do exactly? What about the script that goes something like
If
True
Then
Player0 is unable to build anything/units
(Or something like that)

Originally Posted by: Jundiyy 



He wants to disable all zero hour units and keep the original generals ones.

Check out:
My Music  (Techno/House/Experimental)
My Website  (GeneralsCentral)
My Youtube Channel  (Inactive)
World Builder Community Discord 
Jundiyy
8 years ago


He wants to disable all zero hour units and keep the original generals ones.

Originally Posted by: SkyMix_RMT 



Ah right ye, I missed this part lol.




I want to play any maps if it like ccg vanilla 🙂 ^^

Originally Posted by: BacardiCoke 



i^love^mixery
8 years ago
What about.. just use the vanilla generals when hosting the map? There even is an ingame checkbox for that so that others can't use a specific general.

It's way, way too much work to get this working in any other way. And you will never be able to get rid of all the different generals promotions.