bobcat78
  • bobcat78
  • 58.25% (Neutral)
  • Private Topic Starter
15 years ago
Starting to play zero hour again and started to mess with the world builder. Wondering if it's possible to make it so all vechiles are available. I like to capture an enemy HQ and start making their units but I can't make'em all because I need more ranks. So is there anyone way in the world builder to make all units available?

Also can I add the generals specialunits so I can build lasertanks and everything else?
Sponsor
Annihilationzh
15 years ago
You have to use a script.

Specifically, Map>Modify>Adjust the tech tree...

You need:
'???' becomes Buildable (Ignore_Prerequisites)

Then you'll be able to build the unit without the generals promotion.

To add a build button that isn't usually there, use scripting>Add a command button to an object type. An example:

  Command button: 'Infa_Command_ConstructChinaInfantryHacker' is added to all objects of type 'GLABarracks' in slot number  1  (1-12).

You can also read these threads if you get stuck, as they contain an explaination of a bug involved:
http://www.cnclabs.com/forums/default.aspx?g=posts&t=9454 
http://www.cnclabs.com/forums/default.aspx?g=posts&t=8971 
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.
bobcat78
  • bobcat78
  • 58.25% (Neutral)
  • Private Topic Starter
15 years ago
Great! I managed to get it working thanks alot. This makes it much easier.

On a side note how do I get a command button to build a civilian vechicle? I'm trying to be able to build the humvee1 (the one that says UN on it) from my war factory.
Annihilationzh
15 years ago
You can't do that in world builder because humvee1 doesn't have a build button. However, you can do it in a map.ini, which will make this map impossible to play online.
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.
bobcat78
  • bobcat78
  • 58.25% (Neutral)
  • Private Topic Starter
15 years ago
whats a map.ini?
bobcat78
  • bobcat78
  • 58.25% (Neutral)
  • Private Topic Starter
15 years ago
I'm not understanding how to use FinalBIG. I don't have any BIG files to open in generals
bobcat78
  • bobcat78
  • 58.25% (Neutral)
  • Private Topic Starter
15 years ago
I opened the INIZH.big file using FinalBIG and edited the CommandSet.ini file to this (added #12) However nother happened when I saved and entered game. Did I put it in wrong?

CommandSet AmericaWarFactoryCommandSet
1 = Command_ConstructAmericaTankCrusader
2 = Command_ConstructAmericaVehicleTomahawk
3 = Command_ConstructAmericaVehicleHumvee
4 = Command_ConstructAmericaVehicleMedic
5 = Command_ConstructAmericaVehiclePaladin
6 = Command_ConstructAmericaVehicleSentryDrone
7 = Command_ConstructAmericaVehicleAvenger
8 = Command_ConstructAmericaVehicleMicrowave
9 = Command_UpgradeAmericaSentryDroneGun
11 = Command_UpgradeAmericaTOWMissile
12 = Command_ConstructHumvee1
13 = Command_SetRallyPoint
14 = Command_Sell
End
Annihilationzh
15 years ago
You also need to add this to commandbutton.ini:

CommandButton Command_ConstructHumvee1
  Command       = UNIT_BUILD
  Object        = Humvee1
  TextLabel     = CONTROLBAR:ConstructAmericaVehicleHumvee
  ButtonImage   = SAHummer
  ButtonBorderType        = BUILD ; Identifier for the User as to what kind of button this is
  DescriptLabel           = CONTROLBAR:ToolTipUSABuildHumvee
End

Attached (I hope) is a map.ini (it's within a zip folder). If you put it in your map folder (where there should be a .map & a .tga file), it will add the button for that map.   Map.zip (1kb) downloaded 9 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.
bobcat78
  • bobcat78
  • 58.25% (Neutral)
  • Private Topic Starter
15 years ago
Works great, thank you!