Skip to content

DebugDrawLine grenade trails for spectators and practicing#1852

Merged
AdamTadeusz merged 2 commits intoNeotokyoRebuild:masterfrom
AdamTadeusz:342_showGrenadePathServerSide
Mar 18, 2026
Merged

DebugDrawLine grenade trails for spectators and practicing#1852
AdamTadeusz merged 2 commits intoNeotokyoRebuild:masterfrom
AdamTadeusz:342_showGrenadePathServerSide

Conversation

@AdamTadeusz
Copy link
Contributor

Description

Contrary to the name of the branch, all that we do server side is make sure the grenade projectile is transmitted to all players who want to see it, those being all spectators with cl_neo_grenade_show_path set to a value greater than 0, or everyone in the case of the cheat protected convar sv_neo_grenade_show_path being set to a value greater than 0. New segments of the path are added client side in the grenade projectile client think function.

Toolchain

  • Windows MSVC VS2022

@sunzenshen sunzenshen requested a review from a team March 17, 2026 04:29
@AdamTadeusz AdamTadeusz added Tournament Priority Issues to be prioritized for the upcoming NT;RE tournament labels Mar 17, 2026
@sunzenshen sunzenshen requested a review from a team March 18, 2026 07:50
@AdamTadeusz AdamTadeusz merged commit edb0214 into NeotokyoRebuild:master Mar 18, 2026
7 checks passed
@AdamTadeusz AdamTadeusz deleted the 342_showGrenadePathServerSide branch March 18, 2026 11:10
AdamTadeusz added a commit to AdamTadeusz/neo that referenced this pull request Mar 19, 2026
…ebuild#1852)

* working using debugdralines

* clamp and float and stuff
AdamTadeusz added a commit that referenced this pull request Mar 19, 2026
* Fix demoui smoother buttons being unreactive (#1842)

* Fix demoui smoother buttons being unreactive

* Fix wrong budget group

* Refactor

Improve code readability

* Server side second auto record command (#1855)

* working

* fix

* delay game_end to end of round

* not every comp game should necessarily be recorded

* rainfix

* Fix spec_next/prev not skipping dead players (#1856)

Fix a case where in server demos, spec_next/spec_prev does not correctly skip dead players.

* DebugDrawLine grenade trails for spectators and practicing (#1852)

* working using debugdralines

* clamp and float and stuff

* Fix env_sun being hidden when under the centre of view (#1839)

* Changing cl_neo_squad_hud_avatar_size updates star texture sizes immediately, also cl_neo_hud_centre convars (#1829)

* init

* also solve the woldpos marker centre sizes not updating automatically

* le epic linux fail

* maybe inline breaking it

* center -> centre, GetFloat, f

* HLTV Changes for a smoother demo watching experience (#1845)

* init

* cl_observercrosshair is only for roaming observer crosshair

* makes most of the new spectate commands work in hltv

* fix beacons too

* view offsets, userid to entindex properly

* neobotmanager ignore sourcetv, fix rest spectate commands

* crosshair assert when spectating dead players

* float, call spectateChecks function

* gpGlobals->maxClients

* nits plus quick fixes plus viewmodel is really dark in stvdemos which i only now noticed

* don't move lighting origin of weapons attached to players

* should probably define this string somewhere else at this point

* revert changes to hud_crosshair trying to be smart about cl_observercrosshair

* Update src/game/shared/neo/neo_gamerules.cpp

Co-authored-by: DESTROYGIRL <toddlodyte44@outlook.com>

---------

Co-authored-by: DESTROYGIRL <toddlodyte44@outlook.com>

---------

Co-authored-by: Rainyan <Rainyan@users.noreply.github.com>
Co-authored-by: DESTROYGIRL <toddlodyte44@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Tournament Priority Issues to be prioritized for the upcoming NT;RE tournament

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants