-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathtk.nvgt
More file actions
64 lines (63 loc) · 1.97 KB
/
Copy pathtk.nvgt
File metadata and controls
64 lines (63 loc) · 1.97 KB
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
#include "includes/include.nvgt"
void main()
{
@tts_default_text_processing_callback = translation_callback;
//tp.behind_pitch_decrease = 5;
//p.behind_pitch_decrease = 5;
distpool.max_distance = 300;
//distpool.behind_pitch_decrease = -5;
distpool.pan_step = 0.2;
//mpool.behind_pitch_decrease = 5;
//objpool.behind_pitch_decrease = 5;
sourcepool.hrtf = false;
distpool.hrtf = false;
distpool.volume_step = 0.05;
trackpool.max_distance = 1000;
trackpool.volume_step = -1;
//trackpool.behind_pitch_decrease = 5;
set_sound_storage("sounds.dat","tyuisfgbnmvhxzguyeavbnz");
//set_sound_storage("sounds.dat");
if(@sound_default_pack==null)
{
u32.alert("error","Open sounds.pack an error has occurred",false,MB_ICONERROR);
exit();
}
data_read();
if(is_hardbanned())
{
p.play_stationary("error.ogg",false);
int q=u32.question("error","you are currently banned from the game. Would you like to generate an ID to reverse this ban?",false,MB_ICONERROR);
if(q==1) clipboard_set_text(banid);
exit();
}
load_mapbuild_resources();
set_sound_global_hrtf(global_hrtf);
/*
if (currently_input_device != 1)
{
set_sound_input_device (currently_input_device);
}
*/
if(get_sound_output_devices().find(currently_output_device_name)==-1)
{
u32.alert("Error","The output sound device "+currently_output_device_name+" does not exist on this system anymore. Using the default.",false,MB_ICONERROR);
currently_output_device = 0;
currently_output_device_name = get_sound_output_devices()[currently_output_device];
sound_default_engine.set_device(currently_output_device);
}
else if (currently_output_device != 0)
{
sound_default_engine.set_device (currently_output_device);
}
create_buffer("all");
create_buffer("chats");
create_buffer("misc");
create_buffer("kills");
speak_length_start();
@tk_window = show_window ("the killer version "+ver,WINDOW_FLAG_FULLSCREEN);
weapons.reserve(15);
set_garbage_collect_mode (3);
set_garbage_collect_auto_frequency (5000);
//dl_file("https://pan.xztom.com/pro/thekiller/tk.zip","tk.zip");
mainmenu();
}