mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-26 05:41:45 +00:00
Added very basic ZDaemon configuration
This commit is contained in:
parent
02d5ce4c3b
commit
6f76b53883
10 changed files with 2913 additions and 0 deletions
18
Build/Compilers/ZDaemon/acc.cfg
Executable file
18
Build/Compilers/ZDaemon/acc.cfg
Executable file
|
@ -0,0 +1,18 @@
|
|||
|
||||
compilers
|
||||
{
|
||||
// This defines what files a compiler uses
|
||||
// The setting named "program" defines what .exe to run
|
||||
// The "interface" setting defines what interal interface to use for processing and error feedback
|
||||
// All others are the required files (the setting names do not matter)
|
||||
zdaemon_acc
|
||||
{
|
||||
interface = "AccCompiler";
|
||||
program = "acc.exe";
|
||||
zdaemon = "zdaemon.acs";
|
||||
zcommon = "zcommon.acs";
|
||||
zdefs = "zdefs.acs";
|
||||
zspecial = "zspecial.acs";
|
||||
zwvars = "zwvars.acs";
|
||||
}
|
||||
}
|
BIN
Build/Compilers/ZDaemon/acc.exe
Executable file
BIN
Build/Compilers/ZDaemon/acc.exe
Executable file
Binary file not shown.
15
Build/Compilers/ZDaemon/zcommon.acs
Executable file
15
Build/Compilers/ZDaemon/zcommon.acs
Executable file
|
@ -0,0 +1,15 @@
|
|||
|
||||
//**************************************************************************
|
||||
//**
|
||||
//** zcommon.acs
|
||||
//**
|
||||
//**************************************************************************
|
||||
|
||||
// If you are not using the -h command line switch and do not want to use
|
||||
// WadAuthor's error checker, you can uncomment the following line to shave
|
||||
// a few bytes off the size of compiled scripts.
|
||||
//#nowadauthor
|
||||
|
||||
#include "zspecial.acs"
|
||||
#include "zdefs.acs"
|
||||
#include "zwvars.acs"
|
89
Build/Compilers/ZDaemon/zdaemon.acs
Executable file
89
Build/Compilers/ZDaemon/zdaemon.acs
Executable file
|
@ -0,0 +1,89 @@
|
|||
//***************************************************************************
|
||||
//**
|
||||
//** zdaemon.acs
|
||||
//**
|
||||
//** Definitions for ZDaemon specific ACS scripts
|
||||
//**
|
||||
//***************************************************************************
|
||||
//**
|
||||
//** Usage for Doom Builder 2:
|
||||
//**
|
||||
//** - Put zdaemon.acs to your "...\Doom Builder 2\Compilers\ZDoom" folder.
|
||||
//** - Edit acc.cfg in the same folder and add: zdaemon = "zdaemon.acs";
|
||||
//** to the "zdoom_acc {...}" section.
|
||||
//**
|
||||
//** Example:
|
||||
//** zdoom_acc
|
||||
//** {
|
||||
//** interface = "AccCompiler";
|
||||
//** program = "acc.exe";
|
||||
//** zcommon = "zcommon.acs";
|
||||
//** zdefs = "zdefs.acs";
|
||||
//** zspecial = "zspecial.acs";
|
||||
//** zwvars = "zwvars.acs";
|
||||
//** zdaemon = "zdaemon.acs";
|
||||
//** }
|
||||
//**
|
||||
//** - You can also specify keywordhelp in zdaemon_acs.cfg as:
|
||||
//** keywordhelp="http://www.zdaemon.org/acs_help.php?title=%K";
|
||||
//** It will give you online info about the ZDaemon extensions.
|
||||
//**
|
||||
//***************************************************************************
|
||||
|
||||
// ZDaemon ACSF Functions ---------------------------------------------------
|
||||
|
||||
special
|
||||
// -19620:GetTeamScore(1), //already defined in zspecial.acs
|
||||
// -19621:SetTeamScore(2), //already defined in zspecial.acs
|
||||
-19622:SetPlayerInfo(3),
|
||||
-19623:PlayerTopIndex(0),
|
||||
-19624:NetMode(0),
|
||||
-19625:Server_Execute(1,5),
|
||||
-19626:Server_ExecuteAlways(1,5),
|
||||
-19627:Server_NamedExecute(1,5),
|
||||
-19628:Server_NamedExecuteAlways(1,5),
|
||||
-19629:Client_Execute(2,6),
|
||||
-19630:Client_ExecuteAlways(2,6),
|
||||
-19631:Client_NamedExecute(2,6),
|
||||
-19632:Client_NamedExecuteAlways(2,6),
|
||||
-19633:ZD_rand(2),
|
||||
-19634:ZD_srand(1),
|
||||
-19635:ZD_rand_savestate(0),
|
||||
-19636:ZD_rand_restorestate(0);
|
||||
|
||||
// Team specifiers you can use with GetTeamScore/SetTeamScore ---------------
|
||||
|
||||
//#define TEAM_BLUE 0 //already defined in zdefs.acs
|
||||
//#define TEAM_RED 1 //already defined in zdefs.acs
|
||||
#define TEAM_GREEN 2
|
||||
#define TEAM_WHITE 3
|
||||
|
||||
// More Properties you can use with GetPlayerInfo/SetPlayerInfo -------------
|
||||
|
||||
#define PLAYERINFO_ITEMS 100
|
||||
#define PLAYERINFO_HEALTH 101
|
||||
#define PLAYERINFO_ARMOR 102
|
||||
#define PLAYERINFO_SECRETS 103
|
||||
#define PLAYERINFO_KILLS 104
|
||||
#define PLAYERINFO_DEATHS 105
|
||||
#define PLAYERINFO_SUICIDES 106
|
||||
#define PLAYERINFO_PTS_1 107
|
||||
#define PLAYERINFO_PTS_2 108
|
||||
#define PLAYERINFO_PTS_3 109
|
||||
#define PLAYERINFO_TIME 110
|
||||
#define PLAYERINFO_USR_1 111
|
||||
#define PLAYERINFO_USR_2 112
|
||||
#define PLAYERINFO_USR_3 113
|
||||
#define PLAYERINFO_USR_4 114
|
||||
#define PLAYERINFO_USR_5 115
|
||||
#define PLAYERINFO_USR_6 116
|
||||
#define PLAYERINFO_USR_7 117
|
||||
#define PLAYERINFO_USR_8 118
|
||||
#define PLAYERINFO_USR_9 119
|
||||
#define PLAYERINFO_USR_10 120
|
||||
|
||||
// Return values for NetMode ------------------------------------------------
|
||||
|
||||
#define NM_SINGLEPLAYER 1
|
||||
#define NM_SERVER 2
|
||||
#define NM_CLIENT 3
|
1107
Build/Compilers/ZDaemon/zdefs.acs
Executable file
1107
Build/Compilers/ZDaemon/zdefs.acs
Executable file
File diff suppressed because it is too large
Load diff
418
Build/Compilers/ZDaemon/zspecial.acs
Executable file
418
Build/Compilers/ZDaemon/zspecial.acs
Executable file
|
@ -0,0 +1,418 @@
|
|||
//**************************************************************************
|
||||
//**
|
||||
//** zspecials.acs
|
||||
//**
|
||||
//**************************************************************************
|
||||
|
||||
special
|
||||
// 1:Polyobj_StartLine
|
||||
2:Polyobj_RotateLeft(3),
|
||||
3:Polyobj_RotateRight(3),
|
||||
4:Polyobj_Move(4),
|
||||
// 5:Polyobj_ExplicitLine
|
||||
6:Polyobj_MoveTimes8(4),
|
||||
7:Polyobj_DoorSwing(4),
|
||||
8:Polyobj_DoorSlide(5),
|
||||
9:Line_Horizon(0),
|
||||
10:Door_Close(2,3),
|
||||
11:Door_Open(2,3),
|
||||
12:Door_Raise(3,4),
|
||||
13:Door_LockedRaise(4,5),
|
||||
14:Door_Animated(3,4),
|
||||
15:Autosave(0),
|
||||
// 16:Transfer_WallLight
|
||||
17:Thing_Raise(1),
|
||||
18:StartConversation(1,2),
|
||||
19:Thing_Stop(1),
|
||||
20:Floor_LowerByValue(3,4),
|
||||
21:Floor_LowerToLowest(2,3),
|
||||
22:Floor_LowerToNearest(2,3),
|
||||
23:Floor_RaiseByValue(3,5),
|
||||
24:Floor_RaiseToHighest(2,5),
|
||||
25:Floor_RaiseToNearest(2,4),
|
||||
26:Stairs_BuildDown(5),
|
||||
27:Stairs_BuildUp(5),
|
||||
28:Floor_RaiseAndCrush(3,4),
|
||||
29:Pillar_Build(3),
|
||||
30:Pillar_Open(4),
|
||||
31:Stairs_BuildDownSync(4),
|
||||
32:Stairs_BuildUpSync(4),
|
||||
33:ForceField(0),
|
||||
34:ClearForceField(1),
|
||||
35:Floor_RaiseByValueTimes8(3,5),
|
||||
36:Floor_LowerByValueTimes8(3,4),
|
||||
37:Floor_MoveToValue(3,5),
|
||||
38:Ceiling_Waggle(5),
|
||||
39:Teleport_ZombieChanger(2),
|
||||
40:Ceiling_LowerByValue(3,4),
|
||||
41:Ceiling_RaiseByValue(3,4),
|
||||
42:Ceiling_CrushAndRaise(3,4),
|
||||
43:Ceiling_LowerAndCrush(3,4),
|
||||
44:Ceiling_CrushStop(1,2),
|
||||
45:Ceiling_CrushRaiseAndStay(3,4),
|
||||
46:Floor_CrushStop(1),
|
||||
47:Ceiling_MoveToValue(3,5),
|
||||
// 48:Sector_Attach3dMidtex
|
||||
49:GlassBreak(0,1),
|
||||
// 50:ExtraFloor_LightOnly
|
||||
51:Sector_SetLink(4),
|
||||
52:Scroll_Wall(5),
|
||||
53:Line_SetTextureOffset(5),
|
||||
54:Sector_ChangeFlags(3),
|
||||
55:Line_SetBlocking(3),
|
||||
56:Line_SetTextureScale(5),
|
||||
// 57: Sector_SetPortal
|
||||
// 58: Sector_CopyScroller
|
||||
59:Polyobj_OR_MoveToSpot(3),
|
||||
60:Plat_PerpetualRaise(3),
|
||||
61:Plat_Stop(1,2),
|
||||
62:Plat_DownWaitUpStay(3),
|
||||
63:Plat_DownByValue(4),
|
||||
64:Plat_UpWaitDownStay(3),
|
||||
65:Plat_UpByValue(4),
|
||||
66:Floor_LowerInstant(3,4),
|
||||
67:Floor_RaiseInstant(3,5),
|
||||
68:Floor_MoveToValueTimes8(4,5),
|
||||
69:Ceiling_MoveToValueTimes8(4,5),
|
||||
70:Teleport(1,3),
|
||||
71:Teleport_NoFog(1,4),
|
||||
72:ThrustThing(2,4),
|
||||
73:DamageThing(1,2),
|
||||
74:Teleport_NewMap(2,3),
|
||||
75:Teleport_EndGame(0),
|
||||
76:TeleportOther(3),
|
||||
77:TeleportGroup(5),
|
||||
78:TeleportInSector(4,5),
|
||||
79:Thing_SetConversation(2),
|
||||
80:ACS_Execute(2,5),
|
||||
81:ACS_Suspend(2),
|
||||
82:ACS_Terminate(2),
|
||||
83:ACS_LockedExecute(5),
|
||||
84:ACS_ExecuteWithResult(1,5),
|
||||
85:ACS_LockedExecuteDoor(5),
|
||||
86:Polyobj_MoveToSpot(3),
|
||||
87:Polyobj_Stop(1),
|
||||
88:Polyobj_MoveTo(4),
|
||||
89:Polyobj_OR_MoveTo(4),
|
||||
90:Polyobj_OR_RotateLeft(3),
|
||||
91:Polyobj_OR_RotateRight(3),
|
||||
92:Polyobj_OR_Move(4),
|
||||
93:Polyobj_OR_MoveTimes8(4),
|
||||
94:Pillar_BuildAndCrush(4,5),
|
||||
95:FloorAndCeiling_LowerByValue(3),
|
||||
96:FloorAndCeiling_RaiseByValue(3),
|
||||
97:Ceiling_LowerAndCrushDist(3,5),
|
||||
98:Sector_SetTranslucent(3,4),
|
||||
99:Floor_RaiseAndCrushDoom(3,4),
|
||||
// 100:Scroll_Texture_Left
|
||||
// 101:Scroll_Texture_Right
|
||||
// 102:Scroll_Texture_Up
|
||||
// 103:Scroll_Texture_Down
|
||||
104:Ceiling_CrushAndRaiseSilentDist(4,5),
|
||||
105:Door_WaitRaise(4,5),
|
||||
106:Door_WaitClose(3,4),
|
||||
107:Line_SetPortalTarget(2),
|
||||
|
||||
109:Light_ForceLightning(1),
|
||||
110:Light_RaiseByValue(2),
|
||||
111:Light_LowerByValue(2),
|
||||
112:Light_ChangeToValue(2),
|
||||
113:Light_Fade(3),
|
||||
114:Light_Glow(4),
|
||||
115:Light_Flicker(3),
|
||||
116:Light_Strobe(5),
|
||||
117:Light_Stop(1),
|
||||
// 118:Plane_Copy
|
||||
119:Thing_Damage(2,3),
|
||||
120:Radius_Quake(5),
|
||||
// 121:Line_SetIdentification
|
||||
|
||||
125:Thing_Move(2,3),
|
||||
|
||||
127:Thing_SetSpecial(5),
|
||||
128:ThrustThingZ(4),
|
||||
129:UsePuzzleItem(0), // only for setting it on a line. Cannot be called!
|
||||
130:Thing_Activate(1),
|
||||
131:Thing_Deactivate(1),
|
||||
132:Thing_Remove(1),
|
||||
133:Thing_Destroy(1,3),
|
||||
134:Thing_Projectile(5),
|
||||
135:Thing_Spawn(3,4),
|
||||
136:Thing_ProjectileGravity(5),
|
||||
137:Thing_SpawnNoFog(3,4),
|
||||
138:Floor_Waggle(5),
|
||||
139:Thing_SpawnFacing(2,4),
|
||||
140:Sector_ChangeSound(2),
|
||||
|
||||
143:Player_RemoveItem(2), // Skulltag Functions
|
||||
144:Player_GiveItem(2), // Skulltag Functions
|
||||
145:Player_SetTeam(1), // Skulltag Functions
|
||||
152:Team_Score(2), // Skulltag Functions
|
||||
153:Team_GivePoints(3), // Skulltag Functions
|
||||
154:Teleport_NoStop(2, 3),
|
||||
|
||||
157:SetGlobalFogParameter(2), // GZDoom only!
|
||||
158:FS_Execute(1,4),
|
||||
159:Sector_SetPlaneReflection(3), // GZDoom only!
|
||||
// 160:Sector_Set3DFloor
|
||||
// 161:Sector_SetContents
|
||||
|
||||
168:Ceiling_CrushAndRaiseDist(3,5),
|
||||
169:Generic_Crusher2(5),
|
||||
170:Sector_SetCeilingScale2(3),
|
||||
171:Sector_SetFloorScale2(3),
|
||||
172:Plat_UpNearestWaitDownStay(3),
|
||||
173:NoiseAlert(2),
|
||||
174:SendToCommunicator(4),
|
||||
175:Thing_ProjectileIntercept(5),
|
||||
176:Thing_ChangeTID(2),
|
||||
177:Thing_Hate(2,3),
|
||||
178:Thing_ProjectileAimed(4,5),
|
||||
179:ChangeSkill(1),
|
||||
180:Thing_SetTranslation(2),
|
||||
// 181:Plane_Align,
|
||||
182:Line_Mirror(0),
|
||||
183:Line_AlignCeiling(2),
|
||||
184:Line_AlignFloor(2),
|
||||
185:Sector_SetRotation(3),
|
||||
186:Sector_SetCeilingPanning(5),
|
||||
187:Sector_SetFloorPanning(5),
|
||||
188:Sector_SetCeilingScale(5),
|
||||
189:Sector_SetFloorScale(5),
|
||||
191:SetPlayerProperty(3),
|
||||
192:Ceiling_LowerToHighestFloor(2,5),
|
||||
193:Ceiling_LowerInstant(3,5),
|
||||
194:Ceiling_RaiseInstant(3,4),
|
||||
195:Ceiling_CrushRaiseAndStayA(4,5),
|
||||
196:Ceiling_CrushAndRaiseA(4,5),
|
||||
197:Ceiling_CrushAndRaiseSilentA(4,5),
|
||||
198:Ceiling_RaiseByValueTimes8(3,4),
|
||||
199:Ceiling_LowerByValueTimes8(3,4),
|
||||
200:Generic_Floor(5),
|
||||
201:Generic_Ceiling(5),
|
||||
202:Generic_Door(5),
|
||||
203:Generic_Lift(5),
|
||||
204:Generic_Stairs(5),
|
||||
205:Generic_Crusher(5),
|
||||
206:Plat_DownWaitUpStayLip(4,5),
|
||||
207:Plat_PerpetualRaiseLip(4),
|
||||
208:TranslucentLine(2,3),
|
||||
// 209:Transfer_Heights,
|
||||
// 210:Transfer_FloorLight,
|
||||
// 211:Transfer_CeilingLight,
|
||||
212:Sector_SetColor(4,5),
|
||||
213:Sector_SetFade(4),
|
||||
214:Sector_SetDamage(3,5),
|
||||
215:Teleport_Line(2),
|
||||
216:Sector_SetGravity(3),
|
||||
217:Stairs_BuildUpDoom(5),
|
||||
218:Sector_SetWind(4),
|
||||
219:Sector_SetFriction(2),
|
||||
220:Sector_SetCurrent(4),
|
||||
221:Scroll_Texture_Both(5),
|
||||
// 222:Scroll_Texture_Model,
|
||||
223:Scroll_Floor(4),
|
||||
224:Scroll_Ceiling(4),
|
||||
// 225:Scroll_Texture_Offsets,
|
||||
226:ACS_ExecuteAlways(2,5),
|
||||
// 227:PointPush_SetForce,
|
||||
228:Plat_RaiseAndStayTx0(2,3),
|
||||
229:Thing_SetGoal(3,4),
|
||||
230:Plat_UpByValueStayTx(3),
|
||||
231:Plat_ToggleCeiling(1),
|
||||
232:Light_StrobeDoom(3),
|
||||
233:Light_MinNeighbor(1),
|
||||
234:Light_MaxNeighbor(1),
|
||||
235:Floor_TransferTrigger(1),
|
||||
236:Floor_TransferNumeric(1),
|
||||
237:ChangeCamera(3),
|
||||
238:Floor_RaiseToLowestCeiling(2,5),
|
||||
239:Floor_RaiseByValueTxTy(3),
|
||||
240:Floor_RaiseByTexture(2,4),
|
||||
241:Floor_LowerToLowestTxTy(2),
|
||||
242:Floor_LowerToHighest(3,4),
|
||||
243:Exit_Normal(1),
|
||||
244:Exit_Secret(1),
|
||||
245:Elevator_RaiseToNearest(2),
|
||||
246:Elevator_MoveToFloor(2),
|
||||
247:Elevator_LowerToNearest(2),
|
||||
248:HealThing(1,2),
|
||||
249:Door_CloseWaitOpen(3, 4),
|
||||
250:Floor_Donut(3),
|
||||
251:FloorAndCeiling_LowerRaise(3,4),
|
||||
252:Ceiling_RaiseToNearest(2,3),
|
||||
253:Ceiling_LowerToLowest(2,4),
|
||||
254:Ceiling_LowerToFloor(2,5),
|
||||
255:Ceiling_CrushRaiseAndStaySilA(4,5),
|
||||
|
||||
// These are specialized versions of the Generic_* specials which are defined for EE Extradata.
|
||||
256:Floor_LowerToHighestEE(2, 3),
|
||||
257:Floor_RaiseToLowest(2, 3),
|
||||
258:Floor_LowerToLowestCeiling(2,3),
|
||||
259:Floor_RaiseToCeiling(2, 5),
|
||||
260:Floor_ToCeilingInstant(1, 4),
|
||||
261:Floor_LowerByTexture(2, 3),
|
||||
262:Ceiling_RaiseToHighest(2, 3),
|
||||
263:Ceiling_ToHighestInstant(1, 3),
|
||||
264:Ceiling_LowerToNearest(2, 4),
|
||||
265:Ceiling_RaiseToLowest(2, 3),
|
||||
266:Ceiling_RaiseToHighestFloor(2, 3),
|
||||
267:Ceiling_ToFloorInstant(1, 4),
|
||||
268:Ceiling_RaiseByTexture(2, 3),
|
||||
269:Ceiling_LowerByTexture(2, 4),
|
||||
270:Stairs_BuildDownDoom(5),
|
||||
271:Stairs_BuildUpDoomSync(4),
|
||||
272:Stairs_BuildDownDoomSync(4),
|
||||
|
||||
|
||||
|
||||
// internal functions have negative values
|
||||
-1:GetLineUDMFInt(2),
|
||||
-2:GetLineUDMFFixed(2),
|
||||
-3:GetThingUDMFInt(2),
|
||||
-4:GetThingUDMFFixed(2),
|
||||
-5:GetSectorUDMFInt(2),
|
||||
-6:GetSectorUDMFFixed(2),
|
||||
-7:GetSideUDMFInt(3),
|
||||
-8:GetSideUDMFFixed(3),
|
||||
-9:GetActorVelX(1),
|
||||
-10:GetActorVelY(1),
|
||||
-11:GetActorVelZ(1),
|
||||
-12:SetActivator(1,2),
|
||||
-13:SetActivatorToTarget(1),
|
||||
-14:GetActorViewHeight(1),
|
||||
-15:GetChar(2),
|
||||
-16:GetAirSupply(1),
|
||||
-17:SetAirSupply(2),
|
||||
-18:SetSkyScrollSpeed(2),
|
||||
-19:GetArmorType(2),
|
||||
-20:SpawnSpotForced(4),
|
||||
-21:SpawnSpotFacingForced(3),
|
||||
-22:CheckActorProperty(3),
|
||||
-23:SetActorVelocity(6),
|
||||
-24:SetUserVariable(3),
|
||||
-25:GetUserVariable(2),
|
||||
-26:Radius_Quake2(6),
|
||||
-27:CheckActorClass(2),
|
||||
-28:SetUserArray(4),
|
||||
-29:GetUserArray(3),
|
||||
-30:SoundSequenceOnActor(2),
|
||||
-31:SoundSequenceOnSector(3),
|
||||
-32:SoundSequenceOnPolyobj(2),
|
||||
-33:GetPolyobjX(1),
|
||||
-34:GetPolyobjY(1),
|
||||
-35:CheckSight(3),
|
||||
-36:SpawnForced(4,6),
|
||||
-37:AnnouncerSound(2),
|
||||
-38:SetPointer(2,4),
|
||||
-39:ACS_NamedExecute(2,5),
|
||||
-40:ACS_NamedSuspend(2),
|
||||
-41:ACS_NamedTerminate(2),
|
||||
-42:ACS_NamedLockedExecute(5),
|
||||
-43:ACS_NamedLockedExecuteDoor(5),
|
||||
-44:ACS_NamedExecuteWithResult(1,5),
|
||||
-45:ACS_NamedExecuteAlways(2,5),
|
||||
-46:UniqueTID(0,2),
|
||||
-47:IsTIDUsed(1),
|
||||
-48:Sqrt(1),
|
||||
-49:FixedSqrt(1),
|
||||
-50:VectorLength(2),
|
||||
-51:SetHUDClipRect(4,6),
|
||||
-52:SetHUDWrapWidth(1),
|
||||
-53:SetCVar(2),
|
||||
-54:GetUserCVar(2),
|
||||
-55:SetUserCVar(3),
|
||||
-56:GetCVarString(1),
|
||||
-57:SetCVarString(2),
|
||||
-58:GetUserCVarString(2),
|
||||
-59:SetUserCVarString(3),
|
||||
-60:LineAttack(4,9),
|
||||
-61:PlaySound(2,7),
|
||||
-62:StopSound(1,2),
|
||||
-63:strcmp(2,3),
|
||||
-64:stricmp(2,3),
|
||||
-64:strcasecmp(2,3), // an alias for stricmp
|
||||
-65:StrLeft(2),
|
||||
-66:StrRight(2),
|
||||
-67:StrMid(3),
|
||||
-68:GetActorClass(1),
|
||||
-69:GetWeapon(0),
|
||||
-70:SoundVolume(3),
|
||||
-71:PlayActorSound(2,6),
|
||||
-72:SpawnDecal(2,6),
|
||||
-73:CheckFont(1),
|
||||
-74:DropItem(2,4),
|
||||
-75:CheckFlag(2),
|
||||
-76:SetLineActivation(2),
|
||||
-77:GetLineActivation(1),
|
||||
-78:GetActorPowerupTics(2),
|
||||
-79:ChangeActorAngle(2,3),
|
||||
-80:ChangeActorPitch(2,3),
|
||||
-81:GetArmorInfo(1),
|
||||
-82:DropInventory(2),
|
||||
-83:PickActor(5,8),
|
||||
-84:IsPointerEqual(2,4),
|
||||
-85:CanRaiseActor(1),
|
||||
-86:SetActorTeleFog(3),
|
||||
-87:SwapActorTeleFog(1),
|
||||
-88:SetActorRoll(2),
|
||||
-89:ChangeActorRoll(2,3),
|
||||
-90:GetActorRoll(1),
|
||||
-91:QuakeEx(8,16),
|
||||
-92:Warp(6,11),
|
||||
-93:GetMaxInventory(2),
|
||||
-94:SetSectorDamage(2,5),
|
||||
-95:SetSectorTerrain(3),
|
||||
-96:SpawnParticle(1,16),
|
||||
-97:SetMusicVolume(1),
|
||||
-98:CheckProximity(3, 6),
|
||||
-99:CheckActorState(2,3),
|
||||
|
||||
// Zandronum's
|
||||
-100:ResetMap(0),
|
||||
-101:PlayerIsSpectator(1),
|
||||
-102:ConsolePlayerNumber(0),
|
||||
-103:GetTeamProperty(2),
|
||||
-104:GetPlayerLivesLeft(1),
|
||||
-105:SetPlayerLivesLeft(2),
|
||||
-106:KickFromGame(2),
|
||||
-107:GetGamemodeState(0),
|
||||
-108:SetDBEntry(3),
|
||||
-109:GetDBEntry(2),
|
||||
-110:SetDBEntryString(3),
|
||||
-111:GetDBEntryString(2),
|
||||
-112:IncrementDBEntry(3),
|
||||
-113:PlayerIsLoggedIn(1),
|
||||
-114:GetPlayerAccountName(1),
|
||||
-115:SortDBEntries(4),
|
||||
-116:CountDBResults(1),
|
||||
-117:FreeDBResults(1),
|
||||
-118:GetDBResultKeyString(2),
|
||||
-119:GetDBResultValueString(2),
|
||||
-120:GetDBResultValue(2),
|
||||
-121:GetDBEntryRank(3),
|
||||
-122:RequestScriptPuke(4),
|
||||
-123:BeginDBTransaction(0),
|
||||
-124:EndDBTransaction(0),
|
||||
-125:GetDBEntries(1),
|
||||
|
||||
// -1xx are reserved for Zandronum
|
||||
-200:CheckClass(1),
|
||||
-201:DamageActor(6), // [arookas]
|
||||
-202:SetActorFlag(3),
|
||||
-203:SetTranslation(2),
|
||||
|
||||
// Eternity's
|
||||
-300:GetLineX(3),
|
||||
-301:GetLineY(3),
|
||||
|
||||
// GZDoom OpenGL
|
||||
-400:SetSectorGlow(5),
|
||||
-401:SetFogDensity(2),
|
||||
|
||||
// ZDaemon's
|
||||
-19620:GetTeamScore(1),
|
||||
-19621:SetTeamScore(2),
|
||||
|
||||
-100000:__EndOfList__(10);
|
||||
|
8
Build/Compilers/ZDaemon/zwvars.acs
Executable file
8
Build/Compilers/ZDaemon/zwvars.acs
Executable file
|
@ -0,0 +1,8 @@
|
|||
|
||||
//**************************************************************************
|
||||
//**
|
||||
//** zwvars.acs
|
||||
//**
|
||||
//**************************************************************************
|
||||
|
||||
// include your world-variable declarations here.
|
172
Build/Configurations/Includes/ZDaemon_things.cfg
Executable file
172
Build/Configurations/Includes/ZDaemon_things.cfg
Executable file
|
@ -0,0 +1,172 @@
|
|||
// [ZZ] reduced category count.
|
||||
// yes, its nice to have them colored differently, but it's just terrible to navigate the tree like that.
|
||||
bluethings
|
||||
{
|
||||
color = 1; // Blue
|
||||
arrow = 1;
|
||||
title = "ZDaemon: Blue team";
|
||||
width = 16;
|
||||
sort = 1;
|
||||
height = 56;
|
||||
hangs = 0;
|
||||
blocking = 1;
|
||||
error = 2;
|
||||
|
||||
5080
|
||||
{
|
||||
title = "Blue team start";
|
||||
sprite = "PLAYE2E8";
|
||||
}
|
||||
|
||||
5130
|
||||
{
|
||||
blocking = 0;
|
||||
title = "Blue flag";
|
||||
sprite = "BFLAA0";
|
||||
height = 55;
|
||||
width = 20;
|
||||
arrow = 0;
|
||||
}
|
||||
}
|
||||
|
||||
redthings
|
||||
{
|
||||
color = 4; // Red
|
||||
arrow = 1;
|
||||
title = "ZDaemon: Red team";
|
||||
width = 16;
|
||||
sort = 1;
|
||||
height = 56;
|
||||
hangs = 0;
|
||||
blocking = 1;
|
||||
error = 2;
|
||||
|
||||
5081
|
||||
{
|
||||
title = "Red team start";
|
||||
sprite = "PLAYF2F8";
|
||||
}
|
||||
|
||||
5131
|
||||
{
|
||||
title = "Red flag";
|
||||
sprite = "RFLAA0";
|
||||
height = 55;
|
||||
width = 20;
|
||||
arrow = 0;
|
||||
}
|
||||
}
|
||||
|
||||
greenthings
|
||||
{
|
||||
color = 2; // Green
|
||||
arrow = 1;
|
||||
title = "ZDaemon: Green team";
|
||||
width = 16;
|
||||
sort = 1;
|
||||
height = 56;
|
||||
hangs = 0;
|
||||
blocking = 1;
|
||||
error = 2;
|
||||
|
||||
5083
|
||||
{
|
||||
title = "Green team start";
|
||||
sprite = "PLAYF2F8";
|
||||
}
|
||||
|
||||
5133
|
||||
{
|
||||
title = "Green flag";
|
||||
sprite = "GFLAA0";
|
||||
height = 55;
|
||||
width = 20;
|
||||
arrow = 0;
|
||||
}
|
||||
}
|
||||
|
||||
whitethings
|
||||
{
|
||||
color = 15; // White
|
||||
arrow = 1;
|
||||
title = "ZDaemon: White team";
|
||||
width = 16;
|
||||
sort = 1;
|
||||
height = 56;
|
||||
hangs = 0;
|
||||
blocking = 1;
|
||||
error = 2;
|
||||
|
||||
5084
|
||||
{
|
||||
title = "White team start";
|
||||
sprite = "PLAYF2F8";
|
||||
}
|
||||
|
||||
5134
|
||||
{
|
||||
title = "White flag";
|
||||
sprite = "WFLAA0";
|
||||
height = 55;
|
||||
width = 20;
|
||||
arrow = 0;
|
||||
}
|
||||
}
|
||||
|
||||
genericthings
|
||||
{
|
||||
color = 14; // Yellow for "yellow flag". We don't really care what color domination points are.
|
||||
arrow = 0;
|
||||
title = "ZDaemon: Misc";
|
||||
|
||||
5135
|
||||
{
|
||||
title = "Domination point A";
|
||||
sprite = "DOMAA0";
|
||||
width = 30;
|
||||
height = 60;
|
||||
}
|
||||
|
||||
5136
|
||||
{
|
||||
title = "Domination point B";
|
||||
sprite = "DOMBA0";
|
||||
width = 30;
|
||||
height = 60;
|
||||
}
|
||||
|
||||
5137
|
||||
{
|
||||
title = "King of the Hill";
|
||||
sprite = "DOMCA0";
|
||||
width = 30;
|
||||
height = 60;
|
||||
}
|
||||
|
||||
5132
|
||||
{
|
||||
title = "Yellow flag (Neutral)";
|
||||
sprite = "DFLAA0";
|
||||
height = 55;
|
||||
width = 20;
|
||||
arrow = 0;
|
||||
}
|
||||
}
|
||||
|
||||
weapons
|
||||
{
|
||||
color = 14; // Yellow
|
||||
arrow = 0;
|
||||
title = "Weapons";
|
||||
width = 20;
|
||||
sort = 1;
|
||||
height = 25;
|
||||
hangs = 0;
|
||||
blocking = 0;
|
||||
|
||||
5012
|
||||
{
|
||||
title = "Railgun";
|
||||
sprite = "RAILA0";
|
||||
}
|
||||
}
|
69
Build/Configurations/ZDaemon_DoomHexen.cfg
Executable file
69
Build/Configurations/ZDaemon_DoomHexen.cfg
Executable file
|
@ -0,0 +1,69 @@
|
|||
/*************************************************************\
|
||||
Doom Builder 2 Game Configuration for ZDoom-compatible port
|
||||
\*************************************************************/
|
||||
|
||||
// This is required to prevent accidental use of a different configuration
|
||||
type = "Doom Builder 2 Game Configuration";
|
||||
|
||||
// This is the title to show for this game
|
||||
game = "ZDaemon: Doom 2 (Hexen format)";
|
||||
|
||||
// This is the simplified game engine/sourceport name
|
||||
engine = "zdaemon";
|
||||
|
||||
// *******************************************************
|
||||
// * *
|
||||
// * Note: all the elements that could be factorized *
|
||||
// * because they were common to ZDoom, GZDoom and *
|
||||
// * Zandronum have been moved to ZDoom_common.cfg. *
|
||||
// * *
|
||||
// *******************************************************
|
||||
|
||||
// STANDARD ZDOOM SETTINGS
|
||||
// Settings common to all games and all map formats
|
||||
include("Includes\\ZDoom_common.cfg", "common");
|
||||
|
||||
// Settings common to Hexen map format
|
||||
include("Includes\\ZDoom_common.cfg", "mapformat_hexen");
|
||||
|
||||
// compiler
|
||||
defaultscriptcompiler = "zdaemon_acs.cfg";
|
||||
|
||||
// Settings common to Doom games
|
||||
include("Includes\\Game_Doom.cfg");
|
||||
|
||||
// Default thing filters
|
||||
// (these are not required, just useful for new users)
|
||||
thingsfilters
|
||||
{
|
||||
include("Includes\\Doom_misc.cfg", "thingsfilters");
|
||||
}
|
||||
|
||||
// THING TYPES
|
||||
// Each engine has its own additional thing types
|
||||
// Order should always be 1: Game; 2: ZDoom/game; 3: ZDoom/zdoom
|
||||
thingtypes
|
||||
{
|
||||
// Basic game actors
|
||||
include("Includes\\Doom_things.cfg");
|
||||
include("Includes\\Doom2_things.cfg");
|
||||
// Additional ZDoom actors for that game
|
||||
include("Includes\\ZDoom_things.cfg", "doom");
|
||||
// Standard ZDoom actors
|
||||
include("Includes\\ZDoom_things.cfg", "zdoom");
|
||||
// Additional ZDaemon actors
|
||||
include("Includes\\ZDaemon_things.cfg");
|
||||
}
|
||||
|
||||
// ENUMERATIONS
|
||||
// Each engine has its own additional thing types
|
||||
// These are enumerated lists for linedef types and UDMF fields.
|
||||
enums
|
||||
{
|
||||
// Basic game enums
|
||||
include("Includes\\Doom_misc.cfg", "enums");
|
||||
// Standard ZDoom enums
|
||||
include("Includes\\ZDoom_misc.cfg", "enums");
|
||||
// Additional ZDoom enums for that game
|
||||
include("Includes\\ZDoom_misc.cfg", "enums_doom");
|
||||
}
|
1017
Build/Scripting/ZDaemon_ACS.cfg
Executable file
1017
Build/Scripting/ZDaemon_ACS.cfg
Executable file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue