OSDN Git Service

- Removed pcode escalation with -h since the only thing is does is confuse people...
[zandronum/zandronum-acc.git] / zspecial.acs
1 //**************************************************************************\r
2 //**\r
3 //** zspecials.acs\r
4 //**\r
5 //**************************************************************************\r
6 \r
7 special\r
8 //        1:Polyobj_StartLine\r
9           2:Polyobj_RotateLeft(3),\r
10           3:Polyobj_RotateRight(3),\r
11           4:Polyobj_Move(4),\r
12 //        5:Polyobj_ExplicitLine\r
13           6:Polyobj_MoveTimes8(4),\r
14           7:Polyobj_DoorSwing(4),\r
15           8:Polyobj_DoorSlide(5),\r
16           9:Line_Horizon(0),\r
17          10:Door_Close(2),\r
18          11:Door_Open(2,3),\r
19          12:Door_Raise(3,4),\r
20          13:Door_LockedRaise(4,5),\r
21          14:Door_Animated(3),\r
22          15:Autosave(0),\r
23 //       16:Transfer_WallLight\r
24          17:Thing_Raise(1),\r
25          18:StartConversation(1,2),\r
26          19:Thing_Stop(1),\r
27          20:Floor_LowerByValue(3),\r
28          21:Floor_LowerToLowest(2),\r
29          22:Floor_LowerToNearest(2),\r
30          23:Floor_RaiseByValue(3),\r
31          24:Floor_RaiseToHighest(2),\r
32          25:Floor_RaiseToNearest(2),\r
33          26:Stairs_BuildDown(5),\r
34          27:Stairs_BuildUp(5),\r
35          28:Floor_RaiseAndCrush(3,4),\r
36          29:Pillar_Build(3),\r
37          30:Pillar_Open(4),\r
38          31:Stairs_BuildDownSync(4),\r
39          32:Stairs_BuildUpSync(4),\r
40          33:ForceField(0),\r
41          34:ClearForceField(1),\r
42          35:Floor_RaiseByValueTimes8(3),\r
43          36:Floor_LowerByValueTimes8(3),\r
44          37:Floor_MoveToValue(3,4),\r
45          38:Ceiling_Waggle(5),\r
46          39:Teleport_ZombieChanger(2),\r
47          40:Ceiling_LowerByValue(3),\r
48          41:Ceiling_RaiseByValue(3),\r
49          42:Ceiling_CrushAndRaise(3,4),\r
50          43:Ceiling_LowerAndCrush(3,4),\r
51          44:Ceiling_CrushStop(1),\r
52          45:Ceiling_CrushRaiseAndStay(3,4),\r
53          46:Floor_CrushStop(1),\r
54          47:Ceiling_MoveToValue(3,4),\r
55 //       48:Sector_Attach3dMidtex\r
56          49:GlassBreak(0,1),\r
57 //       50:ExtraFloor_LightOnly\r
58          51:Sector_SetLink(4),\r
59          52:Scroll_Wall(5),\r
60          53:Line_SetTextureOffset(5),\r
61          54:Sector_ChangeFlags(3),\r
62          55:Line_SetBlocking(3),\r
63          56:Line_SetTextureScale(5),\r
64 //       57: Sector_SetPortal\r
65 //       58: Sector_CopyScroller\r
66          59:Polyobj_OR_MoveToSpot(3),\r
67          60:Plat_PerpetualRaise(3),\r
68          61:Plat_Stop(1),\r
69          62:Plat_DownWaitUpStay(3),\r
70          63:Plat_DownByValue(4),\r
71          64:Plat_UpWaitDownStay(3),\r
72          65:Plat_UpByValue(4),\r
73          66:Floor_LowerInstant(3),\r
74          67:Floor_RaiseInstant(3),\r
75          68:Floor_MoveToValueTimes8(4),\r
76          69:Ceiling_MoveToValueTimes8(4),\r
77          70:Teleport(1,3),\r
78          71:Teleport_NoFog(1,3),\r
79          72:ThrustThing(2,4),\r
80          73:DamageThing(1,2),\r
81          74:Teleport_NewMap(2,3),\r
82          75:Teleport_EndGame(0),\r
83          76:TeleportOther(3),\r
84          77:TeleportGroup(5),\r
85          78:TeleportInSector(4,5),\r
86          79:Thing_SetConversation(2),\r
87          80:ACS_Execute(2,5),\r
88          81:ACS_Suspend(2),\r
89          82:ACS_Terminate(2),\r
90          83:ACS_LockedExecute(5),\r
91          84:ACS_ExecuteWithResult(1,5),\r
92          85:ACS_LockedExecuteDoor(5),\r
93          86:Polyobj_MoveToSpot(3),\r
94          87:Polyobj_Stop(1),\r
95          88:Polyobj_MoveTo(4),\r
96          89:Polyobj_OR_MoveTo(4),\r
97          90:Polyobj_OR_RotateLeft(3),\r
98          91:Polyobj_OR_RotateRight(3),\r
99          92:Polyobj_OR_Move(4),\r
100          93:Polyobj_OR_MoveTimes8(4),\r
101          94:Pillar_BuildAndCrush(4,5),\r
102          95:FloorAndCeiling_LowerByValue(3),\r
103          96:FloorAndCeiling_RaiseByValue(3),\r
104          97:Ceiling_LowerAndCrushDist(3,5),\r
105          98:Sector_SetTranslucent(3,4),\r
106 \r
107 //      100:Scroll_Texture_Left\r
108 //      101:Scroll_Texture_Right\r
109 //      102:Scroll_Texture_Up\r
110 //      103:Scroll_Texture_Down\r
111 \r
112         109:Light_ForceLightning(1),\r
113         110:Light_RaiseByValue(2),\r
114         111:Light_LowerByValue(2),\r
115         112:Light_ChangeToValue(2),\r
116         113:Light_Fade(3),\r
117         114:Light_Glow(4),\r
118         115:Light_Flicker(3),\r
119         116:Light_Strobe(5),\r
120         117:Light_Stop(1),\r
121 //      118:Plane_Copy\r
122         119:Thing_Damage(2,3),\r
123         120:Radius_Quake(5),\r
124 //      121:Line_SetIdentification\r
125         \r
126         125:Thing_Move(2,3),\r
127         \r
128         127:Thing_SetSpecial(5),\r
129         128:ThrustThingZ(4),\r
130         129:UsePuzzleItem(0),   // only for setting it on a line. Cannot be called!\r
131         130:Thing_Activate(1),\r
132         131:Thing_Deactivate(1),\r
133         132:Thing_Remove(1),\r
134         133:Thing_Destroy(1,3),\r
135         134:Thing_Projectile(5),\r
136         135:Thing_Spawn(3,4),\r
137         136:Thing_ProjectileGravity(5),\r
138         137:Thing_SpawnNoFog(3,4),\r
139         138:Floor_Waggle(5),\r
140         139:Thing_SpawnFacing(2,4),\r
141         140:Sector_ChangeSound(2),\r
142         \r
143         143:Player_RemoveItem(2),                       // Skulltag Functions\r
144         144:Player_GiveItem(2),                         // Skulltag Functions\r
145         145:Player_SetTeam(1),                          // Skulltag Functions\r
146         152:Team_Score(2),                                      // Skulltag Functions\r
147         153:Team_GivePoints(3),                         // Skulltag Functions\r
148         154:Teleport_NoStop(2, 3),\r
149 \r
150         157:SetGlobalFogParameter(2),           // GZDoom only!\r
151         158:FS_Execute(1,4),                            // GZDoom only!\r
152         159:Sector_SetPlaneReflection(3),       // GZDoom only!\r
153 //      160:Sector_Set3DFloor                           // GZDoom/Vavoom\r
154 //      161:Sector_SetContents                          // Vavoom\r
155         \r
156         168:Ceiling_CrushAndRaiseDist(3,5),\r
157         169:Generic_Crusher2(5),\r
158         170:Sector_SetCeilingScale2(3),\r
159         171:Sector_SetFloorScale2(3),\r
160         172:Plat_UpNearestWaitDownStay(3),\r
161         173:NoiseAlert(2),\r
162         174:SendToCommunicator(4),\r
163         175:Thing_ProjectileIntercept(5),\r
164         176:Thing_ChangeTID(2),\r
165         177:Thing_Hate(2,3),\r
166         178:Thing_ProjectileAimed(4,5),\r
167         179:ChangeSkill(1),\r
168         180:Thing_SetTranslation(2),\r
169 //      181:Plane_Align,\r
170         182:Line_Mirror(0),\r
171         183:Line_AlignCeiling(2),\r
172         184:Line_AlignFloor(2),\r
173         185:Sector_SetRotation(3),\r
174         186:Sector_SetCeilingPanning(5),\r
175         187:Sector_SetFloorPanning(5),\r
176         188:Sector_SetCeilingScale(5),\r
177         189:Sector_SetFloorScale(5),\r
178         191:SetPlayerProperty(3),\r
179         192:Ceiling_LowerToHighestFloor(2),\r
180         193:Ceiling_LowerInstant(3),\r
181         194:Ceiling_RaiseInstant(3),\r
182         195:Ceiling_CrushRaiseAndStayA(4,5),\r
183         196:Ceiling_CrushAndRaiseA(4,5),\r
184         197:Ceiling_CrushAndRaiseSilentA(4,5),\r
185         198:Ceiling_RaiseByValueTimes8(3),\r
186         199:Ceiling_LowerByValueTimes8(3),\r
187         200:Generic_Floor(5),\r
188         201:Generic_Ceiling(5),\r
189         202:Generic_Door(5),\r
190         203:Generic_Lift(5),\r
191         204:Generic_Stairs(5),\r
192         205:Generic_Crusher(5),\r
193         206:Plat_DownWaitUpStayLip(4,5),\r
194         207:Plat_PerpetualRaiseLip(4),\r
195         208:TranslucentLine(2,3),\r
196 //      209:Transfer_Heights,\r
197 //      210:Transfer_FloorLight,\r
198 //      211:Transfer_CeilingLight,\r
199         212:Sector_SetColor(4,5),\r
200         213:Sector_SetFade(4),\r
201         214:Sector_SetDamage(3),\r
202         215:Teleport_Line(2),\r
203         216:Sector_SetGravity(3),\r
204         217:Stairs_BuildUpDoom(5),\r
205         218:Sector_SetWind(4),\r
206         219:Sector_SetFriction(2),\r
207         220:Sector_SetCurrent(4),\r
208         221:Scroll_Texture_Both(5),\r
209 //      222:Scroll_Texture_Model,\r
210         223:Scroll_Floor(4),\r
211         224:Scroll_Ceiling(4),\r
212 //      225:Scroll_Texture_Offsets,\r
213         226:ACS_ExecuteAlways(2,5),\r
214 //      227:PointPush_SetForce,\r
215         228:Plat_RaiseAndStayTx0(2),\r
216         229:Thing_SetGoal(3,4),\r
217         230:Plat_UpByValueStayTx(3),\r
218         231:Plat_ToggleCeiling(1),\r
219         232:Light_StrobeDoom(3),\r
220         233:Light_MinNeighbor(1),\r
221         234:Light_MaxNeighbor(1),\r
222         235:Floor_TransferTrigger(1),\r
223         236:Floor_TransferNumeric(1),\r
224         237:ChangeCamera(3),\r
225         238:Floor_RaiseToLowestCeiling(2),\r
226         239:Floor_RaiseByValueTxTy(3),\r
227         240:Floor_RaiseByTexture(2),\r
228         241:Floor_LowerToLowestTxTy(2),\r
229         242:Floor_LowerToHighest(3,4),\r
230         243:Exit_Normal(1),\r
231         244:Exit_Secret(1),\r
232         245:Elevator_RaiseToNearest(2),\r
233         246:Elevator_MoveToFloor(2),\r
234         247:Elevator_LowerToNearest(2),\r
235         248:HealThing(1,2),\r
236         249:Door_CloseWaitOpen(3, 4),\r
237         250:Floor_Donut(3),\r
238         251:FloorAndCeiling_LowerRaise(3),\r
239         252:Ceiling_RaiseToNearest(2),\r
240         253:Ceiling_LowerToLowest(2),\r
241         254:Ceiling_LowerToFloor(2),\r
242         255:Ceiling_CrushRaiseAndStaySilA(4,5),\r
243         \r
244         // internal functions have negative values\r
245         -1:GetLineUDMFInt(2),\r
246         -2:GetLineUDMFFixed(2),\r
247         -3:GetThingUDMFInt(2),\r
248         -4:GetThingUDMFFixed(2),\r
249         -5:GetSectorUDMFInt(2),\r
250         -6:GetSectorUDMFFixed(2),\r
251         -7:GetSideUDMFInt(3),\r
252         -8:GetSideUDMFFixed(3),\r
253         -9:GetActorVelX(1),\r
254         -10:GetActorVelY(1),\r
255         -11:GetActorVelZ(1),\r
256         -12:SetActivator(1,2),\r
257         -13:SetActivatorToTarget(1),\r
258         -14:GetActorViewHeight(1),\r
259         -15:GetChar(2),\r
260         -16:GetAirSupply(1),\r
261         -17:SetAirSupply(2),\r
262         -18:SetSkyScrollSpeed(2),\r
263         -19:GetArmorType(2),\r
264         -20:SpawnSpotForced(4),\r
265         -21:SpawnSpotFacingForced(3),\r
266         -22:CheckActorProperty(3),\r
267         -23:SetActorVelocity(6),\r
268         -24:SetUserVariable(3),\r
269         -25:GetUserVariable(2),\r
270         -26:Radius_Quake2(6),\r
271         -27:CheckActorClass(2),\r
272         -28:SetUserArray(4),\r
273         -29:GetUserArray(3),\r
274         -30:SoundSequenceOnActor(2),\r
275         -31:SoundSequenceOnSector(3),\r
276         -32:SoundSequenceOnPolyobj(2),\r
277         -33:GetPolyobjX(1),\r
278         -34:GetPolyobjY(1),\r
279         -35:CheckSight(3),\r
280         -36:SpawnForced(6),\r
281         -37:AnnouncerSound(2),\r
282         -38:SetPointer(2,4),\r
283         -39:ACS_NamedExecute(2,5),\r
284         -40:ACS_NamedSuspend(2),\r
285         -41:ACS_NamedTerminate(2),\r
286         -42:ACS_NamedLockedExecute(5),\r
287         -43:ACS_NamedLockedExecuteDoor(5),\r
288         -44:ACS_NamedExecuteWithResult(1,4),\r
289         -45:ACS_NamedExecuteAlways(2,5),\r
290 \r
291         -1000:__EndOfList__(10);\r
292         \r