Commit graph

7676 commits

Author SHA1 Message Date
James R
67c355e571 Use COM_ImmedExecute to load the config, so the buffer size doesn't matter 2020-05-04 12:19:53 -07:00
lachwright
f796379198 Reset pmomz after transfer to momz 2020-05-05 00:27:53 +08:00
Latapostrophe
8f0bfde23d Merge branch 'master' of git.magicalgirl.moe:KartKrew/Kart into v2-master 2020-05-04 12:52:24 +02:00
Wolfy
aabd65cbff Don't use models for signposts
based james
2020-05-03 23:51:30 -05:00
Sally Coolatta
2dfa20f758 Merge branch 'master' into pet-robo 2020-05-03 23:08:00 -04:00
Sal
aa948b1de3 Merge branch 'handling-fix' into 'master'
Handling code clean-up

See merge request KartKrew/Kart!249
2020-05-03 23:01:22 -04:00
Sal
805d7a17c6 Merge branch 'fun-signpost' into 'master'
Fun server signpost

See merge request KartKrew/Kart!248
2020-05-03 22:54:16 -04:00
Sal
b090b03514 Merge branch 'port-port' into 'master'
Random client port 2.2 port

See merge request KartKrew/Kart!250
2020-05-03 22:51:32 -04:00
James R
8cb58fb394 -clientport (it's back!) and -serverport, which is an alias to -port
If you ever need to, you can change the client port number.

(cherry picked from commit 843d9b9f0a345330d97c579e94f208eb2b65c156)
2020-05-03 18:35:52 -07:00
James R
5c0566d906 Use a pointer for port_name
Using strcpy is stupid because we don't know how long the argument would be.
There's no need for a buffer anyway.

(cherry picked from commit 4e321012894b2aa87e312597f19be26b30545a8b)
2020-05-03 18:35:51 -07:00
James R
77ddf635a5 Use a random port when connecting
(cherry picked from commit f584b61c93a97e1a9852f306acba673ced21e03a)
2020-05-03 18:35:51 -07:00
Sally Coolatta
ecb01ef83b Merge branch 'master' into pet-robo 2020-05-03 21:33:30 -04:00
Sally Coolatta
b9ff3403a9 Add missing netxcmdnames from james stuff 2020-05-03 21:32:12 -04:00
Sally Coolatta
cb12d1ebf8 Merge branch 'master' into pet-robo 2020-05-03 21:30:40 -04:00
James R
d11d0546db Merge remote-tracking branch 'origin/master' into voting-after-the-vote-ended 2020-05-03 18:28:26 -07:00
Sal
25ba7e386f Merge branch 'conveyor-camera-jitter' into 'master'
Fix camera jitter after leaving a conveyor

See merge request KartKrew/Kart!245
2020-05-03 21:28:02 -04:00
Sal
765227d380 Merge branch 'speed-pads-tweaks' into 'master'
Speed pads tweaks

See merge request KartKrew/Kart!246
2020-05-03 21:27:54 -04:00
Sally Coolatta
cc87418db8 Handling code clean-up
- Cleans up multiple FixedMul instances, ensuring only fixed_t numbers are ever passed in.
- Prevents speed values from overflowing by giving it a maximum. This both gives you more control when moving above 200% top speed, and fixes the bug which corrupted your turn inputs (turning wrong direction, turning without pressing anything, etc) when moving too fast.
2020-05-03 21:26:57 -04:00
Sal
5a56271392 Merge branch 'more-debug' into 'master'
More item debug

See merge request KartKrew/Kart!185
2020-05-03 21:16:58 -04:00
Sal
98f33790f8 Merge branch 'fucking-spring-fix' into 'master'
Fix items vs springs crash

See merge request KartKrew/Kart!247
2020-05-03 21:03:06 -04:00
Sally Coolatta
48ba151d98 Rather than showing random added skins, show random other players in the server on the signpost! 2020-05-03 20:58:12 -04:00
Sally Coolatta
c9b2396efb Fix items vs springs crash 2020-05-03 20:12:01 -04:00
Sally Coolatta
d4efbb710b Lost fix 2020-05-03 19:45:59 -04:00
Sal
bd9c68183a Merge branch 'resume' into 'master'
Music resuming/fading

See merge request KartKrew/Kart!222
2020-05-03 19:35:46 -04:00
Latapostrophe
78a328328a Merge branch 'master' of git.magicalgirl.moe:KartKrew/Kart into v2-master 2020-05-03 22:37:07 +02:00
James R
e52d569c58 Use all your momentum to push back the camera 2020-05-02 19:10:38 -07:00
James R
01cdc1af49 Also preserve player angle on speed pads 2020-05-02 19:10:05 -07:00
James R
652b7bbb9e Retain drift on speed pads 2020-05-02 19:10:04 -07:00
Sally Coolatta
cb34ea1388 Consider FOFs when figuring out sectors to be careful near 2020-05-02 02:01:39 -04:00
Sally Coolatta
e6e2cd5d82 Adjust air speed cap easing with bot rubberbanding 2020-05-02 00:54:54 -04:00
Sally Coolatta
df099864b6 Whoops 2020-05-01 23:45:12 -04:00
Sally Coolatta
69e5cf8205 Bots can use bubble shield and flame shield, albiet a bit simplisticly
This means they can now use ALL items!
2020-05-01 23:44:03 -04:00
Sally Coolatta
664a9528ed Eggbox stuff
- Bots can roll & use eggboxes now
- Bots can be "tricked" by eggboxes and treat them like normal items, depending on their difficulty and how many normal items are around them.
- If exploding and in 1st place, they'll slow down to try and find someone to explode next to.
- Item usage is difficulty dependent, and thus far more aggressive for the rivals
2020-05-01 22:55:58 -04:00
Sally Coolatta
b9e24d921c Bots reduce their rubberbanding top speed if they're facing the wrong way 2020-04-30 17:28:34 -04:00
Sally Coolatta
1fcfdd5bae Bot hints
Thing type 2004, adds a map-defined point for bots to gravitate towards or away from.
Angle: Changes radius, defaults to a 32 radius (or 64x64 area) without.
Ambush: When off, makes bots steer towards. When on, makes bots steer away.
Parameter: Changes how much the bot steers away/towards this point. If 0, defaults to 2.

(also, made bots ignore strong offroad if they could take a shortcut)
2020-04-30 14:15:10 -04:00
James R
a1502046cf Merge remote-tracking branch 'origin/master' into resume 2020-04-30 09:32:40 -07:00
Latapostrophe
6bf117300b Add back viewpoint names & fix console inputs in replays 2020-04-30 15:50:30 +02:00
Wolfy
cd11abafa9 Merge remote-tracking branch 'remotes/james/awful-mix-fucked' into awful-mix 2020-04-30 04:40:11 -05:00
Wolfy
c3d34198ef Shader batching additions 2020-04-29 00:03:02 -05:00
James R
2e6e13cc07 Merge remote-tracking branch 'lat/awful-mix' into awful-mix-fucked 2020-04-28 21:56:35 -07:00
Sally Cochenour
174a76f7e8 Merge branch 'master' into pet-robo 2020-04-28 21:10:16 -04:00
Sally Cochenour
fb68e4f164 Merge branch 'master' into pet-robo 2020-04-28 20:20:05 -04:00
Sal
fae498f097 Merge branch 'fof-things-suck' into 'master'
Generic raise things line special, Waypoint Riser and Waypoint Anchor

See merge request KartKrew/Kart!233
2020-04-28 20:19:03 -04:00
Latapostrophe
0897f6f21a Cam lockon, allow viewpoint change during freecam 2020-04-28 23:24:48 +02:00
Sally Cochenour
c06c4049c4 Bots play more careful around damage, insta-kill, and strong offroad 2020-04-28 14:24:09 -04:00
Latapostrophe
28baaa53a6 Add lua toggle for check hud 2020-04-28 17:24:33 +02:00
Latapostrophe
858adbcbfd Merge branch 'awful-mix' of git.magicalgirl.moe:SinnamonLat/Kart-Public into awful-mix 2020-04-28 16:58:48 +02:00
Sally Cochenour
44334602e5 New "wall steering"
Rather than trying to steer away from walls (and failing), just pull the predicted point back and make the radius stricter.

Not an ideal solution compared to what the other method was trying to go for, but this has a better success rate -- and even in cases where false positives come up (like many instances Ezo pointed out), they will no longer be incapacitated by it.
2020-04-27 17:06:36 -04:00
Sally Cochenour
be70afcbbd Object steer polishing
Notably, looks in an oval area instead of a circle
2020-04-27 13:42:01 -04:00
wolfs
214e5d6566 Merge branch 'sal-lighting-port' into 'awful-mix'
'sal-lighting' code ports from v2

See merge request SinnamonLat/Kart-Public!14
2020-04-27 04:52:58 -04:00