What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Who wants to see a template for a behaviour tree CC

Do you want a template for a behaviour tree CC?

  • Yes, show me the money!

    Votes: 0 0.0%
  • No, it will make me cry.

    Votes: 0 0.0%
  • Mummy, whats a behaviour tree?

    Votes: 0 0.0%

  • Total voters
    0
  • Poll closed .

fpsware

Community Developer
Joined
Jan 15, 2010
Messages
5,287
Reaction score
133
I know this will have a very limited audience but I'm going to run this poll all the same.

I've had a few of requests for a template of a basic behaviour tree CC. The idea of this template it to allow you to examine and potentially build your own behaviour tree CC.

It will only be of use to CC developers, or anyone who wants to take on advanced CC development.
 
Last edited:
I'd actually like to have somthing like this, I've always wanted to code a CC, but not knowing C# really hinders that, if there was somthing I could, use as a referance, and just jump in there and try and learn some stuff, that would be really cool.
 
fpsware said:
I've had a few of requests for a template of a basic behaviour tree CC. The idea of this template it to allow you to examine and potentially build your own behaviour tree CC. It will only be of use to CC developers, or anyone who wants to take on advanced CC development.

I'm a major vote for wanting the topic you describe. This very topic is on my 'to do' list for the CC part of the Wiki. I was going to use BTs for the Template because I'm a very big fan of the efficiency and other benefits of state-machines.

I just lost my main laptop, and am using a 10-yo laptop. Although the laptop is now in the shop, its going to easily be a month before I can get serious about writing again. The one I'm using now can barely websurf. :D Even when I get back, the priorities are to finish the 'new user' Wiki section first, followed by 'plugin writing', then 'cc writing' will be last (because of the added complexities).

Would you please consider contributing your writings to the Wiki? There would be nothing better than to have the Wiki article(s) written by one of the Masters of CC Development.

Thanks for the consideration!

cheers,
CJ
 
Last edited:
Getting in to BT for the last 2 days, I'm impressed. Would like any code samples ^^
 
Lol that is such a great cartoon nesox. And yes the other thing in this thread sounds good too.
 
Thanks for posting this. I think I may actually take a poke at it, just to see what happens, ya know?
 
This is what got me into BTs way back when, Nesox's mage. But I was thinking of a more user friendly highly modified example designed specifically as a learning tool.

EDIT: What I find interesting is that we have (currently) 31 votes, but I'm pretty damn sure we don't have 31 CC developers. As I said in my original post, this will only be of use to CC developers.

Im a big fan of you ccs and respect the amount if time you put into them.. Personally I wouldn't mind having a go at creating a cc myself but with currently limited c# experience I can honestly say I'm a fan of having a template to reference off as personally I do my best learning from jumping in there and having a go.

Sent from my GT-I9000 using Tapatalk
 
Emmm... my intention was to make this a simple BT CC template, but I've gotten a little carried away and its now kind of using my core library helper functions.

I was trying to keep it to maybe 1-2 CS files, but its grown a wee bit to 13 :)
 
EDIT: What I find interesting is that we have (currently) 31 votes, but I'm pretty damn sure we don't have 31 CC developers. As I said in my original post, this will only be of use to CC developers.

Can noone aspire to be a Custom class developer?
 
It doesn't matter if were not CC devs now, but if some become CC dev's this will help = )
 
It appears there are quite a few people interested in sucha projtect/template. I guess I'll be putting something together either tonight or tomorrow.

The template will be a working CC, it will be BT based (like da!), include a config UI which will load and save settings to an XML file, it will have as much documentation / code comments as humanly possible. It will a have very limited number of wrapper functions pulled for Zeus & Olumpus that make life so much simplier

This will be a cut down working CC, it will not support all spells, thats your job! But it should (thats the whole idea of this project) show you how to build your own BT CC.

EDIT: And for no reason other than its what I randomly picked, it will be a Paladin.
 
Last edited:
It appears there are quite a few people interested in sucha projtect/template. I guess I'll be putting something together either tonight or tomorrow.

The template will be a working CC, it will be BT based (like da!), include a config UI which will load and save settings to an XML file, it will have as much documentation / code comments as humanly possible. It will a have very limited number of wrapper functions pulled for Zeus & Olumpus that make life so much simplier

This will be a cut down working CC, it will not support all spells, thats your job! But it should (thats the whole idea of this project) show you how to build your own BT CC.

EDIT: And for no reason other than its what I randomly picked, it will be a Paladin.

wesome FPS,

But I would like to see something where you could give the BT something like this
HTML:
<Selector FriendlyName="Warrior Combat Behavior" Context="null">
	<Selector FriendlyName="Cast Heroic Strike" Context="null">
		<Decorator FriendlyName="Check If Enough Rage" Context="Self">
			<Selector Object="Player" Conditional="Rage" Logical="Greater" Value="35" Context="Self" FriendlyName="Check to seeif we should cast heroic strike">
				<Action ActionType="Spell" Context="Target" ActionName="Heroic Strike" FriendlyName="Cast Heroic Strike"/>
			</Selector>
		</Decorator>
	</Selector>
	.
	.
	.
</Selector>


And being able to load and execute this as a behavior tree.
 
Unless I'm missunderstanding something, I don't understand why you want to make it so complicated.

You are perform multiple check to see if the spell should be cast, all you need to do is quaify the spell in the first check and perform the action.
 
I like seeing any Code Examples weather I plan on trying to make a CC or not, it helps me learn and that's what I look forward to. So yeah I have to admit I'd like to see a BT example.

Also is it just me or does this thread auto bump itself? lol, No new replies but appears at top of the list. :P
EDIT: Probably the poll bumping it come to think.
 
Back
Top