-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathnew_multiplayer_map.edt
More file actions
64 lines (56 loc) · 1.66 KB
/
Copy pathnew_multiplayer_map.edt
File metadata and controls
64 lines (56 loc) · 1.66 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
// This is a sample map script for a new custom-made multiplayer map.
// It inherits from a base config with some basic co-op configuration, which you can override.
// This file must must be named same as the .bsp and can either be saved in sourcemod\data\srccoop or the game's maps folder.
// The "maps" folder is also scanned from the .bsp if this .edt is packed in it.
// For more information on map scripts, check the wiki or examine other maps' scripts.
#base "base/coop_base.edt"
#base "../addons/sourcemod/data/srccoop/base/coop_base.edt"
"config"
{
"campaign" "SourceCoop"
"chapter" "<Title>"
// "workshop" "<Workshop id>"
// Tells the mod to allow any map to be next (using a regex expression).
// Depending on the transitions in this map, you can specify nextmap inside the quotes to prevent players from backtracking.
"nextmap" "/.*/"
// Sets the "intro" type. Used together with delayed entity outputs.
// Freezes players in place until everyone connects or the startup timer runs out.
// Other values are "none" (players walk around freely) and "fade" (same as freeze but fades from black).
"intro_type" "freeze"
"features"
{
// setup plugin features here
}
"define"
{
// override defines from base configs here
}
"console"
{
// setup convars here
}
"equipment"
{
// setup extra equipment, health or suit here
}
"entity"
{
// modify map's entities here
// postpones map startup, edit as needed
"modify"
{
"classname" "logic_auto"
"functions"
{
"delay_output" "OnNewGame"
"delay_output" "OnMapSpawn"
}
}
}
"checkpoint"
{
"use_map_autosave" "1"
"use_map_spawnpoint" "1"
// add extra checkpoints here
}
}