hermansimensen / eventqueue-fix

Replaces general event queue found within Source-engine games with a lag-resistant event queue per player entity
GNU General Public License v3.0
19 stars 7 forks source link

Odd side effect #9

Closed sneak-it closed 3 years ago

sneak-it commented 3 years ago

Just fired up a new map that has just come out, and noticed a strange side effect of the plugin. The map has teleport trigger entities with these kv's:

{
"model" "*79"
"UseLandmarkAngles" "1"
"target" "stage4"
"StartDisabled" "0"
"spawnflags" "1"
"origin" "0 2480 641"
"classname" "trigger_teleport"
"hammerid" "92429"
"OnStartTouch" "!activatorRunScriptCodeself.SetVelocity(Vector(0, 0, self.GetVelocity().z > 0 ? 0 : self.GetVelocity().z));0-1"
}

With the plugin enabled, players can telehop. With the plugin disabled, they no longer can. No error logs. Definitely has to do with the OnStartTouch kv, which is supposed to nullify the players speed upon teleport.

Here's the map in question: https://gamebanana.com/mods/307088

hermansimensen commented 3 years ago

This should be working properly now.