Schema "gargrunt" sometimes don't work. - by Kurhhan
Kurhhan on 26/11/2015 at 22:52
Yeah, so :
Button--Control Device--SoundTrap--SoundDescription--gargrunt
Sometimes when frobing button schema don't play at first time, you must frob button again to hear schema. With other schemas i use it's working normal. One frob=one play, not with "gargrunt" unfortunately. I try edit this schema, but nothing.
Btw, in 1.23 buttons must be in the same airbrush where they are linked to some stuff ? If I move them to "blue room", and then use them in game , this appear in MONO : "b_push on A button <number> <vec ......................> not in room!" I do not remember this message in 1.22 even when buttons where in other air brush or solid. Here in 1.23, this message are gone when button is in the same airbrush where his link go.
Yandros on 27/11/2015 at 01:23
1. The reason it sometimes doesn't play is right there in the schema:
Code:
schema gargrunt
archetype PLYR_EFFORT
volume -1500
gargrun1 gargrun2 empty
env_tag (Event Motion) (CreatureType Player) (PlyrSword 1 1) (PlyrSwordSwing 2 2)
One of the three filenames it randomly chooses from is "empty", which means it plays no sound roughly 1/3 of the time. I would recommend you make a new schema just by copying that one, giving it a new name of course, and then removing empty from that line. Use the new schema instead and it should play every time.
2. It will say that if the button isn't in ANY roombrush; not being in the same roombrush is irrelevant. It's just letting you know that the clicking sound of the button failed to play because the button wasn't inside a roombrush. If you put a roombrush around the blueroom it should go away, but it doesn't matter since you don't want the player to hear that button press anyway.
Kurhhan on 27/11/2015 at 01:44
1. Yes, I did it earlier, but nothing changed, still one is "empty".
2. :thumb:
EDIT :
1. Oops, button was duplicated. Now work like a charm. I got too many buttons, need learn using some NV scripts.