Загрузка...

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

Первая загрузка: 1 октября 2017
Последнее обновление: 6 октября 2017
Последнее скачивание: 4 декабря 2024

All Versions

 1.1 (current)

499 загрузки , 4,0 КБ
6 октября 2017

 1.0

58 загрузки , 4,0 КБ
1 октября 2017

35 комментариев