OSDN Git Service

- added ACS SpawnForced function.
[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,4),\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 \r
106 //      100:Scroll_Texture_Left\r
107 //      101:Scroll_Texture_Right\r
108 //      102:Scroll_Texture_Up\r
109 //      103:Scroll_Texture_Down\r
110 \r
111         109:Light_ForceLightning(1),\r
112         110:Light_RaiseByValue(2),\r
113         111:Light_LowerByValue(2),\r
114         112:Light_ChangeToValue(2),\r
115         113:Light_Fade(3),\r
116         114:Light_Glow(4),\r
117         115:Light_Flicker(3),\r
118         116:Light_Strobe(5),\r
119         117:Light_Stop(1),\r
120 //      118:Plane_Copy\r
121         119:Thing_Damage(2,3),\r
122         120:Radius_Quake(5),\r
123 //      121:Line_SetIdentification\r
124         \r
125         125:Thing_Move(2,3),\r
126         \r
127         127:Thing_SetSpecial(5),\r
128         128:ThrustThingZ(4),\r
129         129:UsePuzzleItem(0),   // only for setting it on a line. Cannot be called!\r
130         130:Thing_Activate(1),\r
131         131:Thing_Deactivate(1),\r
132         132:Thing_Remove(1),\r
133         133:Thing_Destroy(1,3),\r
134         134:Thing_Projectile(5),\r
135         135:Thing_Spawn(3,4),\r
136         136:Thing_ProjectileGravity(5),\r
137         137:Thing_SpawnNoFog(3,4),\r
138         138:Floor_Waggle(5),\r
139         139:Thing_SpawnFacing(2,4),\r
140         140:Sector_ChangeSound(2),\r
141         \r
142         143:Player_RemoveItem(2),                       // Skulltag Functions\r
143         144:Player_GiveItem(2),                         // Skulltag Functions\r
144         145:Player_SetTeam(1),                          // Skulltag Functions\r
145         152:Team_Score(2),                                      // Skulltag Functions\r
146         153:Team_GivePoints(3),                         // Skulltag Functions\r
147         154:Teleport_NoStop(2, 3),\r
148 \r
149         157:SetGlobalFogParameter(2),           // GZDoom only!\r
150         158:FS_Execute(1,4),                            // GZDoom only!\r
151         159:Sector_SetPlaneReflection(3),       // GZDoom only!\r
152 //      160:Sector_Set3DFloor                           // GZDoom/Vavoom\r
153 //      161:Sector_SetContents                          // Vavoom\r
154         \r
155         169:Generic_Crusher2(5),\r
156         170:Sector_SetCeilingScale2(3),\r
157         171:Sector_SetFloorScale2(3),\r
158         172:Plat_UpNearestWaitDownStay(3),\r
159         173:NoiseAlert(2),\r
160         174:SendToCommunicator(4),\r
161         175:Thing_ProjectileIntercept(5),\r
162         176:Thing_ChangeTID(2),\r
163         177:Thing_Hate(2,3),\r
164         178:Thing_ProjectileAimed(4,5),\r
165         179:ChangeSkill(1),\r
166         180:Thing_SetTranslation(2),\r
167 //      181:Plane_Align,\r
168         182:Line_Mirror(0),\r
169         183:Line_AlignCeiling(2),\r
170         184:Line_AlignFloor(2),\r
171         185:Sector_SetRotation(3),\r
172         186:Sector_SetCeilingPanning(5),\r
173         187:Sector_SetFloorPanning(5),\r
174         188:Sector_SetCeilingScale(5),\r
175         189:Sector_SetFloorScale(5),\r
176         191:SetPlayerProperty(3),\r
177         192:Ceiling_LowerToHighestFloor(2),\r
178         193:Ceiling_LowerInstant(3),\r
179         194:Ceiling_RaiseInstant(3),\r
180         195:Ceiling_CrushRaiseAndStayA(4,5),\r
181         196:Ceiling_CrushAndRaiseA(4,5),\r
182         197:Ceiling_CrushAndRaiseSilentA(4,5),\r
183         198:Ceiling_RaiseByValueTimes8(3),\r
184         199:Ceiling_LowerByValueTimes8(3),\r
185         200:Generic_Floor(5),\r
186         201:Generic_Ceiling(5),\r
187         202:Generic_Door(5),\r
188         203:Generic_Lift(5),\r
189         204:Generic_Stairs(5),\r
190         205:Generic_Crusher(5),\r
191         206:Plat_DownWaitUpStayLip(4,5),\r
192         207:Plat_PerpetualRaiseLip(4),\r
193         208:TranslucentLine(2,3),\r
194 //      209:Transfer_Heights,\r
195 //      210:Transfer_FloorLight,\r
196 //      211:Transfer_CeilingLight,\r
197         212:Sector_SetColor(4,5),\r
198         213:Sector_SetFade(4),\r
199         214:Sector_SetDamage(3),\r
200         215:Teleport_Line(2),\r
201         216:Sector_SetGravity(3),\r
202         217:Stairs_BuildUpDoom(5),\r
203         218:Sector_SetWind(4),\r
204         219:Sector_SetFriction(2),\r
205         220:Sector_SetCurrent(4),\r
206         221:Scroll_Texture_Both(5),\r
207 //      222:Scroll_Texture_Model,\r
208         223:Scroll_Floor(4),\r
209         224:Scroll_Ceiling(4),\r
210 //      225:Scroll_Texture_Offsets,\r
211         226:ACS_ExecuteAlways(2,5),\r
212 //      227:PointPush_SetForce,\r
213         228:Plat_RaiseAndStayTx0(2),\r
214         229:Thing_SetGoal(3,4),\r
215         230:Plat_UpByValueStayTx(3),\r
216         231:Plat_ToggleCeiling(1),\r
217         232:Light_StrobeDoom(3),\r
218         233:Light_MinNeighbor(1),\r
219         234:Light_MaxNeighbor(1),\r
220         235:Floor_TransferTrigger(1),\r
221         236:Floor_TransferNumeric(1),\r
222         237:ChangeCamera(3),\r
223         238:Floor_RaiseToLowestCeiling(2),\r
224         239:Floor_RaiseByValueTxTy(3),\r
225         240:Floor_RaiseByTexture(2),\r
226         241:Floor_LowerToLowestTxTy(2),\r
227         242:Floor_LowerToHighest(3),\r
228         243:Exit_Normal(1),\r
229         244:Exit_Secret(1),\r
230         245:Elevator_RaiseToNearest(2),\r
231         246:Elevator_MoveToFloor(2),\r
232         247:Elevator_LowerToNearest(2),\r
233         248:HealThing(1,2),\r
234         249:Door_CloseWaitOpen(3, 4),\r
235         250:Floor_Donut(3),\r
236         251:FloorAndCeiling_LowerRaise(3),\r
237         252:Ceiling_RaiseToNearest(2),\r
238         253:Ceiling_LowerToLowest(2),\r
239         254:Ceiling_LowerToFloor(2),\r
240         255:Ceiling_CrushRaiseAndStaySilA(4,5),\r
241         \r
242         // internal functions have negative values\r
243         -1:GetLineUDMFInt(2),\r
244         -2:GetLineUDMFFixed(2),\r
245         -3:GetThingUDMFInt(2),\r
246         -4:GetThingUDMFFixed(2),\r
247         -5:GetSectorUDMFInt(2),\r
248         -6:GetSectorUDMFFixed(2),\r
249         -7:GetSideUDMFInt(3),\r
250         -8:GetSideUDMFFixed(3),\r
251         -9:GetActorVelX(1),\r
252         -10:GetActorVelY(1),\r
253         -11:GetActorVelZ(1),\r
254         -12:SetActivator(1),\r
255         -13:SetActivatorToTarget(1),\r
256         -14:GetActorViewHeight(1),\r
257         -15:GetChar(2),\r
258         -16:GetAirSupply(1),\r
259         -17:SetAirSupply(2),\r
260         -18:SetSkyScrollSpeed(2),\r
261         -19:GetArmorType(2),\r
262         -20:SpawnSpotForced(4),\r
263         -21:SpawnSpotFacingForced(3),\r
264         -22:CheckActorProperty(3),\r
265         -23:SetActorVelocity(6),\r
266         -24:SetUserVariable(3),\r
267         -25:GetUserVariable(2),\r
268         -26:Radius_Quake2(6),\r
269         -27:CheckActorClass(2),\r
270         -28:SetUserArray(4),\r
271         -29:GetUserArray(3),\r
272         -30:SoundSequenceOnActor(2),\r
273         -31:SoundSequenceOnSector(3),\r
274         -32:SoundSequenceOnPolyobj(2),\r
275         -33:GetPolyobjX(1),\r
276         -34:GetPolyobjY(1),\r
277     -35:CheckSight(3),\r
278         -36:SpawnForced(6),\r
279 \r
280         -1000:__EndOfList__(10);\r
281         \r