Rev 1 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1 | Rev 20 | ||
---|---|---|---|
Line 25... | Line 25... | ||
25 | 25 | ||
26 | ALWAYS MAKE BACKUPS OF YOUR MAPS! |
26 | ALWAYS MAKE BACKUPS OF YOUR MAPS! |
27 | */ |
27 | */ |
28 | 28 | ||
29 | include DEFS.CON |
29 | include DEFS.CON |
30 | include nwinter_hrp/NWDefs.con |
30 | include NWDefs.con |
31 | 31 | ||
32 | gamevar i 0 0 |
32 | gamevar i 0 0 |
33 | gamevar k 0 0 |
33 | gamevar k 0 0 |
34 | gamevar l 0 0 |
34 | gamevar l 0 0 |
35 | 35 | ||
Line 53... | Line 53... | ||
53 | 53 | ||
54 | 54 | ||
55 | // fixing one-time sector sounds |
55 | // fixing one-time sector sounds |
56 | for k allsectors |
56 | for k allsectors |
57 | { |
57 | { |
58 | getsector[k].lotag l |
58 | switch sector[k].lotag |
59 | switch l |
- | |
60 | 59 | ||
61 | case 10091 |
60 | case 10091 |
62 | case 10308 |
61 | case 10308 |
63 | set sector[k].lotag 10426 |
62 | set sector[k].lotag 10426 |
64 | break |
63 | break |
Line 66... | Line 65... | ||
66 | case 10244 |
65 | case 10244 |
67 | set sector[k].lotag 10438 |
66 | set sector[k].lotag 10438 |
68 | break |
67 | break |
69 | 68 | ||
70 | endswitch |
69 | endswitch |
71 | setsector[k].lotag l |
70 | // setsector[k].lotag l |
72 | } |
71 | } |
73 | 72 | ||
74 | // Fixing actors. |
73 | // Fixing actors. |
75 | 74 | ||
76 | // fixing actors already in the map |
75 | // fixing actors already in the map |
77 | for i allsprites |
76 | for i allsprites |
78 | { |
77 | { |
79 | switch .picnum |
78 | switch .picnum |
80 | // Step 1: Santa |
- | |
81 | /* |
79 | /* |
- | 80 | // Step 1: Santa |
|
82 | case 2000 set .picnum 3900 break |
81 | case 2000 set .picnum 3900 break |
83 | case 2045 set .picnum 3905 break |
82 | case 2045 set .picnum 3905 break |
84 | */ |
83 | */ |
85 | // Step 2: Pig Cops |
- | |
86 | /* |
84 | /* |
- | 85 | // Step 2: Pig Cops |
|
87 | case 2002 set .picnum 2000 break |
86 | case 2002 set .picnum 2000 break |
88 | case 2003 set .picnum 2001 break |
87 | case 2003 set .picnum 2001 break |
89 | case 2047 set .picnum 2045 break |
88 | case 2047 set .picnum 2045 break |
90 | */ |
89 | */ |
91 | endswitch |
90 | endswitch |
92 | } |
91 | } |
93 | // fixing actors which spawn on triggers |
92 | // fixing actors which spawn on triggers |
94 | for i allsprites, ifactor RESPAWN |
93 | for i allsprites, ifactor RESPAWN |
95 | { |
94 | { |
96 | switch .lotag |
95 | switch .hitag |
97 | // Step 1: Santa |
- | |
98 | /* |
96 | /* |
- | 97 | // Step 1: Santa |
|
99 | case 2000 set .lotag 3900 break |
98 | case 2000 set .hitag 3900 addlogvar .x addlogvar .y break |
100 | case 2045 set .lotag 3905 break |
99 | case 2045 set .hitag 3905 addlogvar .x addlogvar .y break |
101 | */ |
100 | */ |
102 | // Step 2: Pig Cops |
- | |
103 | /* |
101 | /* |
- | 102 | // Step 2: Pig Cops |
|
104 | case 2002 set .lotag 2000 break |
103 | case 2002 set .hitag 2000 addlogvar .x addlogvar .y break |
105 | case 2003 set .lotag 2001 break |
104 | case 2003 set .hitag 2001 addlogvar .x addlogvar .y break |
106 | case 2047 set .lotag 2045 break |
105 | case 2047 set .hitag 2045 addlogvar .x addlogvar .y break |
107 | */ |
106 | */ |
108 | endswitch |
107 | endswitch |
109 | } |
108 | } |
110 | endevent |
109 | endevent |