Hi!
I am new to mapster so please don't throw heavy things at me if I did something wrong posting this thread :).
I basically want to ask how to implement a building placement system as in Majesty series. So you have a building (palace) which has a menu for building construction and when you order a building to be build and specify the place, the building is then being placed there with 1% HP. The rest of the HP is then being "constructed" by non-controllable workers.
The only difference is that I want to make it more SC2-like: instead of the building being placed instantly (with 1%HP) I want a green silhouette to appear in that region and then the trigger-based AI will order nearby workers to go and build the thing.
I would be very grateful if you could point me in the direction where I can read about this.
Thank you.
One more thing. When making a Majesty-style indirect control AI it is good to have variables attached to each unit-hero. So I can basically create a trigger that will ever so often cycle through my heroes and check each of their variables to decide what order to issue to them. The question is how to attach different variables to different units in the Editor? Is it possible to do it in the Data Editor or I need to create an array and synchronize it with the units? Like each new hero gets the place in the array where there are free cells for his variables? If it is possible to do it in the Data Editor it would be much more clean. So is there a way and what way is it?
Hi! I am new to mapster so please don't throw heavy things at me if I did something wrong posting this thread :).
I basically want to ask how to implement a building placement system as in Majesty series. So you have a building (palace) which has a menu for building construction and when you order a building to be build and specify the place, the building is then being placed there with 1% HP. The rest of the HP is then being "constructed" by non-controllable workers. The only difference is that I want to make it more SC2-like: instead of the building being placed instantly (with 1%HP) I want a green silhouette to appear in that region and then the trigger-based AI will order nearby workers to go and build the thing.
I would be very grateful if you could point me in the direction where I can read about this. Thank you.
One more thing. When making a Majesty-style indirect control AI it is good to have variables attached to each unit-hero. So I can basically create a trigger that will ever so often cycle through my heroes and check each of their variables to decide what order to issue to them. The question is how to attach different variables to different units in the Editor? Is it possible to do it in the Data Editor or I need to create an array and synchronize it with the units? Like each new hero gets the place in the array where there are free cells for his variables? If it is possible to do it in the Data Editor it would be much more clean. So is there a way and what way is it?