Hallo.
Also ich habe bereits angefangen; hier mal die bisherige Konfigurationsdatei (auf English):
|
Quellcode
|
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
|
//********************************
// Rank
//***********
//
// Adds rank functionality to gungame
// 1=enabled, 0=disabled
ggc_rank 0
// After which arguments the players will be positionated
// Possible are (only if enabled): "up", "down", "won"
ggc_rank_position 0
// Count how many times the user get leveled up
// 1=enabled, 0=disabled
ggc_rank_up 1
// Count how many times the user get leveled down
// 1=enabled, 0=disabled
ggc_rank_down 1
// Echo how many times the user has won
// 1=enabled, 0=disabled
ggc_rank_won 1
// Level up/level down rate (only works if ggc_rank_up and ggc_rank_down are enabled!)
// 1=enabled, 0=disabled
ggc_rank_udrate 1
// When it should calculate the stats (maybe a short lagg will appear!)
// Possible are: "round_end", "round_start", "map_start", "interval"
ggc_rank_calculate "map_start"
// If ggc_rank_calculate is set to "interval" then you can enter here the interval in seconds
ggc_rank_calculate_int 600
// When the ranks should be saved (only maybe a very very short lagg will appear!)
// Possible are: "round_end", "round_start", "map_start", "interval"
ggc_rank_save "round_end"
// If ggc_rank_save is set to "interval" then you can enter here the interval in seconds
ggc_rank_save_int 600
|
Ich wollte eigentlich nicht das Ranksystem von Mani neuschreiben.
Dann muss man halt "rank" eingeben.
Das Kommando im Chat für den GG Rank ist dann "ggrank".
Man kann ebenfalls z.B. "ggrank Heinz" schreiben, dann wird der Rank von "Heinz" wenn er auf dem Server ist ausgegeben!
Für das ganze wird GGCAA, Gungame Custom Addons Advanced, benötigt, dass ich auch selber geschrieben habe.
Hier kannst du es Downloaden:
http://forums.mattie.info/cs/forums/viewtopic.php?t=18328">http://forums.mattie.info/cs/forums/vie ... hp?t=18328</a>
http://addons.eventscripts.com/addons/view/ggcaa">http://addons.eventscripts.com/addons/view/ggcaa</a>
Dafür schreibe ich einfach das Rank Addon, was dann auch anderen zur Verfügung steht.
So long, Chris