mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
856ffb5579
* Move ACE Weather rain simulation to server and remove sync (synced correctly by vanilla from server) * Remove lightnings sync (synced correctly by vanilla, ACE3 doesn't have own lightnings probability) * Cleanup rain and lightning settings, strings, comments * Set wind only on server (correctly synced in vanilla, gusts and waves still need manual sync)
14 lines
556 B
Plaintext
14 lines
556 B
Plaintext
// point of this file is to disable "auto-weather" by default
|
|
// we want this, because it breaks weather commands we use in this component
|
|
#include "script_component.hpp"
|
|
|
|
// cannot create checkboxes which have the default value "true"
|
|
// 3den uses inverted checkboxes instead, but those only change in appearence
|
|
// we have to auto set these settings manually - on mission creation
|
|
add3DENEventHandler ["onMissionNew", {
|
|
set3DENMissionAttributes [
|
|
["Intel", "IntelWavesIsForced", true],
|
|
["Intel", "IntelWindIsForced", true]
|
|
];
|
|
}];
|