Shooting NPCґs? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Shooting NPCґs? (
/showthread.php?tid=96063)
Shooting NPCґs? -
Striker_Moe - 06.09.2009
Uh,
one question, can you make NPCґs actually like aim-bots so they aim at players and fire at them? ^^ Would be cool
Re: Shooting NPCґs? -
JaTochNietDan - 06.09.2009
No.
You can make them shoot in OnFoot recordings I believe.
Re: Shooting NPCґs? -
[LF]Mr.Lucci - 19.09.2009
Quote:
Originally Posted by JaTochNietDan
You can make them shoot in OnFoot recordings I believe.
|
yes you can
Re: Shooting NPCґs? -
V1ceC1ty - 19.09.2009
You can also shoot in Hydra's and Rustler's and it will show up.
Is there anything thats not recorded? I can't think of anything that wouldn't.
Re: Shooting NPCґs? -
RobertGraham - 19.09.2009
The thing about NPC's and Multiplayer is, 1, they have to sync properly. While you are shooting an NPC, someone else could be looking at the same NPC, and it be in A. a different posistion, or B. an NPC completely different from the one you are looking at. 2, making AI/NPC's smart isn't easy. First you have to be able to create a script where they will not just run into objects and/or run of bridges, buildings, etc. Not only that, but they will have to be able to define the player as friendly or foe, and in this case, since everyone is set to pretty much the same team, it wouldn't do anything. NPC's run on paths, ie they only go to certain cords directed if there are no non-static paths already made. With our capabilities on the closed source engine, I really do not think its possible to edit the AI and make them smarted for Multiplayer.
This is why AI and Multiplayer are so hard to throw together.