Garry's Mod

Garry's Mod

431 ratings
Halo Chapter Titles
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
383.474 KB
16 May, 2024 @ 12:58pm
18 May, 2024 @ 11:37am
3 Change Notes ( view )

Subscribe to download
Halo Chapter Titles

Description
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.
68 Comments
KennySpaceMafia 7 Jul @ 12:50pm 
Oh, alright. I don't really know how to use functions (or any type of lua or mapmaking stuff), so sorry about that.
Vuthakral  [author] 1 Jul @ 6:37pm 
If you read the description you can see there's a lua function that does exactly that.
KennySpaceMafia 1 Jul @ 6:02pm 
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 16 Jan @ 6:17pm 
will there be added support for the half life source maps as well?
Kagarine 1 Nov, 2024 @ 11:56am 
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 18 Oct, 2024 @ 4:52am 
Mb, meant act_dance related mods and vanilla
Vuthakral  [author] 17 Oct, 2024 @ 4:48pm 
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 17 Oct, 2024 @ 8:06am 
@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 17 Oct, 2024 @ 6:41am 
Oh, alright. Thanks for responding, anyway. :steamthumbsup:
Vuthakral  [author] 16 Oct, 2024 @ 2:49pm 
Known issue, unknown cause. Playing on the 64bit branch prevents this issue from happening. This only happens for some people and I truthfully do not know how nor why it does, but playing on the 64bit branch has sidestepped the issue for everyone who does experience it.