Orion

Joined: 12 Jan 2007 Posts: 413 Location: Brazil
|
Posted: Wed May 16, 2007 11:43 pm Post subject: Fixing the "telefrag chase" bug |
|
|
Hi.
I've found this bug on QIP, that's when you chase an enemy through a teleporter, you or both get telefragged.
I've discovered why this happens: is because the teledeath entity is removed after 0.2 seconds, so if you chase an enemy and teleport to the destination before 0.2 seconds are up, then you'll get telefragged.
To fix the bug, open triggers.qc and find spawn_death() at line 343.
Just set the nextthink to 0.01 and you're ready!
Don't worry if the nextthink is 0.01, in 0.01 second or more time after your enemy teleported, YOU will telefrag him istead of you getting telefragged, and one won't get stuck to the other.
But can happen something weird if you're glued at your enemy, if both teleport at same time, dunno if you, your enemy or both get telefragged... _________________ There's no signature here. Stop looking for one. |
|