[FilterScript] Artificial Intelligence (Dueller Bot/NPC)
#1

Artificial Intelligence

Info:

- This is a test version of the script and is very messy, sorry about that. I may update the files for it. You'll need FCNPC plugin in order to use it.

- Video will explain what does it do:

Video:

NPC:

[ame]http://www.youtube.com/watch?v=CvS0a6NWpWY[/ame]

Possible fixation to gain lag shoot for NPCs:

[ame]http://www.youtube.com/watch?v=t5oKSs-EOIM[/ame]

Some Commands:

- /bot add
- /bot delete
- /bot duel <bot id>

Credits:

OrMisicL for FCNPC plugin.
Reply
#2

Lol its pretty nice, good job
Reply
#3

Quote:
Originally Posted by LeGGGeNNdA
View Post
Lol its pretty nice, good job
Thanks.

Edit: Added source.
Reply
#4

Awesome job im gonna test it right now!
Reply
#5

I just tested this

/bot add = works
/bot delete id = works
/bot duel id = invalid bodygaurd


??


awesome fs
but needs fix
Reply
#6

This is actually really cool, thanks.
Reply
#7

Looks pretty funny but I don't approve of your update loop, you should have a loop for each NPC and there is a few reasons.

1.) Prevent all NPC updates from being in sync (looks more natural)
2.) Allows you to more easily organize your NPC's actions
3.) Allows you to create several NPC classes

Some suggestions.

1.) Implement NPC states this is very very useful because you can sequence multiple states in the update loop
2.) Use ZCMD I don't care if you have 1 command just do it
3.) Your update time is probably too fast
4.) You shouldn't need an update rate of 30 it's a waste of bandwidth

Other problems

This will be prone to being attacked with fake OnPayerGiveDamage() messages so in it's current state really isn't reliable for anything more than shits and giggles on a home server.
Reply
#8

WOW :O :O Good Job
Reply
#9

Make a better version of this and transform it into Zombie Minigame :P
Reply
#10

Awsome!
Reply
#11

very nice script Matz i like all your works keep it up
Reply
#12

Nice. This can be usefull for survival servers to have zombies around.
Reply
#13

I have got the same problem, I can spawn and delete the bots, but I can't get them to duel, what am I doing wrong?


Quote:
Originally Posted by Swisher
Посмотреть сообщение
I just tested this

/bot add = works
/bot delete id = works
/bot duel id = invalid bodygaurd


??


awesome fs
but needs fix
Reply
#14

lol nice.
Reply
#15

Fake DM'ers
Reply
#16

Thank your for the answer. Same problem here.

/bot duel 1 gives no response while

/bot duel 0, /bot duel a for example says : use /bg duelmode id

So it seems like the system knows that bot1 exists, but it does not do anything
Reply
#17

Well with the update time if you create per-player timers and states it will make it a lot easier to fine tune.
Reply
#18

****
Reply
#19

cool
Reply
#20

Actually I don't know why does it not work for you guys and I'm not willing to edit it anymore at the moment
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)