Author |
Message |
Lonestar of David
Joined: Sat Jan 22, 2011 11:40 pm Posts: 4
|
A.I.
Where do i find the code for the A.I. in CC [B24]
|
Sat Jan 22, 2011 11:51 pm |
|
|
Duh102
happy carebear mom
Joined: Tue Mar 04, 2008 1:40 am Posts: 7096 Location: b8bbd5
|
Re: A.I.
It's still hardcoded, so nowhere. Unless you have the source that is.
|
Sun Jan 23, 2011 2:18 am |
|
|
Lonestar of David
Joined: Sat Jan 22, 2011 11:40 pm Posts: 4
|
Re: A.I.
Is there anyway to write A.I. code for the game at all then?
|
Sun Jan 23, 2011 4:06 am |
|
|
Duh102
happy carebear mom
Joined: Tue Mar 04, 2008 1:40 am Posts: 7096 Location: b8bbd5
|
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 |
|
|
411570N3
Joined: Wed Jan 07, 2009 10:26 am Posts: 4074 Location: That quaint little British colony down south
|
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 |
|
|
Lonestar of David
Joined: Sat Jan 22, 2011 11:40 pm Posts: 4
|
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 |
|
|
411570N3
Joined: Wed Jan 07, 2009 10:26 am Posts: 4074 Location: That quaint little British colony down south
|
Re: A.I.
He has promised Lua-based AI already; have patience.
|
Sun Jan 23, 2011 9:43 pm |
|
|
Squeegy Mackpy
Joined: Tue Mar 20, 2007 10:16 am Posts: 186 Location: Australia
|
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 IndependentI 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 |
|
|
|