This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ["UK3CB_Ikarus", "init", { | |
| params ["_bus"]; | |
| if (isServer) then { | |
| private _dudes = [ | |
| "C_man_1", | |
| "C_Man_casual_1_F", | |
| "C_Man_casual_3_F", | |
| "C_Man_casual_2_F", | |
| "C_Man_casual_6_v2_F", | |
| "C_Man_formal_2_F", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| params ["_window1", "_window2"]; | |
| private _windowCam = "camera" camCreate [0,0,0]; | |
| private _texRef = hashValue _windowCam + "rtt"; | |
| private _texString = "#(argb,512,512,1)r2t(" + _texRef + ",1)"; | |
| _windowCam cameraEffect ["internal", "back", _texRef]; | |
| _windowCam camCommit 0; | |
| _window1 setObjectTexture [0, _texString]; | |
| private _bbr = boundingBoxReal _window1; | |
| private _p1 = _bbr select 0; | |
| private _p2 = _bbr select 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| params ["_core"]; | |
| if !(isServer) exitwith {}; | |
| // 1 = normal, 2 = 2x, 3 = 3x, 4 = 4x, 5 = 5x | |
| spider_overall_speed = 1; | |
| // per point, not per "leg" | |
| spider_arm_length = 13; | |
| spider_num_segments = 4; | |
| spider_point_max_rot_speed = (360/90)*(spider_overall_speed/(spider_num_segments)); | |
| spider_total_leg_length = spider_arm_length * spider_num_segments; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from concurrent.futures import ProcessPoolExecutor, as_completed | |
| from math import sqrt | |
| from multiprocessing import cpu_count | |
| import numpy as np | |
| from PIL import Image | |
| COLOUR_SET = { | |
| (60, 59, 55): np.asarray([28, 54, 99]), | |
| (93, 98, 69): np.asarray([74, 106, 154]), | |
| (151, 141, 122): np.asarray([169, 190, 168]), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| EZFaction_fnc_buildPrettyName = { | |
| params [ | |
| "_thing", | |
| ["_config", "CfgWeapons"] | |
| ]; | |
| [ | |
| getText (configFile >> _config >> _thing >> "displayName"), | |
| _thing, | |
| getText (configFile >> _config >> _thing >> "picture") | |
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| isNil { | |
| // Build list of all weapons and their compatible accessories | |
| private _allWeapons = (([configFile >> "CfgWeapons", 0] call BIS_fnc_returnChildren) select { | |
| getNumber (_x >> "scope") == 2 | |
| && (configName _x) isKindOf ["RifleCore", configFile >> "CfgWeapons"]; | |
| }) apply { | |
| _configName = configName _x; | |
| [ | |
| _configName, | |
| [_configName, true] call CBA_fnc_compatibleMagazines, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| No longer maintained. | |
| Find the latest version here: | |
| https://github.com/Seb105/Arma-Briefingtable/tree/main/example_mission/SebsBriefingTableStandaloneDemo.Altis |