Closed KoffeinFlummi closed 9 years ago
None of this is working yet. I'm doing the rsc stuff for now.
Great!
On Tue, Oct 7, 2014 at 10:35 PM, commy2 notifications@github.com wrote:
None of this is working yet. I'm doing the rsc stuff for now. [image: http://i.imgur.com/SILttcN.png] https://camo.githubusercontent.com/ab2025ecf299b938908aa670ee8406d0b77f635f/687474703a2f2f692e696d6775722e636f6d2f53494c7474634e2e706e67
— Reply to this email directly or view it on GitHub https://github.com/KoffeinFlummi/AGM/issues/1258#issuecomment-58292499.
https://github.com/KoffeinFlummi/AGM/commit/5112fcff85feb3206f778afca1c52bac57a7f6fe
[{hint str _this}] call AGM_Core_fnc_addMapMarkerCreatedEventhandler;
=> E.g.: ["_USER_DEFINED #0/1"]
This is only executed on the client which created the marker, right?
No, it's for everyone.
I implemented something. Not sure how reliable it works in MP though.
Seems to work in 2 player LAN on one PC.
https://github.com/KoffeinFlummi/AGM/blob/master/AGM_Explosives/ExplosivesUI.hpp#L13-L22 for the new UI slider rather than Operation Flashpoint version but perhaps it is by design.
So RscXSliderH instead of RscSlider ?
Yes
Kinda weird. Looks like you fill something up, instead of rotation.
Yeah, the old one seems more suited then.
look really nice. Why not in Version 0.94?
Have to agree, this has to be in 0.94, except if it's connected to the problem in briefing screen?
My stuff is mostly done and will be in v0.94. However I think @esteldunedain has some more advanced stuff that won't make it in time. I just snatched the feature, because I had my own ideas,,,
This is only executed on the client which created the marker, right?
I figured out, that the onUnload
event script can contain information about the latest placed marker if used with spawn. Using this I could add a less performance demanding and only locally triggered "onMarkerCreated" eventhandler. The event script would run in suspendable non-sheduled enviroment though. Dunno if we will ever need that though,,,
Kinda like http://killzonekid.com/arma-scripting-tutorials-whos-placingdeleting-markers/, but less complicated.
Would it be possible to redraw the marker when changing the rotation value?
Not that easily. The "preview" marker isn't an actual marker, but a control of the insert marker dialog. And for some reason, you can't rotate controls. http://feedback.arma3.com/view.php?id=19273
Unfortunately this conflicts with another map marker system
At the moment my group prefers the sweet marker system mod http://www.armaholic.com/page.php?id=27014 but we don't want to remove the maptools and other features of agm_maps. Any chance the markers could be moved into their own pbo or a way that would make players choose which one to use?
Working.
Bugs go here: https://github.com/KoffeinFlummi/AGM/issues/1351 Compatibility: https://github.com/KoffeinFlummi/AGM/issues/1389
c/p stuff here, because the other issue is resolved:
The display is "RscDisplayInsertMarker" idd is 54 idc's are [1,2,101,102,1000,1001,1100,1101,2400]
Where: 1 -> OK 2 -> Cancel 101 -> custom text 102 -> marker shape
The loaded gui script ui_f.pbo\scripts\GUI\RscDisplayInsertMarker.sqf contains only the script that expands the (not "localze'd") info box.
http://killzonekid.com/arma-scripting-tutorials-automatic-marker-resizing/ https://community.bistudio.com/wiki/cfgMarkers
(allMapMarkers select 0) setMarkerType "hd_dot"