1 // Simple help message system
2 // It prints messages with the configured name and interval to all connected users
3 // Exec this file and start the help system with the command help_loop
4 // You can adjust those two settings and change the messages and their count
5 // help_cfg_time is the time between two messages in seconds
6 // help_cfg_prefix is prepended to each message, useful to color the nick and message differently
7 // help_msg_count is from 0 to last message, thus one more then the last message number you want
8 // the messages need to be starting from 0 and be consecutive
9 // for manual use: help_inc switches to the next message, help_doit will print the current message, help_next will do both together
12 set help_cfg_nick "^2Help System^3"
14 set help_cfg_prefix "^2"
18 set help_msg_0 "Big Admin is watching you, so please be friendly or feel their almighty ban-hammer!"
19 set help_msg_1 "If you want to learn more about Xonotic read ^1'Halogene's Newbie Corner' (https://xonotic.org/tut) ${help_cfg_prefix}as it contains lots of useful tips and tricks, explains all the weapons and helps to improve your gameplay."
20 set help_msg_2 "Please watch out for balanced teams and change by pressing F5 (teammenu) or F6 (auto join 'best' team)."
21 set help_msg_3 "When trying to bunny-hop you can ^1hold the jump button ${help_cfg_prefix}while you are still in the air, this will make those jumps VERY easy to time and work more reliable."
22 set help_msg_4 "When a vote is called you can accept it via F1 or reject it via F2 (default keys)."
23 set help_msg_5 "Spectating other (good) players helps to learn new tricks. To spectate press F3 and then Mouse1 to switch between the players you want to spectate. F5, F6 or jump will get you back into the game (default keys)."
24 set help_msg_6 "Being a beginner is great! You can learn so many new tricks and improve quickly. Watch others, ask for advice and use your common sense effectively."
25 set help_msg_7 "If others are better than you, it does not mean they cheat. Save such complaints for when you have more experience and know what kind of funky stuff is possible."
26 set help_msg_8 "In CTF, it's good to move around and get involved in the action. You get fragged quite a bit but you are also most helpful to your team."
27 set help_msg_9 "Use the radar to see where your teammates are. Pressing zoom will expand the radar image to give you a better overview."
28 set help_msg_10 "Most teammessages display waypoints by default. Use those to guide your teammates. You can also see them and the flagcarrier in the radar."
29 set help_msg_11 "Protect your flagcarrier at all cost! Also save health and armor for him, he might need them more than you!"
30 set help_msg_12 "You can use the Blaster and most explosive weapons to jump around. Just look 'at your feet' and press fire. If you also jump at the same time you get even higher."
31 set help_msg_13 "Be friendly and helpful to other players! Being angry at others' mistakes is understandable, but nobody is perfect. Try to use calm words when telling them how to correct their mistake."
32 set help_msg_14 "You can use the zoom key with all guns, only the Vortex has it as a extra function on Mouse2 (default key)."
33 set help_msg_15 "Notice what is happening around you! If your base is empty in CTF then STAY and defend the flag! Make sure someone defends the flagcarrier or assist him yourself."
34 set help_msg_16 "You can drop the weapon you currently have with Backspace (default key). You can help your unarmed teammates this way."
35 set help_msg_17 "Learn to use the team messages! You find them in the Setting/Input menu. Try changing them to keys you can press easier than the defaults."
36 set help_msg_18 "Gaming should be fun! Try to have a nice time, be helpful, mindful and treat others like you want to be treated."
37 set help_msg_19 "Visit the official forum on ^1https://forums.xonotic.org/ ${help_cfg_prefix}and feel free to open a thread if you have questions."
38 set help_msg_20 "If you already have a good weapon, it's a great idea to let your teammates get something better than the Shotgun too!"
39 set help_msg_21 "Press T to chat with others, press Y for messages to your team only, press TAB to see the scores and U for the chat history (default keys)."
40 set help_msg_22 "You can use ^1'suggestmap PART_OF_NAME' ${help_cfg_prefix}to make a map come up at the vote screen after a map was played."
41 set help_msg_23 "The console is accessible through the ~ key or by pressing Shift+ESC. It has many more advanced features, use 'cmdlist' and 'cvarlist' to get a full list of available commands/settings."
42 set help_msg_24 "The Blaster is a useful tool for gaining speed and jumping around, but it does little damage."
43 set help_msg_25 "The Shotgun's primary firemode has spread and is more useful at a closer distance, use secondary for the melee attack and slap into other players faces!"
44 set help_msg_26 "The Machine Gun secondary has a burst fire mode and less spread than the primary mode."
45 set help_msg_27 "The Mortar is a good all around gun but takes some practice to aim it, because of the projectile's curve."
46 set help_msg_28 "The Electro has a combo attack. Fire the primary mode at the balls from the secondary mode for a huge and powerful explosion."
47 set help_msg_29 "The Crylink's primary fire bounces. Both firemodes pull your enemies, making it a great tool to stop a flag carrier."
48 set help_msg_30 "The Vortex is a powerful sniper gun. Aim carefully!"
49 set help_msg_31 "The Hagar is underestimated, but very powerful if you aim right. The secondary mode charges up to four rockets and causes devasting damage if you release them."
50 set help_msg_32 "The Devastator is powerful but slow. Keep Mouse1 pressed to guide the rockets. Secondary firemode makes the rocket(s) explode."
51 set help_msg_33 "The Arc is a strong lighting beam, which bends slighty if you move your mouse. The secondary firemode is very strong but short. Both firemodes also heal teammates if you shoot at them."
52 set help_msg_34 "By default, explosions go through walls. Be careful when hiding behind walls!"
53 set help_msg_35 "Get on IRC to chat with fellow players. Take a look at ^1https://xonotic.org/chat/${help_cfg_prefix}."
54 set help_msg_36 "Don't drink and frag."
55 set help_msg_37 "Don't shoot at players who are typing/chatting. You recognize those players by the keyboard symbols above their head."
56 set help_msg_38 "'gg' is shorthand for 'Good Game', 'gl' means 'Good luck' and 'hf' 'Have fun'."
57 set help_msg_39 "Players with the prefix '$bot_prefix${help_cfg_prefix}' in their nick are bots on this server. There is also a clan named [BOT]."
58 set help_msg_40 "Read the help messages!"
59 set help_msg_41 "Visit the stats page at ^1https://stats.xonotic.org/ ${help_cfg_prefix}and check out how you are doing in the rankings!"
60 set help_msg_42 "Start playing 1on1 if you want to learn fast"
61 set help_msg_43 "Visit ^1https://xonotic.org/pickup/ ${help_cfg_prefix}to get in touch with the experienced players. Ask the stuff and play with them!"
62 set help_msg_44 "Look for servers that have a good ping for you. You can't play this game well with a ping > 100. If there are no servers close enough to you, cooperate with your friends to setup one."
63 set help_msg_45 "If you want to play the next map you can cast a vote via 'vcall endmatch' in the console. Other players can vote using F1 and F2 (default keys)."
64 set help_msg_46 "Always watch your back. Do not just run away, fight back as you retreat. Otherwise, you could be shot in the back."
65 set help_msg_47 "Try to get as much armor and health as you can, but remember your teammates need armor and health too."
66 set help_msg_48 "Do not attack if you have neither a good weapon, nor health, nor armor."
67 set help_msg_49 "Standing still makes you an easy target. You can move around the map faster by bunny hopping."
68 set help_msg_50 "You can use the Blaster to climb up walls. Before trying this, become familiar with the basics of Blaster movement."
69 set help_msg_51 "You can control your movement in air. Use it to prevent yourself from falling off the map when somebody starts pushing you around."
70 set help_msg_52 "Use the Blaster, Mortar or Devastator in space maps to push other players off the map. They will enjoy it."
71 set help_msg_53 "You can turn off automatic weapon changing in the Player menu. If you configure your key bindings, manually switching weapons can be faster and easier."
72 set help_msg_54 "Choose the right weapon for the job, not just the one that the game automatically puts in your hand."
73 set help_msg_55 "Enter ^1'lsmaps' ${help_cfg_prefix}in the console to get a list of maps configured on the server."
74 set help_msg_56 "While you are in the air, release the forward key, press one of the left/right keys and move your mouse in the same direction. This will bend your fly/jump path."
75 set help_msg_57 "Hold the jump key to keep on jumping (called ^1'bunny-hopping'${help_cfg_prefix}) which will accelerate your speed."
77 // aliases making up the actual helpsystem
79 alias help_say "set help_tmp_oldnick \"$sv_adminnick\"; set sv_adminnick \"$help_cfg_nick\"; say \"$*\"; help_say2"
80 alias help_say2 "set sv_adminnick \"$help_tmp_oldnick\""
81 alias help_doit "sv_cmd rpn /help_tmp_msg help_msg_$help_tmp_index def; help_doit2"
82 alias help_doit2 "help_say $help_cfg_prefix$help_tmp_msg"
83 alias help_inc "sv_cmd rpn /help_tmp_index help_tmp_index 1 add $help_msg_count mod def"
84 alias help_next "help_inc; help_doit"
85 alias help_loop "help_next; defer $help_cfg_time help_loop"