Aller au contenu

Photo

Commoner AI


  • Veuillez vous connecter pour répondre
7 réponses à ce sujet

#1
andysks

andysks
  • Members
  • 1 657 messages
Hi everyone. I downloaded kamal_'s Commoner AI from the vault a couple of days ago, and I can't  get it to work. If anyone is using it please shed some light on me :).

First of all, I was supposed to get some i-points with the package, but my toolset only imports scripts and waypoints from the erf.

Second, on the tutorial, kamal_ says that the generic24 heartbeat, don't need anything else to play, but in my case they don't do the animation.

And last, if I get it to work, does the sitting animation need a special chair or a waypoint in the chair if it's the random heartbeat ?

I hope I make sense :D. Script set looks seriusly powerful and I would like to use it.
Thanks a lot in advance.

#2
kamal_

kamal_
  • Members
  • 5 260 messages
There are ipoints in there, under placeables. They are only needed for the full version of the ai (which even I wound up not using due to performance issues with lots of commoners). I assure you it does work, as there is a demo module for it as well.

The sitting animation requires a waypoint at the chair, and the chair needs to be environmental so the npc can reach it. You do not need a special chair.

Generic 24 heartbeats do not need anything else to play their animations. The npc must be assigned the heartbeat, that is all that is needed.

The system is self contained, so no haks etc are needed.

#3
andysks

andysks
  • Members
  • 1 657 messages
Hmm, the ipoints are not there, but if you say they cause performance issues then I don't care if I don't have them. I' ll try again with the generic 24 and random and see how it goes.
Just in case it doesn't, is there another reason you can think that prevents it from working ? Like some other imported file etc ?

P.S : I know it works, because I saw it in the demo module. It just didn't seem to work in my campaign.

Modifié par andysks, 28 juin 2013 - 01:33 .


#4
kamal_

kamal_
  • Members
  • 5 260 messages
The only reason I can think of is that you did not compile the scripts.

#5
andysks

andysks
  • Members
  • 1 657 messages
I did, but I didn't check the verification window. Now I did it again, and it gives me error to all the scripts of your package.
ERROR : PARSING VARIABLE LIST to be exact :/ .

#6
andysks

andysks
  • Members
  • 1 657 messages
So, I did some searching and as it seems, the line that gives the error in all the scripts is this :

int DoOnce = GetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF));

Is this what causes the thing to not work, or is it irrelevant ?

#7
kamal_

kamal_
  • Members
  • 5 260 messages
Is that in an include file?

#8
andysks

andysks
  • Members
  • 1 657 messages
I think there is a line like that, the same line in every script included. And I checked it it the demo module as well, tried to compile there to see and gives the error on the same lines as well. Even if I don't get to use it, maybe it's good for you to know.