Commit graph

23413 commits

Author SHA1 Message Date
SteelT
cfe1e44428 No player contact damage
Make UFO solid
2023-06-29 22:21:28 -07:00
SteelT
ad3c2e0b21 UFO spawns 250 units above the spawner instead 2023-06-29 22:21:28 -07:00
SteelT
dd958dd502 Make UFO beam fullbright 2023-06-29 22:21:28 -07:00
SteelT
bf394f1f38 UFO beam spawning behavior
- Spawned from underneath the UFO and is thrusted downwards
- Is spawned as splats instead of papersprites
- Colorized to sapphire
- Despawns on any ground contact
2023-06-29 22:21:28 -07:00
SteelT
275358e394 Increase UFO radius 2023-06-29 22:21:28 -07:00
SteelT
c836d27448 Thrust player if they are under the UFO 2023-06-29 22:21:24 -07:00
SteelT
3ef583040e Add shadow to Battle UFO
Also add it to the CD SS ufo per request
2023-06-29 19:49:36 -07:00
James R
d3d6d4d671 MT_BATTLEUFO_SPAWNER: spawn with thing number 3786
Binary maps: angle becomes args[0] (ID for spawning order)
2023-06-29 19:49:36 -07:00
James R
f5d68783fc Battle UFO spawning behavior
- MT_BATTLEUFO_SPAWNER args[0] is the ID
- Spawn a random UFO from the list spawner at the start of
  Battle
- UFO spawns 200 units above the spawner
- After destroyig a UFO, wait 25 seconds before spawning
  the next UFO (next ID in the list)
2023-06-29 19:49:35 -07:00
James R
2ce05f018e Add g_battleufo global, add to netsave 2023-06-29 19:49:18 -07:00
SteelT
a24e9bb19f Add basic Battle UFO object functionality 2023-06-29 19:49:17 -07:00
SteelT
68f1626256 Add Battle UFO body/leg states and objects 2023-06-29 19:49:02 -07:00
James R
81dab762ff Add power-up HUD
- Power-up icons are sorted by time remaining, most to
  least, left to right
2023-06-29 19:37:22 -07:00
James R
c01a29c42a Add Power-Up Aura
- Spawns on player when they use their first power-up
- Lasts as long as player has any power-up
- A hexagon of animated, additive, fullbright papersprites
  surround and move with the player, takes player's angle
2023-06-29 19:37:22 -07:00
James R
b97dede82c kartitems_t: add ENDOFPOWERUPS and NUMPOWERUPS 2023-06-29 19:37:22 -07:00
James R
d747f31225 Add Power-Up Aura states
MT_POWERUP_AURA
SPR_RBOW
S_POWERUP_AURA
2023-06-29 19:31:27 -07:00
James R
47a5a0b6dc Add Rhythm Badge power-up, no instawhip cooldown 2023-06-29 19:31:27 -07:00
James R
065475ea29 Add Bumper power-up, give 5 bumpers to the player 2023-06-29 19:31:27 -07:00
James R
dafdb0fc10 Add K_GiveBumpersToPlayer, subset of K_TakeBumpersFromPlayer functionality 2023-06-29 19:31:27 -07:00
James R
ba114022b9 Add Barrier Power-Up
- Guard is always up, not activated by e-brake or spheres
- Guard can still be broken by player contact
- No instawhip cooldown from Guard being up
- No sphere loss while Guard is up
- Guard appears at max size
2023-06-29 19:31:27 -07:00
James R
e67ab6a116 Spawn Guard visual when player spawns, do not tie spawning to e-brake
Object already handles turning invisible if player has no
Guard.
2023-06-29 19:31:27 -07:00
James R
b0b7bf8185 Add S-Monitor power-up
- Give Invincibility effect to player
- Bumping players does not extend Invincibility time while
  power-up is active
2023-06-29 19:31:27 -07:00
James R
299a8b707c Add 2P and 3P/4P timer HUD variations 2023-06-29 19:27:36 -07:00
James R
8c0f7d5757 Add Draw::Font::kZVote and Draw::Font::kPing
- OPPRF_FONT
- PINGF_FONT
2023-06-29 19:27:35 -07:00
James R
d223019e15 OPPRF and PINGF font: use bunched character spacing
Intermission, Vote and ZVote affected.
2023-06-29 19:27:35 -07:00
Oni
6f2befabc9 Merge branch 'seeecret-colors' into 'master'
SECRET_COLOR

See merge request KartKrew/Kart!1188
2023-06-28 23:00:00 +00:00
Oni
2e8450eba8 Merge branch 'horncode' into 'seeecret-colors'
HORNCODE

See merge request KartKrew/Kart!1305
2023-06-28 22:59:18 +00:00
toaster
f6ea3759c9 K_GlanceAtPlayers: Special handling for stopped players in Podium
1st: Look straight at camera, no matter what
2nd, 3rd: Look at any players with a better position, no matter how far away they are
Loser Valley: Stare forward like the serfs you are
2023-06-28 20:42:36 +01:00
toaster
c864bb9182 Fix icons for SECRET_MAP, SECRET_COLOR, and SECRET_SPBATTACK 2023-06-28 19:32:20 +01:00
toaster
1ec5b74892 Implement SECRET_MEMETAUNTS
Permits "Meme" player taunt voice and "Meme" follower horn options
2023-06-28 19:31:40 +01:00
toaster
e7ee979f1a Horncode
A much more focused replacement for Hornmod, specc'd out by Tyron and Oni working together and implemented by the author of this commit because it's pretty funny.

- Followers have `hornsound` in their SOC configuration.
    - The default sound for all followers without a provided one is sfx_horn00.
- They'll play this sound if you use lookback with one following you, and there's nearby players to get the player looking all the way around.
    - Only the players who are successfully considered for lookback will hear it.
- Has a v1-like visual with less randomisation, but still netsynced.
- Also controlled by the cvar `taunthorns`, which, like `tauntvoices`, takes "Tasteful" (default), "Meme", and "Off".

TODO: make the condition for horn a little delayed, so you have to hold lookback for a little bit.
2023-06-28 17:54:23 +01:00
toaster
be9ff7e7cb p_saveg.c: TypeIsNetSynced(mobjtype_t) function
Makes opting out of netsave inclusion far, far simpler
2023-06-28 16:45:46 +01:00
toaster
1429a91cd9 Increase maximum # of Followers
Surprisingly easy as it requires negative values to mark "None", so it was already out of the range of UINT8
2023-06-28 16:36:36 +01:00
toaster
4344221252 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into seeecret-colors 2023-06-28 12:48:50 +01:00
toaster
3b169c71dc Merge branch 'fixconditionsets' into 'master'
Conditionset is UINT16, not UINT8

See merge request KartKrew/Kart!1302
2023-06-28 11:47:59 +00:00
toaster
a933e7a084 Provide helpful warning for too-large id counts for ConditionSet Condition# lines 2023-06-28 12:17:41 +01:00
toaster
e2669dba0c Correct readcondition helper function as well 2023-06-28 12:16:25 +01:00
Oni
93e3b2aca0 Merge branch 'conclusions' into 'master'
Conclusions

See merge request KartKrew/Kart!1300
2023-06-28 00:51:45 +00:00
Oni
ed413e5808 Merge branch 'z-vote-defaults' into 'master'
RTV and RIB default to Yes

See merge request KartKrew/Kart!1304
2023-06-28 00:42:02 +00:00
VelocitOni
2c67244954 RTV and RIB default to Yes
"Skip Map" and "Redo Map" on by default for Z-Voting
2023-06-27 20:37:55 -04:00
Oni
f393b9782b Merge branch 'super-flicky' into 'master'
Battle: Super Flicky power-up, give power-up command, general functions for interfacing power-ups (also Lua)

See merge request KartKrew/Kart!1301
2023-06-28 00:31:53 +00:00
Oni
1217934693 Merge branch 'zvote-menu' into 'master'
Call Vote + Admin Tools Menus

See merge request KartKrew/Kart!1303
2023-06-28 00:24:32 +00:00
toaster
cc73279756 Allow both CALL VOTE and ADMIN TOOLS in pause menu
Also slight re-ordering
2023-06-28 00:37:30 +01:00
toaster
97dd516568 Unrelated Pause Menu bugfix: Only permit GP "TRY AGAIN" option in GS_LEVEL, given it's buggy right now (we can change it back when it's fixed) 2023-06-28 00:07:39 +01:00
toaster
dee753d979 Admin Tools menu
Just a superpowered version of the Call Votekick menu, also just to make release cleanly
2023-06-28 00:02:09 +01:00
toaster
685e1b019f Actually pay attention to K_PlayerIDAllowedInMidVote for access to calling votes 2023-06-27 23:59:46 +01:00
toaster
b59346f637 Votekick menu
Not super polished, literally just implemented this way to make freeze
2023-06-27 23:59:01 +01:00
toaster
9372f8ff1a Conditionset is UINT16, not UINT8 2023-06-27 23:03:05 +01:00
toaster
d8ea8c0fe1 Implement "CALL VOTE" for victimless commands on the pause menu
Currently just plays the squishy "nope" sound for "KICK PLAYER?", all others are functional
Shows whether vote is active or the cooldown is too recent (via numerical timer) as reasons for why you can't select it
2023-06-27 17:53:59 +01:00
toaster
721d5d9da9 Improve M_HandlePauseMenuGametype and M_HandleHostMenuGametype
Simplify massively by using IT_ARROWS
2023-06-27 17:45:27 +01:00