Jump to content
GEORGE FLOROS GR

GF Units Map Markers and Symbols Script

Recommended Posts

gf-units-map-markers-and-symbols-script-gf-units-map-markers-and-symbols-script-gf-units-map-markers-and-symbols-script-

gf-units-map-markers-and-symbols-script-

GF Units Map Markers and Symbols Script

by

 

GEORGE FLOROS [GR]

 

 

 

Description:

GF Units Map Markers and Symbols Script , simple Map Markers for AI and Players.
You are free to do anything but i would like to give me Credits for this!
Simple and easy to use and adapt .
Have Fun !

 


Installation / Usage:

For usage instructions and information of how to use the GF Units Map Markers and Symbols Script please refer to the included documentation and/or example mission.

Place in your mission the files . There is everything included , in the initServer.sqf , to copy paste in your mission .

https://community.bistudio.com/wiki/SQF_syntax
Don't try to open this with the simple notepad.

For everything that is with comment // in front or between /*
means that it is disabled , so there is no need to delete the extra lines.

You can open this ex:
with notepad++
https://notepad-plus-plus.org/

and also use the extra pluggins
(this way will be better , it will give also some certain colours to be able to detect ex. problems )
http://www.armaholic.com/page.php?id=8680

or use any other program for editing .

For the Compilation List of my GF Scripts , you can search in:

https://forums.bohemia.net/forums/topic/215850-compilation-list-of-my-gf-scripts/

 


Notes:

Simple Map Markers and Symbols for AI and Players for SP - MP and debug purpose.
It is also included a mod version , posible to unpack and edit.
The mod has enabled only the playerSide markers.
It is possible to filter the display .
You can add in the init of a unit to exclude :
this setVariable ["Var_GF_Units_Map_Markers", true];
this setVariable ["Var_GF_Units_Map_Symbols", true];
More information inside the .sqf
Added support for :
ACE3 mod , FAR , BTC and AIS revive.

 


Credits and Thanks to :

Thanks to All script contributors
Thanks to everyone who tries to do the best for this game!
Thanks to BIS for such a great platform .
Thanks to BIS Community and BIS Community Forums .
Thanks to Armaholic Community and Forums .

 

 

Changelog:

v3.0
Fixed the group icon error, for the size of the unit

 

v2.0
Several Fixes , including type of markers , symbols and errors.
Added markers depending on side.

 

v1.0


Forum topic:

- Armaholic forums http://www.armaholic.com/forums.php?m=posts&q=40252

 

 

 

Armaholic

GF Units Map Markers and Symbols Script

 

  • Like 4
  • Thanks 4

Share this post


Link to post
Share on other sites
On 11/10/2018 at 6:07 PM, zagor64bz said:

Do you even sleep brotha?

windowslivewritervideogameaddictiontrueo

 

Thanks zagor !

 

Scripting can be very addictive !

  • Haha 2

Share this post


Link to post
Share on other sites
3 hours ago, foxhound said:

An Armaholic mirror is now available:

 

 

Thank you very much Foxhound for all the support !

Share this post


Link to post
Share on other sites

Another beautiful release! I can't wait to get my hands on it. Thanks for the hard work GF.

  • Thanks 1

Share this post


Link to post
Share on other sites
4 hours ago, genesis92x said:

Thanks

 

48 minutes ago, redarmy said:

thank GF.

 

Thank you very much guys !

I tried to make this as much as configurable.

One problem that i found was about using the correct symbols , for ex: about the uav.

I could use though if istypeof (#classname) but i haven't for now.

 

I was trying to get this to work , but maybe it needs the module in order to use it? :

https://community.bistudio.com/wiki/getGroupIcon

https://community.bistudio.com/wiki/Talk:getGroupIcon

I haven't test this with the module.

 

Thanks again !

Share this post


Link to post
Share on other sites
Just now, GEORGE FLOROS GR said:

Here is a pic testing  on finding a position , with the GF Units Map Markers and Symbols Script configured for debug purpose.

 

9F26fdlhRfiH21kMLJAIAg.png

Share this post


Link to post
Share on other sites

Update
Changelog:


v2.0
Several Fixes , including type of markers , symbols and errors.
Added markers depending on side.

  • Like 1

Share this post


Link to post
Share on other sites

Hellow. Another cool stuff, thanks. How can I filter the side ? Ive tried to disable sides by // and leave only west but it dont work.

  • Like 1

Share this post


Link to post
Share on other sites
On 10/11/2018 at 3:32 PM, baton1990 said:

How can I filter the side ?

 

Hello baton !

 

/*
		//________________	You can filter the side here	________________	
		&& {((side group _x) == west || 
			(side group _x) == east || 
			(side group _x) == independent || 
			(side group _x) == civilian || 
			(side group _x) == sideUnknown)}
		
		//	&& (side _x == playerSide)	// only for the Player side
		//	&& (isPlayer _x)			// only Players
		*/

In case that you want to get this work for the side of the player  , then you should enable the playerside

&& (side _x == playerSide)	// only for the Player side

so in case that you are playing as east , you will see only the east side units.

 

If you want to change this only for a certain side , you can use :

&& ((side group _x) == west)

else you can delete or change the lines  from the code as :
 

//________________    You can filter the side here    ________________    
        && {
			(side group _x) == independent ||	//	this means "or"
            (side group _x) == civilian)
			}

 

  • Like 1

Share this post


Link to post
Share on other sites

Update

 

Changelog:

 

v3.0
Fixed the group icon error, for the size of the unit

 

  • It was spamming an error about the size of the group and now i figured what the problem was.

 

Enjoy !

Share this post


Link to post
Share on other sites
On 10/15/2018 at 2:38 AM, GEORGE FLOROS GR said:

 

 

Thank you very much guys !

I tried to make this as much as configurable.

One problem that i found was about using the correct symbols , for ex: about the uav.

I could use though if istypeof (#classname) but i haven't for now.

 

I was trying to get this to work , but maybe it needs the module in order to use it? :

https://community.bistudio.com/wiki/getGroupIcon

https://community.bistudio.com/wiki/Talk:getGroupIcon

I haven't test this with the module.

 

Thanks again !

GF,

 

     You may want to try the unitIsUAV command. It is more reliable than isTypeOf for UAVs because some of the AR-2 variants are actually defined as helicopters. 

 

I'm looking forward to trying this with my group, thanks!

  • Thanks 1

Share this post


Link to post
Share on other sites
2 hours ago, fat_lurch said:

You may want to try the unitIsUAV command.

 

Thank you very much for the Tip !

I was seaching about it !

 

Thanks fat_lurch !  :thumbs-up:

  • Thanks 1

Share this post


Link to post
Share on other sites

Feelsbad for necro but I've downloaded the script and added it to one of my missions.

But even if I change the filter for side it still shows all sides on the map, is this overriden by admin perhaps or am I doing something wrong?
quta54z.png

 

Edit:
GG I just saw the */ comment sign and have now removed it.. And ofc it works now.

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

×