Garry's Mod

Garry's Mod

440 个评价
Halo Chapter Titles
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 快乐, 角色扮演
文件大小
发表于
更新日期
383.474 KB
2024 年 5 月 16 日 下午 12:58
2024 年 5 月 18 日 上午 11:37
3 项改动说明 ( 查看 )

订阅以下载
Halo Chapter Titles

描述
A simple addon which both adds a console command to display a chapter title in the style of Halo CE/2/3, and also makes them display in that style when spawning on any singleplayer maps of Half-Life 2 + episodes. (and also Portal 2)

Convars
  • sv_vhalo_chaptertitles_nobars 0/1 (default 0) -- Disables the black bars, for a more Halo 2 style chapter title.
  • sv_vhalo_chaptertitles_nospawntitles 0/1 (default 0) -- Disable a randomized chapter title from being played any time you respawn.

Map Support
If you are making your own maps and want to utilize this system, there are two custom functions which you can run:
  • Shared: CETitles_AddMap("mapname", "text you want") -- Adds a text which will display when a player spawns specifically on that map.
  • Serverside/Map lua: HaloCEChapterTitle("text") -- Triggers the chapter title system and will display the supplied text.

For server operators, the console command is locked behind an :IsAdmin() check on the player, this is validated both client & serverside so there is no way for exploited clients to get around it. The console command itself exists in both the client & the server realm. So you can either pass the :IsAdmin() check, or rcon the command.


If you need immediate help with this addon, or just want to know what I'm working on or etc, then consider joining my Discord[discord.gg] server.
69 条留言
Yorch 11 月 12 日 下午 3:23 
how should i name the serverside/map lua to make it work?
KennySpaceMafia 7 月 7 日 下午 12:50 
Oh, alright. I don't really know how to use functions (or any type of lua or mapmaking stuff), so sorry about that.
Vuthakral  [作者] 7 月 1 日 下午 6:37 
If you read the description you can see there's a lua function that does exactly that.
KennySpaceMafia 7 月 1 日 下午 6:02 
Is there a feature where you could add titles to the addon itself (Not the existing Halo ones) so you can see custom titles when you spawn without having to use the chaptertitle command? Thanks in advance.
Ghostface 1 月 16 日 下午 6:17 
will there be added support for the half life source maps as well?
Kagarine 2024 年 11 月 1 日 上午 11:56 
would typing the command to change the chapter title be permanent on my server ? Kind of a noob, just wanting to know if everytime i restart my dedicated server i'd need to retype the command again
PersonofInter 2024 年 10 月 18 日 上午 4:52 
Mb, meant act_dance related mods and vanilla
Vuthakral  [作者] 2024 年 10 月 17 日 下午 4:48 
I've never had anyone report any issues to me, so I had no knowledge of this to fix it. If you can share more info as to what mod(s) there is an issue with I will look into fixing that.
PersonofInter 2024 年 10 月 17 日 上午 8:06 
@Vuthakral The base has issues regarding 3rd person mods that does not use Draconic...
It may or may not be patched yet, it was an issue I discovered about a year ago.
Boomerang Monkey 2024 年 10 月 17 日 上午 6:41 
Oh, alright. Thanks for responding, anyway. :steamthumbsup: