View unanswered posts | View active topics It is currently Thu Jan 02, 2025 8:57 pm



Reply to topic  [ 8 posts ] 
 A.I. 
Author Message

Joined: Sat Jan 22, 2011 11:40 pm
Posts: 4
Reply with quote
Post A.I.
Where do i find the code for the A.I. in CC [B24]


Sat Jan 22, 2011 11:51 pm
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: A.I.
It's still hardcoded, so nowhere. Unless you have the source that is.


Sun Jan 23, 2011 2:18 am
Profile

Joined: Sat Jan 22, 2011 11:40 pm
Posts: 4
Reply with quote
Post Re: A.I.
Is there anyway to write A.I. code for the game at all then?


Sun Jan 23, 2011 4:06 am
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: A.I.
Well, you can try making your own, hacky, AI through Lua by setting the controller mode of an actor to do nothing then manually controlling it though the same Lua. Other than that, not really.

To be honest, I'm not sure how you would accomplish such a thing, but I believe people have done this in the past.

EDIT: Found the two examples I know of, the RETARDS and Independent


Sun Jan 23, 2011 4:11 am
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post Re: A.I.
As well as the Safer Craft mod. Basically speaking, you have to check the situation manually and then force the actor to do things manually. The hardcoded AI will mess with your actions a bit, too, and lag will be a problem for more complex situation analysis.


Sun Jan 23, 2011 10:12 am
Profile WWW

Joined: Sat Jan 22, 2011 11:40 pm
Posts: 4
Reply with quote
Post Re: A.I.
If he just released or at least the A.I. source i believe the community could do some pretty damn amazing things with it.


Sun Jan 23, 2011 7:52 pm
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post Re: A.I.
He has promised Lua-based AI already; have patience.


Sun Jan 23, 2011 9:43 pm
Profile WWW
User avatar

Joined: Tue Mar 20, 2007 10:16 am
Posts: 186
Location: Australia
Reply with quote
Post Re: A.I.
Duh102 wrote:
Well, you can try making your own, hacky, AI through Lua by setting the controller mode of an actor to do nothing then manually controlling it though the same Lua. Other than that, not really.

To be honest, I'm not sure how you would accomplish such a thing, but I believe people have done this in the past.

EDIT: Found the two examples I know of, the RETARDS and Independent

I didn't create my own AI, I just built the actors to get the best out of the AI that's already there. They're mostly airborn, don't collide with each other, and their size significantly reduces the chances of being hit by friendly fire because they'll usually be shot at through where legs or head would be. They also have a longer view distance, so all of this added together makes them appear 'smarter'.

If you can't improve the AI, just make the actors it uses more suitable for it.


Mon Jan 24, 2011 7:54 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.082s | 13 Queries | GZIP : Off ]