载入中...

NoGoArea4Police 1.1

557

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

首次上传时间: 2017年10月01日
最后更新时间: 2017年10月06日
最后下载: 2024年12月04日

All Versions

 1.1 (current)

499次下载 , 4.0 KB
2017年10月06日

 1.0

58次下载 , 4.0 KB
2017年10月01日

35个评论