Addon Details

Watch - Add Favorite

Trivia ScreenShot

Does this version work for you?

Trivia - Version uh-oh idk

posted on 2008-07-19 18:00:35
by bonbon


[size=16][color=red][b]Commands[/b][/color][/size][list] [size=15][color=green][b]Admin/Rcon[/b][/color][/size][list] [*][color=blue][size=14][b]Trivia[/b][/size][/color][list] [*][color=green][size=13][b]add[/b][/size][/color][list] [*][color=orange][b]streak[/b][/color][list] [*][color=red]Syntax[/color] - "amount" "message" [*][color=red]Description[/color] - When a player answers "amount" questions in a row, "message" appears in chat [/list] [*][color=orange][b]question[/b][/color][list] [*][color=red]Syntax[/color] - ""question"|"answer"" [*][color=red]Description[/color] - Adds a question and answer to questions.txt [/list] [*][color=orange][b]bonus[/b][/color][list] [*][color=red]Syntax[/color] - "attribute/weapon" "streak multiplier/chance (multiplied by streak)" [min streak] [*][color=red]Description[/color] - Adds bonuses for people getting questions correct, a more detailed description in trivia.cfg [/list] [/list] [*][color=green][size=13][b]del[/b][/size][/color][list] [*][color=orange][b]streak[/b][/color][list] [*][color=red]Syntax[/color] - "amount" [*][color=red]Description[/color] - deletes a streak made by trivia add streak "amount" "message" [/list] [*][color=orange][b]question[/b][/color][list] [*][color=red]Syntax[/color] - "question" [*][color=red]Description[/color] - deletes a question from questions.txt [/list] [/list] [*][color=green][size=13][b]start[/b][/size][/color][list] [*][color=orange][b]Time[/b][/color][list] [*][color=red]Syntax[/color] - "time" [*][color=red]Description[/color] - Starts trivia for "x" seconds [/list] [*][color=orange][b]Questions[/b][/color][list] [*][color=red]Syntax[/color] - "questions" [*][color=red]Description[/color] - Starts trivia for "x" questions [/list] [*][color=orange][b]Map[/b][/color][list] [*][color=red]Syntax[/color] - None [*][color=red]Description[/color] - Starts trivia for the whole map [/list] [*][color=orange][b]Team[/b][/color][list] [*][color=red]Syntax[/color] - "questions" [*][color=red]Description[/color] - Starts trivia with teams, CTs vs. Ts [/list] [/list] [*][color=green][size=13][b]stop[/b][/size][/color][list] [*][color=orange][b]record[/b][/color][list] [*][color=red]Syntax[/color] - None [*][color=red]Description[/color] - Stops Trivia and records the score [/list] [*][color=orange][b]noscore[/b][/color][list] [*][color=red]Syntax[/color] - None [*][color=red]Description[/color] - Stops Trivia but doesn't record score, useful for cheaters [/list] [/list] [/list] [/list] [size=15][color=green][b]Public[/b][/color][/size][list] [*][color=green][size=13][b]trivrank[/b][/size][/color][list] [*][color=red]Description[/color] - Shows a score menu with the Top players, player info, credits and your score [/list] [*][color=green][size=13][b]trivhelp[/b][/size][/color][list] [*][color=red]Description[/color] - Shows the help menu that tells about all the different commands [/list] [*][color=green][size=13][b]!question[/b][/size][/color][list] [*][color=red]Description[/color] - Displays the current question if there's a game of trivia on [/list] [/list] [/list] [size=16][color=red][b]config[/b][/color][/size][list] [syntax="es"]// The delay between questions after they're answered/not answered and the new question trivia_question_delay 30 // Admins that can start/stop trivia from in game // If you have mani_admins in trivia_admins, anyone with admin in manis clients.txt can acess it. // If you have group auth set up, anyone with trivia_admin acess may use trivia_admins STEAM_0:0:0943432,STEAM_0:1:23094032,mani_admins // Scripters can also use the trivia command in their scripts, an example would be //------Python--------// // import es // maps = ['de_dust', 'cs_office'] // def es_map_start(event_var): // if str(es.ServerVar('eventscripts_currentmap')) in maps: // es.server.queuecmd('trivia start map') //-------ESS---------// // block load // { // es_xset maps "de_dust,cs_office" // } // event es_map_start // { // if (server_var(eventscripts_currentmap) in maps) then trivia start map // } // The amount of hints per question. With each passing hint, a letter is replaced by a character, defined soon // Don't worry about small words, if you have hints to 5, and a 3 letter word comes along, there will only be 2 hints trivia_hints 4 // The character described above trivia_unkown_letter - // The delay between hints trivia_hint_delay 60 // To add messages when a player gets amount of questions in a row, you can use the "trivia add streak " command // There is one here as an example for you. // The script will replace with the players name in lightgreen // You can use all the colors that you can use for es_msg, available colors are // #lightgreen -- Lightgreen text, like mani admin say // #green -- Dark green text, like mani's adverts // #default -- Yellow text, the color of the text when you talk trivia add streak 3 Everyone give a round of aplaus for getting the last #lightgreen3#default questions! trivia add streak 4 is on a role! // The amount of players that are in the top menu trivia_players_in_top 10 // The maximum amount of popus a person can have open at once, too many (50+) may crash your server, there are nubs out there trivia_max_menus 10 // Admins that can use the trivia command // You can specify an individual steamid, or if you run mani, you can use mani_admins so anyone in mani's clients.txt will have access // If you have group Auth set up, anyone with trivia_admin access can use trivia_admins STEAM_0:0:11089864,mani_admins // Whether or not commands are announced on round start, 1 to enable, 0 to disable trivia_announce_commands 1 // When using trivia time , this will send a hudhint to everyone every time is divisible by saying how much time // Left in the current game of trivia there is trivia_show_time_dividents 10 // Here's where you can add bonuses for players getting questions right // Valid bonuses are // Health // Speed // Invisibility // Cash // Weapons // The format you use to add bonuses looks like this // Trivia add bonus [min streak] // For attributes, you can use health, speed, invisibility, or cash, or a weapon name // The third parameter, is the chance of getting it (If it's a weapon) or how much they get per level // So an example would be, if you did // trivia add bonus health 10 and a person had a 3 question streak, it'd give them an extra 30 health // For giving a weapon, ignore the max amount parameter // if you had trivia add bonus m249 10 1 and the person had a 3 question streak, there'd be a 30% chance that the player would recieve an m249 // if you specify the optional parameter, min streak, only people who have that big of a streak can get it trivia add bonus health 10 50 trivia add bonus speed 0.01 0.3 2 trivia add bonus invisibility 5 50 3 trivia add bonus cash 100 10000 4 trivia add bonus deagle 10 1 5 trivia add bonus m4a1 8 1 6 trivia add bonus m249 4 1 7 // Whether or not powerups will be announced to server or player, 1 is server, 0 is player trivia_announce_powerup 1 // The chance that a word will be scrambled as a hint trivia_scramble_chance 10 // When trivia stops, whether or not delete everybodies streaks trivia_delete_streak_on_end 1[/syntax][/list] [color=blue][size=14]Note: You have to unload trivia to change questions.txt![/color][/size]


Extract all files and folders to your ../cstrike/ directory add es_load trivia to your autoexec.cfg edit questions.txt, and trivia.cfg to your liking. Restart your server

Version Notes For uh-oh idk

Updated on: 2009-03-03 00:35:13 EST by bonbon (View Zip Contents)
Pretty much fixed the mod...

( Previous Versions )