Skip to main content

Parameterizing Behavior Trees

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNIP,volume 7060))

Abstract

This paper introduces and motivates the application of parameterization to behavior trees. As a framework, behavior trees are becoming more commonly used for agent controllers in interactive game environments. We describe a way by which behavior trees can be authored for acting upon functions with arguments, as opposed to being limited to nonparametric tasks. We expand upon this idea to provide a method by which a subtree itself can be encapsulated with an exposed parameter interface through a lookup node, which enables code reuse in a manner already exploited by object oriented programming languages. Parameterization also allows us to recast Smart Events (a mechanism for co-opting agents to perform a desired activity) as behavior trees that can act generically upon groups of typed agents. Finally, we introduce a tool called Topiary, which enables the graphically-oriented authoring of behavior trees with this functionality as part of a broader testbed for agent simulation.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Badler, N.I., Bindiganavale, R., Allbeck, J., Schuler, W., Zhao, L., Palmer, M.: Parameterized action representation for virtual human agents. In: Embodied Conversational Agents, pp. 256–284. MIT Press, Cambridge (2000)

    Google Scholar 

  2. Hecker, C., McHugh, L., Argenton, M., Dyckho, M.: Three approaches to Halo-style behavior tree ai. In: Game Developers Conference (2007)

    Google Scholar 

  3. Colvin, R., Grunske, L., Winter, K.: Probabilistic Timed Behavior Trees. In: Davies, J., Gibbons, J. (eds.) IFM 2007. LNCS, vol. 4591, pp. 156–175. Springer, Heidelberg (2007)

    Chapter  Google Scholar 

  4. Colvin, R.J., Hayes, I.J.: A semantics for behavior trees using csp with specification commands. Sci. Comput. Program. 76, 891–914 (2011)

    Article  MATH  Google Scholar 

  5. Isla, D.: Handling complexity in the Halo 2 ai. In: Game Developers Conference (2005)

    Google Scholar 

  6. Isla, D.: Halo 3 - building a better battle. In: Game Developers Conference (2008)

    Google Scholar 

  7. Knafla, B.: Data-oriented streams spring behavior trees (April 2011), http://altdevblogaday.com/2011/04/24/data-oriented-streams-spring-behavior-trees/

  8. Meyer, B.: Object-Oriented Software Construction, 2nd edn. Prentice Hall, Upper Saddle River (1997)

    MATH  Google Scholar 

  9. Millington, I., Funge, J.: Artificial Intelligence for Games. Morgan Kaufmann, Elsevier (2009)

    Google Scholar 

  10. Pelechano, N., Allbeck, J.M., Badler, N.I.: Virtual Crowds: Methods, Simulation, and Control. In: Lectures on Computer Graphics and Animation. Morgan & Claypool Publishers (2008)

    Google Scholar 

  11. Stocker, C., Sun, L., Huang, P., Qin, W., Allbeck, J.M., Badler, N.I.: Smart Events and Primed Agents. In: Safonova, A. (ed.) IVA 2010. LNCS, vol. 6356, pp. 15–27. Springer, Heidelberg (2010)

    Google Scholar 

  12. Winter, K.: Formalising Behaviour Trees with CSP. In: Boiten, E.A., Derrick, J., Smith, G.P. (eds.) IFM 2004. LNCS, vol. 2999, pp. 148–167. Springer, Heidelberg (2004)

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Shoulson, A., Garcia, F.M., Jones, M., Mead, R., Badler, N.I. (2011). Parameterizing Behavior Trees. In: Allbeck, J.M., Faloutsos, P. (eds) Motion in Games. MIG 2011. Lecture Notes in Computer Science, vol 7060. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-25090-3_13

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-25090-3_13

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-25089-7

  • Online ISBN: 978-3-642-25090-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics