Commit graph

106 commits

Author SHA1 Message Date
Sally Coolatta
22e3ff3b07 Add ACS functions that can replicate line triggers
PlayerTeam, PlayerRings, PlayerScore, CountEnemies, CountPushables, HaveUnlockableTrigger, HaveUnlockable, PlayerSkin, GetObjectDye, PlayerEmeralds, PlayerLap, LowestLap, and EncoreMode
2024-10-15 13:57:06 -04:00
Sally Coolatta
1cacd36967 Finish adding highlights to ZB script editor 2024-10-15 13:55:16 -04:00
Sally Coolatta
7aaeae93e1 Fixes for special config 2024-10-15 13:51:10 -04:00
Sally Coolatta
35e71beabf Fix Log not existing in the ACS definition 2024-10-15 13:35:26 -04:00
Sally Coolatta
364b5bda8a Improve compiling, add ACS_Execute
Arbritrary ACS scripts can now be run from linedef executors. I will be implementing more, non-linedef-executor-related methods in the future.
2024-10-15 13:07:13 -04:00
NepDisk
9a6aeaaa56 Allow ACS to call linedef specials as functions 2024-10-10 15:30:22 -04:00
Sally Coolatta
9d0ae3e489 Add LAP script type
GDCC just updated after my feature request for remappable script type names, so there's no more limitations surrounding those.
2024-10-10 15:17:17 -04:00
NepDisk
6edb12de78 Revert " Allow ACS to call linedef specials as functions"
This reverts commit f46a9ed5fa.
2024-10-10 15:14:01 -04:00
NepDisk
f46a9ed5fa Allow ACS to call linedef specials as functions 2024-10-10 15:10:18 -04:00
Sally Coolatta
eff994fd60 Add ThingCount
Hexen implements this as ThingCount(int, int), and ZDoom adds ThingCountName(str, int). I decided on simplifying down to ThingCount(str, int).
2024-10-10 01:42:38 -04:00
Sally Coolatta
629b0aa77a ACS basic implementation
- BEHAVIOR lumps successfully load & run from maps. Currently they do not get unloaded between maps, though.
- Print and Timer are the only implemented CallFuncs. All of the base language functions (Delay, etc) are already implemented by the VM though.
- ACS compiler files are included, for use with GDCC. (Picked instead of ACC because it's less ZDoom-centric)
- Additionally, also added the configs for Zone Builder to be able to compile it in editor. Syntax highlighting is very incomplete atm.
2024-10-10 01:41:24 -04:00
Sally Coolatta
72f3c3fe6c Add Hexen line activation flags
- Lines can be set to activate when crossing or bumping into them, with distinctions for players, enemies, and missiles+items.
- A new flag has been added to determine if a line special can activate more than once.
- Finish Line + Respawn Line are now handled like other specials. This means that:
    - They follow the new line activation rules (so you can potentially have a finish line that you have to bump instead of cross)
    - More importantly, they can be called as functions in ACS. (Player_FinishLine and Player_Respawn)
- Fixed linedef flags not being saved in save games.
2024-09-03 16:50:42 -04:00
NepDisk
3aab5834fc d5155e3d83411be7e71953e2f8e8fdc52818b36d 2024-09-03 16:39:02 -04:00
NepDisk
972b98cc90 Merge branch 'v2dev3' into udmf-cherrypick-cherrypick 2024-09-03 12:07:46 -04:00
NepDisk
077835e4ae Update New springs doomed nums
this is to prevent conflict with kart mods
2024-09-03 11:50:47 -04:00
Sally Coolatta
25a9b5cfa9 Copy first mapthing tag to their mobjs
Allows the ThingCount and ThingSound ACS functions to fully work now, and adds significantly more possibilities for scripting later.
2024-08-22 18:00:14 -04:00
Sally Coolatta
e830190986 Update UDMF config to work with latest UZB 2024-08-20 03:07:25 -04:00
NepDisk
a2fcc4bc20 UDMF cherry-pick cherry-pick 2024-08-20 02:47:00 -04:00
NepDisk
ee3e0ef1a3 Add eq and vslopes to udmf 2024-08-20 00:41:10 -04:00
NepDisk
75ddcb8fef revert mode set io and specfy this is a binary config. 2024-07-31 18:36:48 -04:00
NepDisk
d7dbe97eb8 Readd oil slik, uncomment things from UZB config 2024-07-31 18:17:11 -04:00
toaster
e01804c691 Update configuration
- Support new map lump ordering (THANKS STEEL FOR FINDING THESE OPTIONS!!)
- Prevent rotating waypoints causing their IDs to become corrupted
- Rename to `D3R-Config.cfg`
- Synchronise with changelog-tracked resource
- Integrate relevant 2.2 changes
- Add new credits according to historical changelogs
- A whole bunch of other cleanup
2024-07-31 04:06:25 -04:00
NepDisk
e470520710 Revert "Expose blendmodes to UDMF"
This reverts commit 31c38533b8.
2024-07-29 17:17:09 -04:00
MascaraSnake
31c38533b8 Expose blendmodes to UDMF 2024-07-29 17:02:57 -04:00
NepDisk
c510b9de77 Revert "Expose blendmodes to UDMF"
This reverts commit 0250fdadbe.
2024-07-28 23:16:45 -04:00
MascaraSnake
0250fdadbe Expose blendmodes to UDMF 2024-07-28 22:38:59 -04:00
toaster
a6690e02fa Revert "Add flag to line slopes for copying their slopes to the other side."
This reverts commit 7f969705b4.
2022-03-27 20:46:07 +01:00
spherallic
6cfe9ad4b3 Add toggle for linedef action 401 to not change the ceiling texture. 2022-03-18 19:45:40 +00:00
toaster
7f969705b4 Add flag to line slopes for copying their slopes to the other side.
# Conflicts:
#	extras/conf/SRB2Kart2.cfg
2022-03-18 18:30:40 +00:00
toaster
1289e08887 Enhance the multitagging functionality added in previous commits.
* Flattened version of commits from SRB2 repository's flarn2006:multitagging_plus/merge request 1524.
* New linedef special 96: "Apply Tag to Tagged Sectors".
* New flags for linedef specials 97-99
2022-03-18 17:06:22 +00:00
toaster
19a4ef23c2 Add more actions for slope copying & update the ZB config.
# Conflicts:
#	extras/conf/SRB2Kart2.cfg
2022-03-18 13:32:48 +00:00
toaster
857330f74f Add linedef specials for multitagging in binary maps
# Conflicts:
#	extras/conf/SRB2Kart2.cfg
2022-03-18 13:16:55 +00:00
James R
08348fcd43 Merge remote-tracking branch 'srb2/next' 2021-04-05 01:26:17 -07:00
James R
017c5a363f Fix casing 2021-03-01 19:49:44 -08:00
GoldenTails
c2e762bb5d Nice UDB config there, SRB2. 2020-12-24 03:22:08 -06:00
Sally Coolatta
351e4ad534 Add kart doom builder configurations to repo 2020-09-27 06:50:08 -04:00
MascaraSnake
c685328268 Adapt POF_SPLAT to UDMF setup 2020-06-09 09:44:49 +02:00
MascaraSnake
3ce62d7780 Merge branch 'next' into udmf-next
# Conflicts:
#	src/p_mobj.c
#	src/p_polyobj.c
2020-06-09 09:38:01 +02:00
MascaraSnake
f713487f3c Effect 6 flag allows cutting of cyan pixels on FOF and PolyObject planes (even if they're translucent) 2020-06-03 19:41:47 +02:00
MascaraSnake
473c9f372f Merge branch 'executordelay' into 'udmf-next'
UDMF linedef executor delay

See merge request STJr/SRB2!918
2020-06-01 07:57:23 -04:00
sphere
8e068e94b0 Rename the rest of the wall scrollers in the ZB config. 2020-05-23 16:41:38 +02:00
sphere
ff6b9a9cf0 Add linedef actions 507 & 508, allow using offsets for actions 502-504. 2020-05-19 23:39:35 +02:00
MascaraSnake
60076f04cb Remove linedef type 21 from ZB config (somehow I forgot to do that) 2020-05-17 14:18:27 +02:00
MascaraSnake
2e9a6afa3e Merge branch 'udmf-next' into executordelay
# Conflicts:
#	src/p_spec.c
2020-05-13 09:55:25 +02:00
MascaraSnake
db717f1cf7 Move polyobject crush option to the first line args 2020-05-04 23:27:26 +02:00
MascaraSnake
af8bd89558 Adapt basic PolyObject setup to UDMF 2020-05-04 22:40:49 +02:00
MascaraSnake
8c22834b46 Merge branch 'next' into udmf-next 2020-05-04 20:32:56 +02:00
MascaraSnake
b3f81349ae Merge branch 'polyobject-cleanup' into 'next'
PolyObject cleanup

See merge request STJr/SRB2!919
2020-05-04 14:18:08 -04:00
MascaraSnake
486996702d Add new PolyObject flag to ZB config 2020-05-04 19:55:25 +02:00
MascaraSnake
9566d7db96 Implement "set linedef executor delay" linedef type 2020-05-03 21:03:15 +02:00