Skip to content

Commit

Permalink
Release-0.11.0 (#925)
Browse files Browse the repository at this point in the history
Release-0.11.0
  • Loading branch information
ZenBre4ker authored Nov 15, 2021
1 parent 98499cb commit 1f21b67
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ All notable changes to TTT2 will be documented here. Inspired by [keep a changel

## Unreleased

## [v0.11.0b](https://github.com/TTT-2/TTT2/tree/v0.11.0b) (2021-11-15)

### Added

- Added the hook `GM:TTT2CalledPolicingRole` that is called after all policing role players were called to a corpse
Expand Down Expand Up @@ -35,7 +37,7 @@ All notable changes to TTT2 will be documented here. Inspired by [keep a changel
- `REVIVAL_BLOCK_NONE`: don't block the winning condition during the revival process [default, previously `nil`/`false`]
- `REVIVAL_BLOCK_AS_ALIVE`: only block the winning condition, if the player being alive would change the outcome [previously `true`]
- `REVIVAL_BLOCK_ALL`: block the winning condition until the revival process is ended
- the old arguments still work, they are automaticvally converted
- the old arguments still work, they are automatically converted
- Changed logs folder to `terrortown/logs/` to be inline with everything else
- Added more role agnostics
- voice drain rate is now no longer bound to Detectives but to all public policing roles
Expand Down
61 changes: 61 additions & 0 deletions gamemodes/terrortown/gamemode/client/cl_changes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1121,6 +1121,67 @@ function CreateChanges()
</ul>
]], os.time({ year = 2021, month = 10, day = 29 }))

AddChange("TTT2 Base - v0.11.0b", [[
<h2>Added</h2>
<ul>
<li>Added the hook <code>GM:TTT2CalledPolicingRole</code> that is called after all policing role players were called to a corpse</li>
<li>Added all TTT2 convars into the F1 menu</li>
<ul>
<li>most convars are located in the <code>administration</code> menu</li>
<li>equipment specific settings can be found in the <code>edit equipment</code> menu</li>
</ul>
<li>Added icon to the magneto stick</li>
<li>Added the function <code>AddToSettingsMenu</code> to both <code>SWEP</code> and <code>ITEM</code> to add settings to the equipment menu</li>
<li>Added the role flag <code>.isOmniscientRole</code>; if set to true the role is able to see missing in action players and the haste mode time</li>
<li>Added <code>GM:TTT2ModifyOverheadIcon</code> to add, remove or modify the overhead icons of players</li>
</ul>
<h2>Fixed</h2>
<ul>
<li>Fixed that every policing player could be called to a corpse, this is now again restricted to alive only players</li>
<li>Fixed inconsistency between <code>.disabledTeamChatRecv</code> and <code>.disabledTeamChatRec</code></li>
<li>Fixed non-public policing roles having hats and therefore confirming them</li>
<li>Fixed triggered spawns on maps like <code>ttt_lttp_kakariko_a5</code> with the vases and <code>ttt_mc_jondome</code> with the chests</li>
<li>Fixed roleselection layering with base roles to ensure layer order is considered correctly when selecting roles</li>
<li>Fixed hotreloading items</li>
<li>Fixed random playermodel selection on map change not working</li>
<li>Fixed <code>ply:Give</code> sometimes picking up all surrounding weapon entities, if auto pickup is enabled</li>
<li>Fixes weapon pickup sometimes causing floating weapons</li>
<li>Fixes weapon pickup sometimes failing if a weapon with the same class as a weapon in the inventory should be picked up</li>
</ul>
<h2>Changed</h2>
<ul>
<li>All public policing roles now appear as detectives in the chat</li>
<li>Change blocking revival mode from <code>true</code>/<code>false</code> to</li>
<ul>
<li><code>REVIVAL_BLOCK_NONE</code>: don't block the winning condition during the revival process [default, previously <code>nil</code>/<code>false</code>]</li>
<li><code>REVIVAL_BLOCK_AS_ALIVE</code>: only block the winning condition, if the player being alive would change the outcome [previously <code>true</code>]</li>
<li><code>REVIVAL_BLOCK_ALL</code>: block the winning condition until the revival process is ended</li>
<li>the old arguments still work, they are automatically converted</li>
</ul>
<li>Changed logs folder to <code>terrortown/logs/</code> to be inline with everything else</li>
<li>Added more role agnostics</li>
<ul>
<li>voice drain rate is now no longer bound to Detectives but to all public policing roles</li>
<li>Karma multiplier is now no longer bound to Detectives but to all public policing roles</li>
<li>all non-innocent roles are now able to pin ragdolls if enabled (previous only Traitors could do this)</li>
</ul>
<li>Overhead icons are now also either colored black or white depending on the role's color</li>
</ul>
<h2>Breaking Changes</h2>
<ul>
<li>Renamed some convars to be inline with our <code>opt-in style</code>, all values were changed so that the default value is kept</li>
<ul>
<li><code>ttt_no_prop_throwing</code> is now <code>ttt_prop_throwing</code></li>
<li><code>ttt_limit_spectator_chat</code> is now <code>ttt_spectators_chat_globally</code></li>
<li><code>ttt_no_nade_throw_during_prep</code> is now <code>ttt_nade_throw_during_prep</code></li>
<li><code>ttt_armor_classic</code> is now <code>ttt_armor_dynamic</code></li>
</ul>
</ul>
]], os.time({ year = 2021, month = 11, day = 15 }))

---
-- run hook for other addons to add their changelog as well
-- @realm client
Expand Down
2 changes: 1 addition & 1 deletion gamemodes/terrortown/gamemode/shared/sh_init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ GM.Name = "TTT2 (Advanced Update)"
GM.Author = "Bad King Urgrain, Alf21, saibotk, Mineotopia, LeBroomer, Histalek, ZenBre4ker"
GM.Email = "[email protected]"
GM.Website = "ttt.badking.net, docs.ttt2.neoxult.de"
GM.Version = "0.10.3b"
GM.Version = "0.11.0b"
GM.Customized = true

TTT2 = true -- identifier for TTT2. Just use "if TTT2 then ... end"
Expand Down

0 comments on commit 1f21b67

Please sign in to comment.