• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[JASS/AI] Adding more than 11 buildable structures to a unit

This isn't really a tutorial. Its more of a collection of my findings on this subject.

1: You can have about 200 buildable structures on a unit. However players can only see the first 11 on the menu. You can order the construction of the others via issue order triggers. If you wish to mass add entries, shift click in the object editor and enter them in the following format without the "s "h000,h001,h002" and so on.

2. Contrary to the information found here: Transformed units cannot construct buildings You CAN have a morphed builder build a unique set of units. You just need to remove the racial build ability before morphing and add it after. e.g.

call UnitRemoveAbility(u,'AUbu')
//bear form trick morph code here
call UnitAddAbility(u,'AUbu')

I have a attached a sample map demonstrating these findings that allows you to build any unit in the base game with one builder.

edit: To have the omni builder build anything: first click the desired unit type from the list, then hold left control and click the point on the map where you want to build.
 

Attachments

  • omni builder test map.w3m
    195.5 KB · Views: 7
Last edited:
Top