Page 2 of 2

Re: any way to do dream sequences? Even the same exact ones?

Posted: Fri Oct 26, 2012 2:42 pm
by Komag
I'll try that (I'll probably just use one model, assigned for all surfaces, with that blank texture)

Re: any way to do dream sequences? Even the same exact ones?

Posted: Fri Oct 26, 2012 2:59 pm
by Ciccipicci
There's something wrong in you set 'cause it won't work even if i putted as written all into the right place.

Re: any way to do dream sequences? Even the same exact ones?

Posted: Fri Oct 26, 2012 3:55 pm
by Komag
it works great for me, perfectly clear! I only used the floor model (since it was the smallest filesize), and assigned every surface to use that model.

So I can place the player in a clear room with a giant gears model floating in front of them.

I suppose there is a way to lock the player movement? No turning, no looking?

Maybe there is some secret way to access the animation of the gears? Something from the old dat extractor to give a clue?

Re: any way to do dream sequences? Even the same exact ones?

Posted: Fri Oct 26, 2012 5:21 pm
by Komag
I noticed from the dat extractor thing:
hashtable.txt:
20F8DC80;Dream.lua
F7BBD54E;assets/data/dreams.lua

The dreams.lua seems to include the text (backwards too, weird) of the different dreams
The meat and potatoes seems to be in the dream.lua, but it's full of code gobblygook too:
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