Home   Help Search Login Register  

Author Topic: player ratings for a deathmatch  (Read 425 times)

0 Members and 1 Guest are viewing this topic.

Offline Zombie

  • Members
  • *
  • Beware the night, the zombie walks among you
    • USI
player ratings for a deathmatch
« on: 08 Jan 2004, 15:35:18 »
In my deathmatch I start all players like this:
this addrating (-(rating this) - 100000)
 is in the initialization box
I know this makes everyone an enemy.  Problem is I believe the more of these enemies you kill, the better your rating becomes until you are a "good" guy again, then every time someone kills you, they get hit with a friendly fire penalty which their rating and score go down.  To fix this I run the following script from the init.sqs.  I called this rating.sqs

#start
? rating player>=(-50000) player addrating -50000
goto "start"

But, alas, it still does not work and the friendly fire message keeps coming up for the player who has the most kills.

Any ideas?

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:player ratings for a deathmatch
« Reply #1 on: 08 Jan 2004, 15:55:47 »
line should read

? rating player>=(-50000): player addrating -50000

its just missing a colon after the query statement

I wonder why it didnt throw up an error message though
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

Offline Zombie

  • Members
  • *
  • Beware the night, the zombie walks among you
    • USI
Re:player ratings for a deathmatch
« Reply #2 on: 08 Jan 2004, 18:19:19 »
k, thanks, I'll give that a try

Offline Zombie

  • Members
  • *
  • Beware the night, the zombie walks among you
    • USI
Re:player ratings for a deathmatch
« Reply #3 on: 08 Jan 2004, 19:53:08 »
k, I think that hit the spot, playtesting will prove it out