IPB


Welcome Guest ( Log In | Register )


Welcome to the nsMod Community Forum (formerly modNS) - please have a look around.
Its recommended that you create a member account so you can access all the features available to members.
Forum activity / posting rewards you with many privileges. Registration is free and only takes a few moments to complete.

> Read The Rules, Or DIE!

View the Rules for this Forum prior to posting here ... OR ELSE! Do not post requests, or ideas in here, or they will be removed, and so shall you.

During your visit you may notice missing attachments or broken links - please post them in the Bug Tracker.

23 Pages V   1 2 3 > »   
Reply to this topicStart new topic
> Awards Display, Various awards for actions in game
Rating 5 V
steve
post Feb 29 2004, 05:42 AM
Post #1


Dehrnoxti
Group Icon

Group: Good Guys
Member No.: 62
Joined: 17-September 03

Posts: 932
Posts per day: 0.26
Topics Started: 41
Skin: IP.Board Pro

User's local time:
Jun 19 2013, 04:16 AM
Windows or Linux ?: Lin



Author: Steve Dudenhoeffer
WWW: N/A
Version: 2.2
Released: March 30th, 2004

This plugin will display various awards at the end of each round for achievements during the previous round.

This plugin is inspired by Hypergrip's post here.

This plugin now uses a config file, rather than cvars to configure it.

Here is a quick run through of the config file:

In the config file, you will see lines similar to this:
CODE
"award" "damage"  "G" "98"    "99"    "Demolition Man:"      "%s (dealt %i points of damage)"


Here is the format of the line:
  • Parameter 1 - "award" - Tells the plugin we're configuring an award
  • Parameter 2 - "damage" - Tells the plugin which awards we're configuring. Valid entries:
    • "damage" - Damage done by the player
    • "deaths" - Times the player has died
    • "suicide" - Times the player has suicided (kill command/grenades, etc)
    • "tk" - Times the player has tk'd
    • "gest" - Times the player died while gestating
    • "built" - How much res worth of structures a gorge built
    • "devkill" - How many kills an onos got with devour
    • "xenocide" - How many kills with xenocide
    • "destroy" - Res worth of structures destroyed
    • "healspray" - Times a gorge has healsprayed
    • "medpack" - Times a player received a med pack
    • "devdeaths" - Times a player died while devouring
    • "welder" - How long a player has welded
    • "knife" - Kills a player got with knife
    • "stomp" - How many times the player stomped
    • "parasite" - How many times the player became parasited
    • "shield" - How much damage the player TOOK
    • "electricity" - How many times the player was hit with electricity
    • "shots" - How many bullets (lmg/pistol/shotgun/hmg) a player fired
    • "waste" - How much resources worth of equipment a player died with
    • "distance" - How far a player travelled
    • "shotgun" - How many shotgun kills a player got
    • "pistol" - How many pistol kills a player got
      New in 2.1:
    • "spore" - How many kills a player got from spores
    • "umbra" - How many times a player has shot umbra
    • "primal" - How many times a player primal screamed
    • "reswhore" - How much resources a player spent on evolutions
    • "grenade" - How many times a player shot a gl
      New in 2.2:
    • "trigger_hurt" - How many times killed with trigger_hurts
    • "worldspawn" - How many times killed with worldspawn
    • "leap" - How many times the player lept
    • "mine" - How many times a player died by a mine
  • Parameter 3 - "G" - Category the award is in. Valid entries:
    • "G" - General
    • "M" - Marine
    • "A" - Alien
    • "N" - None - Completely disabled
  • Parameter 4 - "98" - NS Priority. This is the priority of the award during NS mode.
  • Parameter 5 - "99" - Combat priority. This is the priority of the award during CO mode.
  • Parameter 6 - "Demolition Man:" - This is the text before the name in the award.
  • Parameter 7 - "%s (dealt %i points of damage)" - This is the text which contains the player's name and the award specifics. %s designates the player's name, %i designates the number inserted in the award. Both must be present, and %s must come before %i.
Note that the plugin locks the cvar mp_drawdamage to 1. However, the damage indicators will not be displayed unless the cvar mp_damagedraw is also set to 1.

Note the display is sent from csay-type text. The text will align fine for all resolutions at or above 640*480. Any display below that, and some text will over lap.

If two or more awards for the same category have the same priority, they will be randomly selected now.

This plugin is no longer supported by the author. Depot

KCE's untested version for Linux and Win32 can be found here.

This post has been edited by Depot: Sep 15 2006, 05:49 AM
Attached File(s)
Attached File  awards.zip ( 100.1K ) Number of downloads:  1373
 
Go to the top of the page
PM  
+Quote Post
SjN
post Feb 29 2004, 06:02 AM
Post #2


Omnisoroth
Group Icon

Group: Members
Member No.: 81
Joined: 8-October 03

Posts: 46
Posts per day: 0.01
Topics Started: 6
Skin: SubBlackS&L

User's local time:
Jun 19 2013, 09:16 AM



Nice!!

Installing it on Reaperville right now (69.56.143.58:27015)
Go to the top of the page
PM  
+Quote Post
SjN
post Feb 29 2004, 06:33 AM
Post #3


Omnisoroth
Group Icon

Group: Members
Member No.: 81
Joined: 8-October 03

Posts: 46
Posts per day: 0.01
Topics Started: 6
Skin: SubBlackS&L

User's local time:
Jun 19 2013, 09:16 AM



allright. it's pretty good. I like the colors.
the only thing i didn't like is, it disappears too fast from the screen. so you just don't have enough time to finish reading it all.

I wish there was a "ok" button to press after you finish reading it. but i know it's not possible.

how about, set the timer to 60(or just make a variable for the admin)? and in the end of the awards message it will say something like "type /close to hide the awards text".
Go to the top of the page
PM  
+Quote Post
Bry
post Feb 29 2004, 08:51 AM
Post #4


Xurotcan
Group Icon

Group: Inactive

Member No.: 165
Joined: 7-January 04

Posts: 251
Posts per day: 0.07
Topics Started: 13
Skin: SubBlackS&L

User's local time:
Jun 19 2013, 10:16 AM



got a screenshot?
Go to the top of the page
PM  
+Quote Post
SjN
post Feb 29 2004, 09:12 AM
Post #5


Omnisoroth
Group Icon

Group: Members
Member No.: 81
Joined: 8-October 03

Posts: 46
Posts per day: 0.01
Topics Started: 6
Skin: SubBlackS&L

User's local time:
Jun 19 2013, 09:16 AM



Ok i uploaded all the screenshots i made.

http://www.reaperville.org/bubba/pics/gall...ry.php?start=24

(the last 3)

and i'm gonna attach one of them:
Attached File(s)
Attached File  displaya3.jpg ( 0bytes ) Number of downloads:  37
 
Go to the top of the page
PM  
+Quote Post
Bry
post Feb 29 2004, 09:18 AM
Post #6


Xurotcan
Group Icon

Group: Inactive

Member No.: 165
Joined: 7-January 04

Posts: 251
Posts per day: 0.07
Topics Started: 13
Skin: SubBlackS&L

User's local time:
Jun 19 2013, 10:16 AM



im convinced going to add this now
Go to the top of the page
PM  
+Quote Post
steve
post Feb 29 2004, 09:32 AM
Post #7


Dehrnoxti
Group Icon

Group: Good Guys
Member No.: 62
Joined: 17-September 03

Posts: 932
Posts per day: 0.26
Topics Started: 41
Skin: IP.Board Pro

User's local time:
Jun 19 2013, 04:16 AM
Windows or Linux ?: Lin



QUOTE (SjN @ Feb 29 2004, 10:10 AM)
allright. it's pretty good. I like the colors.
the only thing i didn't like is, it disappears too fast from the screen. so you just don't have enough time to finish reading it all.

I wish there was a "ok" button to press after you finish reading it. but i know it's not possible.

how about, set the timer to 60(or just make a variable for the admin)? and in the end of the awards message it will say something like "type /close to hide the awards text".

Well, the original requester for the plugin had suggested a VGUI window (thread here), and made a nice photoshop with how he had hoped it would look, however... VGUI doesn't work in NS, so I had to comprimise with the csay-like text.

I could probably change the timer to a cvar, and then add the option to remove it on "say /close". F4ing again while in the readyroom (or joining another team) will also clear it from the player's screen.
Go to the top of the page
PM  
+Quote Post
Bry
post Feb 29 2004, 10:05 AM
Post #8


Xurotcan
Group Icon

Group: Inactive

Member No.: 165
Joined: 7-January 04

Posts: 251
Posts per day: 0.07
Topics Started: 13
Skin: SubBlackS&L

User's local time:
Jun 19 2013, 10:16 AM



QUOTE (mahnsawce @ Feb 29 2004, 06:09 PM)
QUOTE (SjN @ Feb 29 2004, 10:10 AM)
allright. it's pretty good. I like the colors.
the only thing i didn't like is, it disappears too fast from the screen. so you just don't have enough time to finish reading it all.

I wish there was a "ok" button to press after you finish reading it. but i know it's not possible.

how about, set the timer to 60(or just make a variable for the admin)? and in the end of the awards message it will say something like "type /close to hide the awards text".

Well, the original requester for the plugin had suggested a VGUI window (thread here), and made a nice photoshop with how he had hoped it would look, however... VGUI doesn't work in NS, so I had to comprimise with the csay-like text.

I could probably change the timer to a cvar, and then add the option to remove it on "say /close". F4ing again while in the readyroom (or joining another team) will also clear it from the player's screen.

perhaps you should wait and not change the display method atm. As it ahs beens aid in beta 4 flayra will be fixing he motd display. Now how this will be fixed im not sure if anyone really knows. But, if flayra makes it like cs with vgui and html then this would be the method to display it imho
Go to the top of the page
PM  
+Quote Post
steve
post Feb 29 2004, 10:32 AM
Post #9


Dehrnoxti
Group Icon

Group: Good Guys
Member No.: 62
Joined: 17-September 03

Posts: 932
Posts per day: 0.26
Topics Started: 41
Skin: IP.Board Pro

User's local time:
Jun 19 2013, 04:16 AM
Windows or Linux ?: Lin



Updated. Added the cvar "mp_awardsdelay" which determines how long the display is on the client's screens. Clients can remove the text in 3 different ways:
  • Saying "/close" - The text will not appear on anybody's screen, so it does not flood other's display.
  • F4ing again while the display is up.
  • Joining any team.
The default mp_awardsdelay is set to 45 seconds. Version 1.0 of the plugin had the delay set to 20 seconds.

QUOTE
perhaps you should wait and not change the display method atm. As it ahs beens aid in beta 4 flayra will be fixing he motd display. Now how this will be fixed im not sure if anyone really knows. But, if flayra makes it like cs with vgui and html then this would be the method to display it imho


I've not heard that the VGUI windows (MOTD windows) would be fixed for beta 4, however, if they are, I would update this plugin to use them.
Go to the top of the page
PM  
+Quote Post
Head crab
post Feb 29 2004, 04:45 PM
Post #10


Xurotcan
Group Icon

Group: Inactive

Member No.: 184
Joined: 20-January 04

Posts: 237
Posts per day: 0.07
Topics Started: 9
Skin: SubBlackS&L

User's local time:
Jun 19 2013, 05:16 AM
Windows or Linux ?: Win



Works pretty good on our server (IMG:http://www.nsmod.org/forums/style_emoticons/default/biggrin.gif)
Go to the top of the page
PM  
+Quote Post

23 Pages V   1 2 3 > » 
Reply to this topicStart new topic

 



RSS Lo-Fi Version Time is now: 19th June 2013 - 01:16 AM


subBlack shadows and light edition © 2007 - DreamCaster
Original subBlack phpbb2 style by spectre