playerstat list?

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Elgan
Site Admin
Posts: 890
Joined: Tue Apr 13, 2004 10:43 pm
Location: uk
Contact:

playerstat list?

Post by Elgan »

where can i find a playerstat list? and can i make my own?

my own so that i can have stat bars like health?
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

urc

Post by tltrude »

I don't think there is a list. You will just have to dig them out of the files. The scorboard urc would be the place to start looking. Here is the only one I know offhand.

Kills = playerstat "21"
Tom Trude,

Image
Elgan
Site Admin
Posts: 890
Joined: Tue Apr 13, 2004 10:43 pm
Location: uk
Contact:

Post by Elgan »

0 health
1 maxhealth (max)
4 ammo
6 clip ammo
7 max ammo (max)
21 kills
22 deaths
25 highest kills


item
1 itemstat 1 // equipped weapon

but even if i knew all of them i dont know hwo to create them or to make a custom stats bar? (urc)

EDIT: silly me spelling.lol got it working:)
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post by Green Beret »

how could i save the kills and deaths in a log file?
or is it even possible unless you do all that complicated server query port stuff?


sorry for diggin gup this old post but didnt want to start another topic :mrgreen:
Image
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

log

Post by tltrude »

If you type logfile 1 in the console, it will record everything in a file named qconsole.log in main. But, I'm not sure scores are even printed to the console. You might have to type score at the end of the game.

score = Show the score for the current deathmatch game
Tom Trude,

Image
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post by Green Beret »

Thank you,ill give a try :wink:
Image
Post Reply