Page 1 of 9 12345 ... LastLast
Results 1 to 10 of 86

Thread: Garrison on the fly script

  1. #1

    Garrison on the fly script

    Here is my Garrison script project. It allows you to task a group with garrisoning a building, where they will stay quite well underfire but will engage if not pushed on.

    you define the unit it is used on and the radius within which he will search for buildings. This building list is then chosen from randomly for garrisoning. adding a much needed random element to the placement of units in urban environments. I use it to make towns a little more lethal. having to check every window and door before clearing out a building adds a real edge to urban and cqb gameplay.
    I hope you enjoy it as much as i do

    https://rapidshare.com/files/2881858...son_script.rar

    Full readme is enclosed in the file.

    p.s: I forgot to add that the script only covers Zargabad, Takistan, Lingor and Fallujah so far as they have the most enterable buildings. (Fallujah i'm sure was around 10000 hehe)

    requires Jayarma2lib_new
    Last edited by zorilya; Aug 17 2012 at 20:41.

  2. #2
    Hi, I tried it and have run into a problem, only a few units enter a building and all the units seem to go to the same location in each building, units lefts outside the building seem to move to a location and group together. There are plenty of empty positions in the area.

  3. #3
    hmmm could you detail the issue a little more. i.e world, area name, and so on so i could try and reproduce?

  4. #4
    Takistan Airport Control tower, Bottom Middle of the map and the units placed near the T Junction.
    I have about 12 AI units in a group right in the middle of the group of buildings

    calling with nul = [this,300] execVM "Garrison_script.sqf"

    Mostly 1 unit enters the barracks and goes to room 3, a few go to the hanger but the rest hide by the side of one of the buildings.

  5. #5
    how are you executing the world_build_list.sqf?

    actually just tested .. it shouldn't matter whether it's in the init or in a triggger set to go off immediately. I've tested a group of 13 at the T just north of that tower with a radius of 300 like you had and all 7 of the times they chose different buildings and garrisoned successfully.... so i forced them to go into the tower by setting the radius to 30 and placing the leader who is calling the script, next to the tower. They garrisoned successfully 4 times ( aside from a few pathing problem causing units to push one another off the top. hehe) no one hung around outside. i usually find the tell tale mark of the script not working properly is when units return to formation on the leader.

    but still how are you executing the "world_build_list.sqf"?
    Last edited by zorilya; Aug 17 2012 at 18:01.

  6. #6
    I'm a little confused I renamed "world_build_list.sqf" as init,sqf but it still does the same thing.

    I've been through the script and it seems your using an addon to get the string function, I don't have it so that's why it's messing up the building list I think.

  7. #7
    the string functions are part of Jayarmalib_new..... are you not using it? it's very handy hehe

    i completely overlooked mentioning that also... thankyou
    Last edited by zorilya; Aug 17 2012 at 20:37.

  8. #8
    Odd I am using CBA but still not working.

    I don't see these functions listed in CBA as all those functions begin with CBA

    The ones your using are jayarma2lib_fnc_stringTrim;
    Last edited by F2k Sel; Aug 17 2012 at 20:42.

  9. #9
    yeah i was hoping that i would've editted that fast enough.. i meant jayaramlib

  10. #10
    What are you trying to do with that function just return the building ID number?

Page 1 of 9 12345 ... LastLast

Similar Threads

  1. Garrison House Area Script
    By Jakerod in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 61
    Last Post: Mar 20 2013, 04:14
  2. Garrison script problem
    By zorilya in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 19
    Last Post: Aug 12 2012, 16:17
  3. Garrison Casualty Report and Reinforcements Trigger
    By InstaGoat in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 1
    Last Post: Sep 30 2011, 04:32
  4. [CSLA/P85] Elektrozavodsk Garrison
    By sweguy96 in forum ARMA 2 & OA - ADDONS & MODS: COMPLETE
    Replies: 5
    Last Post: Feb 16 2011, 14:09
  5. Fly baby, fly!
    By nordin dk in forum OFFTOPIC
    Replies: 25
    Last Post: May 23 2002, 19:03

Posting Permissions

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