Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
Update 1.1.0
Browse files Browse the repository at this point in the history
Added a config system for unusual taunts
Newly joined players can see already sent tempent particles
Unusual taunts are only translated in english
  • Loading branch information
x07x08 authored Apr 15, 2022
1 parent 7c3c818 commit 661c08d
Show file tree
Hide file tree
Showing 3 changed files with 449 additions and 57 deletions.
138 changes: 138 additions & 0 deletions addons/sourcemod/configs/econtaunts/taunts.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
// "EconTaunts" - do not change it at all
// Possible keyvalues for each particle attribute ID :
//
// "disabled" - blocks the unusual taunt (a 1 or a 0)
//
// "refire interval" - emits the particle again every set amount of time (in seconds)
//
// "use particle system" - uses an info_particle_system instead of the default "tf_wearable + tempent" combo (a 1 or a 0);
// might be better in some (or most) cases, but it does not seem to fix particle leftovers
//
// The refire intervals have been taken from "items_game.txt" ("taunt_unusual_effects" section)
//
// For now, only one of 2 issue will give a taunt the "disabled" keyvalue :
//
// Bad parenting - the taunt particle will move alongside the player instead of being motionless;
// this is likely happening because of not having the "EF_BONEMERGE_FASTCULL" flag in the tf_wearble entity (to fix positioning issues)
//
// Particle leftovers - the particle is not fully stopped; might be caused by the particle itself
//
// Change anything only if you know what you are doing. Stuff might break

"EconTaunts"
{
"3001"
{
"refire interval" "2.6"
}

"3002"
{
"refire interval" "2.6"
}

"3010"
{
"refire interval" "0.9"
}

"3020"
{
"refire interval" "5.25"
}

"3014"
{
"disabled" "1" // Particle leftovers
}

"3015"
{
"disabled" "1" // 3014 clone
}

"3016"
{
"disabled" "1" // 3015 clone
}

"3021"
{
"disabled" "1" // Particle leftovers
}

"3022"
{
"disabled" "1" // 3021 clone
}

"3044"
{
"disabled" "1" // Particle leftovers and bad parenting
}

"3045"
{
"disabled" "1" // 3044 clone
}

"3046"
{
"disabled" "1" // Bad parenting
}

"3047"
{
"disabled" "1" // 3046 clone
}

"3048"
{
"disabled" "1" // 3047 clone
}

"3049"
{
"disabled" "1" // Particle leftovers
}

"3050"
{
"disabled" "1" // 3049 clone
}

"3059"
{
"disabled" "1" // Particle leftovers and bad parenting
}

"3060"
{
"disabled" "1" // 3059 clone
}

"3073"
{
"disabled" "1" // Bad parenting
}

"3074"
{
"disabled" "1" // 3073 clone
}

"3075"
{
"disabled" "1" // 3074 clone
}

"3076"
{
"disabled" "1" // 3075 clone
}

"3087"
{
"disabled" "1" // Bad parenting
}
}
Binary file modified addons/sourcemod/plugins/TF2EconTaunts.smx
Binary file not shown.
Loading

0 comments on commit 661c08d

Please sign in to comment.