Skip to content

Commit 0d26fc5

Browse files
committed
custom sp mapents, crash fixes, bot support etc
- add custom mapEnts for each SP map (3 dm spawns, glob intermission) - slightly modify map exporter to export original mapEnts and not the custom ones ^ - move MP-SP logic to module "_Map" - intercept and skip a _entity visibility_ check on SP maps - `scr_testclients` now works on SP maps - fix damage and respawn on SP maps
1 parent a910f03 commit 0d26fc5

35 files changed

+5409
-10361
lines changed

mods/spmod/mapents/ac130.ents

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"sundiffusecolor" "0 0 0"
3+
"suncolor" "0 0 0"
4+
"classname" "worldspawn"
5+
"diffusefraction" "0"
6+
"ambient" "0"
7+
"sunlight" "0"
8+
"sundirection" "0 0 0"
9+
"_color" "0 0 0"
10+
"contrastgain" "0"
11+
}
12+
{
13+
"angles" "0 235 0"
14+
"origin" "1302 5030 36"
15+
"classname" "mp_dm_spawn"
16+
}
17+
{
18+
"angles" "0 130 0"
19+
"origin" "1636 3603 60"
20+
"classname" "mp_dm_spawn"
21+
}
22+
{
23+
"angles" "0 40 0"
24+
"origin" "-443 3421 60"
25+
"classname" "mp_dm_spawn"
26+
}
27+
{
28+
"origin" "349 3295 269"
29+
"angles" "0 203 0"
30+
"classname" "mp_global_intermission"
31+
}

mods/spmod/mapents/aftermath.ents

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"contrastGain" "0.15"
3+
"diffusefraction" "0.45"
4+
"_color" "0.90 0.90 1"
5+
"sunlight" "1"
6+
"sundirection" "-35 150 0"
7+
"sundiffusecolor" "1 1 1"
8+
"suncolor" "1 1 1"
9+
"ambient" ".15"
10+
"reflection_color_correction" "aftermath"
11+
"classname" "worldspawn"
12+
}
13+
{
14+
"angles" "0 280 0"
15+
"origin" "-671 8948 696"
16+
"classname" "mp_dm_spawn"
17+
}
18+
{
19+
"angles" "0 0 0"
20+
"origin" "-997 8631 699"
21+
"classname" "mp_dm_spawn"
22+
}
23+
{
24+
"angles" "0 280 0"
25+
"origin" "-781 9402 692"
26+
"classname" "mp_dm_spawn"
27+
}
28+
{
29+
"origin" "-695 8511 717"
30+
"angles" "0 90 0"
31+
"classname" "mp_global_intermission"
32+
}

mods/spmod/mapents/airlift.ents

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"bouncefraction" ".7"
3+
"ambient" ".05"
4+
"diffusefraction" "0.25"
5+
"sunlight" "1.5"
6+
"sundiffusecolor" ".9 0.75 .88"
7+
"suncolor" "1 0.92 0.88"
8+
"sundirection" "-17 56.333 0"
9+
"_color" ".8 .9 1"
10+
"contrastgain" "0.425"
11+
"classname" "worldspawn"
12+
"sunradiosity" "1.5"
13+
"radiosityscale" "1.2"
14+
}
15+
{
16+
"angles" "0 270 0"
17+
"origin" "-948 -3807 4"
18+
"classname" "mp_dm_spawn"
19+
}
20+
{
21+
"angles" "0 70 0"
22+
"origin" "-1328 -4788 144"
23+
"classname" "mp_dm_spawn"
24+
}
25+
{
26+
"angles" "0 0 0"
27+
"origin" "-2190 -4231 -1"
28+
"classname" "mp_dm_spawn"
29+
}
30+
{
31+
"origin" "-1717 -3673 143"
32+
"angles" "10 297 0"
33+
"classname" "mp_global_intermission"
34+
}

mods/spmod/mapents/airplane.ents

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"ambient" ".03"
3+
"diffusefraction" "0.01"
4+
"bouncefraction" "2"
5+
"sunlight" "1.5"
6+
"fov_inner" "60"
7+
"classname" "worldspawn"
8+
"suncolor" ".9 .9 1"
9+
"sundiffusecolor" "0.015 0.015 0.013"
10+
"sundirection" "-18 100 0"
11+
"_color" ".6 .6 .6"
12+
"fov_outer" "120"
13+
"reflection_color_correction" "airplane"
14+
}
15+
{
16+
"angles" "0 264 0"
17+
"origin" "-758 656 188"
18+
"classname" "mp_dm_spawn"
19+
}
20+
{
21+
"angles" "0 248 0"
22+
"origin" "57 606 188"
23+
"classname" "mp_dm_spawn"
24+
}
25+
{
26+
"angles" "0 270 0"
27+
"origin" "523 678 188"
28+
"classname" "mp_dm_spawn"
29+
}
30+
{
31+
"origin" "-1166 581 361"
32+
"angles" "18 334 0"
33+
"classname" "mp_global_intermission"
34+
}

mods/spmod/mapents/ambush.ents

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"reflection_color_correction" "ambush"
3+
"sunradiosity" "2"
4+
"northyaw" "225"
5+
"sunlight" "1.5"
6+
"diffusefraction" "0.05"
7+
"ambient" ".1"
8+
"bouncefraction" ".1"
9+
"radiosityscale" "1"
10+
"contrastgain" "0.15"
11+
"_color" "0.90 0.90 1"
12+
"sundirection" "-146 -34 0"
13+
"sundiffusecolor" ".43 .39 1"
14+
"suncolor" ".9 .98 1"
15+
"classname" "worldspawn"
16+
}
17+
{
18+
"angles" "0 125 0"
19+
"origin" "235 -2102 84"
20+
"classname" "mp_dm_spawn"
21+
}
22+
{
23+
"angles" "0 125 0"
24+
"origin" "23 -1730 98"
25+
"classname" "mp_dm_spawn"
26+
}
27+
{
28+
"angles" "0 295 0"
29+
"origin" "-558 -1389 78"
30+
"classname" "mp_dm_spawn"
31+
}
32+
{
33+
"origin" "-585 -1408 176"
34+
"angles" "15 310 0"
35+
"classname" "mp_global_intermission"
36+
}

mods/spmod/mapents/armada.ents

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"_color" ".75 .84 1"
3+
"ambient" "0"
4+
"sunlight" "1.4"
5+
"diffusefraction" "0.1"
6+
"classname" "worldspawn"
7+
"suncolor" ".85 .76 .53"
8+
"sundiffusecolor" ".75 .84 1"
9+
"sundirection" "-30 -340 0"
10+
}
11+
{
12+
"angles" "0 123 0"
13+
"origin" "2239 26714 70"
14+
"classname" "mp_dm_spawn"
15+
}
16+
{
17+
"angles" "0 326 0"
18+
"origin" "1357 27676 2"
19+
"classname" "mp_dm_spawn"
20+
}
21+
{
22+
"angles" "0 38 0"
23+
"origin" "611 26246 6"
24+
"classname" "mp_dm_spawn"
25+
}
26+
{
27+
"origin" "2239 26714 70"
28+
"angles" "0 123 0"
29+
"classname" "mp_global_intermission"
30+
}

mods/spmod/mapents/blackout.ents

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"_color" "0.6 0.7 1.000000"
3+
"script_flag" "blackout_lightswitch_begins"
4+
"suncolor" "0.75 0.9 1"
5+
"sundiffusecolor" "0.5 0.6 1"
6+
"contrastgain" ".25"
7+
"sunradiosity" "1"
8+
"ambient" "0.1"
9+
"diffusefraction" "0.35"
10+
"sunlight" ".6"
11+
"sundirection" "-30 42 0"
12+
"classname" "worldspawn"
13+
"reflection_color_correction" "hunted"
14+
}
15+
{
16+
"angles" "0 20 0"
17+
"origin" "-6309 -1935 312"
18+
"classname" "mp_dm_spawn"
19+
}
20+
{
21+
"angles" "0 295 0"
22+
"origin" "-5211 -689 276"
23+
"classname" "mp_dm_spawn"
24+
}
25+
{
26+
"angles" "0 165 0"
27+
"origin" "-3938 -2000 164"
28+
"classname" "mp_dm_spawn"
29+
}
30+
{
31+
"origin" "-4097 -2369 397"
32+
"angles" "0 143 0"
33+
"classname" "mp_global_intermission"
34+
}

mods/spmod/mapents/bog_a.ents

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"northyaw" "90"
3+
"sunradiosity" ".7"
4+
"ambient" "0.125"
5+
"diffusefraction" ".4"
6+
"sunlight" "0.5"
7+
"sundirection" "-22 247 0"
8+
"suncolor" ".68 .72 .76"
9+
"sundiffusecolor" "0.717647 0.776471 1.000000"
10+
"_color" ".67 .72 .94"
11+
"radiosityscale" "1.8"
12+
"classname" "worldspawn"
13+
}
14+
{
15+
"angles" "0 250 0"
16+
"origin" "7613 2471 109"
17+
"classname" "mp_dm_spawn"
18+
}
19+
{
20+
"angles" "0 306 0"
21+
"origin" "6559 2269 109"
22+
"classname" "mp_dm_spawn"
23+
}
24+
{
25+
"angles" "0 244 0"
26+
"origin" "7341 1769 109"
27+
"classname" "mp_dm_spawn"
28+
}
29+
{
30+
"origin" "7328 1154 263"
31+
"angles" "12 81 0"
32+
"classname" "mp_global_intermission"
33+
}

mods/spmod/mapents/bog_b.ents

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"sundiffusecolor" ".9 0.88 .75"
3+
"suncolor" "1 0.92 0.88"
4+
"classname" "worldspawn"
5+
"northyaw" "180"
6+
"sunlight" "1"
7+
"ambient" ".1"
8+
"bouncefraction" ".7"
9+
"diffusefraction" "0.5"
10+
"sundirection" "-50 136 0"
11+
"_color" ".8 .9 1"
12+
"contrastgain" "0.425"
13+
}
14+
{
15+
"angles" "0 196 0"
16+
"origin" "5335 -3159 -12"
17+
"classname" "mp_dm_spawn"
18+
}
19+
{
20+
"angles" "0 310 0"
21+
"origin" "4291 -2681 -4"
22+
"classname" "mp_dm_spawn"
23+
}
24+
{
25+
"angles" "0 334 0"
26+
"origin" "3392 -2771 -63"
27+
"classname" "mp_dm_spawn"
28+
}
29+
{
30+
"origin" "4273 -3439 -56"
31+
"angles" "0 50 0"
32+
"classname" "mp_global_intermission"
33+
}

mods/spmod/mapents/cargoship.ents

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"reflection_color_correction" "cargoship"
3+
"sunlight" "1"
4+
"diffusefraction" "0.15"
5+
"ambient" ".1"
6+
"radiosityscale" "2"
7+
"sundiffusecolor" "0.5 0.5 0.7"
8+
"contrastgain" "0.15"
9+
"_color" "0.5 0.5 0.7"
10+
"sundirection" "-25 315 0"
11+
"suncolor" "0.5 0.6 1.000000"
12+
"classname" "worldspawn"
13+
}
14+
{
15+
"angles" "0 181 0"
16+
"origin" "1074 5 236"
17+
"classname" "mp_dm_spawn"
18+
}
19+
{
20+
"angles" "0 41 0"
21+
"origin" "-1140 -277 76"
22+
"classname" "mp_dm_spawn"
23+
}
24+
{
25+
"angles" "0 317 0"
26+
"origin" "-2133 478 76"
27+
"classname" "mp_dm_spawn"
28+
}
29+
{
30+
"origin" "-2115 468 289"
31+
"angles" "11 334 0"
32+
"classname" "mp_global_intermission"
33+
}

0 commit comments

Comments
 (0)