Jump to content
Sign in to follow this  
Guest YoMassa

G:ZH: how to have each Comm.Centr provide all 3 worker types

Recommended Posts

Guest YoMassa

I'd like to do a "Unholy Alliance" mod that emulates RA2 Unholy Alliance Mode. To just have each CommCenter provide all three workers once built seems like the most favorable way to do this. This appears to be very tricky with Generals. For Example GLASupplyStash has the SpawnBehavior module, but none of the Command Centers have this option. Can I still use the GLASupplyStash-SpawnBehavior code in the Comm. Center sections and itll work, or do I have to find another approach? Im seeing a few possible ways to do it, but the only almost reasonable way to do it seems like the above idea.

Share this post


Link to post

There are many ways to do this.

 

First is using spawn behavior, spawn behavior module tag isn't just working for supply stash, but you can also use it on any models. You even can use it for infantries or vehicles.

 

Second is modifying the command center's command set. Just add the command button to build the other dozer/worker.

 

Third is adding the starting unit. Just add the other units which will be available when you start the game.

Share this post


Link to post

I've decided to try to make this mod too, but with a twist. I'm trying to add a superweapon upgrade thingy for lvl5, just like the Paladin Tank or Scud Launcher upgrades. I want to add a button after the last one on Level 5 General points for the GLA with an image and text so that I can make a "Technology Leak" upgrade, so that the command centre can build USA and Chinese construction dozers. How do I do this with my own custom image and text?

How can I make the button in the command centre available only when I've got the upgrade?

 

Thanks in advance for your help!

 

Note: This is for Zero Hour.

 

EDIT:

I've now duped the USA & China dozers to GLAStolenUSAWorker and GLAStolenChinaWorker, set the build-time to 20.0 and build cost to 3000 each. Now all I need to do is a) add the new generals points screen upgrade B) know what prerquisite code I need to enter for both new units.

Please help in topic called "Adding upgrade in ZH".

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×