// 1 = enable, 0 = disable. can thirdstrike sprite be seen through things solid?
// -
// Default: "0"
survivor_sprite_thirdstrike_through_things "0"
Forwards
Spoiler
PHP Code:
/**
* @brief Called when a normal sprite is about to show
*
* @param owner client index who own the sprite
* @param viewer client index who will see the sprite
*
* @return Plugin_Handled to block showing, Plugin_Continue otherwise
*/
forward Action SurvivorSprite_OnShowNormalSprite(int owner, int viewer);
/**
* @brief Called when a normal sprite is decided to show or not
*
* @param owner client index who own the sprite
* @param viewer client index who will see the sprite
* @param handled true if the showing is blocked
*
* @noreturn
*/
forward void SurvivorSprite_OnShowNormalSprite_Post(int owner, int viewer, bool handled);
/**
* @brief Called when a thirdstrike sprite is about to show
*
* @param owner client index who own the sprite
* @param viewer client index who will see the sprite
*
* @return Plugin_Handled to block showing, Plugin_Continue otherwise
*/
forward Action SurvivorSprite_OnShowThirdstrikeSprite(int owner, int viewer);
/**
* @brief Called when a thirdstrike sprite is decided to show or not
*
* @param owner client index who own the sprite
* @param viewer client index who will see the sprite
* @param handled true if the showing is blocked
*
* @noreturn
*/
forward void SurvivorSprite_OnShowThirdstrikeSprite_Post(int owner, int viewer, bool handled);
2.15 (2024-04-27:
-change default normal sprite style.
2.14 (2024-04-22:
-safer entity check in late load.
2.13 (2024-03-16:
-fix rare "client not in game" error.
2.12 (2024-03-15:
-remove unnecessary check to resetting sprites in frame callbacks.
2.11 (2024-03-01:
-minor improve.
2.10 (2024-02-22:
-fix sprite not showing in working elevator.
2.9 (2024-02-17:
-minor improve of code.
2.8 (2024-02-08:
-always show sprite when spectating the owner at thirdperson.
2.7 (2024-02-08:
-add forwards of sprite showing.
2.6 (2024-02-05:
-minor improve of code.
2.5 (2024-02-01:
-minor improve of sprite visibility check.
2.4 (2024-01-22 | rollback 2024-01-30:
-fix missing late load of infecteds of sprite visibility check.
2.3 (2023-12-27:
-increase StringToFloat buffer size.
2.2 (2023-12-23:
-improve sprite visibility check.
2.1 (2023-12-18:
-remove blur when sprites behind of walls. thank Marttt and Silvers for providing the method.
2.0 (2023-12-04:
-now you can custom render alpha of sprite.
-change cvar default values of normal sprite.
1.17 (2023-11-04:
-instantly remove sprites on player spawn/change team/death/change model.
1.16 (2023-10-20:
-instantly store cvars to variables after create them, to prevent sometimes using uninitialized variables before OnConfigsExecuted.
1.15 (2023-10-16:
-change default value of cvar "survivor_sprite_normal_model" to "materials/vgui/icon_arrow_down.vmt", avoid light changing cause the sprite been darker.
1.14 (2023-10-16:
-change default value of cvar "survivor_sprite_normal_color" to "0 255 0".
1.13 (2023-10-10:
-fix graphics glitch in invisible distance with survivor glow enabled.
1.12 (2023-10-09:
-improve sprite visibility.
1.11 (2023-10-09:
-fix sprite showing of ledge target.
1.10 (2023-10-08:
-no longer show sprite to players if their "view entity" not them self.
1.9 (2023-10-02:
improve performance of show pulse duration and interval.
change cvars of show pulse duration and interval, now set them lower than 0.1 to disable.
1.8 (2023-10-01:
improve model precache performance.
1.7 (2023-09-27:
minor improve of code.
1.6 (2023-09-26:
improve visibility of sprite, players and infecteds no longer block show.
1.5 (2023-09-22:
no longer show sprite in intro.
1.4 (2023-09-22:
survivor no longer block sprite show from another survivor.
1.3 (2023-09-22:
fix always attach thirdstrike sprite to bone and doesn't teleport if bone not set.
1.2 (2023-09-21:
remove un-used #defines and add engine version check, no longer load plugin in other games.
1.1 (2023-09-21:
init public release.
Please forgive, If I'm not describing it accurately. I use google translate
Functional tests are all from L4D1, and are only keen to solve and fix various bugs of L4D1: