27 Avril 2024 à 19:05:28

Nouvelles:

Teamspeak 3 OFCRA
IP : ts.ofcra.org
Mot de passe : mineisbiggerthanyours
Discord: https://discord.gg/bWtGS7N


/!\ L'OFCRA RECRUTE /!\


Urban Patrol Script

Démarré par Prax, 07 Mars 2013 à 07:12:46

« précédent - suivant »

0 Membres et 1 Invité sur ce sujet

Prax

By Kronzky
Téléchargement: [ALPHA] Urban Patrol Script

Description:
Allows easy creation of randomly patrolling units, with improved AI behaviour.

Installation:
Copy the file ups.sqf into your respective mission folder. The mission folder is either at:

Citer\My Documents\ArmA 3 Alpha\missions
or
Citer\My Documents\ArmA 3 Alpha Other Profiles\[profile name]\missions
To use the demo mission(s), copy them into the mission folder, and open one in the editor.

Usage:
Setting up a scenario with this script requires only three basic steps:

    Position the player on the map.
    Create a rectangular marker over the area that should be patrolled (e.g. a city). Give this marker a name (e.g. "Alpha")
    Create as many units (or groups) as you find appropriate, and put the following call into the init field of each group leader:

   
Citernul=[this,"Alpha"] execVM "ups.sqf"
Play the mission!

Features:
Some of the features and advanced customization options that are available:

Setup Options:
- Patrol any "marker-designated" area with any unit or group, whether it's Infantry, Armored, Cars, or Choppers, using any side (east, west, resistance, civilians).
- Several independend marker areas (for different units) can be used on the same map. These areas can overlap.
- The start position of the units can be a random position anywhere in the active area - in that case some units may even end up on roofs.
- You can create a random number of "clones" of a unit/group you placed in the active area.
- Patrolling units can be stopped or started at any time, and patrolling areas can be moved during the game.

AI Behaviour:
- The AI will avoid "dangerous" areas, and react intelligently to attacks.
- If it sees a team-member being shot, or spots an enemy without themselves being detected, it will not continue on its regular path, but instead use a flanking approach to get close to the  shooter. The accuracy of the approach will depend on the "knowledge" the AI has about the shooter (i.e. whether the shooter was actually seen or only heard).(image)
- If AI units get stuck (mostly due to bad pathfinding) they will try to free themselves after a while. - Units will make occasional stops of random lengths during their patrols.
- Independent AI groups will share their knowledge about any enemies that have been spotted.
- By default units patrol in "safe" mode at "limited" speed.

Intel Options:
- A trigger can be generated for each patrolled area to announce when that area is cleared of enemies.
- The units can be tracked via a dynamic marker on the map. (image)
- The marker that designates the active area can be hidden or displayed.