Artificial Intelligence (Dueller Bot/NPC) -
Matz - 11.01.2014
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.
Re: Artificial Intelligence (Dueller Bot/NPC) -
LeGGGeNNdA - 11.01.2014
Lol its pretty nice, good job
Re: Artificial Intelligence (Dueller Bot/NPC) -
Matz - 11.01.2014
Quote:
Originally Posted by LeGGGeNNdA
Lol its pretty nice, good job 
|
Thanks.
Edit: Added source.
Re: Artificial Intelligence (Dueller Bot/NPC) -
Passout - 11.01.2014
Awesome job im gonna test it right now!
Re: Artificial Intelligence (Dueller Bot/NPC) -
Swisher - 12.01.2014
I just tested this
/bot add = works
/bot delete id = works
/bot duel id = invalid bodygaurd
??
awesome fs
but needs fix
Re: Artificial Intelligence (Dueller Bot/NPC) -
AaronKillz - 12.01.2014
This is actually really cool, thanks.
Re: Artificial Intelligence (Dueller Bot/NPC) -
Pottus - 12.01.2014
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.
Re: Artificial Intelligence (Dueller Bot/NPC) -
EmpireSk - 12.01.2014
WOW :O :O Good Job
Re: Artificial Intelligence (Dueller Bot/NPC) -
nGen.SoNNy - 12.01.2014
Make a better version of this and transform it into Zombie Minigame :P
Re: Artificial Intelligence (Dueller Bot/NPC) -
J4mmyHD - 12.01.2014
Awsome!
Re: Artificial Intelligence (Dueller Bot/NPC) -
Omar55555 - 12.01.2014
very nice script Matz i like all your works

keep it up
Re: Artificial Intelligence (Dueller Bot/NPC) -
[WA]iRonan - 12.01.2014
Nice. This can be usefull for survival servers to have zombies around.
Re: Artificial Intelligence (Dueller Bot/NPC) -
mrxqware - 12.01.2014
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
|
Re: Artificial Intelligence (Dueller Bot/NPC) -
xF4Life - 12.01.2014
lol nice.
Re: Artificial Intelligence (Dueller Bot/NPC) -
rakshith122 - 12.01.2014
Fake DM'ers
Re: Artificial Intelligence (Dueller Bot/NPC) -
mrxqware - 12.01.2014
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
Re: Artificial Intelligence (Dueller Bot/NPC) -
Pottus - 12.01.2014
Well with the update time if you create per-player timers and states it will make it a lot easier to fine tune.
Re: Artificial Intelligence (Dueller Bot/NPC) -
Swisher - 12.01.2014
****
Re: Artificial Intelligence (Dueller Bot/NPC) -
Warmonger1984 - 12.01.2014
cool
Re: Artificial Intelligence (Dueller Bot/NPC) -
Matz - 12.01.2014
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