File: compass.cfg

package info (click to toggle)
redeclipse 1.6.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,980 kB
  • sloc: cpp: 99,295; ansic: 2,398; sh: 929; makefile: 691; objc: 361; awk: 167; sql: 102
file content (93 lines) | stat: -rw-r--r-- 4,245 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
newcompass main "textures/menu" [
    compass "menus" [showcompass menus]
    compass "voice" [showcompass voice]
    compass "team" [showcompass team]
    compass "bot" [showcompass bot]
    compass "clear" [clearcompass]
]

newcompass menus "textures/menu" [
    compass "main" [showgui main]
    compass "maps" [showgui maps 1]
    compass "vote" [showgui maps 2]
    compass "servers" [showgui servers]
    compass "team" [showgui team]
    if (&& [> (mutators) 0] [& (mutators) 0x0020]) [compass "loadout" [showgui profile 2]]
    compass "options" [showgui options]
]

saycompass = [ compass $arg1 [say (format "%1%2" (getsaycolour) [@@arg1])]]
teamcompass = [ compass $arg1 [sayteam (format "%1%2" (getsaycolour) [@@arg1])]]

newcompass voice "textures/hud/voices" [
    saycompass "argh!" 
    saycompass "lucky shot"
    saycompass "nice shot"
    saycompass "boom!" 
    saycompass "damn it!" 
    saycompass "haha"
    saycompass "suck it" 
    saycompass "pzap!" 
    compass "team voice actions" "V" [showcompass team]
]

newcompass team "textures/hud/voices" [
    teamcompass "yes" 
    teamcompass "sorry" 
    teamcompass "no problem" 
    teamcompass "thanks" 
    teamcompass "no" 
    teamcompass "go go go!" 
    teamcompass "hang on" 
    teamcompass "pzap!" 
    compass "common voice actions" "V" [showcompass voice]
]

newcompass bot "textures/hud/voices" [
    compass "forget" [sayteam "bots forget"]
    if (= (gamemode) 2) [ // dm
        compass " " [ ]                                      // attack affinity
        compass " " [ ]                                      // attack location
        //compass " " [ ]                                      // attack name
        compass "defend me"   [sayteam "bots defend me"]     // defend me
        compass "defend here" [sayteam "bots defend here"]   // defend here
        compass " " [ ]                                      // defend affinity
        compass " " [ ]                                      // defend location
        //compass " " [ ]                                      // defend name
    ]
    if (= (gamemode) 3) [ // ctf
        compass "attack flag" [sayteam "bots attack flag"] // attack affinity
        compass "attack base" [sayteam "bots attack base"] // attack location
        //compass " " [ ]                                      // attack name
        compass "defend me"   [sayteam "bots defend me"]   // defend me
        compass "defend here" [sayteam "bots defend here"] // defend here
        compass "defend flag" [sayteam "bots defend flag"] // defend affinity
        compass "defend base" [sayteam "bots defend base"] // defend location
        //compass " " [ ]                                      // defend name
    ]
    if (= (gamemode) 4) [ // dac
        compass " " [ ]                                      // attack affinity
        compass " " [ ]                                      // attack location
        //compass " " [ ]                                      // attack name
        compass "defend me"   [sayteam "bots defend me"]     // defend me
        compass "defend here" [sayteam "bots defend here"]   // defend here
        compass " " [ ]                                      // defend affinity
        compass " " [ ]                                      // defend location
        //compass " " [ ]                                      // defend name
    ]
    if (= (gamemode) 5) [ // bb
        compass "attack ball" [sayteam "bots attack ball"] // attack affinity
        compass "attack goal" [sayteam "bots attack goal"] // attack location
        //compass " " [ ]                                      // attack name
        compass "defend me"   [sayteam "bots defend me"]   // defend me
        compass "defend here" [sayteam "bots defend here"] // defend here
        compass " " [ ]                                    // defend affinity
        compass "defend goal" [sayteam "bots defend goal"] // defend location
        //compass " " [ ]                                      // defend name
    ]
    compass "reset" [sayteam "bots reset"]
]

bind V [showcompass voice]
bind X [showcompass team]
bind B [if (&& (! (& (mutators) $mutsbitffa)) (!= (gamemode) 6)) [showcompass bot]]