Re: any way to do dream sequences? Even the same exact ones?
Posted: Fri Oct 26, 2012 2:42 pm
I'll try that (I'll probably just use one model, assigned for all surfaces, with that blank texture)
Official Legend of Grimrock Forums
http://mail.grimrock.net/forum/
LJ¶ $f4 7 > 4 7>: 4 74 7 '( >4
74
7!( 'd >: 7 7>:
7
77 >4 7% > 7( ( ( >7
7' ' ' >7
7 >4 7% >2 : 2 : ' ' ' I€7 77
>97 6 7' '
> 7 7 6 >Kë4 7% >: 7 7 4! 7%" %# > =H postprocessassets/shaders/dream.hlslRenderableShadersetShaderdream_post_mat
MaterialpostMaterialcreateLightssetPositioninstantiatelightssceneRoot"assets/models/dream/dream.fbx load
ModelsetRenderEntitylookAtsetLightColordirectionalLightEntity
addToaddNodelightNode
widthheightconfigrad mathcreateCameracameracreateSimpleScene
Scene
scene__init
DreamµæÌ™™³æýçÌ™³³æŒþµæÌ™™³¦þd0 + 7 + 7 9 G €
linesØ 34 7>: 4 7>: 2 : 2 1 :4 % > T€4
>4 > >6>4 7%
' >4 7>: ' : 3 : % : ' : 0 €G nextTextTimerin
fadeMode ÿfadeColorcurrentTextIndexcreateScrambleWriterwriter#assets/samples/music/dream.oggplayStreamsetfenv
errorassets/data/dreams.lua
loadfile text
linesgetStreamVolumeoldVolumegetStreamFilenamesoundSystemoldStream„ 7 T€4 77 7 >4 7% >G game
setStatemainFSMoldVolumeplayStreamsoundSystemoldStream” (' '
' I#€4 7% > 7 > T€4 7% >
7 ' ' '
>
7 '
>
7 > 7
7
9
KÝG lightssetRenderEntitysetLightRangesetLightColor
pointcreateLightEntity
findNode
light_%dformatstring¼ AÊ( ( 4 7> 7 7' ' >7 7' ' >4 7) >4 7' ' ' >4 73 >4 7
4 ' ' '
> = 7 > 7
>7 7>4 7>4 74 74 7>4 77 7
>4 7>7 74 74 7 3
>4 7>7 7% 4 4
7
4 7> '
>4 7! 4 7">7 >4 7# >T€4 77 7 >4 7>7 74 74 74 $ 7 % >4 7>( 7& ' T€7( 84) 7* ' T€' ) :+ 7( ;T€7& , T€7( 84) 7* 'ÿ T€'ÿ ) :+ 7( ;4 7>4 7-' ' 4 7 4
7
7( >4 7>4. 7/40 717 ( 8 '
' > =4 72>4 73%4 > T€4 75' > T+€76 ' T'€77 78 T€77 :7 7 7978 7 7 6 >' :6 4. 7:%; >T€7& , T€4. 7:%; >7 7<>%, :& ' :6 77 T€7( 8 T€' :7 7 7978 8>' :6 4. 7:%; >76 4) 7*:6 4 73%= > T€ 7> >7& , T€7( 8 T€ 7> >4. 7?' >4. 7%@ >G cinematicsetMasterVolume
closeescapeclearTextscramble_writerplaySound2DsetText
linescurrentTextIndexnextTextTimermousePressed
spacekeyPressed
endFrame
clamp mathsetStreamVolumesoundSystem
fillRectout
staterealDeltaTime TimefadeColorin
fadeMode
White
ColorreleasegetBackBuffer blit
Graphicsg_invScreenSize
setParampostMaterialendDraw ÈÿÿFrenderbeginDrawImmediateMode
scenerenderSceneheight
widthconfiggetTemporaryRenderBufferbeginFrameupdatewriterupdateLightsupdateGearsvecsetClearColor #2setFogRangesetFogColorsetFog
renderersetRotationsetPositioncamera timesysÍ™³ææÌ™ÿµæÌ™™³¦ýd€€Àþþ b3 ( ( ' 7 ' IY€7 6 '
'9 ' I
9€ ' ' ' I3€4 7%
> 7 > T€ 74 7' >4 7%
> 7 > T € 74 7' >' T€66! KÍK
Ç'
'
' I
€
T€
T€
T€ 7 4 7%
> = 7' ' >K
ëK§G gears_cluster_%dgear_ccw_%d_%dpi mathsetRotation
findNodegear_cw_%d_%dformatstringsceneRoot
µæÌ™™³¦þçÌ™³³æŒþ Ë ' 7 ' I€4 7> 7 >7 6 7
>7 6 7) >KçG setCastShadowsetLightColorgetLightIntensity timesyslights€€àÿ"(± 4 7 ' ( >4 7 ' ( > 4 7' ' >4 7' ' > H
noisesmoothstep math€€ÀþµæÌ™™³¦þ€€€ÿá 4 > 5 4 1 : 4 1 : 4 1 : 4 1 : 4 1 :
4 1
: 4 1 : 4 1 : 0 €G getLightIntensity updateLights updateGears update createLights
close
enter create
Dream
class