DeadmenToDown
Данный мод исправляет положение тел мертвых юнитов над землей после разрушения объектов под ними. Тела больше не висят в воздухе, а опускаются на землю.
Радиус проверки мертвых юнитов 20 метров от центра здания, вышки, объекта над которым умер юнит.
Для запуска мода в простых сценариях и компаниях не нужно вызывать никаких функций, скрипт применяется автоматичски после создания сцены со всеми объектами.
Для более сложных миссий, где юниты создаются динамически при помощи скриптов, применяются следующие функции:
//=========================================================================================
This mod corrects the position of the bodies of dead units above the ground after the destruction of objects under them. The bodies no longer hang in the air, but fall to the ground.
The radius of checking dead units is 20 meters from the center of the building, tower, object over which the unit died.
To run the mod in simple scenarios and companies, you do not need to call any functions, the script is applied automatically after creating a scene with all objects.
For more complex missions, where units are created dynamically using scripts, the following functions are used:
Revisions:
Old revisions of this mod are available below. Click the link to download.