Skip to content

Commit

Permalink
[Release]: v0.11.7b (#1054)
Browse files Browse the repository at this point in the history
  • Loading branch information
saibotk authored Aug 27, 2023
1 parent d513aa4 commit c0a717a
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 5 deletions.
11 changes: 7 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ All notable changes to TTT2 will be documented here. Inspired by [keep a changel

## Unreleased

## [v0.11.7b](https://github.com/TTT-2/TTT2/tree/v0.11.7b) (2022-08-27)

### Added

- Added a new font in default_skin.lua to fit the localization (by @Satton2)
- Fixed knife death effect being permanently applied on every following death
- Added `PANEL:MakeTextEntry(data)` to `DFormTTT2` for strings or string-backed cvars (by @EntranceJew)
Expand All @@ -19,7 +22,7 @@ All notable changes to TTT2 will be documented here. Inspired by [keep a changel
- `Kind` can now be overridden per-weapon (by @EntranceJew)
- `overrideDropOnDeath` now permits forcing weapons to be dropped instead of removed on death (by @EntranceJew)
- "Damage Scaling" editable under "Balance Settings" (by @EntranceJew)
- `vgui.CreateTTT2Form` passes the name on so that it can be accessed via `Panel:GetName()` (by @EntranceJew)
- `vgui.CreateTTT2Form` passes the name on so that it can be accessed via `Panel:GetName()` (by @EntranceJew)
- Added two GAMEMODE hooks to provide the ability for additional addons to extend role/equipment menus.
- `GM:TTT2OnEquipmentAddToSettingsMenu(equipment, parent)`
- Called after `ITEM:AddToSettingsMenu(parent)`.
Expand Down Expand Up @@ -144,7 +147,7 @@ All notable changes to TTT2 will be documented here. Inspired by [keep a changel

### Added

- Added four new Karma multipliers as role variables. They are applied **after** all other Karma calculations are done_
- Added four new Karma multipliers as role variables. They are applied **after** all other Karma calculations are done
- `ROLE.karma.teamKillPenaltyMultiplier`: The multiplier that is used to calculate the Karma penalty for a team kill
- `ROLE.karma.teamHurtPenaltyMultiplier`: The multiplier that is used to calculate the Karma penalty for team damage
- `ROLE.karma.enemyKillBonusMultiplier`: The multiplier that is used to calculate the Karma given to the killer if a player from an enemy team is killed
Expand Down Expand Up @@ -611,8 +614,8 @@ All notable changes to TTT2 will be documented here. Inspired by [keep a changel
### Added

- Added new convars to change the behavior of the armor
- `ttt_item_armor_block_headshots (default: 0)` - Block headshots. Thanks @TheNickSkater
- `ttt_item_armor_block_blastdmg (default: 0)` - Block blast damage. Thanks @Pustekuchen98
- `ttt_item_armor_block_headshots (default: 0)` - Block headshots. Thanks @TheNickSkater
- `ttt_item_armor_block_blastdmg (default: 0)` - Block blast damage. Thanks @Pustekuchen98
- Added essential items: 8 different types of items that are often used in other addons. You can remove them from the shop if you don't like them.
- Added server proxy for `EPOP:AddMessage()`
- Added `PrintMessage` overwrites so this function now uses TTT2 systems
Expand Down
84 changes: 84 additions & 0 deletions gamemodes/terrortown/gamemode/client/cl_changes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1303,6 +1303,90 @@ function CreateChanges()
</ul>
]], os.time({ year = 2022, month = 09, day = 25 }))

AddChange("TTT2 Base - v0.11.7b", [[
<h2>Added</h2>
<ul>
<li>Added a new font in default_skin.lua to fit the localization (by @Satton2)</li>
<li>Fixed knife death effect being permanently applied on every following death</li>
<li>Added <code>PANEL:MakeTextEntry(data)</code> to <code>DFormTTT2</code> for strings or string-backed cvars (by @EntranceJew)</li>
<li>Allow admin spectators to enter "Spawn Edit" mode. (by @EntranceJew)</li>
<li>Added cvar <code>ttt2_bots_lock_on_death</code> (default: 0) to prevent bots from causing log-spam while wandering as spectators. (by @EntranceJew)</li>
<li>Added <code>TTT2ModifyFinalRoles</code> hook for last minute opportunity to override role distribution prior to them being announced for the first time (by @EntranceJew)</li>
<li><code>weapon_tttbase</code>:</li>
<ul>
<li>Added <code>SWEP:ShouldRemove</code> to facilitate intercepting <code>SWEP:Remove</code> (by @EntranceJew)</li>
<li>Added <code>SWEP.damageScaling</code> for weapons that utilize <code>ShootBullet</code> (by @EntranceJew)</li>
</ul>
<li>Edit Equipment Menu</li>
<ul>
<li><code>AllowDrop</code> can now be overridden per-weapon (by @EntranceJew)</li>
<li><code>Kind</code> can now be overridden per-weapon (by @EntranceJew)</li>
<li><code>overrideDropOnDeath</code> now permits forcing weapons to be dropped instead of removed on death (by @EntranceJew)</li>
<li>"Damage Scaling" editable under "Balance Settings" (by @EntranceJew)</li>
</ul>
<li><code>vgui.CreateTTT2Form</code> passes the name on so that it can be accessed via <code>Panel:GetName()</code> (by @EntranceJew)</li>
<li>Added two GAMEMODE hooks to provide the ability for additional addons to extend role/equipment menus.</li>
<ul>
<li><code>GM:TTT2OnEquipmentAddToSettingsMenu(equipment, parent)</code></li>
<ul>
<li>Called after <code>ITEM:AddToSettingsMenu(parent)</code>.</li>
</ul>
<li><code>GM:TTT2OnRoleAddToSettingsMenu(role, parent)</code></li>
<ul>
<li>Called after <code>ROLE:AddToSettingsMenu(parent)</code></li>
</ul>
</ul>
</ul>
<h2>Changed</h2>
<ul>
<li><code>weapon_tttbase</code>:</li>
<ul>
<li>Removal of <code>SWEP.IronSightsTime</code> as it was completely unused and conflicts with a networked value intended for the same purpose</li>
<li>Commented-out default values for <code>SWEP.IronSightsPos</code> and <code>SWEP.IronSightsAng</code> to match vanilla TTT behaviour</li>
<ul>
<li>SWEPs can still use these names as normal, they just don't have a base value to inherit anymore</li>
</ul>
</ul>
<li>Updated Russian and English localization files (by @Satton2):</li>
<ul>
<li>Updated strings in English localization file</li>
<li>Localized outdated and new strings into Russian</li>
</ul>
<li>Updated all localization files (by @Satton2):</li>
<ul>
<li>Added missing and new strings</li>
<li>Marked (out-) updated strings</li>
<li>Removed some duplicated strings</li>
<li>Removed some old unused strings</li>
<li>Fixed some broken source strings (line names)</li>
</ul>
<li>Simplified Chinese and Traditional Chinese localization updates (by @sbzlzh):</li>
<ul>
<li>Update Simplified Chinese Translation</li>
<li>Improve translation (by @TheOnly8Z)</li>
</ul>
<li>Localization parameters for <code>{walkkey} + {usekey}</code> prompts made into the predominant style.</li>
</ul>
<h2>Fixed</h2>
<ul>
<li>Fixed hotreload of TTT2 roles library by a fresh reinitialization</li>
<li>Fixed a wrong localization line call in roles.lua (by @Satton2)</li>
<li>Fixed +zoom bind</li>
<li>Fixed ttt_quickslot command</li>
<li>Fixed an issue in <code>table.GetEqualEntryKeys</code> when nil is provided instead of a table. (by @sbzlzh):</li>
<ul>
<li>This fixes spawn problems on maps with invalid spawn points</li>
<li>This fixes errors in the F1 Menu language selection</li>
</ul>
<li>Fixed the check for dynamic armor being inverted (<code>1</code> disabled it, <code>0</code> enabled it)</li>
<li>Fixed two unmatched ConVars in performance menu (by @NickCloudAT)</li>
<li>Fixed Round End Scoreboard (Round Begin) error if a player disconnected while round with no score events (by @NickCloudAT)</li>
<li>Fixed behavior of <code>entspawn.SpawnRandomAmmo</code> to produce non-deagle ammo. (by @NickCloudAT, mostly)</li>
</ul>
]], os.time({ year = 2023, month = 08, day = 27 }))

---
-- 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 = "ttt2@neoxult.de"
GM.Website = "ttt.badking.net, docs.ttt2.neoxult.de"
GM.Version = "0.11.6b"
GM.Version = "0.11.7b"
GM.Customized = true

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

0 comments on commit c0a717a

Please sign in to comment.