Comments (2)
Code from WOTP, 100% portable, if you make excessive rounds from the same position, you earn a wonderful QRF (remember in WOTP are very refined) and a nice reveal for the nearby units.
Reading the 300 mts makes me thing half of the community knows that thing, and makes me think about that number should be random (to some point) so you never feel safe of avoiding the terrible Defend Petros Mission.
_veh addEventHandler ["Fired", { _mortero = _this select 0; _datos = _mortero getVariable ["detection",[[0,0,0],0]]; _posicion = position _mortero; _chance = _datos select 1; if ((_posicion distance (_datos select 0)) < 300) then { _chance = _chance + 3; } else { _chance = 0; }; if (random 100 < _chance) then { {if ((side _x == malos) or (side _x == muyMalos)) then {_x reveal [_mortero,4]}} forEach allUnits; if (_mortero distance posHQ < 300) then { if (!("DEF_HQ" in misiones)) then { _lider = leader (gunner _mortero); if (!isPlayer _lider) then { [] remoteExec ["ataqueHQ",HCattack]; } else { if ([_lider] call isMember) then {[] remoteExec ["ataqueHQ",HCattack]}; }; }; } else { _bases = (aeropuertos - mrkSDK) select {(getMarkerPos _x distance _posDestino < 15000) and ((spawner getVariable _x != 0)) and (dateToNumber date > server getVariable _x)}; if (count _bases > 0) then { _base = [_bases,_posicion] call BIS_fnc_nearestPosition; _lado = if (_base in mrkNATO) then {malos} else {muyMalos}; [getPosASL _mortero,_lado,"Normal"] remoteExec ["patrolCA",HCattack]; }; }; }; _mortero setVariable ["detection",[_posicion,_chance]]; }];
from antistasi-1.x.
I would make it so that if you keep firing from the same postion they investigate
If I shoot a mortar from 5km away how would they know I was there? on the first few shots?
But if I keep firing its not hard to figure out a direction?
So maybe a unalerted patrol goes looking in the general area?
Also two words: Money Farm
from antistasi-1.x.
Related Issues (20)
- Link lost with DARTER
- sorry error double issu plz delete ! HOT 1
- how to refuel Helicopter / Vehicule etc... ? HOT 1
- Jeroen Arsenal lag HOT 4
- Jeroen Garage error
- SetupGears improve
- JNG error preview HOT 3
- Varible "vfs" overcoming
- Refactoring & improvements to template system HOT 4
- Garrison staticweapon usage HOT 2
- JNG Error compile save HOT 1
- Destroying all radio towers makes zones unconquerable HOT 2
- Using airfield to spawn garaged aircrafts (suggestion) HOT 4
- Arsenal limited by rank
- RHS not recognized on startup HOT 1
- VCOM AI 3 Support HOT 3
- Fuel Tank as emplacement inside HQ
- Vehicles Duplicating in Garage HOT 3
- Air bases planes and helis donβt respawn
- No entry 'bin\config.bin/CfgWeapons.'. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from antistasi-1.x.