ff7ce15399
SV_ParseClientCommand: Forgot to pass the default case over to clientcommand(). That is now fixed.
2022-12-22 16:29:02 -08:00
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
2d911109cc
trigger_relay: Set m_iValue so that multisources will work properly that get targetted by them
...
trigger_auto: Delay the trigger of them in singleplayer until 1 player has joined
Misc cleanups. The 'Janitor Simulator' on TWHL should work now.
2022-12-14 16:51:16 -08:00
56ec44700a
Lots of cleanup related to many entity classes to aid doxygen with generating documentation.
2022-12-06 15:04:07 -08:00
74b61f35ed
Print a warning + backtrace when we manually call remove() on an entity that hasn't been destroyed properly.
2022-11-30 16:47:24 -08:00
29a1bea943
Misc consistency cleanups
2022-11-22 22:37:07 -08:00
5f126516c6
Server: Add new global g_dmg_vecLocation, which gives an approximate damage impact location.
2022-11-11 15:04:11 -08:00
298ba7a041
NSTraceAttack: offset decals a little when placing them near a wall so they don't count as inside of them on certain angles.
2022-11-10 17:21:56 -08:00
003bc5d88a
Removal of Footsteps_Update outside of NSClientPlayer. Mods now have the full ability to override steps within the player class. Method name subject to change.
2022-11-01 19:54:56 -07:00
843dcc8284
Kill src/client/player.qc. We now have overridable methods dedicated for updating player animations, attachments and more inside NSClientPlayer.
...
Some of these APIs are still subject to change but they're being deployed in TW 1.35 right now.
2022-11-01 19:12:40 -07:00
2945e1f65d
Add support for Source Engine decal groups (scripts/decals.txt).
2022-10-27 20:04:11 -07:00
f01e90ad2e
Merge material property definitions into the surfaceproperties system to streamline
...
everything more and to allow level designers custom properties without recompiling
the game-logic. This will also make it more Source Engine compatible.
2022-10-15 22:43:32 -07:00
db2d3b1730
Get rid of hlmaterials.qc by making the look-up happen fully within NSMaterial.qc as part of the newly unified material routines.
...
There's also a new file (hlmaterials.txt) that is subject to change which will allow you
to add many custom material definitions without hard-coding a thing. Which fixes conflicts between different GoldSrc games.
2022-10-15 20:32:40 -07:00
7ad6d9c457
Make games buildable again, caused by renaming Spraylogo and GameRules classes/files.
2022-10-14 15:49:59 -07:00
e499a7d484
Documented the Nuclide System (NS) classes.
2022-10-14 13:08:47 -07:00
d4ce7cb8c2
Documentation: started documenting all the functions in src/server/entry.qc
2022-10-10 12:30:31 -07:00
1bb1f03167
Tweak item_pickup/drop behaviour a little
2022-08-27 22:07:03 -07:00
517614fd37
Major overhaul that'll make savegames a lot better. Every entity we implement should have a Save/Restore function.
...
AI noes recalculates their route in case of a loaded savegame... And much more.
2022-08-10 14:24:06 -07:00
5ca96bbcd9
Add helpers across the codebase to deal with networking ents. I tried prototyped a more elegant solution the compiler didn't like - the language should really deal with this.
2022-08-07 14:12:55 -07:00
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
197ce20c31
BotLib: Start making use of some of NSNavAI
2022-07-20 16:27:24 -07:00
2a220fb331
Move base classes out of gs-entbase. This evolution only happened because classes such as CBaseMonster that once existed were replaced and it grew from there.
...
Tweak g_developer prints for scripted_sequences.
2022-07-19 15:22:15 -07:00
f6ecc97fca
Server: Ignore scripted_sequences when building nodes. This was a wrong assumption.
2022-07-18 11:39:57 -07:00
0ae901f5e1
NSMonster: Add InAnimation() method. Also prohibit movement when in an animation.
2022-07-18 09:22:18 -07:00
0d2e0627d4
Server: Added quick-and-dirty 'spawn' command. E.g. 'sv spawn monster_laidlaw'
2022-07-17 20:45:50 -07:00
878df0941e
Cleanup for some CGameRules method types. Moved some Util_ functions into their own file.
2022-07-16 15:11:33 -07:00
c3be8002ad
add noref to g_mapcycle_override, to avoid an unnecessary compiler warning
2022-07-16 13:16:23 -07:00
220b424e33
Fix some misc Damage_Apply calls in really old parts of the code. Add more useful PlayerConnect/PlayerDisconnect methods into the base gamerules.
2022-07-14 18:04:11 -07:00
2735bd26f6
Server: Add cvar 'mp_foosteps', which only works in multiplayer. Hence the name.
2022-07-09 19:47:44 -07:00
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
8d16c58862
NSTraceAttack: Deal better with recursion by taking damage into account on whether or not we should continue 'penetrating'
2022-06-20 23:35:24 -07:00
7632d0debd
Mapcycle: add Mapcycle_Load(), which will allow modes to suggest their own mapcycle. Subject to change.
2022-06-20 11:46:29 -07:00
9ef275a2ac
NSTraceAttack: Fix typo
2022-06-17 07:35:25 -07:00
b51541a3ae
NSTraceAttack: Check if we're a client before making the assumptions that our owner class has attributes related to bullet patterns
2022-06-16 14:39:08 -07:00
6982043380
Added NSInteractiveSurface. Make voting display which bindings to press for yes/no.
2022-06-04 14:09:50 -07:00
a463498f60
Huge cleanup. Add initial code for the revamped material definition system.
2022-06-01 17:38:52 -07:00
bb2b7dbddf
NSClient: add method UpdateAliveCam()
...
UITextbox: Misc polish regarding text entry
GLSL: Detail pass support for some materials
2022-05-15 13:32:53 -07:00
25c54af62c
Spring cleaning part one.
2022-05-11 12:49:04 -07:00
c5b2107abf
ambient_generic: Implement support for playing back Sentences.
2022-05-04 21:31:37 -07:00
cdfae26413
ambient_generic: Restructure and network more efficiently.
...
Client: add support for modelevent 1008 (CHAN_VOICE sound) and 1005 (plays Sentence)
2022-04-30 14:02:25 -07:00
59d46e1f63
New class: NSTraceAttack. Will make it much easier for games/mods to overrides parts of it.
2022-04-29 23:45:00 -07:00
0acdadefb0
GameRules: IntermissionEnd() will now unset itself to avoid multiple calls.
2022-04-29 15:19:31 -07:00
94679f3a3f
SprayLogo: Add "player.spraylogo" soundDef call instead of sound().
2022-04-28 12:34:28 -07:00
9030ad82d9
Base_Player: Make sure disconnected clients get removed from other clients.
...
Menu-FN: Clear Rich-presence when no longer in a game.
2022-04-26 11:22:12 -07:00
2d403202b9
Avoid use of infokeys to communicate whether or not a client is spectating.
2022-04-25 15:25:35 -07:00
659be3db46
TraceAttack: Add case for when a weapon with a penetrationpower of 2 might have a fall-off.
2022-04-24 17:24:49 -07:00
27308ff1f4
env_sprite: Fix predraw for modelindex based entities.
...
TraceAttack: Add TraceAttack_SetRangeModifier(). This will enable CS-like bullet penetration behaviour.
2022-04-24 00:23:38 -07:00
6ec35387ae
TraceAttack: GoldSrc its blood color is a bit darker.
2022-04-23 22:34:10 -07:00
7395b8d421
Gamerules: exception for friendlyfire when it comes to self
...
point_message: make messages appear through entities, as they may be translucent.
Fixed a minor warning.
2022-04-21 18:50:21 -07:00
8814c66d1f
Merge pull request #3 from cyber-bridge/master
...
Fix bug where dropped items shouldn't be respawned.
2022-04-20 23:51:14 +02:00