like the topic says. how do i create AI for my npc(s) in my game
This topic is locked from further discussion.
why come to a fourm site for this kind of information, Google is your best friend in these kind of situations
I did not fight in the Butlerian Jihad just so that you could make AIs, geth-breath :xxaosThe political correct term is synthetic. VI's just don't cut it.
Just reverse engineer someone else's source code. I doubt you're trying to make a profit off of this game else you'd know how to program it your self...like the topic says. how do i create AI for my npc(s) in my game
CHEATSman115
End If[QUOTE="cybrcatter"]
[QUOTE="the_foreign_guy"] else head-deskJIT93
Don't forget to return a boolean, int, or whatever the javacla$$says at the beginning
So you only know how to do it in Java?No :evil:[QUOTE="JIT93"]
[QUOTE="cybrcatter"] End If
Hax0rcybrcatter
Don't forget to return a boolean, int, or whatever the javacla$$says at the beginning
So you only know how to do it in Java? Better than VB :x Though only slightly :(No :evil:[QUOTE="JIT93"]
[QUOTE="cybrcatter"] End If
Hax0rcybrcatter
Don't forget to return a boolean, int, or whatever the javacla$$says at the beginning
So you only know how to do it in Java? Sorta, that AP Java test gave me a 3 :cry: so I know a little of it[QUOTE="cybrcatter"]So you only know how to do it in Java? Better than VB :x Though only slightly :( I can't argue with that statement.[QUOTE="JIT93"] No :evil:
Else if :twisted:Don't forget to return a boolean, int, or whatever the javacla$$says at the beginning
xaos
There are countless books and films out there that warn us of what will happen if we give birth to AI, yet people like you still try for it. No sir, I will not assist you in this doomsday endeavor.
[QUOTE="kweeni"]If Enemy.Spotted = True Then Do Badguy.ShootEnemy(You) Loop until You = Dead End If There you go. :Djeremiah06
void enemyAi(eneAi)
{
if (enemy.spotted == true)
{
while(enemy.health =/= 0)
badguy.attack = true
}
else
badguy.walkRoute
}
Tut tut, failed to type your argument, and it's not used anywhere in the method body. Also "!=" is the inequality comparison operator and walkRoute needs function specifiers to be called. Son, I am disappoint :xOK you got my on the "!=" however eneAi is an object so calling it in the function allows me to use all of its member functions...jeremiah06Ah, but since you aren't referring to it anywhere in the scope of this function, you are just pushing a reference on the call stack, degrading performance minutely for no reason :P
[QUOTE="jeremiah06"]OK you got my on the "!=" however eneAi is an object so calling it in the function allows me to use all of its member functions...xaosAh, but since you aren't referring to it anywhere in the scope of this function, you are just pushing a reference on the call stack, degrading performance minutely for no reason :P lol see edits...
[QUOTE="kweeni"]If Enemy.Spotted = True Then Do Badguy.ShootEnemy(You) Loop until You = Dead End If There you go. :Djeremiah06
void enemyAi(eneAi)
{
if (enemy.spotted == true)
{
while(enemy.health =/= 0)
badguy.attack = true
}
else
badguy.walkRoute = true
}
ehhh....yeah....that's a little to complicated for me xD[QUOTE="jeremiah06"]ehhh....yeah....that's a little to complicated for me xD Its not accurate there are tons of mistakes... but its C++[QUOTE="kweeni"]If Enemy.Spotted = True Then Do Badguy.ShootEnemy(You) Loop until You = Dead End If There you go. :Dkweeni
[QUOTE="jeremiah06"]Its not accurate there are tons of mistakes... but its C++ Yeah I know what it is. :P But I never used it before. We only use Visual Basic at school lol. I can use VB, C++, java, and just a little C#. My school only teaches C++ and VB though...[QUOTE="kweeni"] ehhh....yeah....that's a little to complicated for me xDkweeni
Please Log In to post.
Log in to comment