Member
Joined: Jun 2010
Posts: 331
|
Quote:
Originally Posted by Joey79100
Erf, this is the issue with guessing things without actually trying them, you overlook important details.
I'll try things later in the weekend maybe.
Still, you haven't replied, does your sound has the L flag in your WAD? And without the R flag? To me it looks like not, since you say it plays once. Sounds with that flag should play for one frame only and stopped right after it they're not re-triggered the next frame.
|
No, it's ok
And about the Beetle sound, yes - I have L flag enabled and R flag is disabled.
Edit: Now we are getting somewhere...
Quote:
GlobalTrigger= 6, IGNORE, GT_LARA_HOLDS_ITEM, HOLD_FLARE, 20, 21, 22 ; flare
TriggerGroup= 20, $8000, 285, $55
TriggerGroup= 21, $2000, 71, $62
TriggerGroup= 22, $8000+TGROUP_NOT, 7, $23, $2000, 73, $62
; Set Trigger Type - CONDITION 85
; Exporting: CONDITION(85:0) for PARAMETER(285) {Tomb_NextGeneration}
; <#> : OBJ_GEM_SMASH 285 Ok crysmash
; <&> : Sound. The <#>Sfx Sound effect is playing
; (E) :
; Values to add in script command: $8000, 285, $55
; Set Trigger Type - FLIPEFFECT 71
; Exporting: TRIGGER(98:0) for FLIPEFFECT(71) {Tomb_NextGeneration}
; <#> : Sound. Play <&>Sound sample of second group (256-max) for (E) time
; <&> : BEETLE_CLK_WHIRR 354 Ok l_toy1
; (E) : Forever (use other action/effect to disable it)
; Values to add in script command: $2000, 71, $62
; Set Trigger Type - CONDITION 35
; Exporting: CONDITION(35:0) for PARAMETER(7) {Tomb_NextGeneration}
; <#> : Holding_Flare
; <&> : Lara. (Holds) Lara is holding/driving the <#>item
; (E) :
; Values to add in script command: $8000, 7, $23
; Set Trigger Type - FLIPEFFECT 73
; Exporting: TRIGGER(98:0) for FLIPEFFECT(73) {Tomb_NextGeneration}
; <#> : Sound. Stop <&>Sound sample of second group (256-max)
; <&> : BEETLE_CLK_WHIRR 354 Ok l_toy1
; (E) :
; Values to add in script command: $2000, 73, $62
|
Now when Lara fire the flare it plays until she throw it away. The only thing I have to add is when Lara pick up the flare again and problem is when she is crawling on all fours - she can't throw it away so the holding_flare is still active.
Edit2: The current situation is this:
Quote:
GlobalTrigger= 6, IGNORE, GT_LARA_HOLDS_ITEM, HOLD_FLARE, 20, 21, 22 ; flare
TriggerGroup= 20, $8000, 285, $55, $8000+TGROUP_OR, 204, $1E
TriggerGroup= 21, $2000, 71, $62
TriggerGroup= 22, $8000+TGROUP_NOT, 7, $23, $8000+TGROUP_OR, 5, $5, $2000, 73, $62
; Set Trigger Type - CONDITION 85
; Exporting: CONDITION(85:0) for PARAMETER(285) {Tomb_NextGeneration}
; <#> : OBJ_GEM_SMASH 285 Ok crysmash
; <&> : Sound. The <#>Sfx Sound effect is playing
; (E) :
; Values to add in script command: $8000, 285, $55
; Set Trigger Type - CONDITION 30
; Exporting: CONDITION(30:0) for PARAMETER(204) {Tomb_NextGeneration}
; <#> : Animation= 204
; <&> : Lara. (Animation) Lara is performing <#>animation
; (E) :
; Values to add in script command: $8000, 204, $1E
; Set Trigger Type - FLIPEFFECT 71
; Exporting: TRIGGER(98:0) for FLIPEFFECT(71) {Tomb_NextGeneration}
; <#> : Sound. Play <&>Sound sample of second group (256-max) for (E) time
; <&> : BEETLE_CLK_WHIRR 354 Ok l_toy1
; (E) : Forever (use other action/effect to disable it)
; Values to add in script command: $2000, 71, $62
; Set Trigger Type - CONDITION 35
; Exporting: CONDITION(35:0) for PARAMETER(7) {Tomb_NextGeneration}
; <#> : Holding_Flare
; <&> : Lara. (Holds) Lara is holding/driving the <#>item
; (E) :
; Values to add in script command: $8000, 7, $23
; Set Trigger Type - CONDITION 5
; Exporting: CONDITION(5:62) for PARAMETER(5) {Tomb_NextGeneration}
; <#> : Moving on all fours or is duck
; <&> : Lara. (Status) Lara is performing <#>action is (E)
; (E) : TRUE (Lara is performing #action)
; Values to add in script command: $8000, 5, $5
; Set Trigger Type - FLIPEFFECT 73
; Exporting: TRIGGER(98:0) for FLIPEFFECT(73) {Tomb_NextGeneration}
; <#> : Sound. Stop <&>Sound sample of second group (256-max)
; <&> : BEETLE_CLK_WHIRR 354 Ok l_toy1
; (E) :
; Values to add in script command: $2000, 73, $62
|
When Lara fires the flare - so the sound "crysmash" is playing, the beetle sounds starts too. When Lara throws the flare away - the beetle sound stops playing. When Lara pick up the flare (when it is still burning) from floor - beetle sound starts to play again. And so on. When Lara goes to duck+on all fours - the beetle sound stops (preventing from playing forever when Lara can't throw away the flare because of ducking). BUT I can't force Lara when she stand up again from the duck to beetle sound plays again. Do you know how can I achieve it? The condition of GT that the beetle sound should play when she is holding flare is obviously not enough... I also had this condition in TG 21 but it ignores that too.
Also does anybody better ideas? Thank you
Last edited by LaraHCroft91; 02-09-18 at 19:04.
|