Commit graph

22806 commits

Author SHA1 Message Date
toaster
d7547edf05 P_SetDefaultHeaderFollowers: Add Motobuddy to the list as Eggman deserves his homies 2023-04-20 23:22:35 +01:00
toaster
178fe3052d Obj_RandomAudienceInit: Increase the scale to 3x instead of 2x 2023-04-20 23:22:03 +01:00
toaster
a74b7995c9 Implement Follower Audience object
- Replaces Chao audience entirely
    - Convenient, because one of the two default follower types used in the audience is Chao
- Can provide one follower, or a list of followers, on the stringarg1 (seperated by spaces/commas) and it'll pick randomly between them
    - If not provided, uses the mapheader follower list
- Can provide one skincolor, or a list of skincolors, on the stringarg2 (seperated by spaces/commas) and it'll pick randomly between them
    - If not provided, uses the follower's default color
    - If the follower's default color is Match/Opposite or the user provides "Random" in stringarg2, pick a random skincolor
- If arg3 is set, floats in the air
    - MTF_OBJECTSPECIAL in binary format
- If arg4 is set, faces the closest player
    - MTF_AMBUSH in binary format
    - Uses some funny mathematical tricks to avoid checking on the same frame as every other audience member at once
2023-04-20 23:15:56 +01:00
toaster
5f15736626 Mapheader Followers system
Replaces Flicky List system from 2.2.
Specify a list of comma-seperated Followers.
Not used by any systems in this commit, but important to store the data for later.
2023-04-20 23:01:13 +01:00
toaster
9eacdb4be4 P_SetupSpawnedMapThing: Catch more P_MobjWasRemoved 2023-04-20 22:58:50 +01:00
toaster
3612c1afa8 K_HandleFollower: Add newlines to improve readability of sine bobbing 2023-04-20 22:57:41 +01:00
toaster
ea8573a70a ParseTextmapThingParameter: Tidier, more explicit guarantees for null-terminated stringarg handling 2023-04-20 22:57:03 +01:00
Sally Coolatta
65d6877283 Z Voting: Remove debug prints 2023-04-20 16:00:38 -04:00
Sally Coolatta
996ca9adad Z Voting 2023-04-20 15:55:38 -04:00
toaster
e1d6455446 Instantiate Followers earlier in load process
Surprise tool that will help us later
2023-04-19 12:11:36 +01:00
toaster
4b1de10627 Merge branch 'textures-split' into 'master'
Load split textures pk3s

See merge request KartKrew/Kart!1183
2023-04-19 10:52:12 +00:00
toaster
03f074a200 Missed typos 2023-04-19 11:39:32 +01:00
Sal
e7c9ac1937 Merge branch 'round-queue-print' into 'master'
Got_MapQueuecmd: Fix message handling

See merge request KartKrew/Kart!1182
2023-04-19 01:46:34 +00:00
Sally Coolatta
e86dd38e24 Load split textures pk3s 2023-04-18 14:02:01 +01:00
toaster
9c17ea0d28 Got_MapQueuecmd: Fix message handling
- Used Admin status of sender rather than local player to obstruct or hide
- Servers are not admins, they just sidestep many authoriative checks
- Server returned early before any chance of printing
- Slightly cleaner message
2023-04-18 12:32:58 +01:00
Sal
e0901ed7a7 Merge branch 'round-queue' into 'master'
roundqueue

See merge request KartKrew/Kart!1156
2023-04-18 09:31:26 +00:00
Sally Coolatta
77a0e77bf6 Move level load scripting to P_PostLoadLevel
Means these scripts get to have an accurate count of the number of players.
2023-04-18 05:29:58 -04:00
toaster
c48283bd24 Fix showing ROUND with invalid number for queueing a map during voting 2023-04-18 09:56:14 +01:00
Sal
563e2f2ffd Merge branch 'fix-2p-splitscreen-viewports' into 'master'
Fix 2P splitscreen viewports being out of order

See merge request KartKrew/Kart!1180
2023-04-18 08:49:04 +00:00
James R
d78b17170c get_screen_viewport: fix 2P splitscreen viewport order 2023-04-18 01:46:00 -07:00
AJ Martinez
d18bc306b6 Merge branch 'fix-tester-compile' into 'master'
Fix TESTERS build creation by not including GotOurIP, which is never called in those

See merge request KartKrew/Kart!1179
2023-04-18 08:44:48 +00:00
toaster
1d8b33833e Fix TESTERS build creation by not including GotOurIP, which is never called in those 2023-04-17 20:59:30 +01:00
toaster
9b0c82d5dc Got_MapQueuecmd: Add a success message for adding a map to the round queue (visible only to admins) 2023-04-17 20:16:30 +01:00
toaster
2d46112c58 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into round-queue
# Conflicts:
#	src/d_netcmd.h
2023-04-17 20:08:37 +01:00
Sal
eaf11a1d13 Merge branch 'ringshooter' into 'master'
Ring Shooter (Manual Respawn)

See merge request KartKrew/Kart!690
2023-04-17 04:34:29 +00:00
toaster
03ef0b4e75 No Ring Shooters before the start of the level in general, not just in Race/GTR_CIRCUIT 2023-04-17 00:23:14 -04:00
toaster
e7896a7118 Obj_RingShooterInput: Fix several issues with the to-spot teleport
- Fix undesired fastfall bounce
- Fix reverse gravity
2023-04-17 00:23:13 -04:00
toaster
5b348ee195 K_DoIngameRespawn: Ring Shooter-induced lightsnake always starts from the previous SPAWNPOINT waypoint, not the previous waypoint in general 2023-04-17 00:23:13 -04:00
Sally Coolatta
5917861d17 Ring Shooter: Ignore multiple uses from 1 player 2023-04-17 00:23:13 -04:00
Sally Coolatta
1c4137648b Ring Shooter: Fix sometimes invisible after use 2023-04-17 00:23:13 -04:00
toaster
c4a087790a Obj_UpdateRingShooterFace: Set threshold overlay flags (fixes scaling/alignment of face) 2023-04-17 00:23:12 -04:00
Sally Coolatta
3b7ac38d9f Ring Shooter: E-Brake + adjust distance
- Y is now additionally another macro for HOLD!
- Disable HOLD! drop from respawning when done with Ring Shooter.
- Immediate release Ring Shooter now goes back a waypoint, and does not have a minimum distance to go forward anymore.
2023-04-17 00:23:11 -04:00
Sally Coolatta
b123fd98a2 Ring Shooter: Disallow turning while in it 2023-04-17 00:23:11 -04:00
Sally Coolatta
3ea9b2d82d Ring Shooter: Force player mom to 0 2023-04-17 00:23:10 -04:00
Sally Coolatta
14d371f00f Basic Ring Shooter freeze implementation
It's probably too easy to break, but this should be enough for testing at least.
2023-04-17 00:23:10 -04:00
Sally Coolatta
92b8e38f11 Actual Ring Shooter functionality 2023-04-17 00:23:09 -04:00
Sally Coolatta
4e7b6f0cc3 Add ring shooter tire grabbers + more player logic 2023-04-17 00:23:08 -04:00
Sally Coolatta
d28601fd52 Use less confusing defines for ring shooter 2023-04-17 00:23:08 -04:00
Sally Coolatta
319cee4afa Move ring shooter to its own file 2023-04-17 00:23:07 -04:00
Sally Coolatta
668d832ca1 Delete respawn command, put Ring shooter on Y 2023-04-17 00:23:06 -04:00
Lach
f9317b265e Correct Ring Shooter countdown 2023-04-17 00:22:09 -04:00
lachablock
a458490639 Ring Shooter: countdown animation & experimental stretchy spawn 2023-04-17 00:22:08 -04:00
lachablock
c98ff9616b Start Ring Shooter respawn: while e-braking, enter the respawn command to spawn a Ring Shooter. Currently purely visual and does not despawn. Steals the player's face for funsies. 2023-04-17 00:22:07 -04:00
Sal
0f6ee942a1 Merge branch 'eggbox-strip-shield' into 'master'
Drop items when an eggbox is transferred to you (resolves #524)

Closes #524

See merge request KartKrew/Kart!1176
2023-04-17 04:18:19 +00:00
Sal
40e9fd9644 Merge branch 'revert-revert-ignore-os-repeats' into 'master'
Ignore OS Repeats

See merge request KartKrew/Kart!1137
2023-04-17 04:16:53 +00:00
Sal
bee331d97b Merge branch 'prison-broken-items' into 'master'
Prison-broken items

See merge request KartKrew/Kart!1173
2023-04-17 04:15:46 +00:00
Sal
3e6c1235c9 Merge branch 'fix-bump-flashing' into 'master'
Fix players flashing after bump

See merge request KartKrew/Kart!1174
2023-04-17 04:09:01 +00:00
Eidolon
e3457dfd73 Merge branch 'patch-freedata' into 'master'
Move WasFreedThisFrame to Patch_FreeData

See merge request KartKrew/Kart!1178
2023-04-17 03:52:07 +00:00
Eidolon
716ba0156e Move WasFreedThisFrame to Patch_FreeData 2023-04-16 22:48:20 -05:00
Sal
1c4d6e064c Merge branch 'serverside-pwr' into 'master'
Serverside PWR

See merge request KartKrew/Kart!1132
2023-04-16 03:41:52 +00:00