Jut, nachdem mein Frust weg is kann ich ne anständige Antwort geben. Also... *aushol* :P
In der Teammate1_act hab ich folgendes stehen:
action Teammate1_act() { is_ai_npc_f(); //Damit registriere ich meinen Kollegen als NPC! ChoosePosition(); while(1) { is_Action_Move_To(X,Y,Z,Ent); //Ich glaube das heir ist der Grund warum die Funktionenanzahl unaufhörhlich steigt. wait(-0.2); } }
Ich kann meinen Teammate1 mit der Befehlstaste rumschicken. Das funktioniert soweit ganz gut. LEIDER muss ich dafür aber in seinem Sichtfeld sein was nicht unbedingt praktikabel is da ich auch möchte das NPCs locker von einem zum anderem Levelende spazieren können müssen. Und wenn ich halt um die Ecke komme und angeschossen werd, das ich dem Kollegen zur Hilfe kommen lassen kann.
Ebenso liegt das Problem vor, dass wenn ich den losschicke, das die Funktionen sich dann aufstapeln. Ich denke das liegt daran das "is_Action_Move_To(X,Y,Z,Ent)" in einer While-schleife liegt. Anders kann sich der NPC aber leider nicht bewegen.
I seem to have missed this thread completely.. Lately I've been working offline more, and reading forums less, so for any questions about Intense Pathfinding or Intense X, e-mail me directly at LLaffer AT intense-i.com .
My german translator can do so much, so if you're still having trouble with IP then please switch back to english with your latest post and i'll try to help. I've also noticed that you own Intense X so maybe instead of trying to install IP2 to your project (which admittedly is not as easy as i'd like it to be), you could simply add Intense X to your project with the click of a button:
and now you can create your graphs as easy as that:
and finally you can have total control of your Npcs, completely overriding Intense X's AI if you so desire, by using Custom Goals.
To see the code required in order to order an Npc to move somewhere, using Custom Goals, click here and JUMP directly to Part 3 of that video tutorial. The code looks like this:
it's me, Meerkat from A7 3DGS Forum. ^^ I have a strange problem with Intense Pathfinding 2 and IntenseX. I will begin with IP2.
I try to programm a tactic shooter how "Full Spectrum Warrior" but with an Alien Story. My problem is, i have a really big problem with my pathfinding algorythm. In "IP2" my teammate can going to a location that he can see where i will send him, but if i try to send him around a corner, then he cannot going to it. But i have inserted IP2 correctly i think. I'll try currently to programm my own A-Star algorythm, but that's so hard! Have sometimes much understanding problems in logic.
I comming now to IntenseX. ^^
IntenseX is really a blast, but with that i have another problems. I really don't like the folder system of it, it kills my own, and that makes me crazy. And the another problem is with it, i don't know how i must change it to make it work for my project. I cannot read many of that code (i don't understand it much).