Marco Cawthorne
d16e096306
Documentation improvements, cleaning up of misc files.
2024-01-01 21:20:02 -08:00
Marco Cawthorne
22460c5aa0
BotLib: new commands - 'offset [vector]', 'flipx', 'flipy', 'flipz', 'merge [filename.way]', 'loadpb [podbotwaypoint.pwf]', 'loadrich [jumbot.jrf]', 'loadfb [foxbot.fwp]'
...
Also make the bots use the soundDef when pressing '+use'.
2023-11-17 18:58:24 -08:00
Marco Cawthorne
11deea5b3d
Add the following physics entities from Source: phys_ballsocket, phys_constraint, phys_constraintsystem, phys_convert, phys_hinge, phys_keepupright, phys_slideconstraint & env_physexplosion
...
Add new class phys_rope, which will handle move_rope and keyframe_rope from Source.
2023-10-17 16:49:01 -07:00
Marco Cawthorne
ab9d66b2e4
BotLib: for goals and goalitem route search, use WorldSpaceCenter() and not their origin to deal with brush triggers and non-existant origins properly
2023-10-13 08:22:31 -07:00
Marco Cawthorne
b37afb1362
BotLib: break func_breakable entities within their path.
2023-10-11 01:05:35 -07:00
Marco Cawthorne
ff78e34c16
Move Route_GetJumpVelocity() into shared/defs.h for now.
2023-05-10 16:12:59 -07:00
Marco Cawthorne
1acbd8a34d
Remove calls to Game_ParseClientCommand with per-gamemode overridable ClientCommand() method within NSGameRules.
...
Also redo the way chat messages are handled, so mods don't have to implement it themselves all the time.
2022-12-22 11:53:15 -08:00
Marco Cawthorne
36fdd443d2
Change 'material' over to 'surfaceprop'. Implement new networked event EV_SURFIMPACT.
...
Surfaceproperty impacts are now fully done on the client. Server has no concept of
impacts beyond the point of announcing them.
The next step: NSTraceAttack should be fully shared between client/server so
that the local player doesn't need to be told about their own EV_SURFIMPACT events
by the server, thus saving a bit of bandwidth.
2022-10-26 12:50:08 -07:00
Marco Cawthorne
bc2f56b6d1
NSView: Don't run stair smoothing code when we're going up on elevators/platforms.
...
Change some type names around for consistency.
2022-08-10 16:51:26 -07:00
Marco Cawthorne
2526751db1
Clean up some areas where float logic happens to prepare for the compiler flag 'assumeint'
2022-08-10 16:15:44 -07:00
Marco Cawthorne
ff17dea01f
Initial work towards the NSWeapon class. Testing will happen in base/ under the NEW_INVENTORY define.
...
Comitting this early to ensure nothing breaks and it'll co-exist.
2022-07-25 09:31:37 -07:00
Marco Cawthorne
197ce20c31
BotLib: Start making use of some of NSNavAI
2022-07-20 16:27:24 -07:00
Marco Cawthorne
878df0941e
Cleanup for some CGameRules method types. Moved some Util_ functions into their own file.
2022-07-16 15:11:33 -07:00
Marco Cawthorne
66b09de431
Big commit fixing many regressions since crunch hit. env_sprite has been reworked.
...
multi_manager entities now behave correctly when calling themselves in MULTITHREADED mode.
Remove GS_RENDERFX option. Too many entities rely on its functionality anyway.
Fixed some rendermode behaviour - ladders will no longer be visible.
You can now see the playermodel (and no longer the viewmodel) in mirrors.
Fixed a lot of warnings.
2022-07-07 09:10:14 -07:00
Marco Cawthorne
08706fcacb
BotLib: Basic respect for bot_skill cvar.
2022-06-22 15:25:08 -07:00
Marco Cawthorne
ad093548b5
Clean up some misc building stuff. Based on input by BartoCH, many thanks!
...
I'd like to make the gmake check nicer when I have more time.
2022-06-06 19:58:29 -07:00
Marco Cawthorne
68974053f4
BotLib: add cvar bot_prefix, add method SetName() which respects it.
2022-05-24 15:32:37 -07:00
Marco Cawthorne
25c54af62c
Spring cleaning part one.
2022-05-11 12:49:04 -07:00
Marco Cawthorne
df589de04c
BotLib: Will now set a protected *bot infokey to signal clients as to who is a bot.
2022-04-29 15:20:04 -07:00
Marco Cawthorne
e79a2e9c2e
NSMonster: Add method bool CanCrouch(). Monsters will then attempt to crouch.
...
SoundDefs: Add support for distshader on Sound_PlayAt() calls.
2022-04-10 07:01:14 -07:00
Marco Cawthorne
96f3a1224a
This is a massive change. Check the full msg here:
...
https://icculus.org/~marco/txt/nuclide_may2022.txt
2022-03-15 19:33:11 -07:00
Marco Cawthorne
dca95b5c45
Fix some warnings across the board.
2022-03-14 11:18:59 -07:00
Marco Cawthorne
bbfc8c945c
BotLib: Prematurely commit all this new nav-stuff because some people like
...
to compile their games.
2022-03-13 17:10:12 -07:00
Marco Cawthorne
e437550c73
BotLib: Add definitions for BOTINFO_AMMO and BOTINFO_ARMOR.
2022-03-13 17:09:12 -07:00
Marco Cawthorne
0fc52f726d
BotLib now responds to 'alert' flagged sounds as well. Also added a cooldown
...
timer so we don't call alerts too often.
2022-03-11 14:00:44 -08:00
Marco Cawthorne
6fb067eed3
My name has changed, so an update to the copyright to reflect it.
2022-03-11 11:40:43 -08:00
Marco Cawthorne
d885e2e643
BotLib: lot of work done on recognizing weapon types, making proper use of
...
Weapons_IsEmpty() checks - more fixes for pathfinding; the ability to set
walk and movespeed externally via method overrides; several bugfixes in
relation to firing (and getting stuck on pressing other keys.
2022-03-08 21:50:30 -08:00
Marco Cawthorne
6db98c88aa
BotLib: Add support for goalitems. These may include objectives for things
...
like CTF - flag your game-mode entities as either .botinfo BOTINFO_TEAM_GOALITEM
or BOTINFO_TEAM_GOALCAPTURE and BotLib will try to figure out what to do.
2022-03-02 09:17:57 -08:00
Marco Cawthorne
47a37af545
Client: Allow mods to override entity updates of gs-entbase.
...
prop_vehicle_drivable: Initial work towards suspension.
2022-02-11 17:09:08 -08:00
Marco Cawthorne
f118e34792
Client: Verify our pSeat player entity directly, don't assume 'self' is the
...
player in CSQC_Parse_Event and CSQC_Input_Frame.
2022-02-10 13:31:57 -08:00
Marco Cawthorne
bef8dfb117
Base: Some minor edits to facilitate the TW akimbo weapons (clean this later...)
2022-02-04 15:24:43 -08:00
Marco Cawthorne
5a3f59a24c
BotLib: Add checks to validate the result of Way_FintClosestNode()
2022-01-31 16:07:04 -08:00
Marco Cawthorne
cad1dfbcfe
Waypoint-system: You can now unlink waypoints (either one or two way...)
2021-12-18 17:50:43 -08:00
Marco Cawthorne
043c6878d6
Server: Waypoint flagging will now link two nodes if they weren't linked
...
already.
2021-12-18 17:20:25 -08:00
Marco Cawthorne
5637d49189
Waypoint-system: Add 'sv way addnear' which will create a node auto-linked
...
to the nearest node to the player.
2021-12-18 16:36:51 -08:00
Marco Cawthorne
249e4bc612
Massive revamp of the Nuclide system classes, more efficient networking
...
and memory usage thanks to intelligent boxing of fields.
Added Util_TimeToString, removed old VOX code, added lots of new helper
classes...
2021-10-20 01:19:10 +02:00
Marco Cawthorne
fbbcfd5d5f
BotLib: Attempt to duck when we're between 512 and 1024 units
2021-05-16 23:08:41 +02:00
Marco Cawthorne
c5cea7a162
Base: Weapons now track weight (for Weapons_SwitchBest)
...
BotLib: Add CreateObjective() method that can be overridden
2021-05-12 15:42:20 +02:00
Marco Cawthorne
1485544b91
Base: Get rid of g_eAttacker, which had been replaced by g_dmg_eAttacker.
...
Go over TraceAttack and make it combine multiple Damage_Apply calls into
one.
2021-05-10 11:33:31 +02:00
Marco Cawthorne
27b5b59f0d
Server: Precache step_sand.left/right, add to footsteps.sndshd.
...
Fix some botlib waypointing strings.
2021-04-18 08:24:55 +02:00
Marco Cawthorne
2c7f540787
botlib: add USER linkflag. When a bot passes that link, he'll USE the
...
closest func_button nearby.
2021-03-27 07:48:46 +01:00
Marco Cawthorne
95739c7a20
Basic spectator implementation for all games.
2021-03-24 07:50:30 +01:00
Marco Cawthorne
02efa21e3d
Move game-specific sources into their respective mod-dirs. This was planned
...
for a while and was inevitable. Latest fteqcc required that fixes a limit
with paths. Also added src/server/mapcycle.qc
2021-02-08 13:35:15 +01:00
Marco Cawthorne
6a48c18171
BotLib: Add support for the AIM linkflag, to control when a bot is forced
...
to look ahead to the current waypoint node.
2021-01-16 17:34:04 +01:00
Marco Cawthorne
507a10eec5
Client: Allow game-specific model event overrides.
2021-01-05 15:51:49 +01:00
Marco Cawthorne
6c3814a2b1
Routing: Added ability to nudge existing waypoints along an axis as well as
...
an option to move the nearest waypoint to the player's position.
2021-01-03 12:52:51 +01:00
Marco Cawthorne
6dc054f94b
Client: Fixed a typo in the waypoint editor, added color coding... removed
...
some redundant newlines in the text
2021-01-02 21:52:35 +01:00
Marco Cawthorne
8933452364
BotLib: Add a visual line indicator for the link you'll be making.
2021-01-02 21:31:56 +01:00
Marco Cawthorne
523b1df3de
Client: Move text-menus into their own titles[] channel, so that they don't
...
overwrite other texts being printed and vice versa.
2021-01-02 21:22:56 +01:00
Marco Cawthorne
6638e7324d
BotLib: Improve the rendering of waypoints and radii, including highlights
...
for the nearest node.
2021-01-02 18:52:09 +01:00