Fixes flare duration and burn out (#5700)
This commit is contained in:
@@ -10,8 +10,8 @@
|
|||||||
- type: ExpendableLight
|
- type: ExpendableLight
|
||||||
spentName: spent flare
|
spentName: spent flare
|
||||||
spentDesc: It looks like this flare has burnt out. What a bummer.
|
spentDesc: It looks like this flare has burnt out. What a bummer.
|
||||||
glowDuration: 150
|
glowDuration: 45
|
||||||
fadeOutDuration: 4
|
fadeOutDuration: 15
|
||||||
iconStateOn: flare_unlit
|
iconStateOn: flare_unlit
|
||||||
iconStateSpent: flare_spent
|
iconStateSpent: flare_spent
|
||||||
turnOnBehaviourID: turn_on
|
turnOnBehaviourID: turn_on
|
||||||
@@ -52,15 +52,15 @@
|
|||||||
minDuration: 0.02
|
minDuration: 0.02
|
||||||
maxDuration: 0.06
|
maxDuration: 0.06
|
||||||
startValue: 6.0
|
startValue: 6.0
|
||||||
endValue: 9.0
|
endValue: 15.0
|
||||||
property: Energy
|
property: Energy
|
||||||
isLooped: true
|
isLooped: true
|
||||||
- !type:FadeBehaviour # have the radius start small and get larger as it starts to burn
|
- !type:FadeBehaviour # have the radius start small and get larger as it starts to burn
|
||||||
id: turn_on
|
id: turn_on
|
||||||
interpolate: Linear
|
interpolate: Linear
|
||||||
maxDuration: 8.0
|
maxDuration: 45.0 #duration of light
|
||||||
startValue: 1.0
|
startValue: 2.5
|
||||||
endValue: 6.0
|
endValue: 10.0
|
||||||
property: Radius
|
property: Radius
|
||||||
- !type:RandomizeBehaviour # weaker flicker as it fades out
|
- !type:RandomizeBehaviour # weaker flicker as it fades out
|
||||||
id: fade_out
|
id: fade_out
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
- !type:FadeBehaviour # fade out radius as it burns out
|
- !type:FadeBehaviour # fade out radius as it burns out
|
||||||
id: fade_out
|
id: fade_out
|
||||||
interpolate: Linear
|
interpolate: Linear
|
||||||
maxDuration: 4.0
|
maxDuration: 15.0
|
||||||
startValue: 6.0
|
startValue: 8.0
|
||||||
endValue: 1.0
|
endValue: 1.0
|
||||||
property: Radius
|
property: Radius
|
||||||
|
|||||||
Reference in New Issue
Block a user