Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How to create an AI for an actor ?

YenzuYenzu Posts: 48Member
How to create an AI for an actor


  • ericzingelerericzingeler Posts: 334Member
    Using rules and behaviors
  • grimtoothgrimtooth Posts: 69Member
    Nobody is going to be able to give you this one... AI can be simple or complex but can almost never be copy pasted from one project to another unless you are making a clone or sequel to a game you have already created.

    Start by thinking in very general terms and making a short list, then expand on each point in the list.

    If the actor is a monster and you want it to attack the player, your list might look like:
    1. monster sees player
    2. monster moves towards player
    3. monster attacks player

    Now we need to expand on part 1, how does the monster see the player? probably based on distance, but can the monster see through walls. Does the player have any abilities or items that can make the monster not see him? Can all monsters see the same distance?

    Unfortunately it takes quite a while to try to think through, but you have to do it one step at a time and make one rule at a time as you decide what exactly you need the actor to do.
  • The_Gamesalad_GuruThe_Gamesalad_Guru Posts: 9,914Member
  • jamie_cjamie_c Posts: 5,577Member, BASIC
    The kind of AI you need totally depends on the specific game you are creating, if you want even any idea's to help you along you're going to need to supply a lot more information than what you have so far.
  • WingmanappsWingmanapps Posts: 458Member
    where do babies come from?

    People that are grounded don't hang on trees

  • BoomshackBarryBoomshackBarry Posts: 712Member

    where do babies come from?

    Google it, you'll be amazed ;)

    Why not check out my development blog?

  • YenzuYenzu Posts: 48Member
This discussion has been closed.