Commit graph

14533 commits

Author SHA1 Message Date
Sally Coolatta
9933687c6e Merge branch 'master' into pet-robo 2020-05-24 17:18:02 -04:00
Sally Coolatta
4916516e2e Prevent duplicate skins, fix bots not being able to be disabled, change default to "off" 2020-05-24 17:12:58 -04:00
Sally Coolatta
5d77807a78 const radreduce, removed unused "dir" property 2020-05-24 16:16:01 -04:00
Monster Iestyn
dbe7b57c74 T_BounceCheese: Fix FOF height desync occurring if the FOF fell down too fast (resulting in a bizarre bouncing back up effect in MP SS5 due to P_FloorzAtPos messing up as a result) 2020-05-24 21:15:31 +01:00
Sally Coolatta
597baf212b Allow rubberbanding up to exiting players 2020-05-24 15:55:26 -04:00
Sally Coolatta
dbc30da69f Dial back the bot steering changes a bit 2020-05-24 15:55:10 -04:00
Sally Coolatta
02605a5ace Split bot code into multiple files & clean up 2020-05-24 15:08:10 -04:00
SwitchKaze
77a501ecae Fix typo SKINCOLOT 2020-05-24 12:36:20 -05:00
Sal
e18d71d562 Merge branch 'flame-shield-adjust' into 'master'
Flame shield adjust

See merge request KartKrew/Kart!270
2020-05-24 11:20:30 -04:00
Sally Coolatta
5e11068328 Merge branch 'pet-robo' of https://git.magicalgirl.moe/KartKrew/Kart into pet-robo 2020-05-24 11:13:26 -04:00
Sally Coolatta
56867fb203 Going above top speed makes radius smaller 2020-05-24 11:13:20 -04:00
Sally Coolatta
edfc14c506 Better steering
- If they're already turning in one direction, they are more likely to steer in that direction for objects
- Bots have to want to turn in 1 direction for a few frames in a row before it'll let them

Prevents twitching & makes them less indecisive in general
2020-05-24 11:12:38 -04:00
Sal
a31ac14e61 Merge branch 'pet-robo-toast' into 'pet-robo'
toast robo

See merge request KartKrew/Kart!268
2020-05-24 01:08:45 -04:00
Sally Coolatta
7cb574351d Merge branch 'master' into flame-shield-adjust 2020-05-23 21:51:03 -04:00
Sally Coolatta
12be3ea882 Increase handling with flame shield dash 2020-05-23 21:50:52 -04:00
Sally Coolatta
b1ec2d8f74 Scale with mapobjectscale 2020-05-23 21:34:30 -04:00
Sal
5d923226aa Merge branch 'let-spec-have-fun' into 'master'
Allow spectators through Block Players lines

See merge request KartKrew/Kart!266
2020-05-23 21:29:59 -04:00
Sal
f0ed1a58ce Merge branch 'demoman-tf2' into 'master'
Additional local explosion effects.

See merge request KartKrew/Kart!263
2020-05-23 21:29:38 -04:00
Sal
0524def20b Merge branch 'flameshield-spectate-fix' into 'master'
Fix Spectating With a flameshield on Crashing

See merge request KartKrew/Kart!269
2020-05-23 21:29:24 -04:00
SwitchKaze
58cac1fd73 Make colors UINT16, increase color freeslots to 1024 2020-05-23 19:35:36 -05:00
Sryder
f5b570da39 Set this variable after making sure the target and player exist. 2020-05-23 16:08:51 +01:00
sphere
8e068e94b0 Rename the rest of the wall scrollers in the ZB config. 2020-05-23 16:41:38 +02:00
MascaraSnake
4fcbb59116 Merge branch 'splitshot-notarget-fix' into 'next'
A_SplitShot no target fix

See merge request STJr/SRB2!956
2020-05-23 07:52:36 -04:00
MascaraSnake
8c38d4e261 Merge branch 'lua-mapthing-len' into 'next'
Lua mapthing len

See merge request STJr/SRB2!957
2020-05-23 07:51:58 -04:00
Sally Coolatta
ca7154f521 Make rubberband air speed cap even harsher 2020-05-22 21:19:50 -04:00
Sally Coolatta
38ec153e90 A bit redundant 2020-05-22 20:49:33 -04:00
Sally Coolatta
f442b934cc Adjust wall steer radius with speed 2020-05-22 20:20:17 -04:00
Sally Coolatta
19f352e4a4 Commentate K_BotReducePrediction better, use angle rather than distance for path split picking 2020-05-22 20:19:58 -04:00
SwitchKaze
afe56667b8 Update to 2.2.4 2020-05-22 16:47:51 -05:00
toaster
6d7dad12f0 Merge branch 'pet-robo' of https://git.magicalgirl.moe/KartKrew/Kart.git into pet-robo-toast
# Conflicts:
#	src/k_bot.c
2020-05-22 21:59:57 +01:00
toaster
56226fae45 Only iterate blockmap once for Random Items and Eggboxes. 2020-05-22 21:51:05 +01:00
toaster
84f277c323 Adjust the finish line detection to exclude a handful of circumstances I've tripped before. 2020-05-22 21:34:05 +01:00
toaster
97e261f443 Fix some issues with the tab rankings and end screen that bots exposed.
* Laps now have an initial zero instead of being directly indexed from 1, so start counting from there.
* Clean up the circumstances under which LAGLESS! is shown next to a name - specifically removing it from both non-netgames in general, and bots in netgames.
* Fix `(powertype == -1)` being broken on the intermission drawer, which was especially obvious with bots outside of netgames.
2020-05-22 21:27:55 +01:00
Monster Iestyn
11b115083e added the ability to get the # of a mapthing_t in Lua 2020-05-22 18:32:34 +01:00
Sryder
7132eeab48 Merge branch 'fake-contrast-2-electric-boogaloo' into 'master'
Fake contrast 2: Electric Boogaloo

See merge request KartKrew/Kart!267
2020-05-21 19:08:30 -04:00
Monster Iestyn
55dd8739ab A_SplitShot fix: don't even attempt to A_FaceTarget (or anything beyond) if there is no target to face to begin with 2020-05-21 19:42:48 +01:00
Sryder
ad51b791d5 Fix software not contrasting properly to +-2 2020-05-21 18:11:38 +01:00
Sryder
8d34ca0533 Use a const for the contrast, and double it for extra impact. 2020-05-21 17:55:33 +01:00
Sryder
195920acdc Update light offset on polyobjects when they rotate 2020-05-21 17:15:50 +01:00
Sryder
d4080e94f7 Better fake contrast.
Fake contrast for the segs are calculated at map load.
OpenGL only has the options "Standard" and "Smooth" now. Standard is default and replicates software. Smooth changes the contrast more smoothly depending on angle.
2020-05-21 16:32:34 +01:00
Monster Iestyn
b232530695 Merge branch 'sprite-projection-fixes' into 'next'
Sprite projection fixes

See merge request STJr/SRB2!954
2020-05-20 15:33:30 -04:00
Monster Iestyn
58d62f9881 also do the fovtan multiplication thing with precip sprites 2020-05-20 19:34:18 +01:00
Latapostrophe
8b0aa9e333 Change flash cooldown from 5 to 2 seconds 2020-05-20 14:21:50 +02:00
James R
0e25e9a074 Merge branch 'more-lua-map-names' into 'next'
G_BuildMapTitle for Lua, G_BuildMapName outside of levels

See merge request STJr/SRB2!694
2020-05-19 23:13:35 -04:00
sphere
ff6b9a9cf0 Add linedef actions 507 & 508, allow using offsets for actions 502-504. 2020-05-19 23:39:35 +02:00
Monster Iestyn
8ad59bbb51 on second thought maybe we don't need extra tx clamping, it turns out to be more effort than it's worth (at least for now)
meanwhile, let's move x/yscale calculations down since we don't actually need them until later on
2020-05-19 22:00:34 +01:00
Monster Iestyn
4ad02cae93 change limits for tx based on fov, by multiplying by fovtan
this makes it so that higher fov values can actually let you see all the sprites that should be in the view
2020-05-19 18:54:39 +01:00
Monster Iestyn
a2a6208548 do tx checking after tz clamping, not before 2020-05-19 18:43:33 +01:00
Monster Iestyn
b1f804871f We don't actually need x1 or x2 until these points in the function, at least for papersprites 2020-05-19 17:23:22 +01:00
Monster Iestyn
c9d2a79ecc added basic culling of papersprites if tx for either is too large, proper clamping to be added later
also removed some commented out old code
2020-05-19 17:19:44 +01:00