17.08.2010, 01:32
It would be nice to have a small program to automatically place the smokes on the villages of a given map. It's probably not hard to write (I'll try that in matlab but for community usage someone needs to write it such that it will be a windows .exe.)
But the idea would be the following. Have a list of village house TYPES and to each type associate a given height (the height of the smoke to be placed which we can determine for each type using FMB).
Next the prog would take as input the buidings of the map say winter Moskow map (the list of the buildings with their positions can be obtained using the actors.static extract comand for the map in question). The program would then run through the buildings and whenever it would encounter a village house it would write in an output mission file a smoke at the position of the house and with the height corresponding to that house type. The output would be so just a mission template containing the smokes, so you can add them to any mission. A small map like Moskow still contains a lot of village houses so if every house gets a smoke there'll be perhaps too many smokes and the mission would be unplayable. So then there's the option that the program to scale the number of smokes randomly say to 10% or 20 % or whatever a good number would be for that map...
But the idea would be the following. Have a list of village house TYPES and to each type associate a given height (the height of the smoke to be placed which we can determine for each type using FMB).
Next the prog would take as input the buidings of the map say winter Moskow map (the list of the buildings with their positions can be obtained using the actors.static extract comand for the map in question). The program would then run through the buildings and whenever it would encounter a village house it would write in an output mission file a smoke at the position of the house and with the height corresponding to that house type. The output would be so just a mission template containing the smokes, so you can add them to any mission. A small map like Moskow still contains a lot of village houses so if every house gets a smoke there'll be perhaps too many smokes and the mission would be unplayable. So then there's the option that the program to scale the number of smokes randomly say to 10% or 20 % or whatever a good number would be for that map...