-
Content Count
53 -
Joined
-
Last visited
-
Medals
Community Reputation
9 NeutralAbout Bayern_Maik
-
Rank
Lance Corporal
Profile Information
-
Gender
Male
-
Location
Germany
-
Interests
Arma & Military i guess ;D...
Recent Profile Visitors
-
RscIngameUI - Adding ctrl to existing UI
Bayern_Maik posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Hi Guys, Im currently stuck because of "knowledge.hpp" not found and i hope u can help me out 🙂 I wrote a little script to allow players to adjust the animationSpeedCoef while beeing in stand/crouch combat stance via mouse wheel to make movement in cqc bit more variable (inspired by Escape from Tarkov "incremential" movement) To give the player visual feedback about the current movement speed i wanted to add a GUI element/progressBar beneath the stance indicator. The idea was to add another ctrl to RscStanceInfo hoping that the ctrl will be initialized/loaded/unloaded/shown "automatically" along the stance indicator ui. This is what i wrote in my mods config.cpp (for testing just a textbox instead progressBar) : class RscText; class RscIngameUI { class RscStanceInfo { idd = 303; scriptName = "RscStanceInfo"; scriptPath = IGUI; onLoad = "[""onLoad"",_this,""RscStanceInfo"",'IGUI'] call (uinamespace getvariable 'BIS_fnc_initDisplay')"; onUnload = "[""onUnload"",_this,""RscStanceInfo"",'IGUI'] call (uinamespace getvariable 'BIS_fnc_initDisplay')"; controls[] = {"StanceIndicatorBackground", "StanceIndicator","StanceProgressbar"}; class StanceProgressbar : RscText { idc = 6128; access = 1; type = 0; style = 2; x = (profilenamespace getvariable ["IGUI_GRID_STANCE_X", ( (safezoneX + safezoneW) - (3.7 * ( ( (safezoneW / safezoneH) min 1.2) / 40)) - 0.5 * ( ( (safezoneW / safezoneH) min 1.2) / 40))]); y = (profilenamespace getvariable ["IGUI_GRID_STAMINA_Y", (safezoneY + 4.05 * ( ( ( (safezoneW / safezoneH) min 1.2) / 1.2) / 25))]); w = (3.7 * ( ( (safezoneW / safezoneH) min 1.2) / 40)); h = (0.27 * ( ( ( (safezoneW / safezoneH) min 1.2) / 1.2) / 25)); text = "-WORK IN PROGRESS-"; font = "PuristaBold"; colorBackground[] = {1,1,1,1}; colorText[] = {1,1,1,1}; sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 3); }; }; }; When testing in editor i can see my added class "StanceProgressbar" as subclass of "RscStanceInfo" in config viewer, but when trying to find the ctrl ingame to adjust the progressBar via script with _ctrl = ((uiNamespace getVariable "RscStanceInfo") displayCtrl 6128); returns "no Control". The other subclasses of "RscStanceInfo" are accessible with idc 1201 & 188. I guess i have to initialize/load my custom ctrl "manually" somehow, but i have absolutely no idea how 😂😭 Any help appreciated 🤗-
- rscingameui
- rscstanceinfo
-
(and 4 more)
Tagged with:
-
How to use UnitCapture in Arma 3.
Bayern_Maik replied to thdman1511's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Can anyone tell me pls where i get the input data from? F1 and ESC doesnt do anything... killing the "input unit" after recording is done doesnt work either. Edit: Got it... Spawned unitRecord before unit was initialized.... 😑 -
Edit ProfileName.Arma3Profile by Script?
Bayern_Maik posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Hi, Is there a way to read/rewrite the keybinds in ProfileName.Arma3Profile profile file by script? ... keyMoveForward[]={17,200}; keyMoveBack[]={31,208}; keyTurnLeft[]={30,203}; keyTurnRight[]={32,205}; keyMoveUp[]={45}; keyMoveDown[]={44}; keyMoveFastForward[]={286457887,521338897}; keyMoveSlowForward[]={}; keyMoveLeft[]={}; keyMoveRight[]={}; keyEvasiveLeft[]={16}; keyEvasiveRight[]={18}; keyStand[]={}; keyCrouch[]={}; keyProne[]={}; keyLeanLeft[]={16,524291}; keyLeanRight[]={18,524297}; keyLeanLeftToggle[]={272}; keyLeanRightToggle[]={274}; keyWalkRunToggle[]={}; keyWalkRunTemp[]={57}; keyTactToggle[]={}; keyTactTemp[]={42}; ... I assume its possible somehow since these settings can be changed in armas options menu. I took a look at the scripts in ui_f.pbo but was unable to figure out how it works... I want to create a custom dialog for setting keybinds and presets during missions -
The CSAT Modification Project (Release)
Bayern_Maik replied to theevancat's topic in ARMA 3 - ADDONS & MODS: COMPLETE
-
2035: Russian Armed Forces (5.3.0)
Bayern_Maik replied to Deathstruck's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Hi, I found the older vehicle retextures but i cant find the weapons. Are you sure they are still in? -
(SMA) Specialist Military Arms
Bayern_Maik replied to blazenchamber's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Are retextures allowed? -
Jup, thx for beeing not helpfull at all.
-
addons[]= { "A3_Structures_F_Dominants_Castle", "101_editor" }; That means it will be required as a dependency, does it?
-
iniDBI2 - Save and Load data to the server or your local computer without databases!
Bayern_Maik replied to code34's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Hi i have few questions. - ini files are usually used by Windows right? Is iniDBI2 working on linux servers aswell? -Where are those ini files stored? -
Connect Database (SQL) with mission
Bayern_Maik replied to Am4z3d's topic in ARMA 3 - MISSION EDITING & SCRIPTING
So this means that i could use iniDB/iniDBI2 for a multi server setup aswell? Can you give me a hint how to do this? I have no clue how to implement php code into sqf to access ftp files. Sry for warming up this thread btw -
jsrs_soundmod JSRS SOUNDMOD - CE.20.0419
Bayern_Maik replied to LordJarhead's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Blowing up stuff from distance had never been funnier than now Love your mod! -
2035: Russian Armed Forces (5.3.0)
Bayern_Maik replied to Deathstruck's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Yesss, thats what i was hoping for :) Thanks for the hint, i know what to do this weekend -
Firewill Standalone Series Release Thread
Bayern_Maik replied to firewill's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Hey, still using ur Hunter GPK mod. If you ever decide to continue this project turrets for the "Punisher" (DSHKM,Kord,AGS30) would be cool. Just saying ;D. Thx for your work! -
2035: Russian Armed Forces (5.3.0)
Bayern_Maik replied to Deathstruck's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Hi, I 've seen pictures of an older version with RPK12's, AK12U's & SVD12's aswell as very nice CSAT Vehicle textures. Is there a prticular reason why those aren't included anymore? Asking because curiosity that stuff looks veeery interesting. -
RHS Escalation (AFRF and USAF)
Bayern_Maik replied to soul_assassin's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Hi, just a short question. Guess i already know the answer but... Are any weapons only versions of the rhs mods available adn if not is it allowed to upload a version with only the weapons pbo's ? As far as i understood the licencing stuff its not but maybe i got something wrong. I am asking because rhs mods are quite big and i like to keep things simple :) Thx in advance- 16549 replies
-
- Weapons
- Accessories
-
(and 1 more)
Tagged with: