| COMMANDOS: MACROS | |
|
Macros (*.mac) are small files located along with missions inside
Misiones directory.
I think the major reason of using macros was to reduce typing work.
Anyway, macros
have obviously the same syntax as missions. They usually describe
actions, behaviours,
properties of different objects. All macros in Misiones directory can be
inserted in
any mission. You simply insert macros into missions by providing a name,
location and
maybe some other stuff but that depends on what kind of object you're
planning to use.
Macros can be modified in pretty the same way as missions. By changing different attributes, you can achieve the desired result. |
Strange thing is that you are able to create own macros. Game uses all
mac files
located in Misiones directory, no matter if you made them or they
existed before.
By creating own macros you can sometimes create completely new things. F.e: SDK vehicle is actually using two animations: first is the 'body' and the second is turret. Tank has the same construction. By replacing SDK turret code with tank turret code, I've got now cool SDK which can fire huge shells. Second example: There are lots of nice objects used only one time somewhere in the game. Remember mission where you had to free 5 prisoners and get them safely to the truck. In that mission you could shoot at oil pool to start fire to block entrance for nazi troops. Well, that fire is actually an object. It doesn't have macro cos it's used only once. So, I took its code and pasted it in blanco file, removed token element, modified few properties and saved it as Fire.mac. After that it was possible to call Fire.mac from within every mission. |