consequences of NPC on your server -
Amine_Mejrhirrou - 04.05.2011
evry think is on the title
pls if you know any thing about that , i mean if NPC make your server slower / if it creat trouble with other player
what ever just post important informations about NPC thanks
Re: consequences of NPC on your server -
leong124 - 04.05.2011
NPCs would make your server slower because they also call all the callbacks a normal player have(e.g. OnPlayerUpdate).
I think they will not use external bandwidth to sync with server because they are in local host.
Still, no big issues there.
The disadvantages of using NPCs is they're uncontrollable(only play records), immortal and their vehicles can crash with other player(and their vehicles).
Re : Re: consequences of NPC on your server -
Amine_Mejrhirrou - 04.05.2011
Quote:
Originally Posted by leong124
The disadvantages of using NPCs is they're uncontrollable(only play records), immortal and their vehicles can crash with other player(and their vehicles).
|
well you can make them "mortal"
you can give them a Var
for example setvar 10
and you give them -1 Var if a player hit them when Var = 0 you can make an anim ( exaple knifed or a dead anim)
i had some thng like that in 0.3b