【趣味娱乐插件】霓虹灯光束 受精卵级别! 趣味内容 游戏性拓展

MissYou 赞助用户组 2023-2-4 668

[ttreply]特征:

  • 最大光束:
    - 避免在一个可见区域生成超过 700 个(CSGO 粒子 - 客户端崩溃)或 2,000 个(L4D2 - 缓冲区错误,请参见屏幕截图 2)。
    - 在窗口模式下,客户端可以生成 60,000 个光束/粒子,但地图将开始消失。
    - 崩溃:全屏客户端将使用更少的光束或粒子崩溃。这就是为什么我添加了 cvar 来设置它们的最大限制。
  • 绘画:
    - VIP命令每秒生成临时光束(由neon_paints cvar控制)在你的十字准线瞄准的线上。
  • 预设:
    - 创建预设以一次保存和加载多个光束/粒子。被迫在具有特定角度的平坦墙上创建,因为其他表面会错位。
    - 所有预设名称必须是唯一的。必需:将文件名和预设名称中的空格替换为下划线。
    - 请创建和共享自定义预设!有关各种预设和屏幕截图,请参阅下面的帖子#2
    - “Marttt”提供字母和数字的额外配置预设 此处.
  • 保存到地图:
    - 在回合开始时自动生成保存到地图的单个光束和预设。
    - cvar neon_late控制是否在回合开始后连接的新客户端单独发送保存的光束。
    - 在 (neon_cfg_load) 秒后,每 32.0 秒 (neon_cfg_time) 加载 2 (neon_cfg_max) 根光束。
  • 自定义光束颜色:
    - 您可以通过编辑 \addons\sourcemod\data\neon\menu.cfg 配置来定义菜单中使用的 RGB 颜色列表。
  • 粒子:
    - 使用自定义粒子/材质的游戏可以创建 10 个粒子(L4D2 使用 37 个内置粒子),具有与标准光束相同的功能。它们的颜色无法更改。

管理命令:

  • 需要“z” - ADMFLAG_ROOT标志
  • sm_neon             // Open the main menu for Neon Beams.
    sm_neon_temp        // Menu to spawn temporary Beams at your crosshair.
    sm_neon_save        // Menu to spawn and save Beams at your crosshair.
    sm_neon_preset      // Create or edit a preset with Beams: sm_neon_preset <config file/preset name>.
    sm_neon_preset_temp // Opens the Preset menu list, to spawn temporary presets.
    sm_neon_preset_save // Opens the Preset menu list, allowing you to save them to the map.
    sm_neon_preset2     // Create or edit a preset with particles (if game supports). Usage: sm_neon_preset2 <config file/preset name>.
    sm_neon_save2       // Menu to spawn and save particles (if game supports) at your crosshair.
    sm_neon_temp2       // Menu to spawn temporary particles (if game supports) at your crosshair.
    
    sm_neon_point       // Menu to spawn temporary Beams from your eye location. Usage: sm_neon_point [optional range from eyes]
    sm_neon_point2      // Menu to spawn temporary Particles from your eye location. Usage: sm_neon_point2 [optional range from eyes]
    sm_neon_points      // Menu to spawn save Beams from your eye location. Usage: sm_neon_points [optional range from eyes]
    sm_neon_points2     // Menu to spawn save Particles from your eye location. Usage: sm_neon_points2 [optional range from eyes]
    sm_neon_preset_eye  // Opens the Preset menu list, spawns them from your eye location. Usage: sm_neon_preset_eye [optional range from eyes]
    sm_neon_preset_eyes // Opens the Preset menu list, spawns them from your eye location and saves to map. Usage: sm_neon_preset_eyes [optional range from eyes]
    
    sm_neon_delpre      // Remove the last saved beam from the currently selected preset. Or delete a preset config, usage: sm_neon_delpre <preset name>
    sm_neon_del         // Remove the last placed preset or beam from the saved map config (regardless of who placed it).
    sm_neon_wipe        // Delete all beams and presets saved to the current maps config.
    sm_neon_load        // Reloads the Preset and current Map configs, used to refresh the plugin after manual changes to the data config file.
    sm_neon_overload    // Overrides the duplicate load prevention, and loads the auto spawn data config for the current map.
    sm_neon_stats       // Shows details about how many beams were spawned and how long it took etc. 

贵宾命令:

  • 需要“o” - ADMFLAG_CUSTOM1标志
  • 您可以覆盖命令以更改用户访问权限
sm_neon_paint       // Menu to start and stop painting (continuous spawning of beams) with color selection.
sm_neon_paint2      // Menu to start and stop painting (continuous spawning of particles) with color selection. 

ConVars:

  • 保存到服务器 \cfg\sourcemod\ 文件夹中的neon_beams.cfg
// 0=Plugin off. 1=Plugin on.
neon_allow "1"

// 0.0=Off. After round start and all connected players have spawned, wait this long before spawning beams and particles saved to map.
neon_cfg_load "5.0"

// Max beams and particles to load in 1 frame. More than 32 cannot be loaded at once due to engine limitations.
neon_cfg_max "32"

// If beams or particles are deleted on round restart you can enable them to load here. 0=None. 1=Load beams on round_start. 2=Load particles on round_start. 3=Both.
neon_cfg_round "2"

// Interval to wait before loading the next set of beams and particles.
neon_cfg_time "0.2"

// Distance from the wall to spawn beams, particles and presets.
neon_distance "1.5"

// 0=Off. 1=Send clients the saved beams map data when joining after round start. 2=Send particles (attempts to hide from others). 3=Both.
neon_late_load "3"

// The sprite halo used for beams.
neon_mat_halo "materials/sprites/glow.vmt"

// The sprite material used for beams.
neon_mat_sprite "materials/sprites/laserbeam.vmt"

// Maximum number of beams allowed on the map.
neon_max_beams "768"

// Maximum number of particles allowed on the map.
neon_max_parts "768"

// Transparency of beams. 0=Invisible. 255=Solid.
neon_opacity "128"

// Interval between each paint.
neon_paints "0.5"

// Width of beams.
neon_size "2" 

配置路径:

  • 插件数据保存到 \addons\sourcemod\data\neon\ 文件夹中。

    预设/映射配置中的所有注释都将丢失。如果插件保存数据并且未通过命令重新加载配置,则手动更改将丢失。

    要使手动更改生效,您必须:
    A) 使用此命令sm_neon_load
    B) 重新加载插件。
    C) 更改地图。

已知问题:

  1. (无修复)发动机在 32 帧内只能加载 1 根梁。如果您真的认为其他插件存在冲突(例如示踪器),并阻止加载某些光束,您可能需要考虑降低 cvar neon_cfg_max。您可能只需要增加neon_cfg_time cvar,如果某些保存的梁在round_start后首次加载时未出现。
  2. (无修复)放置梁/粒子后无法将其移除,因为实体已被删除。只有更改地图或重新启动回合才能清除它们(取决于游戏)。
  3. (无修复)Linux:为延迟加载客户端创建的粒子不会被隐藏,它们将被发送给每个人并堆叠。带有 SetTransmission 和 FL_EDICT_ALWAYS 的 Linux 错误。
  4. (无修复)客户端看不到在 alt 制表符过程中创建的梁。
  5. (不会修复)仅限专用服务器,我不支持侦听服务器。
  6. (不会修复)当多个插件同时生成预设或数组时,当服务器生成已经在进行时,它们将无法加载数据。硬修复:使用异步方法对数据进行排队。
  7. (错误)在不垂直且与地图成 0,90,180,270 度对齐的倾斜表面或墙壁上创建预设将未对齐。当前修复仅允许在所需的墙壁上创建预设。不知道如何解决。问题 iirc 是最有可能来自位置设置和旋转矩阵的小错位。
  8. (错误)在倾斜表面上生成的某些预设无法正确对齐该表面坡度,或者生成时与玩家视图略微偏离 90 度。不知道如何解决。可能使用跟踪船体或多个跟踪来查找平均表面角度。
  9. 对于未经测试的游戏,round_start上的生成光束可能会失败,请请求支持。
  10. 可能有其他错误,请报告。多年来,我尽可能多地测试。

安装:

  1. 下载.zip并将文件解压缩到服务器\插件\源mod\文件夹中的相应文件夹中。
  2. 对于自定义粒子(不是 L4D/2),请下载.zip并将 \material\  \particles\ 文件夹提取到服务器主游戏文件夹中。
  1. 可选:从下面的帖子 #2 下载预设并解压缩到您的服务器 \addons\sourcemod\data\neon\presets\ 文件夹。
  2. 可选:通过“Marttt”从下面的帖子 #32 下载预设,提供字母和数字。

[/ttreply]

上传的附件:

CSGO插件分享-申明 1、本网站名称:CSGO插件分享-中文站  网址:https://bbs.csgocn.net
2、本站的宗旨在于为CSGO玩家提供一个插件分享的中文资源平台,多数插件来源于SourceMod论坛,并配以中文介绍和安装教程。
3、欢迎有能力的朋友共享有趣的CSGO插件资源。
4、本站资源大多为百度网盘,如发现链接失效,可以点: 这里进行反馈,我们会第一时间更新。
最新回复 (1)
返回