
|
Advanced Configuration: Communications So you want to use fancy coloured,informative, useful messages, like all the other cool kids on the block? Here we go! Q3F's communication features allow you to more accurately communicate information to team-mates, such as your current location or health and also play WAV files to them. First of all, we'll start with teaching
you how to bind basic messages. To store your binds, load up your favourite text editor first and create a new file. Save
this file in your /q3f2/ folder with the extension .cfg
like: comms_config.cfg. Whenever you want to load
this in Q3F, just pull down the console(~ key) and type: "/exec comms_config.cfg". bind
<key> <function> To send a message to everyone by pressing
the 'h' key, use: bind
h "say hello you all!" and to send something to your teammates
only by pressing the j key: bind
j "say_team Help! I'm under attack!" When you send or receive a message in Q3F
you can also designate the group of people it's destined for (or become a
member of a specific receiving group) by using a special command called
'channel'. Think of this like the channel on a radio. The channel command can be used to set,
add, remove and clear channels that you're currently receiving. If you give
no command, your current list of channels will be shown: \channel say_team "#offence Regroup at $L." Wondering what that '$L' is? It's just
like Nitro, Cheapo and Qizmo - it prints your current location! Other '$'
strings include: $H Health You can also make use of a special Q3F
feature which allows you to play a wav sound file
to all team-mates. The wav you wish to play must
exist on all listening clients. The syntax is as follows: say_team #channel &sample message #channel is the channel to play the sound
on (players with no channel selected will also get the message). &sample is the sample to play, from
amongst the set included in the mod (only if the server permits team chat
sounds to be played). Automating Communications Here's an example script that you might
use to make use of the $ communications variables: //Offence bind "say_team
Enemy flag - $l" If you’d like to add some colour to your messages, read on: "say_team ^1HELP^4 - Enemy attacking through the ramp
room!" An you did it, your text is red and blue! :-).
|
||||
|
|
|
|||