mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 04:12:12 +00:00
Included Skulltag ACC compiler package made by Xenaero
This commit is contained in:
parent
6f4e9e7509
commit
3fcc618180
5 changed files with 279 additions and 28 deletions
Binary file not shown.
|
@ -1,4 +1,3 @@
|
|||
|
||||
//**************************************************************************
|
||||
//**
|
||||
//** zcommon.acs
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
//**************************************************************************
|
||||
//**
|
||||
//** zdefs.acs
|
||||
|
@ -24,6 +23,11 @@
|
|||
#define TEXTURE_MIDDLE 1
|
||||
#define TEXTURE_BOTTOM 2
|
||||
|
||||
// same information as combinable bit flags
|
||||
#define TEXFLAG_TOP 1
|
||||
#define TEXFLAG_MIDDLE 2
|
||||
#define TEXFLAG_BOTTOM 4
|
||||
|
||||
#define GAME_SINGLE_PLAYER 0
|
||||
#define GAME_NET_COOPERATIVE 1
|
||||
#define GAME_NET_DEATHMATCH 2
|
||||
|
@ -44,6 +48,7 @@
|
|||
#define BLOCK_CREATURES 1
|
||||
#define BLOCK_EVERYTHING 2
|
||||
#define BLOCK_RAILING 3
|
||||
#define BLOCK_PLAYERS 4
|
||||
|
||||
#define SCROLL 0
|
||||
#define CARRY 1
|
||||
|
@ -103,7 +108,64 @@
|
|||
#define PROP_FLIGHT 12
|
||||
#define PROP_SPEED 15
|
||||
|
||||
// Text colors for hudmessage -----------------------------------------------
|
||||
// Player input -------------------------------------------------------------
|
||||
|
||||
// These are the original inputs sent by the player.
|
||||
#define INPUT_OLDBUTTONS 0
|
||||
#define INPUT_BUTTONS 1
|
||||
#define INPUT_PITCH 2
|
||||
#define INPUT_YAW 3
|
||||
#define INPUT_ROLL 4
|
||||
#define INPUT_FORWARDMOVE 5
|
||||
#define INPUT_SIDEMOVE 6
|
||||
#define INPUT_UPMOVE 7
|
||||
|
||||
// These are the inputs, as modified by P_PlayerThink().
|
||||
// Most of the time, these will match the original inputs, but
|
||||
// they can be different if a player is frozen or using a
|
||||
// chainsaw.
|
||||
#define MODINPUT_OLDBUTTONS 8
|
||||
#define MODINPUT_BUTTONS 9
|
||||
#define MODINPUT_PITCH 10
|
||||
#define MODINPUT_YAW 11
|
||||
#define MODINPUT_ROLL 12
|
||||
#define MODINPUT_FORWARDMOVE 13
|
||||
#define MODINPUT_SIDEMOVE 14
|
||||
#define MODINPUT_UPMOVE 15
|
||||
|
||||
// Player buttons -----------------------------------------------------------
|
||||
|
||||
#define BT_ATTACK 1
|
||||
#define BT_USE 2
|
||||
#define BT_JUMP 4
|
||||
#define BT_CROUCH 8
|
||||
#define BT_TURN180 16
|
||||
#define BT_ALTATTACK 32
|
||||
#define BT_RELOAD 64
|
||||
#define BT_ZOOM 128
|
||||
|
||||
#define BT_SPEED 256
|
||||
#define BT_STRAFE 512
|
||||
|
||||
#define BT_MOVERIGHT 1024
|
||||
#define BT_MOVELEFT 2048
|
||||
#define BT_BACK 4096
|
||||
#define BT_FORWARD 8192
|
||||
#define BT_RIGHT 16384
|
||||
#define BT_LEFT 32768
|
||||
#define BT_LOOKUP 65536
|
||||
#define BT_LOOKDOWN 131072
|
||||
#define BT_MOVEUP 262144
|
||||
#define BT_MOVEDOWN 524288
|
||||
#define BT_SHOWSCORES 1048576
|
||||
|
||||
// Do whatever you want with these.
|
||||
#define BT_USER1 2097152
|
||||
#define BT_USER2 4194304
|
||||
#define BT_USER3 8388608
|
||||
#define BT_USER4 16777216
|
||||
|
||||
// Text colors --------------------------------------------------------------
|
||||
|
||||
#define CR_UNTRANSLATED -1
|
||||
#define CR_BRICK 0
|
||||
|
@ -118,6 +180,16 @@
|
|||
#define CR_ORANGE 8
|
||||
#define CR_WHITE 9
|
||||
#define CR_YELLOW 10
|
||||
#define CR_BLACK 12
|
||||
#define CR_LIGHTBLUE 13
|
||||
#define CR_CREAM 14
|
||||
#define CR_OLIVE 15
|
||||
#define CR_DARKGREEN 16
|
||||
#define CR_DARKRED 17
|
||||
#define CR_DARKBROWN 18
|
||||
#define CR_PURPLE 19
|
||||
#define CR_DARKGRAY 20
|
||||
#define CR_DARKGREY 20
|
||||
|
||||
// HUD message types --------------------------------------------------------
|
||||
|
||||
|
@ -130,6 +202,10 @@
|
|||
// i.e. instead of HUDMSG_PLAIN, you can use HUDMSG_PLAIN | HUDMSG_LOG
|
||||
#define HUDMSG_LOG 0x80000000
|
||||
|
||||
// OR this with one of the above if the color you passed is a string
|
||||
// instead of one of the CR_ constants.
|
||||
#define HUDMSG_COLORSTRING 0x40000000
|
||||
|
||||
// "Scripted" Marine weapon types -------------------------------------------
|
||||
|
||||
#define MARINEWEAPON_Dummy 0
|
||||
|
@ -154,6 +230,12 @@
|
|||
#define APROP_RenderStyle 4
|
||||
#define APROP_Ambush 10
|
||||
#define APROP_Invulnerable 11
|
||||
#define APROP_JumpZ 12
|
||||
#define APROP_ChaseGoal 13
|
||||
#define APROP_Frightened 14
|
||||
#define APROP_Gravity 15
|
||||
#define APROP_Friendly 16
|
||||
#define APROP_SpawnHealth 17
|
||||
#define APROP_SeeSound 5 // Sounds can only be set, not gotten
|
||||
#define APROP_AttackSound 6
|
||||
#define APROP_PainSound 7
|
||||
|
@ -183,6 +265,48 @@
|
|||
#define LEVELINFO_KILLED_MONSTERS 8
|
||||
#define LEVELINFO_SUCK_TIME 9
|
||||
|
||||
// Properties you can use with GetPlayerInfo() ------------------------------
|
||||
|
||||
#define PLAYERINFO_TEAM 0
|
||||
#define PLAYERINFO_AIMDIST 1
|
||||
#define PLAYERINFO_COLOR 2
|
||||
#define PLAYERINFO_GENDER 3
|
||||
#define PLAYERINFO_NEVERSWITCH 4
|
||||
#define PLAYERINFO_MOVEBOB 5
|
||||
#define PLAYERINFO_STILLBOB 6
|
||||
#define PLAYERINFO_PLAYERCLASS 7
|
||||
|
||||
|
||||
// Flags for ReplaceTextures ------------------------------------------------
|
||||
|
||||
#define NOT_BOTTOM 1
|
||||
#define NOT_MIDDLE 2
|
||||
#define NOT_TOP 4
|
||||
#define NOT_FLOOR 8
|
||||
#define NOT_CEILING 16
|
||||
|
||||
// Flags for SectorDamage ---------------------------------------------------
|
||||
|
||||
#define DAMAGE_PLAYERS 1
|
||||
#define DAMAGE_NONPLAYERS 2
|
||||
#define DAMAGE_IN_AIR 4
|
||||
#define DAMAGE_SUBCLASSES_PROTECT 8
|
||||
|
||||
// Flags for MorphActor -----------------------------------------------------
|
||||
|
||||
#define MRF_OLDEFFECTS 0x00000000
|
||||
#define MRF_ADDSTAMINA 0x00000001
|
||||
#define MRF_FULLHEALTH 0x00000002
|
||||
#define MRF_UNDOBYTOMEOFPOWER 0x00000004
|
||||
#define MRF_UNDOBYCHAOSDEVICE 0x00000008
|
||||
#define MRF_FAILNOTELEFRAG 0x00000010
|
||||
#define MRF_FAILNOLAUGH 0x00000020
|
||||
#define MRF_WHENINVULNERABLE 0x00000040
|
||||
#define MRF_LOSEACTUALWEAPON 0x00000080
|
||||
#define MRF_NEWTIDBEHAVIOUR 0x00000100
|
||||
#define MRF_UNDOBYDEATH 0x00000200
|
||||
#define MRF_UNDOBYDEATHFORCED 0x00000400
|
||||
#define MRF_UNDOBYDEATHSAVES 0x00000800
|
||||
|
||||
// Shared spawnable things from Hexen. You can spawn these in the other -----
|
||||
// games if you provide sprites for them, otherwise they'll be invisible. ---
|
||||
|
@ -319,7 +443,8 @@
|
|||
#define T_WIZARD 19
|
||||
#define T_IRONLICH 20
|
||||
#define T_ITEMHEALTHPOTION 23
|
||||
#define T_ITEMHEALTHFLASH 24
|
||||
#define T_ITEMHEALTHFLASH 24 // incorrect name but keep it for compatibility
|
||||
#define T_ITEMHEALTHFLASK 24
|
||||
#define T_ITEMHEALTHFULL 25
|
||||
#define T_CROSSBOW 27
|
||||
#define T_BLASTER 28
|
||||
|
@ -398,6 +523,104 @@
|
|||
#define T_REDTELEGLITTER 166
|
||||
#define T_BLUETELEGLITTER 167
|
||||
|
||||
// Hexen Spawnable things (used for thingcount() and thing spawners) ------
|
||||
|
||||
#define T_CENTAUR 1
|
||||
#define T_CENTAURLEADER 2
|
||||
#define T_DEMON1 3
|
||||
#define T_ETTIN 4
|
||||
#define T_FIREGARGOYLE 5
|
||||
#define T_WATERLURKER 6
|
||||
#define T_WATERLURKERLEADER 7
|
||||
#define T_WRAITH 8
|
||||
#define T_WRAITHBURIED 9
|
||||
#define T_FIREBALL1 10
|
||||
#define T_MANA1 11
|
||||
#define T_MANA2 12
|
||||
#define T_ITEMBOOTS 13
|
||||
#define T_ITEMPORK 14
|
||||
#define T_ITEMSUMMON 16
|
||||
#define T_ITEMTPORTOTHER 17
|
||||
#define T_BISHOP 19
|
||||
#define T_ICEGOLEM 20
|
||||
#define T_DRAGONSKINBRACERS 22
|
||||
#define T_ITEMBOOSTMANA 26
|
||||
#define T_FIGHTERAXE 27
|
||||
#define T_FIGHTERHAMMER 28
|
||||
#define T_FIGHTERSWORD1 29
|
||||
#define T_FIGHTERSWORD2 30
|
||||
#define T_FIGHTERSWORD3 31
|
||||
#define T_CLERICSTAFF 32
|
||||
#define T_CLERICHOLY1 33
|
||||
#define T_CLERICHOLY2 34
|
||||
#define T_CLERICHOLY3 35
|
||||
#define T_MAGESHARDS 36
|
||||
#define T_MAGESTAFF1 37
|
||||
#define T_MAGESTAFF2 38
|
||||
#define T_MAGESTAFF3 39
|
||||
#define T_ARROW 50
|
||||
#define T_DART 51
|
||||
#define T_POISONDART 52
|
||||
#define T_RIPPERBALL 53
|
||||
#define T_BLADE 64
|
||||
#define T_ICESHARD 65
|
||||
#define T_FLAME_SMALL 66
|
||||
#define T_FLAME_LARGE 67
|
||||
#define T_MESHARMOR 68
|
||||
#define T_FALCONSHIELD 69
|
||||
#define T_PLATINUMHELM 70
|
||||
#define T_AMULETOFWARDING 71
|
||||
#define T_ITEMFLECHETTE 72
|
||||
#define T_ITEMREPULSION 74
|
||||
#define T_MANA3 75
|
||||
#define T_PUZZSKULL 76
|
||||
#define T_PUZZGEMBIG 77
|
||||
#define T_PUZZGEMRED 78
|
||||
#define T_PUZZGEMGREEN1 79
|
||||
#define T_PUZZGEMGREEN2 80
|
||||
#define T_PUZZGEMBLUE1 81
|
||||
#define T_PUZZGEMBLUE2 82
|
||||
#define T_PUZZBOOK1 83
|
||||
#define T_PUZZBOOK2 84
|
||||
#define T_METALKEY 85
|
||||
#define T_SMALLMETALKEY 86
|
||||
#define T_AXEKEY 87
|
||||
#define T_FIREKEY 88
|
||||
#define T_EMERALDKEY 89
|
||||
#define T_MACEKEY 90
|
||||
#define T_SILVERKEY 91
|
||||
#define T_RUSTYKEY 92
|
||||
#define T_HORNKEY 93
|
||||
#define T_SERPENTKEY 94
|
||||
#define T_WATERDRIP 95
|
||||
#define T_TEMPSMALLFLAME 96
|
||||
#define T_PERMSMALLFLAME 97
|
||||
#define T_PERMLARGEFLAME 99
|
||||
#define T_DEMON_MASH 100
|
||||
#define T_DEMON2_MASH 101
|
||||
#define T_ETTIN_MASH 102
|
||||
#define T_CENTAUR_MASH 103
|
||||
#define T_THRUSTSPIKEUP 104
|
||||
#define T_THRUSTSPIKEDOWN 105
|
||||
#define T_FLESH_DRIP1 106
|
||||
#define T_FLESH_DRIP2 107
|
||||
#define T_SPARK_DRIP 108
|
||||
|
||||
|
||||
// Flags returned by ClassifyActor
|
||||
|
||||
#define ACTOR_NONE 0
|
||||
#define ACTOR_WORLD 1
|
||||
#define ACTOR_PLAYER 2
|
||||
#define ACTOR_BOT 4
|
||||
#define ACTOR_VOODOODOLL 8
|
||||
#define ACTOR_MONSTER 16
|
||||
#define ACTOR_ALIVE 32
|
||||
#define ACTOR_DEAD 64
|
||||
#define ACTOR_MISSILE 128
|
||||
#define ACTOR_GENERIC 256
|
||||
|
||||
|
||||
// Events when you have input grabbed
|
||||
|
||||
#define EV_KeyDown 1 // data1: unshifted ASCII, data2: shifted ASCII
|
||||
|
@ -465,6 +688,17 @@
|
|||
#define GK_FREE3 30
|
||||
#define GK_CESCAPE 31 // color escape
|
||||
|
||||
#define CHANGELEVEL_KEEPFACING 1
|
||||
#define CHANGELEVEL_RESETINVENTORY 2
|
||||
#define CHANGELEVEL_NOMONSTERS 4
|
||||
#define CHANGELEVEL_CHANGESKILL 8
|
||||
#define CHANGELEVEL_NOINTERMISSION 16
|
||||
|
||||
#define NO_CHANGE -32767.0
|
||||
|
||||
#define SECF_SILENT 1
|
||||
#define SECF_NOFALLINGDAMAGE 2
|
||||
|
||||
// ==========================================================================
|
||||
// Skulltag Definitions
|
||||
// ==========================================================================
|
||||
|
|
|
@ -10,12 +10,12 @@ special
|
|||
82:ACS_Terminate(2),
|
||||
83:ACS_LockedExecute(5),
|
||||
85:ACS_LockedExecuteDoor(5),
|
||||
42:Ceiling_CrushAndRaise(3),
|
||||
42:Ceiling_CrushAndRaise(3,4),
|
||||
44:Ceiling_CrushStop(1),
|
||||
43:Ceiling_LowerAndCrush(3),
|
||||
43:Ceiling_LowerAndCrush(3,4),
|
||||
40:Ceiling_LowerByValue(3),
|
||||
41:Ceiling_RaiseByValue(3),
|
||||
45:Ceiling_CrushRaiseAndStay(3),
|
||||
45:Ceiling_CrushRaiseAndStay(3,4),
|
||||
69:Ceiling_MoveToValueTimes8(4),
|
||||
10:Door_Close(2),
|
||||
11:Door_Open(2,3),
|
||||
|
@ -27,7 +27,7 @@ special
|
|||
68:Floor_MoveToValueTimes8(4),
|
||||
21:Floor_LowerToLowest(2),
|
||||
22:Floor_LowerToNearest(2),
|
||||
28:Floor_RaiseAndCrush(3),
|
||||
28:Floor_RaiseAndCrush(3,4),
|
||||
23:Floor_RaiseByValue(3),
|
||||
35:Floor_RaiseByValueTimes8(3),
|
||||
67:Floor_RaiseInstant(3),
|
||||
|
@ -46,7 +46,7 @@ special
|
|||
116:Light_Strobe(5),
|
||||
117:Light_Stop(1),
|
||||
29:Pillar_Build(3),
|
||||
94:Pillar_BuildAndCrush(4),
|
||||
94:Pillar_BuildAndCrush(4,5),
|
||||
30:Pillar_Open(4),
|
||||
62:Plat_DownWaitUpStay(3),
|
||||
63:Plat_DownByValue(4),
|
||||
|
@ -89,20 +89,40 @@ special
|
|||
9:Line_Horizon(0),
|
||||
14:Door_Animated(3),
|
||||
15:Autosave(0),
|
||||
17:Thing_Raise(1),
|
||||
18:StartConversation(1,2),
|
||||
19:Thing_Stop(1),
|
||||
33:ForceField(0),
|
||||
34:ClearForceField(1),
|
||||
37:Floor_MoveToValue(3,4),
|
||||
38:Ceiling_Waggle(5),
|
||||
39:Teleport_ZombieChanger(2),
|
||||
47:Ceiling_MoveToValue(3,4),
|
||||
49:GlassBreak(0,1),
|
||||
51:Sector_SetLink(4),
|
||||
52:Scroll_Wall(5),
|
||||
53:Line_SetTextureOffset(5),
|
||||
54:Sector_ChangeFlags(3),
|
||||
76:TeleportOther(3),
|
||||
77:TeleportGroup(5),
|
||||
78:TeleportInSector(4,5),
|
||||
84:ACS_ExecuteWithResult(1,4),
|
||||
119:Thing_Damage(2,3),
|
||||
125:Thing_Move(2),
|
||||
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!
|
||||
139:Thing_SpawnFacing(2,4),
|
||||
154:Teleport_NoStop(2, 3),
|
||||
|
||||
158:FS_Execute(1,4), // GZDoom only!
|
||||
159:Sector_SetPlaneReflection(3), // GZDoom only!
|
||||
//160:Sector_Set3DFloor // GZDoom/Vavoom
|
||||
//161:Sector_SetContents // Vavoom
|
||||
|
||||
169:Generic_Crusher2(5),
|
||||
170:Sector_SetCeilingScale2(3),
|
||||
171:Sector_SetFloorScale2(3),
|
||||
172:Plat_UpNearestWaitDownStay(3),
|
||||
173:NoiseAlert(2),
|
||||
174:SendToCommunicator(4),
|
||||
|
@ -112,7 +132,7 @@ special
|
|||
178:Thing_ProjectileAimed(4,5),
|
||||
179:ChangeSkill(1),
|
||||
180:Thing_SetTranslation(2),
|
||||
// 181:Plane_Align,
|
||||
181:Plane_Align(2),
|
||||
182:Line_Mirror(0),
|
||||
183:Line_AlignCeiling(2),
|
||||
184:Line_AlignFloor(2),
|
||||
|
@ -125,9 +145,9 @@ special
|
|||
192:Ceiling_LowerToHighestFloor(2),
|
||||
193:Ceiling_LowerInstant(3),
|
||||
194:Ceiling_RaiseInstant(3),
|
||||
195:Ceiling_CrushRaiseAndStayA(4),
|
||||
196:Ceiling_CrushAndRaiseA(4),
|
||||
197:Ceiling_CrushAndRaiseSilentA(4),
|
||||
195:Ceiling_CrushRaiseAndStayA(4,5),
|
||||
196:Ceiling_CrushAndRaiseA(4,5),
|
||||
197:Ceiling_CrushAndRaiseSilentA(4,5),
|
||||
198:Ceiling_RaiseByValueTimes8(3),
|
||||
199:Ceiling_LowerByValueTimes8(3),
|
||||
200:Generic_Floor(5),
|
||||
|
@ -139,9 +159,9 @@ special
|
|||
206:Plat_DownWaitUpStayLip(4,5),
|
||||
207:Plat_PerpetualRaiseLip(4),
|
||||
208:TranslucentLine(2,3),
|
||||
// 209:Transfer_Heights,
|
||||
// 210:Transfer_FloorLight,
|
||||
// 211:Transfer_CeilingLight,
|
||||
209:Transfer_Heights(2),
|
||||
210:Transfer_FloorLight(1),
|
||||
211:Transfer_CeilingLight(1),
|
||||
212:Sector_SetColor(4,5),
|
||||
213:Sector_SetFade(4),
|
||||
214:Sector_SetDamage(3),
|
||||
|
@ -152,14 +172,14 @@ special
|
|||
219:Sector_SetFriction(2),
|
||||
220:Sector_SetCurrent(4),
|
||||
221:Scroll_Texture_Both(5),
|
||||
// 222:Scroll_Texture_Model,
|
||||
222:Scroll_Texture_Model(2),
|
||||
223:Scroll_Floor(4),
|
||||
224:Scroll_Ceiling(4),
|
||||
// 225:Scroll_Texture_Offsets,
|
||||
225:Scroll_Texture_Offsets(0),
|
||||
226:ACS_ExecuteAlways(2,5),
|
||||
// 227:PointPush_SetForce,
|
||||
227:PointPush_SetForce(4),
|
||||
228:Plat_RaiseAndStayTx0(2),
|
||||
229:Thing_SetGoal(3),
|
||||
229:Thing_SetGoal(3,4),
|
||||
230:Plat_UpByValueStayTx(3),
|
||||
231:Plat_ToggleCeiling(1),
|
||||
232:Light_StrobeDoom(3),
|
||||
|
@ -179,18 +199,17 @@ special
|
|||
246:Elevator_MoveToFloor(2),
|
||||
247:Elevator_LowerToNearest(2),
|
||||
248:HealThing(1,2),
|
||||
249:Door_CloseWaitOpen(3),
|
||||
249:Door_CloseWaitOpen(3, 4),
|
||||
250:Floor_Donut(3),
|
||||
251:FloorAndCeiling_LowerRaise(3),
|
||||
252:Ceiling_RaiseToNearest(2),
|
||||
253:Ceiling_LowerToLowest(2),
|
||||
254:Ceiling_LowerToFloor(2),
|
||||
255:Ceiling_CrushRaiseAndStaySilA(4),
|
||||
255:Ceiling_CrushRaiseAndStaySilA(4,5),
|
||||
|
||||
// Skulltag Functions
|
||||
143:Player_RemoveItem(2),
|
||||
144:Player_GiveItem(2),
|
||||
145:Player_SetTeam(1),
|
||||
152:Team_Score(2),
|
||||
153:Team_GivePoints(3),
|
||||
154:Teleport_NoStop(1,3);
|
||||
153:Team_GivePoints(3);
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
//**************************************************************************
|
||||
//**
|
||||
//** zwvars.acs
|
||||
|
|
Loading…
Reference in a new issue