Jump to content
Sign in to follow this  
TK3600

Building types list?

Recommended Posts

Is there a list of building number I can use for AI? 

Example:

Name=Yuri Boomer Bombard_S
0=46,131133
1=49,0
2=46,131081
3=46,131081
4=46,131083
5=46,131097
6=0,1

 

131133 is a soviet building number.

Share this post


Link to post

When used in ScriptTypes, the structure number takes any of several formats and is derived by finding the structure in the [BuildingTypes] list of RULES.INI and subtracting ONE from this structures' number in that list (equivalent to renumbering the list from 0) - this is the explicit number of that structure and is the number to use as the second parameter of the action. Any one of several amendments can be made to this number;-

·                     add 131072 to the number, so GAPOWR (number 1 in RULES.INI thus number 0 for this purpose) becomes 131072

·                     add 196608 to the number, so GAPOWR (number 1 in RULES.INI thus number 0 for this purpose) becomes 196608

·                     add 65534 to the number, so GAPOWR (number 1 in RULES.INI thus number 0 for this purpose) becomes 65534

 

That's from Deezire's guide. It has never been established if the other numbers mean anything. I just use the building's position in the list, which is 0-based.

Edited by Doctor Destiny
  • Upvote 1

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.

×