Jump to content
Sign in to follow this  
joylessdave

adding buildings and looking for tutorials

Recommended Posts

ive just got into modding and have worked out how to add units but i cann't work out how to add a new building. I want to make the techs that the special generals have avaliable through a new building. some one has probabily already done it but its not the same as doing it yourself.

 

i had thought about just cloning a building and giving it another name but i cann't find where the info for the standard building are only the ones for the generals.

 

any help anyone could give would be appriciated

or point me in the direction of some good tutorials

as most of the sites ive discovered by searching the forum are either down or only contain stuff about units

Share this post


Link to post

If you just clone the current building codes and change some of the content, then it's not enough. You still need to modify many codes in many .INI files.

# First, you make the code for the new building (and I suppose you already made that by copying the current one. Set the "prerequisites", "side", etc

# Second, create new line of code for the dozer command set and create more code for the command button and link them.

 

To make a new tech is available when you build the building.......what you mean with new tech is the "General Special Power" right? If that so, use the "automated free upgrade" code, but I forgot the codes since it's been so long since the last time I mod 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.

×