Fixing the "telefrag chase" bug
Moderator: InsideQC Admins
2 posts
• Page 1 of 1
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...
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...
-

Orion - Posts: 476
- Joined: Fri Jan 12, 2007 6:32 pm
- Location: Brazil
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest