home *** CD-ROM | disk | FTP | other *** search
- ;
- ; Script conversion of file TOILET.WLD
- ;
- Type: WRLD
- Title: "\n\n\r"
- "World file TOILET.WLD revision 22\n\r"
- "Saved from VRT version 5.00\n\r"
- "\x1A"
- ;
- ;-------Layers------------------------------------------------------------
- ;
- Chunk: LayerNames
- NumLayers: 2
- Name: "Default"
- Name: "System"
- End_Chunk
- ;
- ;-------Object 0-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "RootObject"
- Number: 0
- Size: 2147483647 2147483647 2147483647
- Position: 0 0 0
- Type: 65535
- Layer: 0
- DFlags: E
- End_Chunk
- Chunk: ViewPoint
- Number: 100
- Subchunk
- Number: 1
- Type: 19
- View: 9
- Control: 8
- Point: 0
- Frames: 1
- Position: 0 Frame: 0 Type: StraightMove Pos: 500 500 500
- Rotation: 0 Frame: 0 Type: Relative Offset: 0 0 0 Zoom: 0x3695
- Subchunk
- Number: 2
- Type: 35
- View: 0
- Point: 0
- Frames: 1
- Position: 0 Frame: 0 Type: StraightMove Pos: 2074486 18184 1962122
- Rotation: 0 Frame: 0 Type: Relative Offset: 537 12 0 Zoom: 0x2000
- End_Chunk
- Chunk: Colours
- Number: 6
- 0xD8 0x07 0x01 0xC8 0x03 0x01
- End_Chunk
- Chunk: LightSource
- Brightness: 2048
- Offset: -724 1448 -1254
- Rotation: 0x0000 0x0000 0x0000
- BeamWidth: 0
- Dispersion: 200
- Colour: 0xFF 0xFF 0xFF
- BeamEdge: 0
- Flags: pOo
- End_Chunk
-
- Children:
- ;
- ;-------Object 10-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "leftwall[10]"
- Number: 10
- Size: 100 21000 10360
- Position: 2061000 1000 1953330
- Type: 3
- Layer: 0
- End_Chunk
- Chunk: TexCoords
- Number: 1
- Mode: 0
- SubChunk
- Facet: 1
- ImageRef: 1
- PixScale: 0
- NumCoords: 4
- 0.00000 0.00000
- 0.00000 1.00000
- 1.00000 1.00000
- 1.00000 0.00000
- End_Chunk
- Chunk: SCL
- if (activate (me, 0))
-
- loadvrt ("bathroom.vrt");
-
-
- end
- End_Chunk
-
- Chunk: ImageRef
- Number: 1
- Index: 1 Image: 1
- End_Chunk
- ;
- ;-------Object 4-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "leftwall"
- Number: 4
- Size: 1000 30000 15000
- Position: 2060000 1000 1951000
- Type: 3
- Layer: 0
- End_Chunk
- Chunk: TexCoords
- Number: 1
- Mode: 0
- SubChunk
- Facet: 1
- ImageRef: 1
- PixScale: 0
- NumCoords: 4
- 0.00000 0.00000
- 0.00000 1.00000
- 1.00000 1.00000
- 1.00000 0.00000
- End_Chunk
- Chunk: Colours
- Number: 1
- 0x01
- End_Chunk
-
- Chunk: ImageRef
- Number: 1
- Index: 1 Image: 6
- End_Chunk
- ;
- ;-------Object 5-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "rightwall"
- Number: 5
- Size: 1000 30000 15000
- Position: 2095000 1000 1951000
- Type: 4
- Layer: 0
- End_Chunk
- Chunk: TexCoords
- Number: 1
- Mode: 0
- SubChunk
- Facet: 1
- ImageRef: 1
- PixScale: 0
- NumCoords: 4
- 0.00000 0.00000
- 0.00000 1.00000
- 1.00000 1.00000
- 1.00000 0.00000
- End_Chunk
- Chunk: Colours
- Number: 1
- 0x00
- End_Chunk
-
- Chunk: ImageRef
- Number: 1
- Index: 1 Image: 11
- End_Chunk
-
- Children:
- ;
- ;-------Object 17-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "rightwall[17]"
- Number: 17
- Size: 0 7600 9000
- Position: 0 17700 3000
- Type: 4
- Layer: 0
- End_Chunk
- Chunk: TexCoords
- Number: 1
- Mode: 0
- SubChunk
- Facet: 1
- ImageRef: 1
- PixScale: 0
- NumCoords: 4
- 0.00000 0.00000
- 0.00000 1.00000
- 1.00000 1.00000
- 1.00000 0.00000
- End_Chunk
- Chunk: SCL
- if (activate (me, 0))
-
- {
-
- dlgInfo;
-
- clrtrig (me, 0);
-
- }
- end
- End_Chunk
-
- Chunk: ImageRef
- Number: 1
- Index: 1 Image: 2
- End_Chunk
-
- End_Children
- ;
- ;-------Object 2-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "floor"
- Number: 2
- Size: 34000 1000 15000
- Position: 2061000 0 1951000
- Type: 6
- Layer: 0
- End_Chunk
- Chunk: TexCoords
- Number: 1
- Mode: 0
- SubChunk
- Facet: 1
- ImageRef: 1
- PixScale: 0
- NumCoords: 4
- 0.00000 0.00000
- 0.00000 1.00000
- 1.00000 1.00000
- 1.00000 0.00000
- End_Chunk
-
- Chunk: ImageRef
- Number: 1
- Index: 1 Image: 10
- End_Chunk
- ;
- ;-------Object 6-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "backwall"
- Number: 6
- Size: 34000 30000 1000
- Position: 2061000 1000 1966000
- Type: 1
- Layer: 0
- End_Chunk
- Chunk: TexCoords
- Number: 1
- Mode: 0
- SubChunk
- Facet: 1
- ImageRef: 1
- PixScale: 0
- NumCoords: 4
- 0.00000 0.00000
- 0.00000 1.00000
- 1.00000 1.00000
- 1.00000 0.00000
- End_Chunk
-
- Chunk: ImageRef
- Number: 1
- Index: 1 Image: 4
- End_Chunk
- ;
- ;-------Object 7-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "frontwall"
- Number: 7
- Size: 34000 30000 1000
- Position: 2061000 1000 1950000
- Type: 2
- Layer: 0
- End_Chunk
- Chunk: TexCoords
- Number: 1
- Mode: 0
- SubChunk
- Facet: 1
- ImageRef: 1
- PixScale: 0
- NumCoords: 4
- 0.00000 0.00000
- 0.00000 1.00000
- -1.00000 1.00000
- -1.00000 0.00000
- End_Chunk
-
- Chunk: ImageRef
- Number: 1
- Index: 1 Image: 8
- End_Chunk
- ;
- ;-------Object 3-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "ceiling"
- Number: 3
- Size: 34000 1000 15000
- Position: 2061000 31000 1951000
- Type: 5
- Layer: 0
- End_Chunk
- ;
- ;-------Object 23-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "bog hold"
- Number: 23
- Size: 9000 10000 5000
- Position: 2085900 1000 1956000
- Type: 65535
- Layer: 0
- End_Chunk
-
- Children:
- ;
- ;-------Object 22-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "bog[22]"
- Number: 22
- Size: 4000 6000 3000
- Position: 5000 0 1000
- Type: 0
- Layer: 0
- End_Chunk
- Chunk: TexCoords
- Number: 3
- Mode: 0
- SubChunk
- Facet: 1
- ImageRef: 1
- PixScale: 0
- NumCoords: 4
- 0.00000 0.00000
- 0.00000 1.00000
- 1.00000 1.00000
- 1.00000 0.00000
- SubChunk
- Facet: 4
- ImageRef: 1
- PixScale: 0
- NumCoords: 4
- 0.00000 0.00000
- 0.00000 1.00000
- 1.00000 1.00000
- 1.00000 0.00000
- SubChunk
- Facet: 2
- ImageRef: 1
- PixScale: 0
- NumCoords: 4
- 0.00000 0.00000
- 0.00000 1.00000
- 1.00000 1.00000
- 1.00000 0.00000
- End_Chunk
-
- Chunk: ImageRef
- Number: 1
- Index: 1 Image: 12
- End_Chunk
- ;
- ;-------Object 21-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "bog[21]"
- Number: 21
- Size: 4000 3000 3000
- Position: 1000 0 1000
- Type: 0
- Layer: 0
- End_Chunk
- Chunk: TexCoords
- Number: 3
- Mode: 0
- SubChunk
- Facet: 1
- ImageRef: 1
- PixScale: 0
- NumCoords: 4
- 0.00000 0.00000
- 0.00000 1.00000
- 1.00000 1.00000
- 1.00000 0.00000
- SubChunk
- Facet: 2
- ImageRef: 1
- PixScale: 0
- NumCoords: 4
- 0.00000 0.00000
- 0.00000 1.00000
- 1.00000 1.00000
- 1.00000 0.00000
- SubChunk
- Facet: 4
- ImageRef: 1
- PixScale: 0
- NumCoords: 4
- 0.00000 0.00000
- 0.00000 1.00000
- 1.00000 1.00000
- 1.00000 0.00000
- End_Chunk
-
- Chunk: ImageRef
- Number: 1
- Index: 1 Image: 14
- End_Chunk
- ;
- ;-------Object 11-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "bog"
- Number: 11
- Size: 5000 2000 5000
- Position: 0 3000 0
- Type: 7
- Layer: 0
- End_Chunk
- Chunk: TexCoords
- Number: 4
- Mode: 0
- SubChunk
- Facet: 6
- ImageRef: 1
- PixScale: 0
- NumCoords: 4
- 0.00000 0.00000
- 0.00000 1.00000
- 1.00000 1.00000
- 1.00000 0.00000
- SubChunk
- Facet: 13
- ImageRef: 2
- PixScale: 0
- NumCoords: 4
- 0.00000 0.00000
- 0.00000 1.00000
- 1.00000 1.00000
- 1.00000 0.00000
- SubChunk
- Facet: 12
- ImageRef: 2
- PixScale: 0
- NumCoords: 4
- 0.00000 0.00000
- 0.00000 1.00000
- 1.00000 1.00000
- 1.00000 0.00000
- SubChunk
- Facet: 10
- ImageRef: 2
- PixScale: 0
- NumCoords: 4
- 0.00000 0.00000
- 0.00000 1.00000
- 1.00000 1.00000
- 1.00000 0.00000
- End_Chunk
- Chunk: Colours
- Number: 13
- 0x0A 0x18 0x07 0x07 0x18 0x0A 0x26 0x28 0x29 0x2A 0x2B 0x2C 0x2D
- End_Chunk
-
- Chunk: ImageRef
- Number: 2
- Index: 1 Image: 9
- Index: 2 Image: 12
- End_Chunk
- ;
- ;-------Object 12-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "bog[12]"
- Number: 12
- Size: 4000 4000 5000
- Position: 5000 6000 0
- Type: 0
- Layer: 0
- End_Chunk
- Chunk: TexCoords
- Number: 4
- Mode: 0
- SubChunk
- Facet: 1
- ImageRef: 1
- PixScale: 0
- NumCoords: 4
- 0.00000 0.00000
- 0.00000 1.00000
- 1.00000 1.00000
- 1.00000 0.00000
- SubChunk
- Facet: 4
- ImageRef: 1
- PixScale: 0
- NumCoords: 4
- 0.00000 0.00000
- 0.00000 1.00000
- 1.00000 1.00000
- 1.00000 0.00000
- SubChunk
- Facet: 5
- ImageRef: 1
- PixScale: 0
- NumCoords: 4
- 0.00000 0.00000
- 0.00000 1.00000
- 1.00000 1.00000
- 1.00000 0.00000
- SubChunk
- Facet: 2
- ImageRef: 1
- PixScale: 0
- NumCoords: 4
- 0.00000 0.00000
- 0.00000 1.00000
- 1.00000 1.00000
- 1.00000 0.00000
- End_Chunk
- Chunk: Colours
- Number: 6
- 0x08 0x76 0x77 0x76 0x75 0x75
- End_Chunk
-
- Chunk: ImageRef
- Number: 1
- Index: 1 Image: 12
- End_Chunk
- ;
- ;-------Object 14-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "bog[14]"
- Number: 14
- Size: 400 100 930
- Position: 4600 9500 4070
- Type: 9
- Layer: 0
- End_Chunk
- Chunk: Colours
- Number: 8
- 0x08 0x08 0x23 0x24 0x25 0x08 0x08 0x08
- End_Chunk
-
- End_Children
- ;
- ;-------Object 13-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "bog[13]"
- Number: 13
- Size: 1559 1439 1079
- Position: 2085200 10700 1964921
- Type: 8
- Layer: 0
- End_Chunk
- Chunk: TexCoords
- Number: 2
- Mode: 0
- SubChunk
- Facet: 10
- ImageRef: 1
- PixScale: 0
- NumCoords: 4
- 0.00000 0.00000
- 0.00000 1.00000
- 1.00000 1.00000
- 1.00000 0.00000
- SubChunk
- Facet: 11
- ImageRef: 1
- PixScale: 0
- NumCoords: 4
- 0.00000 0.00000
- 0.00000 1.00000
- -1.00000 1.00000
- -1.00000 0.00000
- End_Chunk
- Chunk: Colours
- Number: 12
- 0x37 0x37 0x37 0x37 0x37 0x37 0x36 0x36 0x35 0x29 0x2A 0x20
- End_Chunk
-
- Chunk: ImageRef
- Number: 1
- Index: 1 Image: 15
- End_Chunk
- ;
- ;-------Object 16-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "frontwall[16]"
- Number: 16
- Size: 2200 30000 15000
- Position: 2082000 1000 1951000
- Type: 65535
- Layer: 0
- End_Chunk
- ;
- ;-------Object 18-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "shower[18]"
- Number: 18
- Size: 3100 2400 3000
- Position: 2091900 24400 1951000
- Type: 65535
- Layer: 0
- End_Chunk
- Chunk: SCL
- char NAME[10], PATH[256], DIR[256], DRIVE[3];
-
- long WIDTH, HEIGHT, newPOS, oldWIDTH, STATS[8];
-
- short Scale=16, imgNum=3, LOWEST, MOODS=1, TEMP, ROT;
-
-
-
- resume (2, 2);
-
- if (first)
-
- {
-
- cdDrive (&DRIVE);
-
- strcpy (&DIR, &DRIVE);
-
- strcat (&DIR, "\\LoveBytes\\");
-
- counter (20)=-1;
-
- counter (25)=-1;
-
- }
-
- if (counter (20)>-1)
-
- {
-
- strcpy (&PATH, &DIR);
-
- strcat (&PATH, "images\\");
-
- ltoa (&NAME, counter (20));
-
- strcat (&PATH, &NAME);
-
- strcat (&PATH, ".gif");
-
- imageLd (&PATH, imgNum, 1, &WIDTH, &HEIGHT);
-
- newPOS=zpos (#1);
-
- oldWIDTH=zsize (#1)/2;
-
- zsize (#1)=WIDTH*Scale;
-
- ysize (#1)=HEIGHT*Scale;
-
- write (&zcent (#1))=zsize (#1)/2;
-
- newPOS=newPOS+oldWIDTH-WIDTH*Scale/2;
-
- zpos (#1)=newPOS;
-
- counter (20)=-1;
-
- }
-
- if (counter (25)>-1)
-
- {
-
- strcpy (&PATH, &DIR);
-
- strcat (&PATH, "sounds\\");
-
- ltoa (&NAME, counter (25));
-
- strcat (&PATH, &NAME);
-
- strcat (&PATH, ".wav");
-
- playWAV (&PATH);
-
- counter (25)=-1;
-
- }
-
- if (counter (26)>-1)
-
- {
-
- strcpy (&PATH, &DIR);
-
- strcat (&PATH, "sounds\\");
-
- ltoa (&NAME, counter (26));
-
- strcat (&PATH, &NAME);
-
- strcat (&PATH, ".wav");
-
- while (sndState)
-
- waitf;
-
- playWAV (&PATH);
-
- counter (26)=-1;
-
- }
- end
- End_Chunk
- ;
- ;-------Object 1-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "woman"
- Number: 1
- Size: 0 15589 6664
- Position: 2085900 1000 1955409
- Type: 0
- Layer: 0
- DFlags: r
- OFlags: Ii
- End_Chunk
- Chunk: TexCoords
- Number: 1
- Mode: 0
- SubChunk
- Facet: 1
- ImageRef: 1
- PixScale: 0
- NumCoords: 4
- 0.00000 0.00000
- 0.00000 1.00000
- 1.00000 1.00000
- 1.00000 0.00000
- End_Chunk
- Chunk: Rotations
- Initial: 0x0000 0x0000 0x0000
- Centre: 0 7794 2816
- End_Chunk
- Chunk: SCL
- long STATS[8], TEMP;
-
- short MOOD, LOWEST;
-
-
-
- resume (1, 2);
-
- if (first)
-
- {
-
- ranseed (vrtime);
-
- if (random (10)==1)
-
- vis (me);
-
- else
-
- invis (me);
-
- }
-
- if (activate (me, 0) || first)
-
- {
-
- zpos (me)=izpos (me);
-
- if (vis? (me))
-
- {
-
- counter (20)=table (random (3)) {59, 60, 61};
-
- counter (26)=table (random (7)) {9, 11, 29, 82, 83, 93,
-
- 130};
-
- while (mouseb)
-
- waitf;
-
- waitfs (20);
-
- }
-
- clrtrig (me, 0);
-
- }
- end
- End_Chunk
- Chunk: InitPos
- Position: 2085900 1000 1955409
- End_Chunk
- Chunk: InitSize
- Size: 0 15589 6664
- End_Chunk
- Chunk: Colours
- Number: 6
- 0x77 0x76 0x77 0x76 0x75 0x75
- End_Chunk
-
- Chunk: ImageRef
- Number: 5
- Index: 1 Image: 3
- Index: 2 Image: 65535
- Index: 3 Image: 65535
- Index: 4 Image: 65535
- Index: 5 Image: 65535
- End_Chunk
- ;
- ;-------Object 19-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "Menus"
- Number: 19
- Size: 10000 10000 10000
- Position: 2064388 0 1986889
- Type: 65535
- Layer: 0
- End_Chunk
- Chunk: SCL
- if (first)
-
- {
-
- menuNew (me);
-
- menuLock (0);
-
- }
- end
- End_Chunk
- Chunk: Text
- "item \"E&xit\" scl exitVis; sclend\r"
- "item \"A&bout\" scl Credits; sclend"
- End_Chunk
-
- End_Children
- ;
- ;-------Object 8-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "HUMANVP: HOLD "
- Number: 8
- Size: 4000 4000 4000
- Position: 2061100 14120 1959601
- Type: 65535
- Layer: 0
- DFlags: M
- End_Chunk
- Chunk: Colours
- Number: 18
- 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E
- 0x0E 0x0E
- End_Chunk
- Chunk: InitPos
- Position: 2061100 14120 1959601
- End_Chunk
- Chunk: Dynamics
- MovType: 0x800004A1
- Fuel: 0
- Climb: 4000
- Gravity: 0
- Coupled: 9
- Drive: 0 0 0
- External: 0 0 0
- MaxForce: 0 0 0
- GroundFric: 0 0 0
- Restitution: 0 0 0
- Velocity: 0 0 0
- MaxVel: 0 0 0
- End_Chunk
-
- Children:
- ;
- ;-------Object 9-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "HUMANVP:View point "
- Number: 9
- Size: 1000 1000 1000
- Position: 1500 1500 1500
- Type: 65535
- Layer: 0
- DFlags: r
- End_Chunk
- Chunk: Rotations
- Initial: 0x0000 0x3C71 0x0000
- Centre: 500 500 500
- End_Chunk
- Chunk: Colours
- Number: 18
- 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B
- 0x0B 0x0B
- End_Chunk
- ;
- ;-------Object 15-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "movelogic"
- Number: 15
- Size: 1000 1000 1000
- Position: 0 0 0
- Type: 65535
- Layer: 0
- DFlags: r
- End_Chunk
- Chunk: SCL
- short X, Y;
-
-
-
- resume (1, 2);
-
- if (mouseb>1)
-
- {
-
- if (!first)
-
- X=mousex;
-
- Y=mousey;
-
- while (mouseb>1)
-
- {
-
- if (mouseb==3)
-
- {
-
- Y=mousey;
-
- while (mouseb==3)
-
- {
-
- ydrive (#8)= (mousey-Y)*-10;
-
- yrot (#9)+=deg ( (mousex-X)*4);
-
- waitf;
-
- }
-
- Y=mousey;
-
- }
-
- zdrive (#8)= (mousey-Y)*-20;
-
- yrot (#9)+=deg ( (mousex-X)*4);
-
- waitf;
-
- }
-
- }
- end
- End_Chunk
-
- End_Children
- End_File