Home   Help Search Login Register  

Author Topic: Laser Rangefinder v07  (Read 3283 times)

0 Members and 1 Guest are viewing this topic.

Offline tcp

  • Members
  • *
    • Violator Gaming
Laser Rangefinder v07
« on: 09 Oct 2009, 05:44:06 »
TCP_RF Client Addon v07 20091211
Requires: CBA
Examples from NWD_Rangefinder by NonWonderDog, Digital Compass by ffs, Mando Missile by Mandoble, and gdtmod_binocular by Heinbloed

Laser Rangefinder is a remake of NWD_Rangefinder.
It works with or without NWD optics model (31st MEU reticle pack).

Features:
Range, Azimuth, and Elevation output
Indicators for Battery, Laser active/transmitting, Overheat, and Mutiple Laser Targets detected
Battery life and overheat conditions exist and are configurable

Instructions:
Check userconfig\TCP_RF\TCP_RF.hpp for preferences.
XMIT (Laser active) will indicate when the laser is on. MLT (Multiple Laser Targets) will indicate when any other lasers besides your own are detected.
BAT (Battery) will start green and become red at 2/3 life. It will start to fade as battery level decreases. It will start flashing when below 1/4 life.
Battery is "loaded" into display so that it doesn't take up space. You can carry spares if needed. You can force a battery change at any time with Ctrl+Alt+Shift R (by default).
HOT (Overheat) will light up when it reaches the preset overheat temperature. It will become brighter as it increases to critical (maxm) temperature.
It start flashing when its very near critical temperature. There is a chance of burnout when you go above critical temperature.
Use Alt-R (by default) to cycle between different Mil measurements as well as degrees.
Many thanks to the original addon makers as this is simply a recoding of their work, most of it borrowed.

For Mission Makers:
To enforce your own battery and overheat conditions, copy TCP_enfRF.sqf to your mission folder.
Put this at the end of init.sqf:
[] spawn {execVM "TCPenfRF.sqf";};

v07 Changelog
- Fixed incompatibility due to set instead of add display event handler

v06 Changelog
- Cycle between Mil measurements
- Ctrl+Alt+Shift+R forces battery changes, optionally w/o designator active
- More responsive, code rewritten
- State changes fixed, shuts off when in third person, or moving
- Display turns on with laser, and Laser turns off with display (enforces battery and overheat conditions)

v05 Changelog
- Mapped to customizable key
- Overheat and battery levels

v04 Changelog
- Fixed interface scaling regardless of resolution / interface size
- Added Azimut, Elevation, and indicator lights
- Action only visible when using Designator

v03 Changelog
- Converted to addon
- Copied NWD textures/dialogs
- Created player action (always visible)

v02 Changelog
- using positionCameratoWorld as recommended by Mandoble
- smoother, but still need to use Shift + Move (Walk Forward) if it shuts off.

v01 Changelog:
- borrowed animations from gdtmod_binocular by Heinbloed
- borrowed laser finding from mando missile by Mandoble
- animation detection not reliable but works

Requires:
CBA

Download:
http://www.mediafire.com/file/ewnzmzqdlny/@TCP_RFv07.7z

Screenshot:
« Last Edit: 11 Dec 2009, 21:17:54 by tcp »

Offline Manzilla

  • Members
  • *
Re: alpha - Laser Rangefinder v02
« Reply #1 on: 14 Oct 2009, 17:17:43 »
Sorry for being a little dense here but how do I use this?

Offline tcp

  • Members
  • *
    • Violator Gaming
Re: alpha - Laser Rangefinder v02
« Reply #2 on: 14 Oct 2009, 21:25:01 »
It's not useable as as addon yet. You have to add it into a mission. Copy the two scripts alongside your mission.sqm.
Call it from either init.sqf or the init line of the playable units you want to use it on.
Nul = execVM "tcp_lazchk.sqf";

I will come out with a simple addon shortly. I am also trying to adapt NWD_Rangefinder so that it will work alongside 31st MEU's adaptation of NWD_Scopes.

Offline hoz

  • OFPEC Site
  • Administrator
  • *****
Re: alpha - Laser Rangefinder v02
« Reply #3 on: 14 Oct 2009, 21:41:55 »
tcp, can you put your scripts together in an example mission with a proper readme so we can test it out?
Xbox Rocks

Offline tcp

  • Members
  • *
    • Violator Gaming
Re: Laser Rangefinder v03 beta
« Reply #4 on: 18 Oct 2009, 08:19:19 »
Now in addon form, still need permission from NonWonderDog for use of his textures and dialogs.

Offline kju

  • Members
  • *
    • PvPScene - The ArmA II multiplayer community
Re: Laser Rangefinder v03 beta
« Reply #5 on: 19 Oct 2009, 15:06:11 »
Thanks tcp. Testing later tonight.  :good:

NWD is hard to reach, if at all these days.
Back in the day he gave ACE permission to mod his rangefinder.

Offline tcp

  • Members
  • *
    • Violator Gaming
Re: Laser Rangefinder v03 beta
« Reply #6 on: 19 Oct 2009, 18:21:14 »
Thanks kju. He must have let 31st MEU use his work too, but I thought I'd send him a PM on the BI forums anyways. If you have any tips about the size/location of the digits, please let me know. They look OK by themselves, but they don't line up with the GTLD optics model anymore. All I added was SafeZoneY to the original measurements, but they look small/scrunched up a bit on the X axis at least on my laptop, which is the only thing I can test on right now.

Offline tcp

  • Members
  • *
    • Violator Gaming
Re: Laser Rangefinder v04
« Reply #7 on: 07 Nov 2009, 02:56:17 »
v05 Changelog
- Mapped to customizable key
- Overheat and battery levels
« Last Edit: 09 Nov 2009, 22:58:31 by tcp »

Offline tcp

  • Members
  • *
    • Violator Gaming
Re: Laser Rangefinder v06
« Reply #8 on: 18 Nov 2009, 01:13:26 »
v06 Changelog
- Cycle between Mil measurements
- Ctrl+Alt+Shift+R forces battery changes, optionally w/o designator active
- More responsive, code rewritten
- State changes fixed, shuts off when in third person, or moving
- Display turns on with laser, and Laser turns off with display (enforces battery and overheat conditions)