Jump to content
Sign in to follow this  
blakeace

Blake's PRADAR

Recommended Posts

Blake's PRADAR (Player Radar) V1.2.03

pradarlist.jpg

dct7IdSn2Vs

Video courtesy of Variable from CIA :)

More media in Spoiler:

Image show new list that appears when in a vehicle and space is held while no unit is the current cursor target:

pradarvehiclelist.jpg

pradar1.jpg

lOny6-ri6oU

Keer9ZcqlJc

Video isn't very clear, as I purposely wanted to make the display blend in and not really standout on purpose.

pradar3.th.jpgpradar2.th.jpg

pradar4.th.jpgpradar5.th.jpgpradar6.th.jpg

Image 1: Shows a group member and one other to my right, somebody close behind and other people further behind.

History:

Version 1.2.03

  • Changed: Near object information gathering moved to a second thread.
  • Changed: Reduced the number of dots and names displayed to reduce stutter. Total of 6 each.
  • Added: Number of peripheral dots displayed dynamically changes to only have a maximum combination of 8 controls displayed at once. Excluding lists. To help reduce stuttering issue introduced in game engine changes in patch 1.62.
  • Changed: Increased the range to 80m.
  • Changed: Collection area is now forward of the players view. Centre 30m unless the player is looking at the ground closer. This allows better filtering of desired focus.
  • Changed: Reduced the peripheral dot size to 50% to be less obtrusive.
  • Changed: Label size, position, range viewable, and colour/alpha value for easier viewing.

Version 1.2.02

  • Changed: Compiled the main loop to help reduce the pausing.
  • Changed: Minor timing tweeks
  • Changed: Unit gathering command back to nearestobjects as I don't think that was making an impact.
  • Changed: Made the list width larger.
  • Added: Menu to turn all the PRADAR extras off.
  • Removed: Action to allow dots to stay on constantly.
  • Fixed: Where Icon labels displayed when player isn't the group leader.
  • Changed: Now lists will dim as per the dot brightness settings.

Version 1.2

  • Added: Code to check if the name command is returning "Error: No unit"
  • Changed: Removed the large dot displayed of the players vehicle when the player was in that vehicle.
  • Added: A list that displays current players who are in the vehicle you are in if you hold space and don't have the cursor over any objects. It also lists their position in the vehicle.
  • Changed: Colour scheme for the lists. Personal lists e.g. Current vehicle occupants or current group loadout list are green with black text. Cursor lists which detail other vehicle occupants or a single units current loadout are displayed black with green text.
  • Changed: How closet units are found from nearestobjects to nearentities. This fixesthe issue where pausing occurs since the Arma 1.62 patch.
  • Added: Code to not display a label for one cycle of code if it is switching objects it is labelling.
  • Changed: Optimised the code more to help fix the Arma 1.62 patch issue.

Version 1.1.01

  • Added: Ability to switch between Side and friendly factions. So if you have a player who is civilian or independant you have the ability to have them show up on PRADAR.
  • Added: Ability to display the compass cardinal points. Action menu toggles them on and off. Visible only during depression of space.
  • Added: Popup list - If you hold your cursor over a unit or vehicle a pop list will display details of that unit.

  • Vehicle - Displays who is in which position in the vehicle, including the cargo area.

  • Man - The units primary and secondary weapons.

  • Added: Made the popup list text box size dynamic so it alters depending on how many lines of information are displayed.
  • Fixed: Issue where an empty vehicle if used by a person of you side would display Errr as its name.
  • Fixed: Issue where names were intermittent when players were upstairs in buildings.
  • Fixed: Ability to change groups which broke in the last update.
  • Changed: The checks for screen limits to cater for Multi monitor setups.
  • Fixed: Arma patch 1.62 issue where the labels and dots stopped updating properly by slowing the loop down slightly.

Version 1.0

  • Fixed a logic error where unless there were people that created a dot(outside of view), the names wouldn't appear until there was somebody.
  • Increased the view distance by 10m.
  • Turned the dots off unless force commanding held to be the default starting option.
  • Rewrote some code to increase the robust nature of PRADAR, where the limited number of layers with displays will always be a source of conflict between scripts and addons that use displays. Now each time you engage the force commanding button it reloads the pradar display.
  • Removed the reboot menu option, no longer required because of the above change.
  • Slightly optimised the code.
  • Removed the background of the brief names that appear under the leaders icon. Sacrificed clarity as I found the bar a little annoying.

Version 0.1.4.3a

Fixed problem where a report file error "Bad conversion: scalar" occurred if a player had a short name. (Thanks to Variables friend Mike for the find and solution!)

Version 0.1.4.2a

Fixed stray dot if only one friendly present at start of mission.

Version 0.1.4.1a

Changed Menu variable initialisation to span multiple missions.

Version 0.1.4a

Changed how I store the menu options so players only need to set once per mission. Values are retained through respawning. Thanks to Variable's friend Mike on the how to for that.

Changed the short names below the icons to be either permanent on, or shown while force commanding pressed. If the equipment list stays visible when changing the setting tap force commanding again to remove it.

Version 0.1.3a

Fixed Menu items not properly resetting after rebooting PRADAR.

Changed code to hopefully eliminate PRADAR not functioning after exiting a vehicle.

Remove group numbering which didn't work if custom names were used.

Moved Icon label position to below the icons.

Added the ability to alter the group names positions.

Added a quick abbreviated list of groups primary and secondary weapons or vehicle position.

Added menu item to toggle group labels and list on and off.

Added option to allow Labels while in a vehicle.

Added menu item to toggle labels on and off while in a vehicle. Menu not available in vehicle need to select prior to boarding.

Version 0.1.2a

Changed menus to allow dot visibility setting to remain whether dot are set to visible or only when names are displayed.

Created a list of the group names with their corresponding group number to match the icons the leaders have at the botton of the screen.

Created a menu item that toggles whether the group list is displayed when pressing force commanding.

Version 0.1.1a

Fixed problem where all vehicles were tracked at the sides instead of friendly manned vehicles.

Version 0.1a

Initial release.

Introduction:

Firstly just like my other addons, real life is limiting my time online, as such rather than continue to let these items gather dust on my harddrive, I thought I would release them and let the community both test the MP aspects, and hopefully enjoy their use. Hence the alpha status.

One of the things I found frustrating at times was my situational awareness, involving both my group members as well as my ability to interact with other groups effectively. The more visual clues that are available help reduce the critical communications channels to more important transmissions. Rather than the usual who's that or where are you etc. This was even more valuable to me when leading a group.

Knowing quickly where players are helps you to quickly issue orders more effectively. Espessially in time critical moments.

Using mods that highlighted names helped, but generally required you to focus your cursor over them. That is if you have one visible.

I like a minimal information display ideally, the more data presented constantly makes me feel more like a terminator visual interface than a basic grunt on the ground. Bright red names like neon signs really didn't help the immersion for me personally.

I also wanted a better sense of player distances to me of those units behind me. In the real world you would have many cues that somebody was close behind you. In arma generally it was only when you quickly

tried to duck back into a doorway as a tank came round the corner, and suddenly you find yourself moon walking on the spot.

Requirements:

PRADAR requires extended event handlers found in Community Base Addons.

http://forums.bistudio.com/showthread.php?t=103871

Installation:

*IMPORTANT*

If you are new to the Arma series, please ensure you know how to correctly add mods before proceeding.

*DO NOT* add these files into the folders that contain the default Arma files. They are in the addons folder which is located in the Arma games main subdirectory.

Install as you would any other addon. (Check the BIS forums if unsure!).

Try here for a good post by Günter Severloh on adding mods.

http://forums.bistudio.com/showpost.php?p=1908141&postcount=2

Usage:

PRADAR automatically activates if the addon is installed correctly.

To help reduce any conflict with mission designer introductions, the display will not commence until the player starts moving forward.

Description of information presented by PRADAR:

Primary role is to present an emulation of a persons senses outside of the players vision. Eg peripheral vision, sound, smell etc. Specific to the players side.

It will only display the eight closest friendly contacts, for each component names and dots.

All visuals fade with distance as things are harder to track with secondary senses, or are harder to id who is who at greater distances generally.

This information is presented as coloured dots around the edge of the screen.

Small dot = Man character.

Large dot = vehicle.

Green dot = Non group member, or group member that has not been viewed for a while.

Blue dot = Group member who you have resently viewed.

Red dot = Non group member, or group member that has not been viewed for a while that is very close.

Purple dot = Group member who you have resently viewed who is very close.

Force Commanding (FC) key:

If the menu item show group list is selected default is "showing".

By default the short names stay on. Selecting to hide them only shows them while holding force commanding.

While holding down then FC if you hold down lean left and right simultaneously will display a list of group members weapons or their vehicle position.

While holding all three of these keys down, using the zoom in, zoom out, look left and look right keys (default Num +,-,4 and 6) will change the size and relative left and right position of the group icon labels to allow better alignment for different users.

Menus:

To reduce cluttering the action menu, the PRADAR options will only be visible to the player while they hold down both the lean left and lean right keys simultaneously.

Three brightness levels.

High, Low and Off (While off is selected, dots will appear when the player holds the force commanding key).

Toggle group names.

Turns on and off the display of the group list when force commanding is pressed. When off they only appear if the forcecommanding(space) is being held.

View Group Details.

While holding down the force commanding key (space), if you hold down both the lean left and right keys,

pradar will display a list of your group showing each members current primary and secondary weapons.

Join Group.

If you hover your cursor over a person from another group and are close enough to them, you will be given the option to join that persons group.

Make Leader.

If you are the current leader of a group you have the option to give command to another person while holding your cursor over them and are close enough to them.

In single player if you wanted to view the group and leader options place this in the editor.

Blakes_PRADAR_Debug = 1;

Acknowledgements:

Thanks for all the help testing:

  • Vairable CIA
  • Variable's friend Mike
  • The Colonel ZSU
  • Victim ZSU

Thanks for hosting PRADAR:

  • Old Bear
  • Foxhound
  • SickBoy

Download:

news_download_a2_4.png

PRADAR

Blakes PRADAR (Player Radar) : http://www.armedassault.info/index.php?game=1&cat=addons&id=1830

Also available via Six Updater.

http://rapidshare.com/files/4242663964/Blakes_PRADAR_v1_2_03.rar

Edited by blakeace

Share this post


Link to post
Share on other sites

Hello Blake, thanks for this. I will try it out.

I hoped this addon will introduce something I really feel missing: name tags on the command panel.

When I lead coop missions with multiple players, using teamspeak, I can't know who of the players is on which slot! If I would only have the option to have the name of each player right above its number on my command panel it would be awesome.

Having the players names when looking at their charachters is a good thing, of course, but usually, when issuing orders, the leader faces the enemy, not his team.

I want to be able to take a quick look at my command bar and say "Hey Tony, since you have the AT launcher, flank right and take out that BMP, and you Overlord, since you are the medic stay back. Osku, you have the machine gun so cover the rest of us as we advance". Right now, unless I write down the name and roles of everybody on a piece of paper which is totally medieval, The above command issuing will be something like - "Who's got the AT? Who's got the MG?" and so on which is frustrating.

Do you think it's even possible to create such thing as an addon?

Thanks in advance,

Variable.

Edited by Variable
typo

Share this post


Link to post
Share on other sites

@Foxhound Thanks.

When I lead coop missions with multiple players, using teamspeak, I can't know who of the players is on which slot! If I would only have the option to have the name of each player right above its number on my command panel it would be awesome.

Tbh that is currently beyond my experience with arma to even comment. When I used to have the time to play, I loved leading, but I was old fashioned and used a pad that contained any important details.

I want to be able to take a quick look at my command bar and say "Hey Tony, since you have the AT launcher, flank right and take out that BMP, and you Overlord, since you are the medic stay back. Osku, you have the machine gun so cover the rest of us as we advance". Right now, unless I write down the name and roles of everybody on a piece of paper which is totally medieval, The above command issuing will be something like - "Who's got the AT? Who's got the MG?" and so on which is frustrating.

I have to admit I never used it while leading, especially with our group, the loadouts could change quickly depending on circumstances.

About the only thing I could even suggest is adding something like the example code below that at least creates a current list of group members and their group number? Just drop the code snippet into your player character init, in the editor ensuring you are in a group. Preview it, then press and hold the watch key. Not ideal, and in the wrong area, but could be a sort of workaround?

Nul1 = [] spawn
{
waituntil {alive player};
while {alive player} do
{
	waituntil {sleep 0.5; (inputaction "watch") == 1 or !alive player}; 
	_Str = "";
	_count1 = 0;
	if ( alive player) then
	{
		{




			_count1 = _count1 + 1;
			_Str = _Str + format ["%1",_Count1] + " " + name _x + "\n";

		} foreach units group player;


		hintsilent format ["%1", _str];
		waituntil {sleep 0.5; (inputaction "watch") == 0 or !alive player};
		hintsilent "";
	};
};

};

Edited by blakeace

Share this post


Link to post
Share on other sites
the loadouts could change quickly depending on circumstances.

That's right, but the AT, MG, etc. symbols update accordingly as well.

I have zero knowledge in scripting, but I will try to look at your suggestion.

I tried the addon. The name indication is absolutely great, it's not too dominant, thus not affecting too much on immersion and is really helpful when leading.

However, I'm afraid that the side halos are not so helpful, too dominant and affect deeply on the immersion, according to my opinion.

Basically, I want the name indications, but not the halos. If you could make the PRADAR menu include an option to remove them it will be just great.

Thank you for you efforts!

Share this post


Link to post
Share on other sites

Updated to Version 0.1.1a Fixed problem where all vehicles were tracked at the sides instead of friendly manned vehicles.

https://rapidshare.com/files/217739514/Blakes_PRADAR_v0_1_1a.rar

Updated first post with a small fix.

That's right, but the AT, MG, etc. symbols update accordingly as well.

Cheers I didn't know that re the icons, I wasn't aware being the paper and pen dinosaur I am :P

I have zero knowledge in scripting, but I will try to look at your suggestion.

After your comment, I thought having a quick list of your group wasn't a bad idea, code was as a sample to gather feedback to see if it was in any way worth while looking at adding that into this addon? Plus the example is within my knowledge base too.

I tried the addon. The name indication is absolutely great, it's not too dominant, thus not affecting too much on immersion and is really helpful when leading.

Thanks, was hard trying to find a balance between playability and immersion lowering.

However, I'm afraid that the side halos are not so helpful, too dominant and affect deeply on the immersion, according to my opinion.

Basically, I want the name indications, but not the halos. If you could make the PRADAR menu include an option to remove them it will be just great.

I'll see about an option to turn them off. Have you looked at the different menu options to alter the dots visibility? There is three High, Low and off. Though on off they still appear when the names are displayed at high level. If you comments are with the latter setting, maybe where I set it to show the last visual setting of low and high so when set to off and the names selected the dots display on low?

Thanks for the feedback too, much appreciated.

Cheers Blake

Share this post


Link to post
Share on other sites
I'll see about an option to turn them off. Have you looked at the different menu options to alter the dots visibility? There is three High, Low and off. Though on off they still appear when the names are displayed at high level. If you comments are with the latter setting, maybe where I set it to show the last visual setting of low and high so when set to off and the names selected the dots display on low?

Thanks for the feedback too, much appreciated.

Cheers Blake

You are welcome. About the menu items, I don't really follow... You are referring to the menu that opens when pressing both lean buttons, right? Yes I played with its settings, but none of the options caused the dots to disappear.

Share this post


Link to post
Share on other sites
You are welcome. About the menu items, I don't really follow... You are referring to the menu that opens when pressing both lean buttons, right? Yes I played with its settings, but none of the options caused the dots to disappear.

Yep the action menu items. In it's current state, if you select off, the dots will only appear when you use the space bar. Which minimises when they appear at least. But still is able to give you quick feedback to units around you while the space (force commanding) is pressed. Well that's what it is supposed to be doing on that setting anyway :)

Share this post


Link to post
Share on other sites
Yep the action menu items. In it's current state, if you select off, the dots will only appear when you use the space bar. Which minimises when they appear at least. But still is able to give you quick feedback to units around you while the space (force commanding) is pressed. Well that's what it is supposed to be doing on that setting anyway :)

I see. Well, I can definitely say that I prefer not having them at all even when spacebar is pressed (I'm a bit immersion fanatic as you can see hehe). So now after reading again your thought, I understand you suggest that when on "off", the dots will be in "low" intensity? If so, that would be much much better... :)

Share this post


Link to post
Share on other sites
I see. Well, I can definitely say that I prefer not having them at all even when spacebar is pressed (I'm a bit immersion fanatic as you can see hehe). So now after reading again your thought, I understand you suggest that when on "off", the dots will be in "low" intensity? If so, that would be much much better... :)

I don't see much of a problem setting this up, and the more versatile it is the better people can set to their own preference.

I had a play with the names idea.

grouplist1.jpg

Share this post


Link to post
Share on other sites
I don't see much of a problem setting this up, and the more versatile it is the better people can set to their own preference.

I agree.

I had a play with the names idea.

woooooooohoooo! man, you rock my world! :yay: I have been fantasizing about the names on the command bar for ages! When will it be usable?

Edited by Variable

Share this post


Link to post
Share on other sites
woooooooohoooo! man, you rock my world! :yay: I have been fantasizing about the names on the command bar for ages! When will it be usable?

Well I've pretty much finished the code, updated the menus for toggling this on and off. Also finished altering the menus so that you can select high and low dot brightness with an option for toggling the dots on and off. Though they will always appear with the force commanding button is held, but they retain the last brightness setting when visible.

As to when I just need to play with it a little to ensure I haven't missed a problem anywhere before I upload it. I also need to test that the group list names and numbers update correctly when units either leave or die. Hopefully in a few days.

Share this post


Link to post
Share on other sites

Thanks a lot Blake, this will have a hugh playability impact on me, and, dare I say, my team. I'm really looking forward to this!

Share this post


Link to post
Share on other sites

Update:

0.1.2a

Changed menus to allow dot visibility setting to remain whether dot are set to visible or only when names are displayed.

Created a list of the group names with their corresponding group number to match the icons the leaders have at the botton of the screen.

Created a menu item that toggles whether the group list is displayed when pressing force commanding.

Updated First Post.

Share this post


Link to post
Share on other sites

Can't wait to get home and try this. Name tags on the command bar was something I hoped for for 7 years, since I started playing OFP.

Thank you very much Blake, I will let you know my inputs.

Share this post


Link to post
Share on other sites

Blakeace, I have played several huors of coop missions with friends with the updated PRADAR and these are my findings regarding the names bar, along with screenshots (click to enlarge):

Design issues:

1. The names bar is just a bit too high. This cause the last text chat line to block it, when a battle is going on it will always be blocked, because of all the reporting that goes on, and this is a problem of course... See screenshots:

6236735535_75bef1726d_m.jpg

6236737439_298abf495a_m.jpg

2. The names are too much to the left, making the last name not appear right above the corresponding soldier symbol.

3. It will be better to make the names centred to the middle of each symbol. Right now they seem to be aligned to the left of the symbol, makes the eye disorient a bit when trying to allocate each name to each symbol.

4. If the background line could adapt its length to the legth of the names and not go all the way to the left it will be better...

Bugs:

1. Most of the times, sometimes from the beginning, and sometimes during the game, the numbers dissapear. See screenshot:

6236736437_166d06d69d_m.jpg

2. At one case, I think right after I got out from a car, the PRADAR disappeared completely, with no option to reboot it.

3. At one occasions the numbers were replaced with an "HO". See screenshot:

6236737127_f76d6f1957_m.jpg

I hope you can fix it all, it's a great implementation of a much needed feature! :)

Edited by Variable

Share this post


Link to post
Share on other sites

Cheers Variable, I appreciate the in depth feedback. I'll see what I can figure out.

Edit:

First findings, not sure re getting out of a vehicle, but made a couple of changes to see if that helps as I wasn't able to replicate at this stage.

Group numbers was my fault, the only reference I could find was extracting from default unit names, which doesn't work if units have a custom name. Which I use a lot and should have known! Haven't found another way to get these values at this stage.

Alignment, positon and the text boxs size, are a hard one as well. Problem is different people use different sized icons, and they are prob different between screen resolutions possibly. The list is just a single text. aligned with my personal icons positions. I haven't yet found a way of retrieving the position, number and type values from them which is really where I would like to gather the info from. So at this stage I can only really offer a player list.

Edited by blakeace

Share this post


Link to post
Share on other sites
Cheers Variable, I appreciate the in depth feedback. I'll see what I can figure out.

Edit:

First findings, not sure re getting out of a vehicle, but made a couple of changes to see if that helps as I wasn't able to replicate at this stage.

Group numbers was my fault, the only reference I could find was extracting from default unit names, which doesn't work if units have a custom name. Which I use a lot and should have known! Haven't found another way to get these values at this stage.

Alignment, positon and the text boxs size, are a hard one as well. Problem is different people use different sized icons, and they are prob different between screen resolutions possibly. The list is just a single text. aligned with my personal icons positions. I haven't yet found a way of retrieving the position, number and type values from them which is really where I would like to gather the info from. So at this stage I can only really offer a player list.

Yeah, my command bar is a bit tweaked by an addon, sorry about forgetting to mention that. I'm not certain whether it's changing the size and position of the command pannel though.

In any case, I think you should design the names bar for the vanilla bar and state in the readme that addons that change the HUD might cause inconsistencies. Personally, I will let go of any other addon just to use yours, and I think many others will as well :)

Edited by Variable

Share this post


Link to post
Share on other sites

Update:

Version 0.3a Uploaded First post updated with new download.

Fixed Menu items not properly resetting after rebooting PRADAR.

Changed code to hopefully eliminate PRADAR not functioning after exiting a vehicle.

Remove group numbering which didn't work if custom names were used.

Moved Icon label position to below the icons.

Added the ability to alter the group names positions.

Added a quick abbreviated list of groups primary and secondary weapons or vehicle positions.

Added menu item to toggle group labels and list on and off.

Added option to allow Labels while in a vehicle.

Added menu item to toggle labels on and off while in a vehicle. Menu not available in vehicle need to select prior to boarding.

@Foxhound - As always thanks for hosting.

@Variable - Thank you again for your great feedback.

pradar4.jpg

pradar5.th.jpgpradar6.th.jpg

Edited by blakeace

Share this post


Link to post
Share on other sites

Blakeace, great job!

Gave it a try during yesterday's CiA coop night and it was a great experience. The lower position is a great location for the name tags.

  • Entered and got out of many vehicles, didn't reproduce the disappearing PRADAR.

  • Although some inconsistencies that are hardly noticed, the alignment of the names is much improved.

  • How is the list on the right turned on? There isn't any option for that on the menu.

  • It was a good decision to let go of the numbers next to the names in the bottom bar, since we have the vanilla number on the icon itself.

P.S - Is there an option to permanently show the bottom names bar? It's so useful I think in some cases I would like to leave it on permanently...

Thank you very much for this great addon!

Edited by Variable

Share this post


Link to post
Share on other sites

Entered and got out of many vehicles, didn't reproduce the disappearing PRADAR

Awesome, not sure what was going on there but hopefully the changes worked.

Although some inconsistencies that are hardly noticed, the alignment of the names is much improved.

Unfortunately without being able to derive the icons positions, this was the best alternative I could think of. Depending on players names and what letters they contain can affect things, but at least there is an option for tweaking now.

How is the list on the right turned on? There isn't any option for that on the menu.

Hold down simultaneously lean left(Q), lean right(E), and force commanding(space).

[*]It was a good decision to let go of the numbers next to the names in the bottom bar, since we have the vanilla number on the icon itself.

True.

P.S - Is there an option to permanently show the bottom names bar? It's so useful I think in some cases I would like to leave it on permanently...

Not at the moment, but it wouldn't be hard to implement a menu option to toggle between on and while holding space.

Thank you very much for this great addon

You welcome, thank you for all your great feedback and patience with this addon. It is very much appreciated.

@Foxhound - Cheers for your patience with all the changes, and for hosting them.

Edited by blakeace

Share this post


Link to post
Share on other sites

You are welcome. I am thinking of making a video of showing its features it in combat to promote it for CiA coop nights leaders. I'll let you know once I have something done.

Share this post


Link to post
Share on other sites
I am thinking of making a video of showing its features it in combat to promote it for CiA coop nights leaders. I'll let you know once I have something done.

I would really like to see how you utilise it, thanks :)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×