Carregant...

NoGoArea4Police 1.1

556

With this mod player can define an police-free area.
Simply press F6, type in name, then begin marking points(requires at least 4 points) with F7.

This will create a polygon.
With polygon-point intersection-algorithm( https://stackoverflow.com/a/2922778/7839113)
the script tests whether player is in this specific area.

If true, wanted level will disappear immadiatly.
Perfect to "unlock" restricted areas !

If someone is suspicous or curious about the code, simply use a decompiler to see what happens!

Requirements:
-latest ScriptHookVDotNet (ScriptHookVDotNet2.dll)
-latest ScriptHookV
-at least .NET Framework 4.5.2

Keys:
- F6 : Begin marking points to define polygon
- F7: Add points( at least 4)( saves to gta5 root folder)
- F8: Define circles by radius( saving not supported yet)
- F9 - De -and activate the mod

Changelog:
- Bug fixes
- Toggle-Option
- New save-folder
- now able to define circles
- loads polygon file properly.

Next update_ :
- Blimp for polygons!
Algorithm can be found here: https://pastebin.com/6aWqcNZK
Show Full Description

Carregat per primera vegada: 01 de Octubre de 2017
Actualització més recent: 06 de Octubre de 2017
Últim descarregat: fa 6 dies

All Versions

 1.1 (current)

498 descàrregues , 4 KB
06 de Octubre de 2017

 1.0

58 descàrregues , 4 KB
01 de Octubre de 2017

35 Comentaris