iPrismmm Posted April 17, 2014 Report Share Posted April 17, 2014 ^^ updated my RscPlayerUI.hpp file in post - do the same Get this error ErrorMessage: File mpmissions\__cur_mp.Chernarus\custom\RscPlayerUI.hpp, line 7: /RscTitles/playerStatusGUIcustom/ControlsBackground.RscStructuredText_1199: Undefined base class 'RscStructuredText' Link to comment Share on other sites More sharing options...
jOoPs Posted April 17, 2014 Report Share Posted April 17, 2014 class RscStructuredText { class Attributes; }; put that class into your RscPlayerUI.hpp - on top of it Link to comment Share on other sites More sharing options...
Dan1997 Posted April 18, 2014 Report Share Posted April 18, 2014 After I did all of your instructions I stuck on "Loading Character Data". But no rpt errors or something. The only difference I had to do was the execution of the player_monitor.fsm... in my Init there it was like: _playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf"; changed it to my custom: _playerMonitor = [] execVM "custom\player_monitor.fsm"; Think I found my mistake, give it a try now. Did you fix this, if so how? Link to comment Share on other sites More sharing options...
Dan1997 Posted April 18, 2014 Report Share Posted April 18, 2014 Stuck on loading character data Link to comment Share on other sites More sharing options...
iPrismmm Posted April 18, 2014 Report Share Posted April 18, 2014 class RscStructuredText { class Attributes; }; put that class into your RscPlayerUI.hpp - on top of it Error is gone but still no nametags. Is there a specific place I need to put it? I'd like to use the icons but need nametags. Link to comment Share on other sites More sharing options...
jOoPs Posted April 20, 2014 Report Share Posted April 20, 2014 not sure how it happens but i posted an empty class - and nobody realized it :P class RscStructuredText { idc = -1; type = 13; style = 0x02; x = 0.1; y = 0.1; w = 0.3; h = 0.1; size = 0.045; class Attributes { }; }; ^^ put that class into your RscPlayerUI.hpp - on top of it (replace the old one if included) cheers Link to comment Share on other sites More sharing options...
Dan1997 Posted April 21, 2014 Report Share Posted April 21, 2014 jOoPs, im stuck on waiting for character data? Im trying to get the complete gui from 1.8 like the inventory and stuff Link to comment Share on other sites More sharing options...
jOoPs Posted April 21, 2014 Report Share Posted April 21, 2014 inventory/gear isnt possible at moment - if im right, coz createGearDialog read only from addon - not like createDialog - so patching isnt possible - as far as i know. if im wrong point me in the right direction and i do what i can.. Link to comment Share on other sites More sharing options...
Dan1997 Posted April 23, 2014 Report Share Posted April 23, 2014 Cheers man :) Link to comment Share on other sites More sharing options...
StiflersM0M Posted April 24, 2014 Report Share Posted April 24, 2014 anybody knows how to add a icon thats shows your weight ? Link to comment Share on other sites More sharing options...
jOoPs Posted April 28, 2014 Report Share Posted April 28, 2014 anybody knows how to add a icon thats shows your weight ? ^^ it's still in there :) Link to comment Share on other sites More sharing options...
an1m4l Posted April 29, 2014 Report Share Posted April 29, 2014 Anyone care to link to the posts to get this all to work? or post a working copy? Link to comment Share on other sites More sharing options...
dgx Posted June 5, 2014 Report Share Posted June 5, 2014 Anyone care to link to the posts to get this all to work? or post a working copy? Make this (step for step (RscPlayerUI.hpp = yourcustomGUI.hpp)): add in description.ext (@ bottom / last line(if u don't have any classes of this)): class RscStructuredText { idc = -1; type = 13; style = 0x02; x = 0.1; y = 0.1; w = 0.3; h = 0.1; size = 0.045; class Attributes { }; }; class RscPictureGUI { access = 0; type = 0; idc = -1; colorBackground[] = {0,0,0,0}; colorText[] = {0.38,0.63,0.26,0.75}; font = "TahomaB"; sizeEx = 0; lineSpacing = 0; text = ""; style = "0x30 + 0x100"; x = 0; y = 0; w = 0.2; h = 0.15; }; class RscTitles { #include "custom\yourcustomGUI.hpp" }; thats all ;) =============== @ jOops Good work man :P =============== Improvement proposal: If you change (in player_updateGui.sqf) //only show the weight-icon if R3F-weight-system is running ;) if (DZE_R3F_WEIGHT) then { if (R3F_Weight < 125) then { _ctrlWeight ctrlShow false; } else { if (R3F_Weight > 250) then { _ctrlWeight call player_guiControlFlash; } else { _ctrlWeight ctrlShow true; }; }; }; to //only show the weight-icon if R3F-weight-system is running ;) if (DZE_R3F_WEIGHT) then { if (R3F_TIRED_Accumulator < 20000) then { _ctrlWeight ctrlShow false; } else { if (R3F_TIRED_Accumulator > 80000) then { _ctrlWeight call player_guiControlFlash; } else { _ctrlWeight ctrlShow true; }; }; }; the "weight icon" will display at fatigue and will flash just before overburdened. Fatigue starts with R3F_TIRED_Accumulator = 20000 (heart beat starts) You are overburdened on R3F_TIRED_Accumulator = 100000 jOoPs and SideShowFreak 2 Link to comment Share on other sites More sharing options...
Halvhjearne Posted June 5, 2014 Report Share Posted June 5, 2014 If you change (in player_updateGui.sqf) //only show the weight-icon if R3F-weight-system is running ;) if (DZE_R3F_WEIGHT) then { if (R3F_Weight < 125) then { _ctrlWeight ctrlShow false; } else { if (R3F_Weight > 250) then { _ctrlWeight call player_guiControlFlash; } else { _ctrlWeight ctrlShow true; }; }; }; to //only show the weight-icon if R3F-weight-system is running ;) if (DZE_R3F_WEIGHT) then { if (R3F_TIRED_Accumulator < 20000) then { _ctrlWeight ctrlShow false; } else { if (R3F_TIRED_Accumulator > 80000) then { _ctrlWeight call player_guiControlFlash; } else { _ctrlWeight ctrlShow true; }; }; }; the "weight icon" will display at fatigue and will flash just before overburdened. Fatigue starts with R3F_TIRED_Accumulator = 20000 (heart beat starts) You are overburdened on R3F_TIRED_Accumulator = 100000 tbh i think its better showing the icon from weight and let the player decide if he wants to take the chance, compared to warning him before he collapses and would also make more sense. warning the player before he collapses removes the element of surprise and changes the gameplay from "was it really that heavy?" when you collapse, to "im almost overburdend now, i better take some painkillers and drop some of this, before i collapse" (wich would make the weght systim completly irrelevant imho). Link to comment Share on other sites More sharing options...
UKRop Posted July 11, 2014 Report Share Posted July 11, 2014 1.0.5.1 not work (( can fix? Link to comment Share on other sites More sharing options...
tarvin Posted July 11, 2014 Report Share Posted July 11, 2014 maybe help on 1.0.5.1 you ini.sqf start // _playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf"; // not player_monitor.fsm - but player_monitor.sqf and compile it two... repack you dayz_code.pbo search player_monitor.sqf and player_monitor.fsm and copy custompatch... in custom monitor.sqf = if (isServer) then { waitUntil{dayz_preloadFinished}; }; // _id = [] execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; _id = [] execFSM "custompath\player_monitor\player_monitor.fsm"; if (DZE_R3F_WEIGHT) then { _void = [] execVM "\z\addons\dayz_code\external\R3F_Realism\R3F_Realism_Init.sqf"; }; and you ini.sqf start // _playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf"; playerMonitor = [] execVM "custompath\player_monitor\player_monitor.sqf"; Link to comment Share on other sites More sharing options...
DLLKillem Posted August 9, 2014 Report Share Posted August 9, 2014 Guys, Looks good plan on updating our hud this weekend. Was wondering lets see some of your work! DLLKillem Link to comment Share on other sites More sharing options...
cen Posted August 9, 2014 Report Share Posted August 9, 2014 Here's mine: 31_D!4b10, PryMary, SmokeyBR and 1 other 4 Link to comment Share on other sites More sharing options...
Mikeeeyy Posted August 9, 2014 Report Share Posted August 9, 2014 Here's mine: P.S. When a player has broken bones and/or is bleeding the white frame will flash white/red. chi, XerxesIv and jamastiene 3 Link to comment Share on other sites More sharing options...
asremix Posted August 10, 2014 Report Share Posted August 10, 2014 Here's mine: You can share me? Link to comment Share on other sites More sharing options...
chi Posted August 11, 2014 Report Share Posted August 11, 2014 Here's mine: P.S. When a player has broken bones and/or is bleeding the white frame will flash white/red. Here's mine: P.S. When a player has broken bones and/or is bleeding the white frame will flash white/red. Here's mine: Would you mind sharing this with me? i would love to design my own. Thanks. Awesome work!! ;-) dexxo110 1 Link to comment Share on other sites More sharing options...
paddy1223 Posted August 12, 2014 Report Share Posted August 12, 2014 I would like to add the teamspeak details to the player_updategui.sqf and and custom playerstatus.hpp. Would anyone know how I would go about that? Figured it out Link to comment Share on other sites More sharing options...
SmokeyBR Posted August 15, 2014 Report Share Posted August 15, 2014 Here's mine: @cen yours indeed looks awesome i have tried cracking my head all night trying to figure it out how to get X Y W H so i could move the images around but i could not figure it out. Share with us, your custom HUD buddy Link to comment Share on other sites More sharing options...
kacperx12 Posted August 18, 2014 Report Share Posted August 18, 2014 Here's mine: Joshi120 1 Link to comment Share on other sites More sharing options...
rhammer2003 Posted August 18, 2014 Report Share Posted August 18, 2014 Hello All, I have been trying to add the icons according to the info provided in this thread, I have followed everything to the letter and I get the following error. ErrorMessage: File mpmissions\__cur_mp.Panthera2\custom\RscPlayerUI.hpp, line 7: /playerStatusGUIcustom/ControlsBackground.RscPicture_1901: Undefined base class 'RscPictureGUI' could someone assist please? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now