Jump to content

mjblay

Member
  • Content Count

    21
  • Joined

  • Last visited

  • Medals

Community Reputation

10 Good

About mjblay

  • Rank
    Private First Class

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Yes, my apologies to the community, but I've been pretty busy with real-life stuff since I released this and my clan disintegrated so I haven't been spending as much time with ArmA 3 as usual. That, and I'm an amateur programmer at best -- sometimes it would take me 6-8 hours just to figure out a certain component of the mod. After working on it for a few weeks after its initial release, my plans to split it into two separate mods (an AN/PSN-13 with the map overlay that works in the current mod and an LTLM similar to the TRIGR from Bae Systems) seemed to be a little more than I was ready to handle. I may pick it up again eventually, and I would certainly be open to collaboration with other authors. If nothing else, I hope some other mod maker takes a look at the code to see how I did the continuously-updating map display that changes to an interactive dialog when you mouse-over it. So far, I haven't seen any other mods with this type of functionality or mods that use this type of solution (combined display and hidden dialog overlying it) to overcome the problem of having an interactive dialog that is continuously updated in the main map view. One thing I did see was what appeared to be a view through the viewport of a modern LTLM. It was only onscreen briefly, but it appears on the introductory clip in the TV show Bomb Patrol Afghanistan. I think if I were to eventually undertake a more realistic LTLM, I would model the viewport after the one in this clip with all the data at the bottom. Thanks for your post! Zehn
  2. Sorry, was out of town for the Labor Day weekend Yes, thank you for that detailed feedback. In watching the video, it seems that the custom User Action Menu items added by my mod are interacting with other custom User Action Items, likely added by the mission. I again tried to recreate this behavior with a new mission in the mission editor and could not get it to happen. One issue I did discover, however, was that when changing from a scoped view when a weapon is equipped directly to the binoc view with any of the rangefinders, the displays do not work. I'll add this to the initial post as a known issue and try to find a solution for it. With regard to the bug that happens when using the User Action Menu, my goal is to get rid of this mod's reliance on the User Action Menu altogether. I'm not certain that'll fix the problem though. Again, thanks for helping so much with this feedback. Again, let me express my apologies for being so green in the mod-making world, but I'm not sure how to go about making a separate server key. In reading ArmA: Addon Signatures, it notes the following: Advanced usage scenario: Server keys One addon can be accompanied by multiple signatures, each signed with a different key. One application for this can be server admin can create his own key for his server, and can use it to sign all addons on the server he considers safe. Note: For this usage style, signature files for the addons need to be distributed to all users connecting to that server. If you have specific instructions for how I should make a different key, I'd be happy to follow them. Yes, apologies for leaving that hint in there. It was for debugging. I forgot to comment it, but it'll be gone in the next version. Hmm, I'll have to look into that. I'm not really sure why that would happen. I'm going to start a known issues list and put it on the first page of this thread. Then I'll work on them as I get time.
  3. Well, I just tested it at some length, trying all the different custom User Action menu items (Turn Rangefinder On, Establish GPS Link, Change to Degrees, Single Rangefinding Pulse, and Increase/Decrease Rangefinder precision) and the bearing and elevation were continuously updated regardless of whether the User Action menu was displayed. I'm not sure why you're experiencing this. If you check your Arma .rpt files, there may be an error logged that helps. With regard to Ctrl-M to display the on-screen GPS, I confirmed that it often does not work with this mod. Apologies for that. Again, in future releases, I plan to overhaul the key binding and key press code. -Zehn
  4. Thanks for all the feedback! It really helps. I tested the GPS UI using windowed mode at different window sizes, and it seemed to work ok that way. I'll have to try playing full-screen at different resolutions. I believe that likely stems from my keypress handler which is not ideal. With future releases, I plan to use CBA to allow the user to assign keys to the mod's functions. As in the bearing/azimuth stops updating when you open the User Action menu (i.e. mouse menu)? I haven't noticed this, but I will take a look at it. The rangefinding laser is designed to work in only two modes, however: Continuous mode in which a rangefinding laser pulse is sent out once every second, and Single pulse mode in which one laser pulse is sent out only so as to range one target The rangefinding laser is separate from the target designation laser, which can be kept on continuously and is still controlled using the left mouse button. The target designation laser will not work for rangefinding. The two modes of the rangefinding laser can be controlled with the user action menu. I changed how this works from the stock Arma laserdesignator and rangefinders because having a laser sending rangefinding pulses continuously wastes battery, is not very stealthy, and is really not useful. Laser is electromagnetic radiation, after all, and what kind of stealthy JTAC or sniper team would want EM radiation beaming from their position continuously whenever they put their laserdesignatior/rangefinder up to their eyes? Sounds like a great way to get mortar rounds landing on your head. Ideally, in future releases of the laser designator/rangefinder, I would like the rangefinding laser to emit a beam visible by night vision gear whenever the rangefinding laser is in use, but I'm working on revamping the GPS display first.
  5. I took care to comment most of the code pretty well. There were a few places where I was lazy with the commenting, mostly just because I was in a hurry to get it published. But sure... if you want to modify it so it drops a map marker on everyone's map, it shouldn't be that difficult to do. I think the ideal solution would be to have the rangefinder interface with a more advanced GPS module that could store the marked coordinates in a list of saved points (waypoints). And from there, you could interact with the GPS, click on the saved point, and decide to display a marker for that point on your map only, on everyones everyone's map, or send the coordinates to a bluefor tracker like cTab. I'm working on that more advanced GPS module now.
  6. No, I intentionally designed it so that the mark would only show up on the user's map. That's to prevent everyone from grabbing the laser designators, marking targets, and spamming everyone's map with similar markers. So it currently puts a mark on your map only, and then if you want to share it with others, you can choose the appropriate level of sharing (command channel, side channel, etc.) and make another more detailed marker right on top of it. It only takes a few more seconds. Alternatively, if you just read the 4- or 5- digit easting and northing coordinates to your command element, they could use the GPS part of this mod to precisely locate the target on their own maps and mark it appropriately.
  7. mjblay

    Windowed magazines

    Sorry I never replied back to this, but thanks for saving me some time in looking into it. I wondered why nobody else had done this yet.
  8. mjblay

    Random Integers

    I've done something very similar, i.e. randomly choosing between two options, like this: _num = floor (random 2); //yields either 0 or 1 _str = if (_num == 1) then {"init mov"} else {"init non"}; _p1 sidechat _str; EDIT: Spike beat me to it...
  9. Great, thanks for the feedback! Yes, I hard-coded the up and down arrow keys to control some of the function of the laserdesignator and rangefinder. I thought my script should have only handled the keypresses if viewMode was GUNNER and ALT was pressed in addition to up or down arrow. In retrospect, however, hard-coding the key bindings was a mistake. In the next release, I'll use CBA to allow the user bind custom keys, and I think it'll resolve this issue.
  10. Thanks for the feedback. I really like your own mods, btw. I think I'll pursue splitting this up into a single TRIGR LTLM and a separate GPS map utility. I have looked into the AN/PSN-13, and GIS Modding Studio has already made an excellent stand-alone GPS unit similar to the AN/PSN-13, the AN/PNC-212 SMGR. Unfortunately, their unit does not display when the map screen is displayed, and it has no interaction with the map mouse cursor. [table=width: 75%, align: left] [tr] [td=width: 50%]My take on GPS is inspired by the civilian unit I use all the time -- the Garmin GPSMap 60csx -- and the UTM system which is similar to the Military Grid Reference System. The GPSMap 60csx unit can be loaded with color topographic maps (much like the Arma 3 map) and has a cursor that can be moved around (also like the Arma 3 map). When you move it, it displays the coordinates of the cursor and other information about the terrain around the cursor: Since this kind of technology is already widely available in real-life in the civilian market, I wanted this kind of functionality in the Arma 3 map. And as yet, I haven't seen any mods that interact with the map cursor the way mine does, including the excellent cTab mod.[/td] [td][/td] [/tr] [/table] Your suggestion about the AN/PSN-13 does give me another idea though -- I originally modeled my GPS control to look something like the GPSMap 60csx's display, but I think I could pretty easily change that grey/black display to one that looks like the AN/PSN-13: [table=width: 75%, align: left] [tr] [td] Garmin GPSMap 60 csx [/td] [td] Advanced GPS Control [/td] [td] AN/PSN-13 [/td] [/tr] [tr] [td] [/td] [td] [/td] [td] [/td] [/tr] [/table] And your code inspired me further, specifically this part in your init.sqf: if (worldName in ["Chernarus", "Bootcamp_ACR", "Woodland_ACR", "utes"]) then {AB_Latitude = 50; AB_Altitude = 0;}; if (worldName in ["Altis", "Stratis"]) then {AB_Latitude = 40; AB_Altitude = 0;}; if (worldName in ["Takistan", "Zargabad", "Mountains_ACR"]) then {AB_Latitude = 35; AB_Altitude = 2000;}; if (worldName in ["Shapur_BAF", "ProvingGrounds_PMC"]) then {AB_Latitude = 35; AB_Altitude = 100;}; if (worldName == "fata") then {AB_Latitude = 30; AB_Altitude = 1000;}; I could use something like this to add the MGRS grid zone designation and 100km square identifiers to the mod. Altis would be 35S LE, and Stratis would be 35S LD...
  11. I'm thinking of separating these out into two separate mods. The Advanced GPS would still function much like it does now. I think I'd replace the four laser designator/rangefinders with one more realistic TRIGR that was ordered by the US Army. Here are links to information about it: BAE Systems TRIGR (Target Reconnaissance Infrared Geolocating Range Finder) TRIGR Brochure Possible changes to the current mod: The TRIGR incorporates its own GPS unit, so linking it to a separate GPS unit would not be necessary. The TRIGR max zoom is 7x (as opposed to the current mod's max zoom of 60-75x). I haven't seen the reticle of the TRIGR, so I would keep the one designed by BIS and modified by me. I will try contacting BAE Systems, however, to see if I can get an image of the reticle. If I don't hear from BAE, I may add a "Quality" display to the reticle that appears similar to cell phone reception icons to denote the quality of the laser signal received back (helpful in inclement weather) I would change the widened binocular view to a more circular monocular view. I would remove the "Add Map Marker" function since it would no longer link to the Avanced GPS module. I may attempt to make a new tripod on which to mount it I would not change the errors that fog and rain cause in rangefinding. Or perhaps I'll keep this mod as-is and just make two additional but separate mods -- A GPS mod and TRIGR mod. Any thoughts?
  12. Great addition. Thanks for your work! Noticed this while playing around with it: Error in expression < Str(round((Kestrel4500_TOTAL select 3) / (Kestrel4500_ENTRIES select 3) * 10) /> Error position: </ (Kestrel4500_ENTRIES select 3) * 10) /> Error Zero divisor
  13. Apologies guys... still pretty new at all this. I tested earlier versions of in multiplayer and it had no problems. I haven't tested it on a dedicated server. @bamse, I appreciate you taking a look at it. @KeyCat, I hadn't even thought of versioning it. As it's still pretty new and I'm sure there are bugs to work out, I guess it'd be 0.1.
  14. Zehn's Advanced GPS, Laser Designator, and Rangefinder Mod Hello to the Armaverse, this is the first release of my first mod, the Advanced GPS, Advanced Laser Designator, and Advanced Rangefinder mod. All three come with new features: Advanced GPS Features: On-map GPS display that changes into an interactive control on mouse-over. More detailed 5-digit easting and northing coordinate system that allows precision down to 1 x 1 m grids on the map. New display that follows your map mouse cursor with larger, more readable text and precise easting and northing coordinates. "Find" function that allows you to enter easting and northing coordinates on which to automatically center your map. Measurment of distance between your position and your cursor. Bearing of your cursor with respect to your position in either degrees or angular mils. Ability to draw a straight line to measure distance and bearing from one point to another. Ability to link with Advanced Laser Designator or Rangefinder to calculate observed position. Advanced Laser Designator and Rangefinder Features: There are four total new items, both the laser designator and rangefinder come in two versions: first focal plane reticle and second focal plane reticle. First focal plane reticles have accurate mil-hashes labeled with numbers. This makes range estimation possible using mil subtensions if use of the laser rangefinder is not possible or not desirable. This also greatly facilitates communication between sniper and spotter. Azimuth display can be changed between degrees and angular mils for more precise long-range direction. Items can connect to Advanced GPS. Coordinates of observed position displayed when connected to Advanced GPS and range to observed position is known. Ability to mark map with observed position if player posesses Advanced GPS. Laser designator thermal imaging is now actually White-Hot and Black-Hot; no more green Advanced Laser Designator and Rangefinder Realism: Rangefinding and target designation lasers are separate. Rangefinding laser is modeled after 1550 nm IR laser found on common modern-day military hand-held rangefinders. Rangefinding laser is not constantly on. The user can control its emission to send a single pulse or a pulse every second. This prolongs battery life and maintains stealth (IR lasers can be seen by night vision). Accuracy of range measurement is +/- 1 m up to 2500 m but decreases beyond that range. Accuracy of range measurement is decreased by rain and fog If rain or fog is dense enough, rangefinding measurements may not be possible. I also threw in a new LRPS clone with an illuminated reticle based on the Schmidt & Bender P4L Fein that has an integrated compass that can also be toggled between degrees and angular mils (again, helping with accurate communications between sniper and spotter). Videos Version: 0.1 Download Location: Dropbox @Zehn_Root.zip or TinyUpload @Zehn_Root.zip -- Extract this into a folder called @Zehn_root in your Arma 3 directory. It includes addons\zehn_root.pbo and addons\zehn_root.pbo.Zehn.bisign. Also included in the .zip file is a mission file to use in testing the items called Zehn_Mod.stratis. After you unzip, drag this folder into your single player missions folder if you want to play around with the items. Class Names: Future Plans: Known Issues: A Call for Help? References: Credits and Thanks: I welcome your feedback, comments, questions, concerns, and criticism. Have fun with it! -Zehn
  15. After reading the discussion in the dev branch about minimizing use of the HUD and recalling how Arma 2 ACE let you feel how heavy a magazine was, I asked myself the question: Why does ArmA 3 not have windowed magazines? These are nothing futuristic. They are simply magazines with a clear plastic window on the side that shows how many rounds are left in it. See here: PMAG® 30 AR/M4 GEN M2 MOE® Window, 5.56x45 Magazine. And I thought that hiddenselections[] combined with setObjectTexture would be a great way to script the magazine texture to change each time a round is fired to make it look like there are less rounds in the mag. But alas, I couldn't find any stock magazines with hiddenselections[] in their configs. So having windowed mags would mean creating a new mod. After working so much on my , Advanced Laser Designator/Rangefinder, and Advanced LRPS mod (coming soon), I have a pretty good handle on config files and scripting. But I have essentially no experience with modeling.Are there any others out there who would be interested in working with me to make windowed magazine models that could be automated to display accurate round counts?
×