Jump to content

Binocular Set Range Distance


Brody

Recommended Posts

  On 2/26/2017 at 2:35 PM, juandayz said:

@BZerK0r youre brackets are bad.   Use the code below

  Reveal hidden contents

 

Expand  

Thanks again @juandayz. I figured it was my brackets, but I also believe I tried every configuration to try to get it to work (including this one). I have pasted your code into my extra_rc but still no menu when I right click. 

The following is in my \custom\setview\setview.sqf file... I believe I have pasted accurately according to your suggestion, but I'm still getting no menu when rt click on rangefinder:

  Reveal hidden contents

 

Thanks again man!!

Link to comment
Share on other sites

  On 2/26/2017 at 6:20 PM, BZerK0r said:

Thanks again @juandayz. I figured it was my brackets, but I also believe I tried every configuration to try to get it to work (including this one). I have pasted your code into my extra_rc but still no menu when I right click. 

The following is in my \custom\setview\setview.sqf file... I believe I have pasted accurately according to your suggestion, but I'm still getting no menu when rt click on rangefinder:

  Reveal hidden contents

 

Thanks again man!!

Expand  

mm see the @Shak way .. i think its better and clean

Link to comment
Share on other sites

This thread...lol

 

All of this information is available on both this forum and opendayz, google is your m8 m8.

DZE Clickactions

  Reveal hidden contents

ExtraRC

  Reveal hidden contents

 

Link to comment
Share on other sites

  • 1 month later...

This thread confuse me well ....... I try to get a viewdistance changer working. My thought was the following:

I have deploy anything installed. In the folder overrides/click_actions is a file called config.sqf.

In the config.sqf are the following rows:

DZE_CLICK_ACTIONS = [
    ["ItemGPS","Scan Nearby","if(isNil 'DZE_CLICK_ACTIONS_GPS_RANGE') then {DZE_CLICK_ACTIONS_GPS_RANGE = 1500;};DZE_CLICK_ACTIONS_ZOMBIE_COUNT = count ((position player) nearEntities ['zZombie_Base',DZE_CLICK_ACTIONS_GPS_RANGE]); DZE_CLICK_ACTIONS_MAN_COUNT = count ((position player) nearEntities ['CAManBase',DZE_CLICK_ACTIONS_GPS_RANGE]);cutText[format['Within %1 Meters: %2 AI/players, %3 zombies, %4 vehicles',DZE_CLICK_ACTIONS_GPS_RANGE,DZE_CLICK_ACTIONS_MAN_COUNT - DZE_CLICK_ACTIONS_ZOMBIE_COUNT,count ((position player) nearEntities ['zZombie_Base',DZE_CLICK_ACTIONS_GPS_RANGE]),count ((position player) nearEntities ['allVehicles',DZE_CLICK_ACTIONS_GPS_RANGE]) - DZE_CLICK_ACTIONS_MAN_COUNT],'PLAIN DOWN'];","true"],
    ["ItemGPS","Range Up"   ,"if(isNil 'DZE_CLICK_ACTIONS_GPS_RANGE') then {DZE_CLICK_ACTIONS_GPS_RANGE = 1500;};DZE_CLICK_ACTIONS_GPS_RANGE = (DZE_CLICK_ACTIONS_GPS_RANGE + 100) min 2500; cutText[format['GPS RANGE: %1',DZE_CLICK_ACTIONS_GPS_RANGE],'PLAIN DOWN'];","true"],
    ["ItemGPS","Range Down" ,"if(isNil 'DZE_CLICK_ACTIONS_GPS_RANGE') then {DZE_CLICK_ACTIONS_GPS_RANGE = 1500;};DZE_CLICK_ACTIONS_GPS_RANGE = (DZE_CLICK_ACTIONS_GPS_RANGE - 100) max 1000;  cutText[format['GPS RANGE: %1',DZE_CLICK_ACTIONS_GPS_RANGE],'PLAIN DOWN'];","true"],
    ["ItemGPS","Toggle Map Marker","execVM 'overwrites\click_actions\examples\marker.sqf';","true"],
    ["ItemMap","Toggle Map Marker","execVM 'overwrites\click_actions\examples\marker.sqf';","true"]
];

My idea was to insert a row like ["ItemBinocular","Set View Distance","execVM 'overwrites\click_actions\examples\setview.sqf';","true"]

Now I need a new file called setview.sqf ............ but I have no idea what should in there.

As I wrote ....... it was just a idea from a noob ........

 

Link to comment
Share on other sites

Did you not see the post above yours?

 

  Reveal hidden contents

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Discord

×
×
  • Create New...