feat(tf2): Upgrade tf2-nix

- Patch DeerHud.
- Install jump_noskillrequired.
- Use alternate explosion effects, from Mastercomfig.
This commit is contained in:
Madeleine Sydney
2025-04-13 04:20:09 -06:00
parent ceca77595c
commit 70aa5c6a6b
4 changed files with 172 additions and 9 deletions

View File

@@ -0,0 +1,80 @@
"WeaponData"
{
"printname" "#TF_Weapon_RocketLauncher"
"BuiltRightHanded" "0"
"weight" "3"
"WeaponType" "primary"
"ITEM_FLAG_NOITEMPICKUP" "1"
"Damage" "90"
"Range" "0"
"BulletsPerShot" "1"
"Spread" "0"
"PunchAngle" "0"
"TimeFireDelay" "0.8"
"TimeIdle" "0.8"
"TimeIdleEmpty" "0.8"
"TimeReloadStart" "0.1"
"TimeReload" "0.83"
"primary_ammo" "TF_AMMO_PRIMARY"
"clip_size" "4"
"default_clip" "4"
"ProjectileType" "projectile_rocket"
"HasTeamSkins_Viewmodel" "1"
"secondary_ammo" "None"
"bucket" "0"
"bucket_position" "0"
"ExplosionEffect" "electrocuted_blue_flash"
"ExplosionPlayerEffect" "ExplosionCore_sapperdestroyed"
"ExplosionWaterEffect" "electrocuted_blue_flash"
"ExplosionSound" "BaseExplosionEffect.Sound"
"anim_prefix" "gl"
"SoundData"
{
"single_shot" "Weapon_RPG.Single"
"burst" "Weapon_RPG.SingleCrit"
}
"TextureData"
{
"weapon"
{
"file" "sprites/bucket_rl"
"x" "0"
"y" "0"
"width" "200"
"height" "128"
}
"weapon_s"
{
"file" "sprites/bucket_rl"
"x" "0"
"y" "0"
"width" "200"
"height" "128"
}
"ammo"
{
"file" "sprites/a_icons1"
"x" "55"
"y" "60"
"width" "73"
"height" "15"
}
"crosshair"
{
"file" "sprites/crosshairs"
"x" "32"
"y" "32"
"width" "32"
"height" "32"
}
"autoaim"
{
"file" "sprites/crosshairs"
"x" "0"
"y" "48"
"width" "24"
"height" "24"
}
}
"classname" "tf_weapon_rocketlauncher"
}

View File

@@ -0,0 +1,49 @@
diff --git a/resource/ui/hudmediccharge.res b/resource/ui/hudmediccharge.res
index afbf45a..5b0cd3c 100644
--- a/resource/ui/hudmediccharge.res
+++ b/resource/ui/hudmediccharge.res
@@ -5,7 +5,7 @@
"ControlName" "ImagePanel"
"fieldName" "MeterBrackets"
"xpos" "cs-0.5"
- "ypos" "47"
+ "ypos" "3"
"zpos" "-5"
"wide" "156"
"tall" "20"
@@ -21,7 +21,7 @@
"ControlName" "CExLabel"
"fieldName" "ChargeLabel"
"xpos" "cs-0.5"
- "ypos" "50"
+ "ypos" "6"
"zpos" "3"
"wide" "90"
"tall" "15"
@@ -65,7 +65,7 @@
"ControlName" "CExLabel"
"fieldName" "IndividualChargesLabel"
"xpos" "c92"
- "ypos" "44"
+ "ypos" "0"
"zpos" "2"
"wide" "90"
"tall" "30"
@@ -87,7 +87,7 @@
"fieldName" "ChargeMeter"
"font" "Default"
"xpos" "cs-0.5"
- "ypos" "50"
+ "ypos" "6"
"zpos" "2"
"wide" "150"
"tall" "14"
@@ -107,7 +107,7 @@
"fieldName" "ChargeMeter1"
"font" "Default"
"xpos" "c-75"
- "ypos" "52"
+ "ypos" "8"
"zpos" "2"
"wide" "36"
"tall" "10"