With some days of late, here the update of June, 0.69.1430. As usual you will find the new commands and functions for the latest version of Arma 3 but not only.Poseidon Tools begins to socialize with Mikero Tools, with a basic support for the moment. In the menu >> “External programs” >> “Mikero”, you will find […]
Jeux vidéo
It’s time to update Poseidon Tools, this time, a little bit before the deadline  The bases of Poseidon Tools are now ready and next step will add more features. So, you can expect to new features, like SVN support (plus, maybe GIT) and some interactions with Arma 3 Tools, among others. Then, will come the turn of […]
Return a random value between min and max. Note that if #0 > #1, the function will swap vars. If the random result is lower than min, it returns the min. Same for the max value.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
/* Author: Tom_48_97 Description: Return a random value between min and max. Note that if #0 > #1, the function will swap vars. If the random result is lower than min, it returns the min. Same for the max value. Parameter(s): #0 NUMBER - The minimal value #1 NUMBER - The maximum value #2 BASE - Random result type: "round", "floor", "ceil", "float". Any other value will return a float Example of use: this setFuel ([0.2, 0.5] call tm4_fnc_random); this setPosATL [(getPosATL player select 0) + ([5, 10, "floor"] call bis_fnc_random), (getPosATL player select 1) + ([3, 7, "floor"] call bis_fnc_random), 0.1]; Returns: NUMBER - Integer or float */ private["_this", "_min", "_max", "_base", "_return"]; _min = [_this, 0, 0, [0]] call bis_fnc_param; _max = [_this, 1, 1, [0]] call bis_fnc_param; _base = toLower([_this, 2, "float", ["round", "floor", "ceil", "float"]] call bis_fnc_param); if !(typeName _min == typeName 0) exitWith { ["#0: Must be a NUMBER"] call bis_fnc_error; }; if !(typeName _max == typeName 0) exitWith { ["#1: Must be a NUMBER"] call bis_fnc_error; }; if (_min > _max) then { private ["_tmp1", "_tmp2"]; _tmp1 = _min; _tmp2 = _max; _max = _tmp1; _min = _tmp2; }; _return = random _max; if (_base == 'round') Then { _return = round(_return); }; if (_base == 'floor') Then { _return = floor(_return); }; if (_base == 'ceil' ) Then { _return = ceil(_return); }; if (_return < _min) Then { _return = _min + (random (_max - _min)); }; _return |
W0lle has posted a short trailer of the upcoming DLC for Arma 2: Cold War Rearmed, here it is: This DLC is in development since summer 2013 and should be released soon :) Source: Cold War Rearmed Website
A while ago I didn’t published an update of Poseidon, this time, not because of lack of feedback (even if some are really pointless) but in reason of time… As usual, it’s still hard to find enough time to work on community projects. So, what’s new here? Firstly, some codes have been optimized for Windows […]
La question existentielle d’un joueur : “C’est pour nous faire chier que vous mettez le jeu sur Steam ?!” Ce système permet simplement de diffuser les mises Ă jours du produit via le rĂ©seau Steam Ă tous les clients et il y a des bĂ©nĂ©fices non nĂ©gligeables !
Et oui, je suis toujours en activité, je manque juste de temps pour poster ici ! Promis, je me rattrape bientôt !
On me demande souvent Ă quoi peut ressembler un jeu vidĂ©o en mode “debug”, bien voici un exemple avec Pirates of the Burning Sea. Je tiens Ă prĂ©ciser que les images sont très “claires” car j’Ă©tais Ă la recherche d’erreurs de contraste ! Vue “joueur”
“Wire (Direct 3D)”
Il m’arrive de produire des vidĂ©os… Rarement pour  le publique, mais en voici une ;) Adobe Photoshop, Adobe Audition, Adobe AfterEffects, Sony Vegas Pro, ArmA2OA, TexView 2