|
| 1 | +# RemainOverNight System |
| 2 | + |
| 3 | +[](https://steamcommunity.com/sharedfiles/filedetails/?id=3438988923) |
| 4 | + |
| 5 | +This mod provides the players with a system that allows them to initialises a Remain Over Night Time Skip themselves, no Zeus shenanigans needed. |
| 6 | + |
| 7 | +It also supports "Interruptions", meaning the players RON attempt could be interrupted by an enemy patrol strolling by. |
| 8 | + |
| 9 | +Its highly inspired by the RON scenes expierenced during the SOG:PF Campaign Missions. |
| 10 | + |
| 11 | +Several Conditions are being checked when attempting to RON |
| 12 | +**Inital Checks** |
| 13 | +- Initiator needs to be Squadlead |
| 14 | +- It needs to be night time between sunset and sunrise. |
| 15 | +**Further Checks** |
| 16 | +- All players need to be within a certain range to the Initiator |
| 17 | +- Outside of Minimum Distance to nearby Enemies |
| 18 | +- Outside of Minimum Distance to nearby Villages |
| 19 | +- No player has been under fire (suppressed) for a certain amount of time |
| 20 | + |
| 21 | + |
| 22 | +## Dependencies |
| 23 | +### Mods |
| 24 | +CBA_A3 |
| 25 | + |
| 26 | +## Supported Mods |
| 27 | +ACE3 |
| 28 | +### Supported DLCs |
| 29 | +SOG:Prarie Fire |
| 30 | + |
| 31 | +## Server Requirements |
| 32 | +This mods needs to be loaded on both, the server and all clients. |
| 33 | + |
| 34 | +## Planned Features |
| 35 | +- Instead of all players needing to be near the Initiator, they only need to be near their squadleader. |
| 36 | +- ~~Integration of Blacklisted Areas. Bascially means that, if the player is within a certain area (Position & Range), they will not be accounted for the proximity check. (For example, at spawn/base )~~ Implemented |
| 37 | + |
| 38 | +## Maybe Features |
| 39 | +- Predefined area's for RON Spots, meaning RON only possible at these locations |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | +## Links |
| 44 | +- [Steam Workshop](https://steamcommunity.com/sharedfiles/filedetails/?id=3438988923) |
| 45 | +- [Github](https://github.com/CVO-Org/vn-ron) |
| 46 | + |
| 47 | + |
| 48 | +## For Mission Makers And Zeus |
| 49 | + |
| 50 | +### How to blacklist area's from the "are all players nearby" check |
| 51 | +useful for homebase / respawn area or similar. |
| 52 | + |
| 53 | +```sqf |
| 54 | +missionNamespace setVariable [ |
| 55 | + "ron_api_blacklist_playerDistance", |
| 56 | + createHashMapFromArray [ |
| 57 | + // [markerName as String, radius of blacklist] |
| 58 | + ["ourHomebaseMarkerName", 500], |
| 59 | + ["ourRespawnAreaMarkerName", 1000] |
| 60 | + ], |
| 61 | + true |
| 62 | +]; |
| 63 | +``` |
| 64 | + |
| 65 | +### How to overwrite the Interruption Chance Check: |
| 66 | +```sqf |
| 67 | +missionNamespace setVariable [ |
| 68 | + "ron_api_interruption_overwrite", |
| 69 | + true, // boolean - true: force interruption - false: force no interuption |
| 70 | + true |
| 71 | +]; |
| 72 | +``` |
| 73 | + |
| 74 | +### How to block the RON Action |
| 75 | +```sqf |
| 76 | +missionNamespace setVariable [ |
| 77 | + "ron_api_block", |
| 78 | + true, // type or value does not matter |
| 79 | + true |
| 80 | +]; |
| 81 | +``` |
| 82 | +```sqf |
| 83 | +missionNamespace setVariable [ |
| 84 | + "ron_api_block", |
| 85 | + nil, // nil'ing the var on every client will remove the block |
| 86 | + true |
| 87 | +]; |
| 88 | +``` |
| 89 | +### Custom Mode: Target Time |
| 90 | +Target time for the Custom RON Mode |
| 91 | +```sqf |
| 92 | +missionNamespace setVariable [ |
| 93 | + "ron_api_custom_targetTime", |
| 94 | + 6.5, // number - 0..24 - reference: https://community.bistudio.com/wiki/dayTime |
| 95 | + true |
| 96 | +]; |
| 97 | +
|
0 commit comments