source-sdk-2013 icon indicating copy to clipboard operation
source-sdk-2013 copied to clipboard

[TF2] Uncomment attribute code for every commented out attribute

Open Drgregs-Marcus opened this issue 2 months ago • 2 comments

Various attributes in TF2's source code are disabled for seemingly no reason, and with additions such as VScript, the SDK itself, and trigger_add_or_remove_tf_player_attributes, there is no reason to keep them disabled. The full list of attributes this would re-enable: addperc_ondmgdone_tmpbuff override_hand_model_index mini_crit_airborne_deploy stickybomb_fizzle_time ammo_becomes_health mult_zoom_fov panic_attack

Additionally, there are three other attributes: disguise_speed_penalty, rj_air_bombardment, and set_charged_airblast. However, they no longer function and cause compilation errors, so those will remain disabled.

This would need to be accompanied by this pull request

Drgregs-Marcus avatar Nov 09 '25 22:11 Drgregs-Marcus

Seems like changes to tf_weapon_flamethrower.cpp only remove a bunch of spaces, and don't actually uncomment the code.

JoriKos avatar Nov 10 '25 16:11 JoriKos

Seems like changes to tf_weapon_flamethrower.cpp only remove a bunch of spaces, and don't actually uncomment the code.

The spaces removal was an accident, a small oversight when re-commenting out set_charged_airblast. I had to comment out set_charged_airblast again because it would cause compile errors and would potentially require more polish, such as HUD elements. If you want, you can make a separate pull request to fix set_charged_airblast, and I'll link it here. It would be a great help.

Drgregs-Marcus avatar Nov 10 '25 17:11 Drgregs-Marcus