Donnovan Posted May 13, 2014 Report Share Posted May 13, 2014 Chocolat Tools is a Self Action Option that you can turn on/off any moment. Chocolat Tools Off: Game plays as normal. Chocolat Tools On: 1) Land vehicles *1000 m arround player have a chance of *50% to be show on map: - Turn on/off Chocolat Tools don't change the land vehicles that are show and not show. - New land vehicles have also a *50% chance to be show on map. - If the player enters a land vehicle that is not show on map, the land vehicle will be show on map. - Diferent players can see diferent land vehicles. Extras: 2) Player icon on map: - Player position and direction is show on map. - If player enters in a land vehicles, the player icon turns in a blue land vehicle icon. 3) Player step marks: - With chocolat on, player steps are marked on map on a *250 m evolution. - Steps are marked with a arrow pointing in the direction of travel. - A message show on screen the total travel distance each *5 km. - Running on the same place does not generate steps on map. * configurable. INSTALLATION! Chocolat consists in only two files: File 1) code that goes on fn_selfActions.sqf The Self Action code: place this code on the bottom of your custom fn_selfActions.sqf file. //CHOCOLAT TOOLS SELF ACTION VARIABLES if (isNil "s_don_nearveh_a" || isNil "s_don_nearveh_b" || isNil "s_don_nearveh_onoff") then { s_don_nearveh_a = -1; s_don_nearveh_b = -1; s_don_nearveh_onoff = 0; }; //CHOCOLAT TOOLS ON if (s_don_nearveh_a < 0 && s_don_nearveh_onoff == 0) then { s_don_nearveh_a = player addaction[("<t color=""#0044aa"">" + ("Turn On Chocolat Tools [ON]") +"</t>"),"custom\nearveh.sqf","",5,false,true,"", ""]; }; //CHOCOLAT TOOLS OFF if (s_don_nearveh_b < 0 && s_don_nearveh_onoff == 1) then { s_don_nearveh_b = player addaction[("<t color=""#0044aa"">" + ("Turn Off Chocolat Tools [OFF]") +"</t>"),"custom\nearveh.sqf","",5,false,true,"", ""]; }; File 2) nearveh.sqf The Chocolat Script code (nearveh.sqf): put the file, on the link bellow, in YourMissionFolder\custom\nearveh.sqf. Create \custom\ if necessary. Download nearveh.sqf [release 2a]: http://s000.tinyupload.com/index.php?file_id=45508209614622178641 End - Any problem, opnion, idea, fell fre to ask or comment. The code is comented. Old Stuff: nearveh.sqf old files - you don't need this anymore: [release 1] - http://s000.tinyupload.com/index.php?file_id=77760897432237511020 [release 2] - http://s000.tinyupload.com/index.php?file_id=30863918738811412986 Sandbird 1 Link to comment Share on other sites More sharing options...
Guest Posted May 13, 2014 Report Share Posted May 13, 2014 and where is the sense in that? Link to comment Share on other sites More sharing options...
Donnovan Posted May 13, 2014 Author Report Share Posted May 13, 2014 The main goal is to show vehicles in map, but not show then all. So it will show only a x percentage of it, in a r radius from player. This percentage and radius can be set by the server admin. Other simple features, that make me call it Tools (along with others i could inplement later, or players can ask for), are: - See player on map. - Player Steps: You can see your evolution along the map, like the "line over map" in movies. If you turn off/on the Tool, the steps are reseted. By the way, i'm missing the real sense of it until i get servers using it. As a matter of fact, i can always help others on their scripts other than doing my ones. Link to comment Share on other sites More sharing options...
Halvhjearne Posted May 14, 2014 Report Share Posted May 14, 2014 nice work (if you wrote this) but i feel like i saw this somewhere before, with diffrent var names ... the problem with this is you have to allow local markers for all players ... not the best idea tbh and most likely wont work with some antihacks Link to comment Share on other sites More sharing options...
Donnovan Posted May 14, 2014 Author Report Share Posted May 14, 2014 You can make further analisys and transform your feel in something else. Post any find here. Really? What antihacks have problem with local marks? Link to comment Share on other sites More sharing options...
Halvhjearne Posted May 14, 2014 Report Share Posted May 14, 2014 Really? What antihacks have problem with local marks? really? ... lol ... all if you allow local markers you are basicly allowing esp for players Link to comment Share on other sites More sharing options...
Donnovan Posted May 15, 2014 Author Report Share Posted May 15, 2014 Can you please explain it better? Link to comment Share on other sites More sharing options...
TheVampire Posted May 16, 2014 Report Share Posted May 16, 2014 Can you please explain it better? Local markers of course mean that the local player can view the local markers set on them. Hackers like to keep things local as setting an ESP that everyone on the server can see makes it obvious that there is a player hacking. For this reason, most anti-hacks attempt to prevent local markers. Showing a percentage of new vehicles marked on the map to everyone might be a better idea, if some antihacks do interfere. Link to comment Share on other sites More sharing options...
Donnovan Posted May 17, 2014 Author Report Share Posted May 17, 2014 Thankyou for the help. Do they hackers modify the local copy of the mission file and avoid the server to know that? Link to comment Share on other sites More sharing options...
Donnovan Posted May 17, 2014 Author Report Share Posted May 17, 2014 S.T.E.P.S on the oven. Link to comment Share on other sites More sharing options...
Donnovan Posted November 1, 2014 Author Report Share Posted November 1, 2014 Thankyou for the help on Local Marks.Since i'm opening a server with a more hard core feel, and with less vehicle, i will rework this script.But use it's feature will have a cost. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now