Results 1 to 8 of 8

Thread: [TUT] Ai follow tutorial.

  1. #1
    a-dumb-ass adumass's Avatar
    Join Date
    Nov 2006
    Location
    NewYork
    Posts
    195

    [TUT] Ai follow tutorial.

    This is a quick tutorial I made for someone a while ago on making ai follow the player, hope it helps someone.

    First set up your encounter, when you get to squads make four of them(You can have way more but I'm using four in this tutorial.) and don't set the actor type yet. Name them "squad a", "squad b", "squad c" and "squad d". (You don't need the quotes but it doesn't really matter.) The letters will make it easier for you to know what firing positions each squad is using. Set the firing positions for all of the boxes for "squad a" to A, for "squad b" to B etc. Set the "initial state" and "return state" to "guarding at guard position", check off the automatic migration flag in all squads. Set "maneuver to squad" to "squad a" for all squads, including squad a. Now set squad a's "actor type" to the actor variant tag that you want to use, also set the "normal and insane diff count" to anything you want. Place starting locations for squad a. Now its time to set up firing positions. (The ai will move from squad to squad when following, going to the squad closest to the player or object they are following.) So set the firing positions where you want the ai to go when following the player. The last thing you need to do is set up the script. Its Ai_follow_target_players (encounter name). I won't explain that since you probably already know.

    Heres an example of how I would set firing positions for the ai to follow me closely through this tunnel. The colored areas represent the general area where I would place the firing positions(red=firing positions A etc).

    Reply With Quote

  2. #2
    The Child Pornographer Ki11a_FTW's Avatar
    Join Date
    Jan 2007
    Location
    NJ
    Posts
    2,661

    Re: [TUT] Ai follow tutorial.

    GJ
    Reply With Quote

  3. #3
    Senior Member
    Join Date
    Nov 2007
    Posts
    2,576

    Re: [TUT] Ai follow tutorial.

    Kewl never knew how to do that.
    Reply With Quote

  4. #4

    Re: [TUT] Ai follow tutorial.

    Awesome dude! Good to finally see a clean tutorial on this.
    Reply With Quote

  5. #5
    is a rooster Ro0ster's Avatar
    Join Date
    Jul 2008
    Location
    Canada
    Posts
    56

    Re: [TUT] Ai follow tutorial.

    The second picture doesn't show for me.
    Reply With Quote

  6. #6
    The Child Pornographer Ki11a_FTW's Avatar
    Join Date
    Jan 2007
    Location
    NJ
    Posts
    2,661

    Re: [TUT] Ai follow tutorial.

    theirs only 1 picture :-o
    Reply With Quote

  7. #7
    I was like Um. Delta4907's Avatar
    Join Date
    Sep 2007
    Location
    New York, USA
    Posts
    549

    Re: [TUT] Ai follow tutorial.

    Yea there is 2 pics, i see a small white box with a red X under the first pic :P
    Reply With Quote

  8. #8
    Buffalo Berry L0d3x's Avatar
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    550

    Re: [TUT] Ai follow tutorial.

    Very useful as a reference, good job!
    Reply With Quote

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

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