Giving wws a user
Giving wws a user
I know that in a few plugins, such as turretcontrol, kills via the ww are attributed to a player. However, the wwzone plugin is *much* more customizable. Could anyone write (or modify) a plugin to allow this?
Darkid--Not a happy camper.
Re: Giving wws a user
I think that having the WW be tied to a user causes the scores to get out of sync in 2.0.x. Basically, each client keeps track of their own score. So if a world weapon kills 30 people for a specific player, that player will see their score as 30 points lower than everyone else sees their score. So, I would recommend not doing that until version 3.0.0 comes out.
Re: Giving wws a user
Haven't noticed that in flying popcorns shooting gallery, or that *antiquitous* dodge trainer, the one with the tower and the machine guns.
Darkid--Not a happy camper.
Re: Giving wws a user
So you've run two clients and compared what you see?
Re: Giving wws a user
no... i've noticed that my score increases normally when i'm in the turret, or when others are.
i.e. +1 for *every* kill
i.e. +1 for *every* kill
Darkid--Not a happy camper.
Re: Giving wws a user
It has been a while since I looked at the plug-in API, but I think it depends on how you change the score. I know the functions for setting scores are out of sync. If, however, you use bz_killPlayer(), the scores will be in sync. Also, you can use the playerDieEvent to change the killerID when someone dies. If we change the killerID when a WW kills someone, we can *give* the kill to anyone. I believe the scores are updated as well. The trick (hack) is to use a list of predefined shot ID's for the WW, then check for those shot ID's in the die event.