Jump to content

h -

Member
  • Content Count

    795
  • Joined

  • Last visited

  • Medals

  • Medals

Community Reputation

156 Excellent

4 Followers

About h -

  • Rank
    Master Sergeant

Contact Methods

  • Website URL
    http://www.ofpec.com
  • Youtube
    channel/UC_uj_TyalRmTkHcDHzj43iw

Profile Information

  • Gender
    Male
  • Location
    Finland

Recent Profile Visitors

1374 profile views
  1. Nice. Support for include and define immediately sold me this. 👍 Couple of suggestions (very fast test, so if I missed these, disregard): - setting to define font size would be neat (in the code windows etc, not menus), the code window font is a bit big-ish to my personal liking (1920x1200, uiscale small) - setting to widen the code window? Changing the size of the window from the buttons in the top row is nice but doing that blocks the watch field stuff, so made me wish for a setting for just widening the whole console window - without knowing the plans with the export config, any possibility to have have a 'export selected class' feature, as in export the currently selected config class? - One thing that could be useful would be copying the config path of selected config value into clipboard for using within a script (as in result would be (configFile >> "blah" >> "bleh" >> "bluh")) "bugs": - Opening the GUI editor (this would sorely need updating, winkwink 😛) opens it behind the console (as in console stays open over it). Not a biggie of course but would kinda make more sense if the console closed automatically
  2. h -

    custom slider issue

    It would work as it's relevant only to the moment of "packing", at least should be, I can only speak from the experience with using pboproject though. But since you have not set up P-drive this is a bit moot. You could try the include without the first \ to see if that makes any difference. That is a bit peculiar. There seems to be some pageSize value there in at least some of the time related sliders, maybe that has something to with it
  3. h -

    custom slider issue

    Be glad you don't have the awesome STATUS_ACCESS_VIOLATION 0x00000000000005 ctd without any clue to what might be causing it.. Sounds to me that the code in the time sliders fiddle with your output, the code in the onSliderPosChanged event in the slider class value control 🤔 Assuming you have the a3 folder on your P-drive you need to "cd" as many steps backwards as it is required to reach P root from your addon folder, like #include "..\..\..\a3\3DEN\UI\macros.inc". So if your mod stuff is set up on P like x\mytag\mymod\addons\addon.pbo you need like 5 "steps" back to find the a3 folder, first ..\ is addons, second ..\ is mymod, third ..\ is mytag, fourth ..\ is x and lastly the fifth ..\ is then P root. At least if I calc'd this correctly 😄 Although if you're using BI Tools I have no idea does that even understand this
  4. h -

    custom slider issue

    Trying to find and affect the controls when opening an attribute is also doable, completely forgot about this because I've mostly needed much more complicated customization so have elected the custom attribute route.. You have to have some sort of per frame handler to detect opening attributes (display 315), then search allControls for that display and find the class name of the slider and it's control with idc 100. Something like: onEachFrame { if (!isNull (findDisplay 315) && {typeOf (get3DENSelected "Logic" # 0) == "<mymoduleclass>"}) then { (((allControls (findDisplay 315) select {ctrlClassName _x == "Slider"}) # 0) controlsGroupCtrl 100) sliderSetRange [0, 1000]; onEachFrame {}; }; } For the custom slider config, you don't need to worry about the sub classes etc, just copy paste everything from the default slider control (remove all the access = 0 lines though) and change the sliderRange[] = {}; in the topmost Value control which should come right after (not inside) Title class. The value class inside the topmost value class is for the output shown at the end of the slider, like 500m, 50% etc.
  5. h -

    custom slider issue

    I have never been able to get rid off those kinds of errors myself by any other method than just copy/pasting the whole class I'm inheriting from so that you basically redefine everything in it. I'm assuming there is some better method, just never got any of that inheriting stuff working properly myself..
  6. h -

    custom slider issue

    I'd say you need to define your own attribute slider control with custom slider range and use that (defined under Cfg3DEN > Attributes). 🤔 AFAIK attributeload/save only work inside those control classes themselves, not in the module attribute classes. And if you modify the attributeload/save you most likley need to include BI original code in them or you might get non-working attributes in the module.
  7. h -

    Emitter 3Ditor

    Small update (steam workshop was updated a while ago already, again) Workshop DL
  8. The problem probably is that you turn the object reference into string, or smth.. Maybe try giving the trigger a name (setVehicleVarName) and using that instead
  9. h -

    Emitter 3Ditor

    Small update (steam workshop updated a while ago already) Workshop DL
  10. remoteExec doesn't return stuff like that unfortunately, probably the only way is to write a short script/function you execute via remoteExec, in which you then deal with say3D. MP isn't really my forte though..
  11. Just wondering, why would you use any extra object gimmicks when there is no need to anymore?
  12. say3D returns a sound object nowadays so no need for any weird logic etc shenanigans: private _voice = someguy say3D "some_stuff"; sleep 0.3; deleteVehicle _voice;
  13. You could do something like this I guess ["ehname", "oneachframe", { private _vehicle = _this # 0; if (alive _vehicle && {speed _vehicle < 50}) then { private _vel = velocity _vehicle; private _dir = direction _vehicle; if (inputAction "submarineForward" > 0) then { _vehicle setVelocity [ (_vel # 0) + 0.01*(sin _dir), (_vel # 1) + 0.01*(cos _dir), _vel # 2 ]; }; }; }, [_vehicle]] call BIS_fnc_addStackedEventHandler That should allow the vehicle speed up until it hits 50km/h. Untested so mileage may vary. I'd assume in MP execute that locally to the driver. Also if using CBA you could use their perFrameHandler instead.
  14. Pretty sure it's gonna be in the main branch eventually though.
×