Game Development Community

Behaviors not showing up in the dropdown list

by Oliver Smith · in Torque Game Builder · 07/13/2007 (6:07 pm) · 5 replies

I just downloaded TGB 1.5 and I'm attempting to go through the first behavioral tutorials. Unfortunately, after placing an object into the level and selecting it no behaviors show up in the dropdown menu.

Any suggestions?

Thanks.

About the author

Recent Threads


#1
07/13/2007 (7:13 pm)
You need to make sure you have copied the script code to your working directory for the behaviors to show up--they are project specific and script based, not build into the source code.
#2
07/16/2007 (1:06 pm)
For the particular tutorial you are talking about, it might be easier to start out by opening the Behaviors Playground project included with TGB.
#3
08/15/2007 (5:09 pm)
I ran into this exact same problem. I went to do the very first tutorial and figured I was smart enough to start from a blank project and add images myself etc. etc. Spent 45 minutes clicking through everything, reading the few tutorials supplied, searching online before seeing this post.

Very frustrating... there's no "load behaviors" thing anywhere in the program, which is what I looked for initially.

Because the open project dialog doesn't go there by default, the sample project you want to open is at .../program files/garagegames/torquegamebuilder-version/games/behaviorplayground

As a lot of the users, especially at the very beginning, are going to just want to play with simple default behaviors IMO the behaviors should be copied to new projects... Advanced users could delete them if they don't want them, or perhaps disable the auto-copy by a checkbox in a prefrences area.

I realize I didn't follow the directions by starting a blank project instead of opening the playground one, but this stupid empty behavior thing drove me NUTS :)
#4
10/14/2007 (1:18 am)
Adding behaviors is really easy. Just drag and drop the behavior files (even if in a zip file) onto the Level Builder and it will copy the files into the appropriate project folder.

Be sure to reload your project to get the behaviors to appear in the dropdown list.
#5
11/01/2007 (8:36 pm)
How do you get your own behaviors to show up if you are not using the behaviorplayground project? I tried drag and my .cs file and it still does not show up