Commit graph

19791 commits

Author SHA1 Message Date
SinnamonLat
f0e5c144ec don't load newmenus.pk3 2022-07-20 19:35:51 +02:00
Sal
9cb72a73d7 Merge branch 'line-460-animate-2' into 'master'
Play ring collect animation for line 460

Closes #235

See merge request KartKrew/Kart!627
2022-06-12 17:15:27 +00:00
James R
3b4bb8aea1 Fix always evaluates true warning 2022-06-11 16:49:36 -07:00
James R
48a8b8b817 Fix overflow check 2022-06-11 05:27:25 -07:00
James R
f18f316b8e Scale weather momz 2022-06-10 20:40:19 -07:00
James R
f1936c83fd Merge branch 'scaled-weather' into 'master'
Scale weather with MobjScale

Closes #131

See merge request KartKrew/Kart!625
2022-06-11 03:23:03 +00:00
James R
d168c2805a Merge branch 'invisible-snake' into 'master'
True death lightsnake

Closes #246

See merge request KartKrew/Kart!626
2022-06-11 03:10:32 +00:00
James R
6bc1d65442 Merge branch 'custom-weather' into 'master'
Allow freesloting & editing precipprops

See merge request KartKrew/Kart!612
2022-06-11 03:05:37 +00:00
James R
6a7b42c063 Cap hyudoro speed at 50% kart speed for first place 2022-06-10 18:24:56 -07:00
Sally Coolatta
9a49d96c76 date-time todo comment 2022-06-10 18:34:17 -04:00
Sally Coolatta
f19f8bc706 Ban improvements
- Save a note of the username, not just the reason.
- Allow setting a mask with the `banip` command.
- Make ban.txt's formatting a lot more sane. Username and reason are stored in quotes. The mask uses the same formatting as actual CDIR.
- Keep track of if we tried to load ban.txt. If it wasn't, then don't save over it with a blank file.
- Disallow quotes in player names, as it makes player name detection in console more annoying, and saving username in files scary.
2022-06-10 18:27:43 -04:00
Sally Coolatta
79101e56e4 Automate commands
- `automate_set <event name> <command>` to set a command to run each time an event triggers.
- Currently implemented events are "roundstart", "intermissionstart", and "votestart", all of the ones from HOSTMOD.
- Turn `automate` off to disable this feature entirely. Because of the new safer way this is implemented (in HOSTMOD, this just calls some console aliases), this is turned on by default instead of off.
- This is set up in a way to facilitate adding more automation events very easily, if desired.
2022-06-10 11:19:17 -04:00
Sally Coolatta
6b6d88641f Scheduling commands
- `schedule_add <seconds> <command>` to add a command that runs on a recurring timer.
- `schedule_list` to print out all of the scheduled tasks.
- NEW: `schedule_clear` to revert the schedule to a blank slate.
- `schedule` cvar determines whenever or not to run the scheduled tasks. Unlike HOSTMOD, turning this off will reset the timers of the tasks, instead of freezing them.
- I did not implement HOSTMOD's ability to pick from several random command per scheduled task. Would drastically increase the code complexity when you can just use a choose command in your schedule_add for the exact same effect.
2022-06-10 09:24:08 -04:00
James R
58b9b00e8e Line 460: animate rings, toggle ring boost cap
Uses K_AwardPlayerRings so rings can be overloaded.
2022-06-10 00:05:22 -07:00
James R
f6a445c281 Add K_AwardPlayerRings, adds to player->superring 2022-06-10 00:03:05 -07:00
James R
1800970ed9 Death: respawn from where you died and take an invisible lightsnake 2022-06-09 22:49:30 -07:00
Sal
7a8f3ee88b Merge branch 'minimum-forward-trick' into 'master'
Use constant minimum speed for tricks

Closes #245

See merge request KartKrew/Kart!622
2022-06-08 13:08:12 +00:00
Sal
892211bcae Merge branch 'fix-line-80' into 'master'
Fix line 80

Closes #181

See merge request KartKrew/Kart!616
2022-06-08 13:07:08 +00:00
Sal
70806af101 Merge branch 'fix-opengl-relative-skybox' into 'master'
Fix OpenGL skybox centerpoint translation

Closes #241

See merge request KartKrew/Kart!623
2022-06-08 13:05:39 +00:00
Sal
d01453b136 Merge branch 'no-op-zero-length-sounds' into 'master'
Do not play NULL sfx data

Closes #226

See merge request KartKrew/Kart!624
2022-06-08 12:58:28 +00:00
Sal
09e4918842 Merge branch 'autosave-testers-replays' into 'master'
Force replays to auto save in testers build

Closes #243

See merge request KartKrew/Kart!618
2022-06-08 12:58:09 +00:00
James R
69763fd804 Spawn more precip objects under smaller MobjScale 2022-06-08 00:36:06 -07:00
James R
5b3f1b2c10 Scale precipitation to mapobjectscale 2022-06-08 00:36:06 -07:00
James R
7e9dcffdf7 Do not play invalid sfx 2022-06-07 20:54:10 -07:00
James R
3f05f9ee13 Fix OpenGL skybox centerpoint translation
Blame eda9b36455
2022-06-07 20:04:06 -07:00
James R
d25af26eda Tricks: use constant minimum speed 2022-06-07 19:09:33 -07:00
Sally Coolatta
55cbc41017 Attempt fix for players being able to get admin
Tyron said there is an "outstanding base game bug where an authenticated player can ghost and a new player will log in on their node, inheriting admin" ... wow that's terrifying! Let's reset admin for every  instance of CL_ClearPlayer instead of only in CL_RemovePlayer.
2022-06-07 19:22:44 -04:00
Sally Coolatta
04ec0b1ffd Implement shout commands
- shout command to create a server message, with its own special sound cue & color
- shoutname to control the nametag, by default this is "SERVER"
- shoutcolor controls the color of the message. By default it's red, but there's also a option for player colored.
- autoshout makes any message sent by a admin/server automatically turn into a shout
- Unlike HOSTMOD shout, integrated it with the dedicated server say behavior -- using say on dedicated server is always a shout.
2022-06-07 19:09:02 -04:00
Sal
5f86c93021 Merge branch 'snap-spectator-hud' into 'master'
Snap spectator hud to bottom left

Closes #244

See merge request KartKrew/Kart!619
2022-06-07 20:37:45 +00:00
Sal
d70a1d6c49 Merge branch 'spectate-reset-items' into 'master'
Remove items from player when spectating

Closes #230

See merge request KartKrew/Kart!617
2022-06-07 20:36:07 +00:00
Sal
0905f55cf9 Merge branch 'sprint-finish' into 'master'
Disable bot controls after sprint map finish (resolves #260)

Closes #260

See merge request KartKrew/Kart!613
2022-06-07 20:35:22 +00:00
Sal
b3cddc1d1c Merge branch 'spb-hitlag' into 'master'
Make SPB match its target's hitlag

See merge request KartKrew/Kart!614
2022-06-07 20:34:55 +00:00
Sal
e75cb04a44 Merge branch 'bounce-followers' into 'master'
Add bouncing followers

See merge request KartKrew/Kart!611
2022-06-07 20:34:05 +00:00
Sally Coolatta
cc44588c9c Kicks are now temp bans
Length is determined by the "kicktime" cvar, in minutes. By default, this is set to 10, but I'm willing to adjust this. Only applies to manual kicks (in the future, maybe also name filter kicks).

The timestamp for the unban time is even saved in ban.txt, so long-term temporary bans are completely possible. (I checked, you can attempt to ban someone for up to 1902 years if you really want to.)
2022-06-07 14:08:02 -04:00
Sally Coolatta
de718568ef - Attach ban reasons to banned_t
- Properly call D_SaveBan after remote bans. Bans are no longer saved in the ban command and instead wait for the actual kick to process, since before they were split between the two, which is what caused the discrepancy.
2022-06-07 11:44:03 -04:00
James R
d299afbb2a Use follower name in cv_follower 2022-06-07 01:48:26 -07:00
James R
401a10ee04 Snap spectator hud to bottom left
Fixes non-green resolutions.
2022-06-07 01:26:12 -07:00
James R
9270e53975 Force replays to auto save ifdef TESTERS 2022-06-07 01:22:18 -07:00
James R
e2c64699d0 Strip items when spectating 2022-06-07 01:15:22 -07:00
James R
70e55a0911 Run line 80 (raise things to FOF) after things spawn
Blame 3cad7398f0
2022-06-07 00:56:56 -07:00
Sally Coolatta
14508d42b7 Combine banned & bannedmask into banned_t
Better code cleanliness, also makes it easier to add more data to bans later (such as a timestamp for temporary bans)
2022-06-06 17:54:27 -04:00
Sally Coolatta
f2244e8046 Start banned_size much smaller 2022-06-06 17:14:07 -04:00
Sally Coolatta
6391afd148 Random choice commands 2022-06-06 17:05:44 -04:00
Sally Coolatta
e7f159113a Remove MAXBANS
Needs proper stress testing but seems to work.
2022-06-06 16:28:50 -04:00
Sally Coolatta
f609043b2e Fix copy-paste error in P_CalculatePrecipFloor 2022-06-05 12:59:24 -04:00
Sally Coolatta
82a1dd5243 Playsound command
For scripted global sound cues for the entire server.
2022-06-05 10:25:41 -04:00
Sally Coolatta
66c42cc31e Ping measured in frame delay instead of milliseconds
The part of HOSTMOD ministats that I wanted. Can go back to ms using the pingmeasurement cvar.

If Tyron wants to bring ministats fully in I think it'd be better to bring its ideas to replace the current HUD instead, ideally using the existing ping gfx, so they should bring it up with Oni
2022-06-05 09:35:31 -04:00
Sally Coolatta
6252bb113d Map helper commands from HOSTMOD 2022-06-05 07:50:36 -04:00
Sally Coolatta
353ac60407 Proper sector condition for water particles 2022-06-05 07:00:34 -04:00
Sally Coolatta
0e96aeec84 Add water particles 2022-06-05 06:24:55 -04:00