Results 1 to 7 of 7

Thread: enemys

  1. #1
    Member Xenophon's Avatar
    Join Date
    Mar 2010
    Location
    Behind you
    Posts
    73

    enemys

    I've read mmph's enemy AI tutorial, but I am looking for a tut on how to get enemys to shoot at you. Any advice?
    You Just lost The Game



  2. #2
    Use a random actuator to randomly change between shooting and not shooting.
    *goodstuff- güd' stuf NOUN. Any object, idea, or animal that can be baked and is considered "good" from a graphical, spiritual, or culinary view. i.e. cookies, normal maps, ambient occlusion, salmon, etc.

    YouTube Channel:
    http://www.youtube.com/user/BraveSirRobin70



  3. #3
    Well, that really depends on the game you're working on, but the basic premise would be several sensors, perhaps with several more properties, hooked up to several actuators. The state system and Python would help streamline the process...
    The super-simple way most people start out with is a near sensor hooked to motion and track-to actuators...
    A lazy dreamer with a technical mind...

    Back from the dead.



  4. #4
    Member PlantPerson's Avatar
    Join Date
    May 2002
    Location
    Milky Way Galaxy
    Posts
    5,777
    Try insulting their mothers.
    "If we shadows have offended, Think but this, and all is mended, That you have but slumber'd here. While these visions did appear." - William Shakespeare
    Portfolio | Blog | Webcomic



  5. #5
    Originally Posted by PlantPerson View Post
    Try insulting their mothers.
    PlantPerson...

    Your a champ. You are the biggest champ. And since you are a mod....no one can even get mad at you!

    Ahahahahaha.

    That made my day.
    Check out my website! Whole new look! | I am also in the midst of building this site | My blog
    I love Blender because it has giving me so much that even a commercial product like Flash could not.
    PlantPerson is my hero.



  6. #6
    Edit: I read in one if the BIG AI books that I have that random AI behavior is really bad because then the other player cannot predict what is going to happen. Unless thats what you want..?

    I would base it on factors. Is the player close enough, am I almost dead, is the other player almost dead. etc.

    Things you would think of before you go and attack other players.
    Check out my website! Whole new look! | I am also in the midst of building this site | My blog
    I love Blender because it has giving me so much that even a commercial product like Flash could not.
    PlantPerson is my hero.



  7. #7
    Member Xenophon's Avatar
    Join Date
    Mar 2010
    Location
    Behind you
    Posts
    73
    Okay. Thanks
    You Just lost The Game



Posting Permissions

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