]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/log
xonotic/xonotic-data.pk3dir.git
7 years agoBot AI: don't leave item to teammate if bot is closer than him and really close to...
terencehill [Thu, 12 Oct 2017 13:43:11 +0000 (15:43 +0200)]
Bot AI: don't leave item to teammate if bot is closer than him and really close to the item

7 years agoOptimize code by avoiding vlen calls
terencehill [Thu, 12 Oct 2017 12:39:42 +0000 (14:39 +0200)]
Optimize code by avoiding vlen calls

7 years agoBot AI: also check if the goal item can be left to teammates while going to it
terencehill [Thu, 12 Oct 2017 11:52:47 +0000 (13:52 +0200)]
Bot AI: also check if the goal item can be left to teammates while going to it

7 years agoBot AI: also leave powerup to teammates closer to it
terencehill [Wed, 11 Oct 2017 18:02:25 +0000 (20:02 +0200)]
Bot AI: also leave powerup to teammates closer to it

7 years agoBot AI: Fix buggy algorithm for deciding whether to leave an item to a human teammate...
terencehill [Wed, 11 Oct 2017 17:39:48 +0000 (19:39 +0200)]
Bot AI: Fix buggy algorithm for deciding whether to leave an item to a human teammate or not

7 years agoMove some code from havocbot_goalrating_items to a new function
terencehill [Sat, 7 Oct 2017 14:24:18 +0000 (16:24 +0200)]
Move some code from havocbot_goalrating_items to a new function

7 years agoBot AI: add some randomness when trying to shorten path, it should help on certain...
terencehill [Thu, 28 Sep 2017 13:03:34 +0000 (15:03 +0200)]
Bot AI: add some randomness when trying to shorten path, it should help on certain hard paths with climbs and tight corners

7 years agoRemove a redundant check
terencehill [Thu, 28 Sep 2017 00:02:46 +0000 (02:02 +0200)]
Remove a redundant check

7 years agoFix goal distance check not working when bot finds an obstruction above current goal
terencehill [Tue, 26 Sep 2017 14:30:43 +0000 (16:30 +0200)]
Fix goal distance check not working when bot finds an obstruction above current goal

7 years agoFix links from waypoints to items getting tested in the wrong direction before adding...
terencehill [Mon, 25 Sep 2017 21:12:27 +0000 (23:12 +0200)]
Fix links from waypoints to items getting tested in the wrong direction before adding them

7 years agoFix bots missing the second teleport when path includes 2 consecutive teleports,...
terencehill [Sun, 24 Sep 2017 15:21:11 +0000 (17:21 +0200)]
Fix bots missing the second teleport when path includes 2 consecutive teleports, where destination of the former is really close to the latter (e.g. Darkzone)

7 years agoRemove a redundant check, cleanup some jetpack code
terencehill [Sat, 23 Sep 2017 16:59:02 +0000 (18:59 +0200)]
Remove a redundant check, cleanup some jetpack code

7 years agoFix velocity check for braking when bots are using the jetpack
terencehill [Sat, 23 Sep 2017 16:55:46 +0000 (18:55 +0200)]
Fix velocity check for braking when bots are using the jetpack

7 years agoFix bots looking downwards when they reach an item going to respawn
terencehill [Sat, 23 Sep 2017 16:51:05 +0000 (18:51 +0200)]
Fix bots looking downwards when they reach an item going to respawn

7 years agoBot AI: detect if bot is ahead of current goal and remove it; it fixes bots sometimes...
terencehill [Tue, 19 Sep 2017 17:26:28 +0000 (19:26 +0200)]
Bot AI: detect if bot is ahead of current goal and remove it; it fixes bots sometimes going back to touch the nearest waypoint when they recalculate path

7 years agoBot AI: when bot isn't getting close to the current goal try to see if it can be...
terencehill [Thu, 14 Sep 2017 15:28:55 +0000 (17:28 +0200)]
Bot AI: when bot isn't getting close to the current goal try to see if it can be reached before finding a new goal

7 years agoBot AI: immediately remove player as goal if dead and visible
terencehill [Thu, 14 Sep 2017 14:45:32 +0000 (16:45 +0200)]
Bot AI: immediately remove player as goal if dead and visible

7 years agoRemove a now redundant optimization
terencehill [Mon, 11 Sep 2017 17:04:59 +0000 (19:04 +0200)]
Remove a now redundant optimization

7 years agoMerge branch 'terencehill/bot_waypoints' into terencehill/bot_ai
terencehill [Mon, 11 Sep 2017 16:45:17 +0000 (18:45 +0200)]
Merge branch 'terencehill/bot_waypoints' into terencehill/bot_ai

7 years agoAdd link from waypoint to item when they overlap
terencehill [Mon, 11 Sep 2017 16:21:27 +0000 (18:21 +0200)]
Add link from waypoint to item when they overlap

7 years agoFix destination point of a tracewalk call
terencehill [Mon, 11 Sep 2017 15:11:20 +0000 (17:11 +0200)]
Fix destination point of a tracewalk call

7 years agoMerge branch 'master' into terencehill/bot_waypoints
terencehill [Mon, 11 Sep 2017 15:09:11 +0000 (17:09 +0200)]
Merge branch 'master' into terencehill/bot_waypoints

7 years agoBot AI: tweak timeout values for searching a new goal and for searching a new goal...
terencehill [Mon, 11 Sep 2017 11:18:25 +0000 (13:18 +0200)]
Bot AI: tweak timeout values for searching a new goal and for searching a new goal when removing a waypoint to increase chances bot doesn't need to find nearest waypoints

7 years agoBot AI: use correct button to activate jetpack, initialize it to false to avoid bots...
terencehill [Sat, 9 Sep 2017 14:34:29 +0000 (16:34 +0200)]
Bot AI: use correct button to activate jetpack, initialize it to false to avoid bots never stop using the jetpack

7 years agoBot AI: take into account invincibility powerup when rating enemies
terencehill [Sat, 9 Sep 2017 13:47:02 +0000 (15:47 +0200)]
Bot AI: take into account invincibility powerup when rating enemies

7 years agoBot AI: update condition for doing a rocket jump
terencehill [Sat, 9 Sep 2017 13:18:38 +0000 (15:18 +0200)]
Bot AI: update condition for doing a rocket jump

7 years agoFix compilation units test; update hash
terencehill [Sat, 9 Sep 2017 13:06:02 +0000 (15:06 +0200)]
Fix compilation units test; update hash

7 years agoFix max_shot_distance
TimePath [Sat, 9 Sep 2017 03:10:26 +0000 (13:10 +1000)]
Fix max_shot_distance

7 years agoBot AI: slightly increase timeout for finding a new goal when bot is chasing a player...
terencehill [Fri, 8 Sep 2017 15:00:30 +0000 (17:00 +0200)]
Bot AI: slightly increase timeout for finding a new goal when bot is chasing a player (now in a separate cvar, still lower than normal); apply new timeout value for any movable target and in any gamemode

7 years agoBot AI: anticipate search of a new goal when bot touches a waypoint and search time...
terencehill [Fri, 8 Sep 2017 13:27:18 +0000 (15:27 +0200)]
Bot AI: anticipate search of a new goal when bot touches a waypoint and search time is close; it avoids finding nearest waypoints many times

7 years agoSet proper destination point for 2 tracewalk calls
terencehill [Fri, 8 Sep 2017 13:15:33 +0000 (15:15 +0200)]
Set proper destination point for 2 tracewalk calls

7 years agoBot AI: optimize path finding by avoiding searching and testing with tracewalk all...
terencehill [Thu, 7 Sep 2017 22:46:14 +0000 (00:46 +0200)]
Bot AI: optimize path finding by avoiding searching and testing with tracewalk all the nearest waypoints when bot is really close to a waypoint

7 years agoBot AI: avoid clearing twice the route to the goal when bot reaches an item
terencehill [Thu, 7 Sep 2017 22:32:38 +0000 (00:32 +0200)]
Bot AI: avoid clearing twice the route to the goal when bot reaches an item

7 years agoFix havocbot_checkgoaldistance forcing to find a new goal when bot walks over multipl...
terencehill [Thu, 7 Sep 2017 19:40:46 +0000 (21:40 +0200)]
Fix havocbot_checkgoaldistance forcing to find a new goal when bot walks over multiple obstacles and current goal is below bot's position

7 years agoBot AI: if the current goal is taken by someone keep going to the goal until it's...
terencehill [Thu, 7 Sep 2017 17:31:28 +0000 (19:31 +0200)]
Bot AI: if the current goal is taken by someone keep going to the goal until it's visible, then find another goal; it reduces chances all bots find a new goal at the same time

7 years agoMerge branch 'master' into terencehill/bot_waypoints
terencehill [Wed, 6 Sep 2017 16:36:50 +0000 (18:36 +0200)]
Merge branch 'master' into terencehill/bot_waypoints

7 years agoFix bots waiting for a teamed item to spawn again once they got it (e.g. megas and...
terencehill [Wed, 6 Sep 2017 15:24:40 +0000 (17:24 +0200)]
Fix bots waiting for a teamed item to spawn again once they got it (e.g. megas and powerups of mental-gap-beta4)

7 years agoMore BITs (and less variables)
terencehill [Wed, 6 Sep 2017 15:17:22 +0000 (17:17 +0200)]
More BITs (and less variables)

7 years agoFix mixed tabs and spaces in some newly added code
terencehill [Wed, 6 Sep 2017 14:05:52 +0000 (16:05 +0200)]
Fix mixed tabs and spaces in some newly added code

7 years agoFix initialization of maxclients
TimePath [Wed, 6 Sep 2017 10:41:59 +0000 (20:41 +1000)]
Fix initialization of maxclients

Closes #1948

7 years agoMerge branch 'Lyberta/TeamplayFixes_' into 'master'
Mario [Mon, 4 Sep 2017 00:17:53 +0000 (00:17 +0000)]
Merge branch 'Lyberta/TeamplayFixes_' into 'master'

Teamplay fixes and improvements

See merge request !423

7 years agoMerge branch 'master' into Lyberta/TeamplayFixes_
Lyberta [Sat, 2 Sep 2017 18:53:41 +0000 (21:53 +0300)]
Merge branch 'master' into Lyberta/TeamplayFixes_

7 years agocompilationunits.sh: accept arguments
TimePath [Sat, 2 Sep 2017 09:55:58 +0000 (19:55 +1000)]
compilationunits.sh: accept arguments

7 years agoCMake: really rebuild if the compiler changes
TimePath [Sat, 2 Sep 2017 08:06:24 +0000 (18:06 +1000)]
CMake: really rebuild if the compiler changes

7 years agoMerge branch 'martin-t/snt' into 'master'
TimePath [Sat, 2 Sep 2017 02:09:18 +0000 (02:09 +0000)]
Merge branch 'martin-t/snt' into 'master'

Disable SNT in ft and as

See merge request !480

7 years agouse expression to enable SNT 480/head
Martin Taibr [Sat, 2 Sep 2017 01:47:00 +0000 (03:47 +0200)]
use expression to enable SNT

7 years agoMake some mutators accept cvar expressions for being enabled
TimePath [Sat, 2 Sep 2017 01:30:30 +0000 (11:30 +1000)]
Make some mutators accept cvar expressions for being enabled

7 years agoMerge branch 'TimePath/spawnfuncs' into 'master'
TimePath [Sat, 2 Sep 2017 00:05:37 +0000 (00:05 +0000)]
Merge branch 'TimePath/spawnfuncs' into 'master'

Control spawnfuncs from QuakeC

See merge request !483

7 years agoMerge branch 'Lyberta/URS2' into 'master'
TimePath [Fri, 1 Sep 2017 23:47:48 +0000 (23:47 +0000)]
Merge branch 'Lyberta/URS2' into 'master'

Unified resource system - step 2

See merge request !474

7 years agoFix waypoints for warpzones with oblique or horizontal warp plane
terencehill [Fri, 1 Sep 2017 16:31:03 +0000 (18:31 +0200)]
Fix waypoints for warpzones with oblique or horizontal warp plane

7 years agoURS: Change license to GPLv2+. 474/head
Lyberta [Fri, 1 Sep 2017 11:31:50 +0000 (14:31 +0300)]
URS: Change license to GPLv2+.

7 years agospawnfuncs: accept gameplay hash change 483/head
TimePath [Fri, 1 Sep 2017 10:10:29 +0000 (20:10 +1000)]
spawnfuncs: accept gameplay hash change

7 years agospawnfuncs: suppress some now visible warnings on init
TimePath [Fri, 1 Sep 2017 09:31:50 +0000 (19:31 +1000)]
spawnfuncs: suppress some now visible warnings on init

7 years agospawnfuncs: hide original .classname
TimePath [Fri, 1 Sep 2017 08:34:06 +0000 (18:34 +1000)]
spawnfuncs: hide original .classname

7 years agospawnfuncs: fix alternate worldspawn classnames
TimePath [Thu, 31 Aug 2017 10:37:27 +0000 (20:37 +1000)]
spawnfuncs: fix alternate worldspawn classnames

7 years agospawnfuncs: initial support for prototypical construction
TimePath [Wed, 30 Aug 2017 11:47:00 +0000 (21:47 +1000)]
spawnfuncs: initial support for prototypical construction

7 years agospawnfuncs: fix SV_OnEntityPreSpawnFunction
TimePath [Wed, 30 Aug 2017 10:07:24 +0000 (20:07 +1000)]
spawnfuncs: fix SV_OnEntityPreSpawnFunction

7 years agoMap bounds: assign reflectively to avoid triggering warning
TimePath [Tue, 29 Aug 2017 11:03:25 +0000 (21:03 +1000)]
Map bounds: assign reflectively to avoid triggering warning

7 years agoStats: don't assign to world
TimePath [Tue, 29 Aug 2017 10:48:12 +0000 (20:48 +1000)]
Stats: don't assign to world

7 years agospawnfuncs: defer spawning until we say so
TimePath [Mon, 28 Aug 2017 12:12:35 +0000 (22:12 +1000)]
spawnfuncs: defer spawning until we say so

7 years agospawnfuncs: simplify SV_OnEntityPreSpawnFunction
TimePath [Sun, 27 Aug 2017 11:40:42 +0000 (21:40 +1000)]
spawnfuncs: simplify SV_OnEntityPreSpawnFunction

7 years agoAdd a note about the reserved nade projectile IDs in the main projectile file
Mario [Fri, 1 Sep 2017 00:35:27 +0000 (10:35 +1000)]
Add a note about the reserved nade projectile IDs in the main projectile file

7 years agoFix nearest waypoint detection by restoring something I wrongly removed in d46494d5...
terencehill [Wed, 30 Aug 2017 12:24:27 +0000 (14:24 +0200)]
Fix nearest waypoint detection by restoring something I wrongly removed in d46494d5; minor fix: add a IS_PLAYER check

7 years agoWaypoints, change keyword: VERSION -> WAYPOINT_VERSION
terencehill [Tue, 29 Aug 2017 18:10:45 +0000 (20:10 +0200)]
Waypoints, change keyword: VERSION -> WAYPOINT_VERSION

7 years agoURS: Improved vampire buff.
Lyberta [Wed, 30 Aug 2017 05:05:00 +0000 (08:05 +0300)]
URS: Improved vampire buff.

7 years agoURS: Added GiveResourceWithLimit.
Lyberta [Wed, 30 Aug 2017 04:34:31 +0000 (07:34 +0300)]
URS: Added GiveResourceWithLimit.

7 years agoMerge branch 'master' into Lyberta/URS2
Lyberta [Wed, 30 Aug 2017 03:55:07 +0000 (06:55 +0300)]
Merge branch 'master' into Lyberta/URS2

7 years agoURS: Better hard limit description.
Lyberta [Tue, 29 Aug 2017 23:38:32 +0000 (02:38 +0300)]
URS: Better hard limit description.

7 years agoURS: Added file info.
Lyberta [Tue, 29 Aug 2017 22:06:45 +0000 (01:06 +0300)]
URS: Added file info.

7 years agodisable SNT in ft and as
Martin Taibr [Tue, 29 Aug 2017 18:02:19 +0000 (20:02 +0200)]
disable SNT in ft and as

7 years agoMerge branch 'master' into terencehill/bot_waypoints
terencehill [Tue, 29 Aug 2017 15:39:05 +0000 (17:39 +0200)]
Merge branch 'master' into terencehill/bot_waypoints

# Conflicts:
# qcsrc/server/command/sv_cmd.qc
# qcsrc/server/impulse.qc

7 years agoMerge branch 'martin-t/dmgtext' into 'master'
Mario [Tue, 29 Aug 2017 01:41:39 +0000 (01:41 +0000)]
Merge branch 'martin-t/dmgtext' into 'master'

Document spectatee_status, disable 2d dmgtext for observers

See merge request !477

7 years agoURS: Refactored Item_GiveAmmoTo.
Lyberta [Tue, 29 Aug 2017 01:38:48 +0000 (04:38 +0300)]
URS: Refactored Item_GiveAmmoTo.

7 years agoURS: Fixed compilation unit.
Lyberta [Tue, 29 Aug 2017 01:07:06 +0000 (04:07 +0300)]
URS: Fixed compilation unit.

7 years agoURS: Ported g_damage.qc to URS.
Lyberta [Tue, 29 Aug 2017 00:19:16 +0000 (03:19 +0300)]
URS: Ported g_damage.qc to URS.

7 years agoURS: Ported Nades mutator to URS.
Lyberta [Mon, 28 Aug 2017 23:55:38 +0000 (02:55 +0300)]
URS: Ported Nades mutator to URS.

7 years agoURS: Ported NIX mutator to URS.
Lyberta [Mon, 28 Aug 2017 23:34:01 +0000 (02:34 +0300)]
URS: Ported NIX mutator to URS.

7 years agodocument spectatee_status, disable 2d dmgtext for observers 477/head
Martin Taibr [Mon, 28 Aug 2017 23:26:00 +0000 (01:26 +0200)]
document spectatee_status, disable 2d dmgtext for observers

7 years agoURS: Ported Instagib mutator to URS.
Lyberta [Mon, 28 Aug 2017 23:09:39 +0000 (02:09 +0300)]
URS: Ported Instagib mutator to URS.

7 years agoURS: Ported Campcheck mutator to URS.
Lyberta [Mon, 28 Aug 2017 22:27:11 +0000 (01:27 +0300)]
URS: Ported Campcheck mutator to URS.

7 years agoURS: Ported Buffs mutator to URS.
Lyberta [Mon, 28 Aug 2017 22:22:43 +0000 (01:22 +0300)]
URS: Ported Buffs mutator to URS.

7 years agoURS: Ported Blood loss mutator to URS.
Lyberta [Mon, 28 Aug 2017 22:05:31 +0000 (01:05 +0300)]
URS: Ported Blood loss mutator to URS.

7 years agoURS: Added SetResourceAmount hook.
Lyberta [Mon, 28 Aug 2017 21:47:35 +0000 (00:47 +0300)]
URS: Added SetResourceAmount hook.

7 years agoURS: Fixed compilation unit.
Lyberta [Mon, 28 Aug 2017 20:27:27 +0000 (23:27 +0300)]
URS: Fixed compilation unit.

7 years agoURS: Added SetResourceAmount.
Lyberta [Mon, 28 Aug 2017 19:58:34 +0000 (22:58 +0300)]
URS: Added SetResourceAmount.

7 years agoURS: Renamed GetResourceProperty to GetResourceField, added GetResourceAmount.
Lyberta [Mon, 28 Aug 2017 19:06:24 +0000 (22:06 +0300)]
URS: Renamed GetResourceProperty to GetResourceField, added GetResourceAmount.

7 years agoURS: Start RESOURCE_* constants from 1.
Lyberta [Mon, 28 Aug 2017 18:50:02 +0000 (21:50 +0300)]
URS: Start RESOURCE_* constants from 1.

7 years agoMoved USR into separate file.
Lyberta [Mon, 28 Aug 2017 18:44:19 +0000 (21:44 +0300)]
Moved USR into separate file.

7 years agoSuppress error output of "which"
terencehill [Mon, 28 Aug 2017 12:36:29 +0000 (14:36 +0200)]
Suppress error output of "which"

7 years agoURS: Not only players have resources.
Lyberta [Mon, 28 Aug 2017 05:25:39 +0000 (08:25 +0300)]
URS: Not only players have resources.

7 years agoURS: Added player argument to GetResourceLimit.
Lyberta [Mon, 28 Aug 2017 05:10:18 +0000 (08:10 +0300)]
URS: Added player argument to GetResourceLimit.

7 years agoUse GetResourceLimit in player_regen.
Lyberta [Mon, 28 Aug 2017 04:22:49 +0000 (07:22 +0300)]
Use GetResourceLimit in player_regen.

7 years agoFixed typo.
Lyberta [Mon, 28 Aug 2017 03:41:49 +0000 (06:41 +0300)]
Fixed typo.

7 years agoStarted unified resource system - step 2.
Lyberta [Mon, 28 Aug 2017 03:39:49 +0000 (06:39 +0300)]
Started unified resource system - step 2.

7 years agoMerge branch 'martin-t/okmodelsfix' into 'master'
Mario [Mon, 28 Aug 2017 02:42:04 +0000 (02:42 +0000)]
Merge branch 'martin-t/okmodelsfix' into 'master'

Overkill: set sv_defaultplayermodel_* for pink and yellow teams

See merge request !473

7 years agooverkill: set sv_defaultplayermodel_* for pink and yellow teams 473/head
Martin Taibr [Mon, 28 Aug 2017 02:04:55 +0000 (04:04 +0200)]
overkill: set sv_defaultplayermodel_* for pink and yellow teams

7 years agoAdd a spawnflag to start func_rotating off, and add a basic reset function to func_ro...
Mario [Mon, 28 Aug 2017 00:13:47 +0000 (10:13 +1000)]
Add a spawnflag to start func_rotating off, and add a basic reset function to func_rotating

7 years agoMerged master into Lyberta/TeamplayFixes_.
Lyberta [Sun, 27 Aug 2017 23:44:07 +0000 (02:44 +0300)]
Merged master into Lyberta/TeamplayFixes_.

7 years agoFix bots appearing on the scoreboard as spectators when switching map with the gotoma...
terencehill [Sun, 27 Aug 2017 22:33:02 +0000 (00:33 +0200)]
Fix bots appearing on the scoreboard as spectators when switching map with the gotomap command (it doesn't remove bots of the previous match) and with minplayers > 1

7 years agoFix button not resetting, and allow wait time < 0 to mean never return
Mario [Sun, 27 Aug 2017 22:21:29 +0000 (08:21 +1000)]
Fix button not resetting, and allow wait time < 0 to mean never return