Jump to content

h -

Member
  • Content Count

    758
  • Joined

  • Last visited

  • Medals

  • Medals

Everything posted by h -

  1. If only there was a soundLength scripting command to get the length of given sound with..........
  2. Not that familiar with MP stuff, but I'd reckon that would be the best place to put this. EDIT: Although, the removeItem etc stuff might require this to be a bit more complex than that simple code I posted when used in MP.. Someone more MP oriented might have more valuable input on this..
  3. addMissionEventHandler ["EachFrame", { if (visibleGPS && {cameraView == "gunner"}) then { player unlinkItem "ItemGPS"; } else { player linkItem "ItemGPS"; }; }]; Hides the GPS when aiming, and the player needs to open it again when no longer aiming.
  4. Seems that if using Eden Enhanced and this it blocks the XFUNCTIONS button on the debug console. You can see the button faded under the FUNCTIONS button. Dunno if there's much you or Revo can do about this, other than one of you changing the button into listbox to select which one to use if both mods are loaded
  5. h -

    Emitter 3Ditor

    Sort of, yes. Currently there are a lot of cloudlets/lights that are not available in the tool's list(s) due to scripting limitations but I am trying to figure out how to get the rest of them to be usable. Problem is that they use expressions as values and those expressions can not be evaluated because there is no way to get some engine internal values used in them. The scripting commands used to do the editing do not support expressions. The actual hit effects and such are not available due to the above issue (they are combinations of cloudlet/light classes), but I am also trying to figure out a way to have those effects editable with this. Edit: But you can change some of the vanilla cloudlets/lights and export the new values in config format to make a new addon.
  6. Eden WYSIWYG emitter editor Use particle and light emitters in your scenarios without any scripting. Adds an emitter editor akin to the old "utility mission" editor that has floated around since the original OFP and the "Eden way" of adding emitters via object attributes. Does NOT create dependencies, as in this mod is not required to play the scenarios edited with it. Before you get all excited you must remember that this is just scripted pile so it is not 100% stable, you will break it, you will possibly ruin your scenario with it etc. So bear that in mind. Features include: - add emitters (particle/light) and edit their parameters in Eden, in real time. WYSIWYG, will appear in scenario as it does in Eden - Attach emitters to virtually anything (Eden entities, terrain objects, object selections) - Save emitter parameter presets - Export emitter parameters in sqf format like with the old "utility mission", sometimes you just want/need to script it - Export emitter parameters as config class, greatly speed up creating your CfgCloudlets and CfgLights effects - Includes "scenario function set" to deal with the emitters added with this tool in "mission runtime" - Full set of Eden tutorials - 100+ page pdf manual with a lot of examples on how to use the tool... !IMPORTANT NOTE!: If your game crashes with error "DX11 ERROR BUFFER MAP FAILED" while using this tool it in most cases means that your Particle Quality setting in the game Video Settings is too high. Lowering it should fix this. License: You are not allowed to make any derivative works of this mod or it’s documentation in portions or as a whole. You are not allowed to repackage or distribute a repackage of this mod or it’s documentation. Obviously Steam Workshop EULA additionally applies to the Steam Workshop version of this mod and it’s documentation. Changelog: A few videos: Obtain from: - Steam WorseShop - Ye olde skool download Contacts: - Discord Thans to: - Everybody making proper bug reports - kju - Undeceived - R3vo - savedbygrace - sokolonko + the rest of the NF single girls - sa8gecko - BI
  7. h -

    Emitter 3Ditor

    Ok, nice. Can breathe easy now
  8. h -

    Emitter 3Ditor

    If using the "defaults" button in the keybind dialog (prefs -> "keybinds" button) does not fix this then I'm in a completeish loss as to what is going on.. I have only seen this happening if you for some reason use the 1.024 version after having already ran 1.025 If you execute the following code in the debug console, what does it print out? ["emittered_prefs", "keybind_insert"] call HNEG_fnc_prefsFetch
  9. h -

    Emitter 3Ditor

    You mean all the shortcuts?? That's pretty weird, can't really see why that would happen unless the mod files or your profileNamespace got corrupted somehow.. I'm assuming you're using the latest version so have you tried assigning a new keybind for something to see if that custom keybind works?
  10. h -

    Emitter 3Ditor

    Small 'hotfix' released: Workshop Download (and filename) stays the same: DL
  11. h -

    Emitter 3Ditor

    Emitter 3Ditor updated to version 1.025: - ADDED: Emitters inserted with this tool now have basic interaction with Zeus; emitters can be moved, deleted and toggled on/off. Refer to the manual for detailed information, page 74. IMPORTANT NOTE!!: Zeus scenarios made with version 1.024 have to be loaded into Eden and re-exported for these changes to take effect in that scenario. !! - ADDED: custom keybinds setup for all possible tool kb shortcuts, refer to manual page 75 - ADDED: values on number and array data fields on the tool UI can now be adjusted with the mousewheel. Refer to the manual for more details, page 77 - ADDED: a warning prompt about High Particle Quality setting and possible 'DX11 ERROR BUFFER MAP FAILED' CTD Rest of the changelog: Workshop DL
  12. Oh, nice. 🙂 Two things that caught my eye: - seems that one can't select text from the code window, only way to copy is to press the 'copy to clipboard' button copying the whole code. Or am I missing something, or a limitation? - Any change adding a font size "selector" for the code window? On my screen (1920x1200 Ui small) the font is annoyingly big
  13. h -

    Emitter 3Ditor

    Awwwww.... What you're asking for is not possible.
  14. h -

    3den event handlers

    Oops, omitted to correct you on another matter: add3DENEventhandler does not work on those object eventhandlers, you add them with regular addEventHandler, so should be: (get3DENSelected "object" select 0) addEventHandler ["AttributesChanged3DEN", { params ["_object"]; systemChat str _object; }]; 3DENEventhandlers are handlers for Eden actions like selecting some widget, saving a mission, undoing, deleting and so forth. The line removeAll3DENEventHandlers "AttributesChanged3DEN"; is also incorrect because no such 3den eh exists. One thing worth noting when fiddling with the Eden commands is that some of them report no errors even if you make one, and some of them CTD the game if you pass erroneous data.. Can't remember the CTD causing commands but usually if a command takes an entity as an argument, which in eden can be both a number (eden id) and an object, and you pass a null-object = ACCESS VIOLATION BLAHBLAHBLAH
  15. h -

    3den event handlers

    How did you define the object you attached the EH to? Because naming the object and using the name in the console in Eden does not work. You need to for example select the unit and then use : (get3DENSelected "object" select 0) add3DENEventHandler ["AttributesChanged3DEN", { params ["_object"]; systemChat str _object }]; The eh will fire after the rotation or whatever is done, not when it starts or during it. EDIT: And obviously eden ehs only work in eden
  16. h -

    Emitter 3Ditor

    Just did a small update because realized I had f'd up and forgotten to include the in-game functions from both worseshop and dl versions I guess not many have gone through the huge manual then EDIT: Oh, and if someone is interested in translating a ton of texts (tooltips, Eden tutorials, messages/notes): https://github.com/hneg/emed_translations
  17. h -

    Emitter 3Ditor

    Yeah, unfortunately had to so the sync that way due to technical issues. Same goes for copy/pasting, you can not ctrl+c/ctrl+v the emitters, you need to use the tool's own cloning button or shift + alt + c
  18. h -

    Emitter 3Ditor

    @stburr91 Elevation can be changed using the Eden translation widget + switching surface snapping off. As for the issues, seem really strange. I haven't had any issues with for example previewing in a long long long time. I reckon this can of course be affected by FPS and such. Were these problems present in the "MP editor" or regular? The tutorial windows are placed on the side of the screen to allow you try things mentioned in them while viewing, however if the tutorial window cuts off that's of course not desired at all. It's due to the game's UI stuff being really PITA (at least for me) so it is possible it doesn't work properly on some resolution/UI size settings. I tried testing them the best I could but of course something may have slipped through the cracks. Screenshot and resolution/UI size settings would be helpful if there are any UI issues. Also in case of tutorials which are the troublesome ones.
  19. h -

    Emitter 3Ditor

    Thanks @.kju Hopefully the tool is worth the praise.. One other thing I forgot to add: My Discord Nothing special there, but it exists..
  20. h -

    Emitter 3Ditor

    Lol, this forum software ate my dl links (because auto-youtube embed) Anyways: - Steam WorseShop - A bit more ye olde skool download EDIT: Oh, and before I forget, NOTE that Multiplayer is a bit of an unknown so if your scenario edited with this "melts" a server then it's my doing.. :(
  21. Would be seconds to live after creation, as in the object would be automatically deleted after the given amount of seconds.
  22. On the topic of scripting command improvement hopes, I wouldn't mind if we got a additional 'lifetime' parameters for the createVehicle/Agent etc commands : type createVehicle [position, timeToLive] createVehicle [type, position, markers, placement, special, timeToLive] playSound and playSound3D should have 'get' versions, even better if there was an event for this <playedSound> //returns the most recent soundsource and the name of the most recent sound played playSound "alarm"; playedSound; // returns [<source>, "alarm"] <playedSound3D> //returns the most recent soundsource and the name of the most recent sound played playSound3D ["A3\Sounds_F\sfx\blip1.wav", player]; playedSound3D; // returns [<soundsource>, "A3\Sounds_F\sfx\blip1.wav"] or addMissionEventHandler ["playedSound", { params["_soundSource", "_sound"]; }]; Also command for getting the length of the sound file wouldn't get frowned upon..
  23. Indeed, back in the day when that first pic was shown I thought my hopes would finally become true, but no :(
  24. Quite. IMO there should have been a large detailed wiki article with lot of pics and vids written years ago about how the AI "sees" the world, how it's "thinking" process works (how it interprets what it "sees" > how it reacts to > why it reacts that way), why on earth there even is the "auto-combat" mode (and why the AI acts like it acts when in it), and so on, which would of course include this driving "brain" as well..
  25. h -

    Flare Illumination

    Completely forgot about this one.. No idea what the values were before but the intensity of CfgLights class FlareLight is quite massive (outside the int range -> intensity = 1e+007 = 1^7 = 10 000 000) but because the attenuation values it doesn't actually illuminate anything no matter how insanely high you set the intensity the light simply dies off too close to the source.. As it's called 'intensity' I guess the value is in candelas (intensity of a light source, 10 000 000 candelas = (pretty much) 10 000 000 lumens) which basically means "the brightness of the light at source" so the FlareLight is actually pretty damn bright, it just doesn't illuminate anything, which means claiming that the flares aren't bright enough is false
×