插件开发

l4d_random_beam_item:随机光柱物资

地图随机点位生成带光柱的惊喜物资。

娱乐插件:在地图随机点位生成带光柱标记的物资(武器/道具),鼓励探图。生成规则由配置控制。

文件位置

项目路径
插件文件plugins/extend/l4d_random_beam_item.smx
源码addons/sourcemod/scripting/extend/l4d_random_beam_item.sp

命令一览

命令类型权限说明
sm_beamadd管理员ADMFLAG_ROOTAdd a beam (with default config) to entity at crosshair.
sm_beaminfo管理员ADMFLAG_ROOTOutputs to the chat the beam info about the entity at your crosshair.
sm_beamreload管理员ADMFLAG_ROOTReload the beam configs.
sm_beamremove管理员ADMFLAG_ROOTRemove plugin beam from entity at crosshair.
sm_beamremoveall管理员ADMFLAG_ROOTRemove all beams created by the plugin.
sm_print_cvars_l4d_random_beam_item管理员ADMFLAG_ROOTPrint the plugin related cvars and their respective values to the console.

聊天中输入 !命令名(去掉 sm_ 前缀)等价于控制台命令。