]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/log
xonotic/xonotic-data.pk3dir.git
21 months agostrafehud: make gradient segments calculate their appearance using the center of...
Juhu [Fri, 3 Feb 2023 23:53:02 +0000 (00:53 +0100)]
strafehud: make gradient segments calculate their appearance using the center of the segment instead of the left edge

21 months agostrafehud: update the strafehud hud editor and add a dedicated cvar to disable option...
Juhu [Wed, 18 Jan 2023 14:00:33 +0000 (15:00 +0100)]
strafehud: update the strafehud hud editor and add a dedicated cvar to disable optional features if it didn't already have one

21 months agostrafehud: don't draw text indicators if fade time is zero, not even for one frame
Juhu [Tue, 17 Jan 2023 22:35:20 +0000 (23:35 +0100)]
strafehud: don't draw text indicators if fade time is zero, not even for one frame

21 months agostrafehud: make slickdetector scan only downwards for slick, scan from steepest to...
Juhu [Tue, 17 Jan 2023 16:24:51 +0000 (17:24 +0100)]
strafehud: make slickdetector scan only downwards for slick, scan from steepest to least steep angle, slight refactor

21 months agostrafehud: ignore jump input when determining onground state if track_canjump is...
Juhu [Tue, 17 Jan 2023 11:29:34 +0000 (12:29 +0100)]
strafehud: ignore jump input when determining onground state if track_canjump is enabled

21 months agostrafehud: put common code for text indicators in a function, refactor text indicator...
Juhu [Mon, 16 Jan 2023 22:32:03 +0000 (23:32 +0100)]
strafehud: put common code for text indicators in a function, refactor text indicator code

21 months agostrafehud: refactor some drawing code + make the angle arrows obey hud shift/scaling
Juhu [Sun, 15 Jan 2023 18:30:49 +0000 (19:30 +0100)]
strafehud: refactor some drawing code + make the angle arrows obey hud shift/scaling

21 months agostrafehud: store current jumpheight in qu and convert only for comparing and displaying
Juhu [Sun, 15 Jan 2023 13:59:35 +0000 (14:59 +0100)]
strafehud: store current jumpheight in qu and convert only for comparing and displaying

21 months agostrafehud: ignore a race_checkpointtime of 0 on the start trigger + small startspeed...
Juhu [Sun, 15 Jan 2023 01:05:02 +0000 (02:05 +0100)]
strafehud: ignore a race_checkpointtime of 0 on the start trigger + small startspeed/jumpheight code adjustments

21 months agostrafehud: change the default value of hud_panel_strafehud_range from 0 (dynamic...
Juhu [Sun, 15 Jan 2023 00:02:38 +0000 (01:02 +0100)]
strafehud: change the default value of hud_panel_strafehud_range from 0 (dynamic) to 90, 0 only makes sense with hud_panel_strafehud_mode 1 which isn't the default anymore

21 months agostrafehud: merge the preaccel zone into the accel zone and make it use a gradient...
Juhu [Sat, 14 Jan 2023 23:56:44 +0000 (00:56 +0100)]
strafehud: merge the preaccel zone into the accel zone and make it use a gradient if gradient style is active, add hud_panel_strafehud_bar_preaccel to optionally ignore this part of the accel zone

21 months agostrafehud: refactor/simplify angle indicator coloring code + small improvement for...
Juhu [Wed, 11 Jan 2023 11:49:37 +0000 (12:49 +0100)]
strafehud: refactor/simplify angle indicator coloring code + small improvement for onground/onslick detection

22 months agostrafehud: make slick detection more reliable and consistent
Juhu [Sun, 8 Jan 2023 14:03:25 +0000 (15:03 +0100)]
strafehud: make slick detection more reliable and consistent

2 years agostrafehud: add include for IS_PLAYER macro
Juhu [Sat, 8 Oct 2022 00:08:31 +0000 (02:08 +0200)]
strafehud: add include for IS_PLAYER macro

2 years agostrafehud: more code clean up, make jump height indicator work while spectating and...
Juhu [Fri, 7 Oct 2022 22:57:20 +0000 (00:57 +0200)]
strafehud: more code clean up, make jump height indicator work while spectating and remove deprecated include

2 years agostrafehud: set hud_lasttime even if the strafehud isn't enabled
Juhu [Fri, 7 Oct 2022 04:39:31 +0000 (06:39 +0200)]
strafehud: set hud_lasttime even if the strafehud isn't enabled

2 years agostrafehud: small clean up and code readability improvements
Juhu [Thu, 6 Oct 2022 01:04:35 +0000 (03:04 +0200)]
strafehud: small clean up and code readability improvements

2 years agostrafehud: make hud editor demo smoother
Juhu [Fri, 23 Sep 2022 13:48:40 +0000 (15:48 +0200)]
strafehud: make hud editor demo smoother

2 years agostrafehud: improve turn timeout code
Juhu [Fri, 23 Sep 2022 13:03:57 +0000 (15:03 +0200)]
strafehud: improve turn timeout code

2 years agostrafehud: refactor: removed unneeded code, improved comments, added constants, remov...
Juhu [Fri, 23 Sep 2022 12:19:24 +0000 (14:19 +0200)]
strafehud: refactor: removed unneeded code, improved comments, added constants, removed remaining globals, made code more readable

2 years agostrafehud: set slickdetector default granularity to 1 instead of 4 for improved perfo...
Juhu [Thu, 15 Sep 2022 10:35:37 +0000 (12:35 +0200)]
strafehud: set slickdetector default granularity to 1 instead of 4 for improved performance

2 years agostrafehud: also reset maxspeed to ground physics in timeout code
Juhu [Wed, 14 Sep 2022 09:35:07 +0000 (11:35 +0200)]
strafehud: also reset maxspeed to ground physics in timeout code

2 years agostrafehud: detect zero friction frame on landing, remove ground timeout which became...
Juhu [Wed, 14 Sep 2022 08:07:21 +0000 (10:07 +0200)]
strafehud: detect zero friction frame on landing, remove ground timeout which became useless due to that, rename air timeout to ground timeout and refactor all timeout code

2 years agostrafehud: enable hud_panel_strafehud_bestangle by default for clarity on how to...
Juhu [Sun, 11 Sep 2022 22:58:55 +0000 (00:58 +0200)]
strafehud: enable hud_panel_strafehud_bestangle by default for clarity on how to use the hud

2 years agostrafehud: remove 0.8.2 compatibility cvars
Juhu [Sun, 11 Sep 2022 21:05:29 +0000 (23:05 +0200)]
strafehud: remove 0.8.2 compatibility cvars

2 years agostrafehud: make frametime calculation more accurate
Juhu [Sun, 11 Sep 2022 21:05:02 +0000 (23:05 +0200)]
strafehud: make frametime calculation more accurate

2 years agostrafehud: cleanup of previous commit, small refactoring and format fixes
Juhu [Sun, 11 Sep 2022 20:41:14 +0000 (22:41 +0200)]
strafehud: cleanup of previous commit, small refactoring and format fixes

2 years agostrafehud: adjust strafehud to match actual behaviour of physics code in various...
Juhu [Sat, 10 Sep 2022 17:57:28 +0000 (19:57 +0200)]
strafehud: adjust strafehud to match actual behaviour of physics code in various situations

fixed various bugs causing inaccuracies when air strafe turning
take friction into account while on ground
fixed swimming detection and remove code that tries to handle water strafing since swimming uses 3D velocity physics which is not supported by the strafehud
removed hud_panel_strafehud_antiflicker_speed since it is no longer used
tweaked slick detector a bit

2 years agostrafehud: properly calculate per-frame acceleration
Juhu [Sat, 6 Aug 2022 21:05:18 +0000 (23:05 +0200)]
strafehud: properly calculate per-frame acceleration

2 years agostrafehud: get rid of most global variables
Juhu [Sun, 10 Jul 2022 15:49:19 +0000 (17:49 +0200)]
strafehud: get rid of most global variables

2 years agostrafehud: refactor start speed code + a small fix for the jump height feature
Juhu [Sun, 10 Jul 2022 15:40:07 +0000 (17:40 +0200)]
strafehud: refactor start speed code + a small fix for the jump height feature

2 years agostrafehud: make jump height feature more reliable
Juhu [Sun, 10 Jul 2022 14:10:42 +0000 (16:10 +0200)]
strafehud: make jump height feature more reliable

2 years agoMerge branch 'master' into Juhu/strafehud-fixes
Juhu [Fri, 1 Jul 2022 00:04:17 +0000 (02:04 +0200)]
Merge branch 'master' into Juhu/strafehud-fixes

2 years agoMerge branch 'terencehill/unwanted_autojoin_fix' into 'master' xonotic-v0.8.5
bones_was_here [Wed, 22 Jun 2022 05:26:52 +0000 (05:26 +0000)]
Merge branch 'terencehill/unwanted_autojoin_fix' into 'master'

Fix #2701 "Unwanted random auto-join"

Closes #2701

See merge request xonotic/xonotic-data.pk3dir!1037

2 years agoFix #2701 "Unwanted random auto-join". This patch basically reverts 4941322
terencehill [Tue, 21 Jun 2022 21:56:46 +0000 (23:56 +0200)]
Fix #2701 "Unwanted random auto-join". This patch basically reverts 4941322

2 years agoTransifex autosync
Rudolf Polzer [Mon, 20 Jun 2022 05:23:29 +0000 (07:23 +0200)]
Transifex autosync

2 years agoTransifex autosync
Rudolf Polzer [Sun, 19 Jun 2022 05:24:05 +0000 (07:24 +0200)]
Transifex autosync

2 years agoUpdate the-big-keybench demo
bones_was_here [Sat, 18 Jun 2022 15:42:59 +0000 (01:42 +1000)]
Update the-big-keybench demo

2 years agoMerge branch 'bones_was_here/805' into 'master'
bones_was_here [Sat, 18 Jun 2022 14:54:03 +0000 (14:54 +0000)]
Merge branch 'bones_was_here/805' into 'master'

Increase Xonotic version to 0.8.5

See merge request xonotic/xonotic-data.pk3dir!1034

2 years agoDo the pre-release TODOs
bones_was_here [Sat, 18 Jun 2022 09:38:43 +0000 (19:38 +1000)]
Do the pre-release TODOs

2 years agoIncrease Xonotic version to 0.8.5
bones_was_here [Sat, 18 Jun 2022 06:54:02 +0000 (16:54 +1000)]
Increase Xonotic version to 0.8.5

Also update version compatibility policy:
DisableServerBackwardsCompatibility() is removed, allowing 0.9.0 to join
servers running the last 0.8.x release.
Instead the general policy is to support the previous release on a
"best effort" basis.

Also some minor cleanups for gameversion cvars.

2 years agoTransifex autosync
Rudolf Polzer [Sat, 18 Jun 2022 05:23:50 +0000 (07:23 +0200)]
Transifex autosync

2 years agoMerge breaking changes for 0.8.5 into 'master'
bones_was_here [Fri, 17 Jun 2022 16:47:44 +0000 (16:47 +0000)]
Merge breaking changes for 0.8.5 into 'master'

Closes #2434

See merge request xonotic/xonotic-data.pk3dir!1008

2 years agoTransifex autosync
Rudolf Polzer [Fri, 17 Jun 2022 05:23:24 +0000 (07:23 +0200)]
Transifex autosync

2 years agosv_maxidle_playertospectator: fix joining players getting moved to spec immediately
bones_was_here [Sun, 12 Jun 2022 00:00:05 +0000 (10:00 +1000)]
sv_maxidle_playertospectator: fix joining players getting moved to spec immediately

In gametypes without teams, if the player left the welcome dialog open for
the duration of sv_maxidle_playertospectator and then clicked join,
they were immediately moved back to spec for idling.

This could happen with any menu dialog or console command that allowed
joining without changing CSQC button state or mouse angle.

It was not noticeable prior to !1021 because pressing jump to join
changed the player's button state which reset their idlesince.
sv_maxidle_minplayers would have prevented this being found in local testing.

2 years agoMerge branch 'drjaska/catimelimit' into 'master'
terencehill [Sat, 11 Jun 2022 23:35:24 +0000 (23:35 +0000)]
Merge branch 'drjaska/catimelimit' into 'master'

Whitelist g_*_round_timelimit

See merge request xonotic/xonotic-data.pk3dir!1031

2 years agoWhitelist g_*_round_timelimit
Dr. Jaska [Sat, 11 Jun 2022 23:35:24 +0000 (23:35 +0000)]
Whitelist g_*_round_timelimit

2 years agoAvoid checking Arc overheat twice
terencehill [Sat, 11 Jun 2022 19:08:30 +0000 (21:08 +0200)]
Avoid checking Arc overheat twice

2 years agoCompact some conditions in the Arc code
terencehill [Sat, 11 Jun 2022 18:40:35 +0000 (20:40 +0200)]
Compact some conditions in the Arc code

2 years agoMerge branch 'drjaska/frozenarcfix' into 'master'
LegendaryGuard [Thu, 9 Jun 2022 17:09:23 +0000 (17:09 +0000)]
Merge branch 'drjaska/frozenarcfix' into 'master'

Add a frozen status check to arc

See merge request xonotic/xonotic-data.pk3dir!1029

2 years agoTransifex autosync
Rudolf Polzer [Wed, 8 Jun 2022 05:23:29 +0000 (07:23 +0200)]
Transifex autosync

2 years agoTransifex autosync
Rudolf Polzer [Tue, 7 Jun 2022 05:23:32 +0000 (07:23 +0200)]
Transifex autosync

2 years agoMerge branch 'terencehill/weapon_model_fixes' into 'master'
terencehill [Mon, 6 Jun 2022 21:01:51 +0000 (21:01 +0000)]
Merge branch 'terencehill/weapon_model_fixes' into 'master'

Fix electro and blaster shadow artifacts

Closes #2667

See merge request xonotic/xonotic-data.pk3dir!1011

2 years agoAdd a frozen status check to arc
drjaska [Mon, 6 Jun 2022 19:45:22 +0000 (22:45 +0300)]
Add a frozen status check to arc

2 years agoMerge branch 'terencehill/clockedtime_tostring_improvements' into 'master'
LegendaryGuard [Mon, 6 Jun 2022 19:33:52 +0000 (19:33 +0000)]
Merge branch 'terencehill/clockedtime_tostring_improvements' into 'master'

Show compact times (1.34 instead of 0:01.34) in some places

See merge request xonotic/xonotic-data.pk3dir!1015

2 years agoMerge branch 'Mario/speed_powerup_noeffects' into 'master'
LegendaryGuard [Mon, 6 Jun 2022 19:24:24 +0000 (19:24 +0000)]
Merge branch 'Mario/speed_powerup_noeffects' into 'master'

Merge branch Mario/speed_powerup_noeffects (XXS merge request)

Closes #2668

See merge request xonotic/xonotic-data.pk3dir!1028

2 years agoDisable the bubbly particles that show while holding the Speed powerup, as the effect...
Mario [Mon, 6 Jun 2022 08:19:43 +0000 (18:19 +1000)]
Disable the bubbly particles that show while holding the Speed powerup, as the effect is too subtle to notice while being a distraction in first person view, closes #2668

2 years agoTransifex autosync
Rudolf Polzer [Mon, 6 Jun 2022 05:23:31 +0000 (07:23 +0200)]
Transifex autosync

2 years agoTransifex autosync
Rudolf Polzer [Sun, 5 Jun 2022 05:24:06 +0000 (07:24 +0200)]
Transifex autosync

2 years agoMerge branch 'z411/welcome_join' into 'master'
terencehill [Sat, 4 Jun 2022 21:05:48 +0000 (21:05 +0000)]
Merge branch 'z411/welcome_join' into 'master'

Add join button to Welcome dialog and make it default

See merge request xonotic/xonotic-data.pk3dir!1021

2 years agoWelcome dialog: use capitals in Join and Spectate, fix compilation unit test
bones_was_here [Sat, 4 Jun 2022 18:29:00 +0000 (04:29 +1000)]
Welcome dialog: use capitals in Join and Spectate, fix compilation unit test

2 years agoMerge branch 'master' into develop
bones_was_here [Sat, 4 Jun 2022 18:12:24 +0000 (04:12 +1000)]
Merge branch 'master' into develop

2 years agoMerge translatable strings for !1017 (Mario/monsters) early
bones_was_here [Sat, 4 Jun 2022 18:03:11 +0000 (04:03 +1000)]
Merge translatable strings for !1017 (Mario/monsters) early

2 years agoMerge branch 'Mario/monsters' into 'develop'
bones_was_here [Sat, 4 Jun 2022 12:43:50 +0000 (12:43 +0000)]
Merge branch 'Mario/monsters' into 'develop'

Merge branch Mario/monsters (L merge request)

See merge request xonotic/xonotic-data.pk3dir!1017

2 years agoMerge branch 'drjaska/weaponindepency' into 'master'
LegendaryGuard [Thu, 2 Jun 2022 20:02:55 +0000 (20:02 +0000)]
Merge branch 'drjaska/weaponindepency' into 'master'

weapon independency fixes

See merge request xonotic/xonotic-data.pk3dir!1024

2 years agoChange Invasion's primary scoring field from frags to kills
Mario [Thu, 2 Jun 2022 10:51:55 +0000 (20:51 +1000)]
Change Invasion's primary scoring field from frags to kills

2 years agoUpdate pipeline hash
bones_was_here [Thu, 2 Jun 2022 02:42:32 +0000 (12:42 +1000)]
Update pipeline hash

2 years agoAdjust the way monsters test their target to make them less likely to drop them and...
Mario [Thu, 2 Jun 2022 02:28:39 +0000 (12:28 +1000)]
Adjust the way monsters test their target to make them less likely to drop them and find them again immediately, fixes some cases of spammy behaviour

2 years agoMerge branch 'master' into develop
bones_was_here [Thu, 2 Jun 2022 02:25:34 +0000 (12:25 +1000)]
Merge branch 'master' into develop

2 years agoAdjust frequency of mage's teleportation attack, update monster configuration to...
Mario [Thu, 2 Jun 2022 01:56:00 +0000 (11:56 +1000)]
Adjust frequency of mage's teleportation attack, update monster configuration to include missing cvars

2 years agoUpdate the golem's sounds - source is the unused carni-lycan playersounds
Mario [Thu, 2 Jun 2022 01:45:12 +0000 (11:45 +1000)]
Update the golem's sounds - source is the unused carni-lycan playersounds

2 years agoUpdate cl_modeldetailreduction description to note that it applies to any non-player...
Mario [Thu, 2 Jun 2022 01:37:14 +0000 (11:37 +1000)]
Update cl_modeldetailreduction description to note that it applies to any non-player and non-weapon models, remove old Invasion teamplay cvars from configuration

2 years agoPrevent monsters from attacking when the match is stopped, rename shambler sounds...
Mario [Thu, 2 Jun 2022 01:32:31 +0000 (11:32 +1000)]
Prevent monsters from attacking when the match is stopped, rename shambler sounds to golem, allow customising the maximum range a mage can teleport to players from

2 years agoMake monsters unable to pass through player clips by default
Mario [Thu, 2 Jun 2022 01:14:18 +0000 (11:14 +1000)]
Make monsters unable to pass through player clips by default

2 years agoFix whitespace inconsistency in the newly added teleportation rule
Mario [Thu, 2 Jun 2022 01:05:06 +0000 (11:05 +1000)]
Fix whitespace inconsistency in the newly added teleportation rule

2 years agoRemove commented out legacy keyframe information from monster codefiles and update...
Mario [Thu, 2 Jun 2022 01:03:13 +0000 (11:03 +1000)]
Remove commented out legacy keyframe information from monster codefiles and update the wyvern's model to match its name

2 years agoMerge branch 'bones_was_here/matchid_eventlog' into 'master'
terencehill [Tue, 31 May 2022 11:24:43 +0000 (11:24 +0000)]
Merge branch 'bones_was_here/matchid_eventlog' into 'master'

Always use a monotonic matchid to prevent random rejections by xonstat

See merge request xonotic/xonotic-data.pk3dir!1019

2 years agofix if else branching logic
drjaska [Mon, 30 May 2022 02:36:56 +0000 (05:36 +0300)]
fix if else branching logic

2 years agoMake sure client has received gametype name before displaying it in the centerprint...
terencehill [Sun, 29 May 2022 23:02:19 +0000 (01:02 +0200)]
Make sure client has received gametype name before displaying it in the centerprint title

2 years agoSmall cleanup
terencehill [Sun, 29 May 2022 23:00:34 +0000 (01:00 +0200)]
Small cleanup

2 years agoTransifex autosync
Rudolf Polzer [Sat, 28 May 2022 05:23:24 +0000 (07:23 +0200)]
Transifex autosync

2 years agoTransifex autosync
Rudolf Polzer [Fri, 27 May 2022 05:23:26 +0000 (07:23 +0200)]
Transifex autosync

2 years agoTransifex autosync
Rudolf Polzer [Tue, 24 May 2022 05:23:26 +0000 (07:23 +0200)]
Transifex autosync

2 years agoweapon independency fixes
drjaska [Sun, 22 May 2022 18:58:42 +0000 (21:58 +0300)]
weapon independency fixes
Damage() function now checks that the target entity does not have a realowner which is another independent player before dealing damage and/or force to it
fireball's primary BFG no longer tries to target independent players
fireball's secondary "turrets" no longer try to target independent players
they also ignore frozen players as suggested by terence
electro's primary's explosion no longer explodes electro balls owned by other independent players
electro's primary's midair combo no longer explodes electro balls owned by other independent players
electro's comboexplosion no longer explodes electro balls owned by other independent players

2 years agoMerge branch 'drjaska/minefix2' into 'master'
terencehill [Fri, 20 May 2022 23:36:02 +0000 (23:36 +0000)]
Merge branch 'drjaska/minefix2' into 'master'

fix #2690 by making sure mines aren't proximity exploded by independent players

Closes #2690

See merge request xonotic/xonotic-data.pk3dir!1023

2 years agofix #2690 by making sure mines aren't proximity exploded by independent players
drjaska [Thu, 19 May 2022 21:01:54 +0000 (00:01 +0300)]
fix #2690 by making sure mines aren't proximity exploded by independent players

2 years agoFix #2689 "Welcome dialog is not closed by voting screens or by disconnecting"
terencehill [Wed, 18 May 2022 10:21:44 +0000 (12:21 +0200)]
Fix #2689 "Welcome dialog is not closed by voting screens or by disconnecting"

2 years agoPlayerstats: fix higher average ping for players who disconnect and reconnect
terencehill [Wed, 18 May 2022 00:42:24 +0000 (02:42 +0200)]
Playerstats: fix higher average ping for players who disconnect and reconnect

2 years agoAdd join button to Welcome dialog and make it default
z411 [Tue, 17 May 2022 02:16:01 +0000 (22:16 -0400)]
Add join button to Welcome dialog and make it default

2 years agoFix a remaining tabbed whitespace in the renamed monster code
Mario [Tue, 17 May 2022 00:55:24 +0000 (10:55 +1000)]
Fix a remaining tabbed whitespace in the renamed monster code

2 years agoFix tabbed whitespace in the renamed monster deathtypes
Mario [Mon, 16 May 2022 13:12:40 +0000 (23:12 +1000)]
Fix tabbed whitespace in the renamed monster deathtypes

2 years agoMake sure centerprint title gets cleared if game ends prematurely
terencehill [Sun, 15 May 2022 23:20:24 +0000 (01:20 +0200)]
Make sure centerprint title gets cleared if game ends prematurely

2 years agoCall centerprint countdown only in the first tic, it will continue automatically...
terencehill [Sun, 15 May 2022 13:53:06 +0000 (15:53 +0200)]
Call centerprint countdown only in the first tic, it will continue automatically in the remaining tics. Hopefully it fixes ^COUNT occasionally shown in the last tic, probably due to lags

2 years agoApply panel alpha to centerprint title. It fixes title not fading out on menu display
terencehill [Sun, 15 May 2022 12:51:58 +0000 (14:51 +0200)]
Apply panel alpha to centerprint title. It fixes title not fading out on menu display

2 years agoAdd a comment for the ghost spectator bot workaround
terencehill [Fri, 13 May 2022 23:00:47 +0000 (01:00 +0200)]
Add a comment for the ghost spectator bot workaround

2 years agoFix comment and update hash
terencehill [Fri, 13 May 2022 22:42:03 +0000 (00:42 +0200)]
Fix comment and update hash

2 years agoAdd ReadyRestart support to Assault in campaign mode since it's a requirement now...
terencehill [Thu, 12 May 2022 14:01:13 +0000 (16:01 +0200)]
Add ReadyRestart support to Assault in campaign mode since it's a requirement now. It fixes broken Assault campaign level.

2 years agoCheck .bot_forced_team validity immediately
terencehill [Thu, 12 May 2022 00:53:59 +0000 (02:53 +0200)]
Check .bot_forced_team validity immediately

2 years agoMake bots observers (for one frame) before joining the game and put them in a team...
terencehill [Thu, 12 May 2022 00:48:56 +0000 (02:48 +0200)]
Make bots observers (for one frame) before joining the game and put them in a team in PutPlayerInServer so that everything gets initialized in the same way as for human players.

It fixes a bug where bots connecting in the middle of a CA round join a team (with a message announcing it) and immediately leave it because joining a team is not allowed.

2 years agoPut GameLogInit() code in there instead of in spawnfunc(worldspawn)
bones_was_here [Wed, 11 May 2022 21:25:33 +0000 (07:25 +1000)]
Put GameLogInit() code in there instead of in spawnfunc(worldspawn)