Commit graph

19 commits

Author SHA1 Message Date
James R
a9a2aef018 acs/call-funcs.cpp: add ExitLevel function 2024-10-15 16:44:50 -04:00
James R
35b1554ca4 acs/call-funcs.cpp: add StopLevelExit function 2024-10-15 16:44:43 -04:00
Sally Coolatta
acf0466ba6 Add bot styles & bot spawn ACS function 2024-10-15 16:44:29 -04:00
--get
fc96a81762 ACS: Better thing counting
- ThingCount has an extra argument for sector tag.
- CountEnemies and CountPushables have an extra argument for thing tag.
- Sector tag 0 for CountEnemies and CountPushables now redirects to activator sector.
2024-10-15 15:47:00 -04:00
toaster
6346a4ffa6 ACS: void MapWarp(str mapname, bool showintermission)
An immediate level change on command, to the specified level (via string).
Utilises the existing nextmapoverride and skipstats system, but with skipstats assumed to be the default.
2024-10-15 15:35:20 -04:00
Sally Coolatta
061e6e727c ACS: Get/SetThingProperty 2024-10-15 15:34:17 -04:00
Sally Coolatta
89a03a85f3 ACS: UDMF user properties
Lines, sides, sectors, and things now all support the "Custom" tab properly. Label a property as `user_[whatever you want]` in this tab, and it will be added to the structure. ACS will then be able to retrieve it using the `Get[x]UserProperty()` function.
2024-10-15 15:33:16 -04:00
Sally Coolatta
6895a04051 ACS: Implement Line and Side get/set functions
Additionally, these all now support tag 0 as getting/setting properties from the activator.
2024-10-15 15:27:30 -04:00
Sally Coolatta
1c2b4d5898 ACS: Get/Set property prototyping
Mostly proof-of-concept so that Charyb can play around with it and tell me if it works for her.
2024-10-15 15:27:12 -04:00
Sally Coolatta
03de6d0641 Add TimeAttack ACS function 2024-10-15 15:22:28 -04:00
Sally Coolatta
7a6546e42f Add BreakTheCapsules ACS function
Returns true or false if the map is being played in Break the Capsules or not.
2024-10-15 15:22:20 -04:00
Sally Coolatta
84904d897f SetLineRenderStyle ACS function
SetLineRenderStyle(int tag, int blend, int alpha)

Changes the blend mode and transparency of a linedef. Requires new compiler config for the blend mode constants.
2024-10-15 15:21:31 -04:00
Sally Coolatta
a1e1e5ce22 Add PodiumPosition ACS function
Returns the best position of all non-CPU players.
2024-10-15 15:17:32 -04:00
Sally Coolatta
a12ad40610 Add CameraWait ACS function
Pauses a script until the tagged camera has no more waypoints to follow.
2024-10-15 15:17:15 -04:00
toaster
1a5ba23947 ACS Environment::loadModule: Free vres after generation
Discovered (temporary) memory leak while writing the following commit
2024-10-15 15:15:27 -04:00
Sally Coolatta
47a59591b1 Add string comparison funcs for ACS 2024-10-15 15:14:48 -04:00
NepDisk
82a7f26c66 comment out unlockables for now 2024-10-15 14:00:07 -04:00
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
8637dc3ce3 Fully port the ACS integration to C++ and make it build 2024-10-15 06:01:14 -04:00