Page 1 of 15 1234511 ... LastLast
Results 1 to 10 of 145

  Click here to go to the first Developer post in this thread.  

Thread: Urban Patrol Script

  1. #1

    Urban Patrol Script

    The "Urban Patrol Script" has been ported to A3, and is available on my site: http://kronzky.info/ups

    Most of you will probably be familiar with it, but for the newcomers, here's what it does:

    It allows you to set up a quick mission in a couple of minutes, without having to worry about waypoints, scripts, or AI behaviour.

    All you need to do is place a marker over the area to be patrolled, put some OPFORs in the area, and have them call the patrol script. That's it...

    The script will take care of generating random movements, intelligent responses to enemy encounters, and notices when everybody's dead.

    It's a very easy and fun way to familiarize yourself with a new map, without having to spend hours making a mission that will only be predictable after a couple of runs.

    With this script every run will be totally random. And since you can set it up without even knowing the map too well, you will have a fairly realistic simulation of real-life scenarios, with unfamiliar environment and unpredictable enemy behavior.

    Yes, you won't be able to make a "deep", multi-subjective, and inter-dependent "save-the-world" mission with this, but for simulating normal day-to-day patrolling missions, and the unpredictability associated with it, it does the job quite nicely.

    Here's a rundown of the main features:
    • Setup Options
      • Patrol any "marker-designated" area with any unit or group, whether it's Infantry, Armored, Cars, Choppers, or even planes, using any side (east, west, resistance, civilians).
      • Several independent marker areas (for different units) can be used on the same map.
      • 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.

    • AI Behavior
      • 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 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.
      • When independent AI groups meet each other they will share their knowledge about any enemies they might have spotted.
      • By default units patrol in safe mode at limited speed, but they will switch to combat & full for a limited time when they encounter enemies.

    • "Intel" Options
      • An automatic trigger is generated for each area to announce when that section has been cleared of enemies. (image)
      • The units can be tracked via a dynamic marker on the map.


    Here's what the paths look like, after a car and an infantry unit have been patrolling a city for about 15 minutes:

  2. #2
    CWR² Developer Bushlurker's Avatar
    Join Date
    Aug 27 2004
    Location
    Under a bush, somewhere in Scotland...
    Posts
    2,059
    Many thanks Kronzky!

    THE classic patrol script, back for a new generation


    B

  3. #3
    Thanks a lot. I love this script !

  4. #4
    First Lieutenant Manzilla's Avatar
    Join Date
    May 30 2007
    Location
    In the lab cooking up some serious s#%t!
    Posts
    5,142
    Kronsky, you are my hero. Thank you
    (God damn bananas..... again)

    Join the most rootin', tootin'est crew on these here forums! That's right folks we're darn tootin'.

    Mike Tyson's ode to Manzilla's SP playing style:
    My style is impetuous. My defense is impregnable and I'm just ferocious.... I want your heart, I want to eat his children! Praise be to Allah!

  5. #5
    Awesome! Thanks Kronsky!
    =ACU=Tech
    =Advanced*Combat*Unit=
    TECH Systemes
    Config 1 Config 2

  6. #6
    Nice Job Kronsky!
    Question, did you fix the part of the script where the AI squads would gravitate and end up around the center of the marker?
    WarMod Series - A Massive Addon & Mod Customizable Compilation mod for Arma1, Arma2,CO & soon Arma3
    Mission Repository - Hosting Missions & Files for Iron Front: Liberation 1944
    WW2Epic - A Compilation Archive of Photos, Music, Videos, & References of WW2

  7. #7
    Quote Originally Posted by Bushlurker View Post
    Many thanks Kronzky!

    THE classic patrol script, back for a new generation


    B
    Yeah, i sense the same ..

  8. #8
    This is such a great script, Kronzky! Thanks for updating it.

    The only problem I've run into is when I use the "track" parameter. I get an error at the start of the mission that says: "No entry 'bin\config.bin\cfgmarkers.DOT'". I'm not sure if I'm doing something wrong or if it's an UPSMON/Arma 3 issue.

  9. #9
    a classic now in arma3! thanks

  10. #10
    I have put UPS.sqf in My Documents\ArmA 3 Alpha Other Profiles\[profile name]\missions

    But when I have edited the map in editor and click preview, it says the script cannot be found. Also I can't see the demo mission even though I have put mission.sqm in that folder.

    This is my first time using this editor. Sorry if this is a noob question. Thanks.

Page 1 of 15 1234511 ... LastLast

Similar Threads

  1. Urban Patrol Script something wrong or not!
    By AVIBIRD 1 in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 4
    Last Post: May 4 2011, 04:33
  2. Urban Patrol Script
    By Helepolis989 in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 7
    Last Post: Mar 13 2010, 15:17
  3. Problem with the Urban Patrol Script
    By HighWire in forum OFP : MISSION EDITING & SCRIPTING
    Replies: 2
    Last Post: Dec 25 2008, 21:10
  4. urban patrol script problem
    By Novusordo in forum ARMA - MISSION EDITING & SCRIPTING
    Replies: 8
    Last Post: Mar 20 2007, 00:01
  5. Urban Patrol Script
    By gamble88 in forum OFP : MISSION EDITING & SCRIPTING
    Replies: 7
    Last Post: Feb 26 2007, 21:36

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •