Edited for simplicity after some discoveries.
The straferight and use events seem to be somehow linked. Any commands executed in the straferight event also appear to be executed in the use event automatically, even though no code has been setup for use.
Page 1 of 1
Strange anomaly in event behavior
#1 Posted 23 March 2011 - 06:29 PM
This post has been edited by wayskobfssae: 24 March 2011 - 07:50 AM
#2 Posted 23 March 2011 - 07:59 PM
From what you've said, there's no reason to suspect that a game event is misbehaving. I would start by checking to make sure that the use function and turn right function aren't sharing a key.
#3 Posted 23 March 2011 - 09:14 PM
Yeah I thought of that, and they're not. The glitch also only happens while in vehicle mode. On foot, 'use' does not cause strafing.
And I just did a test on a fresh game.con with only the following added:
Both keys produce the sound, even when I changed the keybind for use.
And I just did a test on a fresh game.con with only the following added:
onevent EVENT_STRAFERIGHT { sound SQUISHED } endevent
Both keys produce the sound, even when I changed the keybind for use.
This post has been edited by wayskobfssae: 23 March 2011 - 09:33 PM
#4 Posted 23 March 2011 - 09:49 PM
wayskobfssae, on Mar 23 2011, 10:14 PM, said:
And I just did a test on a fresh game.con with only the following added:
Excuse me for being too lazy to test that, but I still think it's a cfg issue. You used a fresh game.con but I'll bet your cfgs were the same.
#5 Posted 23 March 2011 - 10:16 PM
DeeperThought, on Mar 24 2011, 01:49 AM, said:
Excuse me for being too lazy to test that, but I still think it's a cfg issue. You used a fresh game.con but I'll bet your cfgs were the same.
Well I said I'd already tried rebinding the keys to ensure there was no conflict. So I purged the cfg files and let eduke generate new ones, and... the bug is still there.
#6 Posted 23 March 2011 - 10:40 PM
OK, I tried it, and guess what? When I press STRAFE LEFT, it makes the sound, and when I press OPEN, it does not make the sound. Which is exactly what you would expect if there is no bug.
What keys do you have strafe and open assigned to?
What keys do you have strafe and open assigned to?
#7 Posted 23 March 2011 - 11:15 PM
It was EVENT_STRAFERIGHT, and I tried it just now with a fresh copy of Eduke32.
include DEFS.CON
include USER.CON
onevent EVENT_STRAFERIGHT
soundonce WAR_AMBIENCE6
endevent
Both use and strafing right make the sound. No conflict in .cfgs.
include DEFS.CON
include USER.CON
onevent EVENT_STRAFERIGHT
soundonce WAR_AMBIENCE6
endevent
Both use and strafing right make the sound. No conflict in .cfgs.
#8 Posted 24 March 2011 - 06:49 AM
By golly, you are correct! It happens with STRAFERIGHT but not STRAFELEFT. Bizarre.
#9 Posted 24 March 2011 - 07:57 AM
I just found out that the sound also triggers with the mighty foot.
Share this topic:
Page 1 of 1