home *** CD-ROM | disk | FTP | other *** search
/ Love Bytes / LoveBytes.bin / lb.z / toilet.vrt / world.script < prev    next >
Encoding:
Text File  |  1997-11-04  |  15.0 KB  |  983 lines

  1. ;
  2. ; Script conversion of file TOILET.WLD
  3. ;
  4. Type: WRLD
  5. Title: "\n\n\r"
  6.        "World file TOILET.WLD revision 22\n\r"
  7.        "Saved from VRT version 5.00\n\r"
  8.        "\x1A"
  9. ;
  10. ;-------Layers------------------------------------------------------------
  11. ;
  12. Chunk: LayerNames
  13.  NumLayers: 2
  14.  Name:     "Default"
  15.  Name:     "System"
  16. End_Chunk
  17. ;
  18. ;-------Object    0-------------------------------------------------------
  19. Chunk: Standard
  20.  Name:     "RootObject"
  21.  Number:   0
  22.  Size:     2147483647 2147483647 2147483647
  23.  Position: 0 0 0
  24.  Type:     65535
  25.  Layer:    0
  26.  DFlags:   E
  27. End_Chunk
  28. Chunk: ViewPoint
  29.  Number:    100
  30.  Subchunk
  31.   Number:  1
  32.   Type:    19
  33.   View:    9
  34.   Control: 8
  35.   Point:   0
  36.   Frames:  1
  37.   Position:  0 Frame:   0  Type: StraightMove Pos: 500 500 500
  38.   Rotation:  0 Frame:   0 Type: Relative Offset: 0 0 0 Zoom: 0x3695
  39.  Subchunk
  40.   Number:  2
  41.   Type:    35
  42.   View:    0
  43.   Point:   0
  44.   Frames:  1
  45.   Position:  0 Frame:   0  Type: StraightMove Pos: 2074486 18184 1962122
  46.   Rotation:  0 Frame:   0 Type: Relative Offset: 537 12 0 Zoom: 0x2000
  47. End_Chunk
  48. Chunk: Colours
  49.  Number: 6
  50.  0xD8 0x07 0x01 0xC8 0x03 0x01
  51. End_Chunk
  52. Chunk: LightSource
  53.  Brightness: 2048
  54.  Offset:     -724 1448 -1254
  55.  Rotation:   0x0000 0x0000 0x0000
  56.  BeamWidth:  0
  57.  Dispersion: 200
  58.  Colour:     0xFF 0xFF 0xFF
  59.  BeamEdge:   0
  60.  Flags:      pOo
  61. End_Chunk
  62.  
  63. Children:
  64. ;
  65. ;-------Object   10-------------------------------------------------------
  66. Chunk: Standard
  67.  Name:     "leftwall[10]"
  68.  Number:   10
  69.  Size:     100 21000 10360
  70.  Position: 2061000 1000 1953330
  71.  Type:     3
  72.  Layer:    0
  73. End_Chunk
  74. Chunk: TexCoords
  75.  Number: 1
  76.  Mode:   0
  77.  SubChunk
  78.   Facet:     1
  79.   ImageRef:  1
  80.   PixScale:  0
  81.   NumCoords: 4
  82.     0.00000 0.00000
  83.     0.00000 1.00000
  84.     1.00000 1.00000
  85.     1.00000 0.00000
  86. End_Chunk
  87. Chunk: SCL
  88. if (activate (me, 0))
  89.  
  90.   loadvrt ("bathroom.vrt");
  91.  
  92.  
  93. end
  94. End_Chunk
  95.  
  96. Chunk: ImageRef
  97.  Number: 1
  98.  Index: 1 Image: 1
  99. End_Chunk
  100. ;
  101. ;-------Object    4-------------------------------------------------------
  102. Chunk: Standard
  103.  Name:     "leftwall"
  104.  Number:   4
  105.  Size:     1000 30000 15000
  106.  Position: 2060000 1000 1951000
  107.  Type:     3
  108.  Layer:    0
  109. End_Chunk
  110. Chunk: TexCoords
  111.  Number: 1
  112.  Mode:   0
  113.  SubChunk
  114.   Facet:     1
  115.   ImageRef:  1
  116.   PixScale:  0
  117.   NumCoords: 4
  118.     0.00000 0.00000
  119.     0.00000 1.00000
  120.     1.00000 1.00000
  121.     1.00000 0.00000
  122. End_Chunk
  123. Chunk: Colours
  124.  Number: 1
  125.  0x01
  126. End_Chunk
  127.  
  128. Chunk: ImageRef
  129.  Number: 1
  130.  Index: 1 Image: 6
  131. End_Chunk
  132. ;
  133. ;-------Object    5-------------------------------------------------------
  134. Chunk: Standard
  135.  Name:     "rightwall"
  136.  Number:   5
  137.  Size:     1000 30000 15000
  138.  Position: 2095000 1000 1951000
  139.  Type:     4
  140.  Layer:    0
  141. End_Chunk
  142. Chunk: TexCoords
  143.  Number: 1
  144.  Mode:   0
  145.  SubChunk
  146.   Facet:     1
  147.   ImageRef:  1
  148.   PixScale:  0
  149.   NumCoords: 4
  150.     0.00000 0.00000
  151.     0.00000 1.00000
  152.     1.00000 1.00000
  153.     1.00000 0.00000
  154. End_Chunk
  155. Chunk: Colours
  156.  Number: 1
  157.  0x00
  158. End_Chunk
  159.  
  160. Chunk: ImageRef
  161.  Number: 1
  162.  Index: 1 Image: 11
  163. End_Chunk
  164.  
  165. Children:
  166. ;
  167. ;-------Object   17-------------------------------------------------------
  168. Chunk: Standard
  169.  Name:     "rightwall[17]"
  170.  Number:   17
  171.  Size:     0 7600 9000
  172.  Position: 0 17700 3000
  173.  Type:     4
  174.  Layer:    0
  175. End_Chunk
  176. Chunk: TexCoords
  177.  Number: 1
  178.  Mode:   0
  179.  SubChunk
  180.   Facet:     1
  181.   ImageRef:  1
  182.   PixScale:  0
  183.   NumCoords: 4
  184.     0.00000 0.00000
  185.     0.00000 1.00000
  186.     1.00000 1.00000
  187.     1.00000 0.00000
  188. End_Chunk
  189. Chunk: SCL
  190. if (activate (me, 0))
  191.  
  192. {
  193.  
  194.   dlgInfo;
  195.  
  196.   clrtrig (me, 0);
  197.  
  198. }
  199. end
  200. End_Chunk
  201.  
  202. Chunk: ImageRef
  203.  Number: 1
  204.  Index: 1 Image: 2
  205. End_Chunk
  206.  
  207. End_Children
  208. ;
  209. ;-------Object    2-------------------------------------------------------
  210. Chunk: Standard
  211.  Name:     "floor"
  212.  Number:   2
  213.  Size:     34000 1000 15000
  214.  Position: 2061000 0 1951000
  215.  Type:     6
  216.  Layer:    0
  217. End_Chunk
  218. Chunk: TexCoords
  219.  Number: 1
  220.  Mode:   0
  221.  SubChunk
  222.   Facet:     1
  223.   ImageRef:  1
  224.   PixScale:  0
  225.   NumCoords: 4
  226.     0.00000 0.00000
  227.     0.00000 1.00000
  228.     1.00000 1.00000
  229.     1.00000 0.00000
  230. End_Chunk
  231.  
  232. Chunk: ImageRef
  233.  Number: 1
  234.  Index: 1 Image: 10
  235. End_Chunk
  236. ;
  237. ;-------Object    6-------------------------------------------------------
  238. Chunk: Standard
  239.  Name:     "backwall"
  240.  Number:   6
  241.  Size:     34000 30000 1000
  242.  Position: 2061000 1000 1966000
  243.  Type:     1
  244.  Layer:    0
  245. End_Chunk
  246. Chunk: TexCoords
  247.  Number: 1
  248.  Mode:   0
  249.  SubChunk
  250.   Facet:     1
  251.   ImageRef:  1
  252.   PixScale:  0
  253.   NumCoords: 4
  254.     0.00000 0.00000
  255.     0.00000 1.00000
  256.     1.00000 1.00000
  257.     1.00000 0.00000
  258. End_Chunk
  259.  
  260. Chunk: ImageRef
  261.  Number: 1
  262.  Index: 1 Image: 4
  263. End_Chunk
  264. ;
  265. ;-------Object    7-------------------------------------------------------
  266. Chunk: Standard
  267.  Name:     "frontwall"
  268.  Number:   7
  269.  Size:     34000 30000 1000
  270.  Position: 2061000 1000 1950000
  271.  Type:     2
  272.  Layer:    0
  273. End_Chunk
  274. Chunk: TexCoords
  275.  Number: 1
  276.  Mode:   0
  277.  SubChunk
  278.   Facet:     1
  279.   ImageRef:  1
  280.   PixScale:  0
  281.   NumCoords: 4
  282.     0.00000 0.00000
  283.     0.00000 1.00000
  284.     -1.00000 1.00000
  285.     -1.00000 0.00000
  286. End_Chunk
  287.  
  288. Chunk: ImageRef
  289.  Number: 1
  290.  Index: 1 Image: 8
  291. End_Chunk
  292. ;
  293. ;-------Object    3-------------------------------------------------------
  294. Chunk: Standard
  295.  Name:     "ceiling"
  296.  Number:   3
  297.  Size:     34000 1000 15000
  298.  Position: 2061000 31000 1951000
  299.  Type:     5
  300.  Layer:    0
  301. End_Chunk
  302. ;
  303. ;-------Object   23-------------------------------------------------------
  304. Chunk: Standard
  305.  Name:     "bog hold"
  306.  Number:   23
  307.  Size:     9000 10000 5000
  308.  Position: 2085900 1000 1956000
  309.  Type:     65535
  310.  Layer:    0
  311. End_Chunk
  312.  
  313. Children:
  314. ;
  315. ;-------Object   22-------------------------------------------------------
  316. Chunk: Standard
  317.  Name:     "bog[22]"
  318.  Number:   22
  319.  Size:     4000 6000 3000
  320.  Position: 5000 0 1000
  321.  Type:     0
  322.  Layer:    0
  323. End_Chunk
  324. Chunk: TexCoords
  325.  Number: 3
  326.  Mode:   0
  327.  SubChunk
  328.   Facet:     1
  329.   ImageRef:  1
  330.   PixScale:  0
  331.   NumCoords: 4
  332.     0.00000 0.00000
  333.     0.00000 1.00000
  334.     1.00000 1.00000
  335.     1.00000 0.00000
  336.  SubChunk
  337.   Facet:     4
  338.   ImageRef:  1
  339.   PixScale:  0
  340.   NumCoords: 4
  341.     0.00000 0.00000
  342.     0.00000 1.00000
  343.     1.00000 1.00000
  344.     1.00000 0.00000
  345.  SubChunk
  346.   Facet:     2
  347.   ImageRef:  1
  348.   PixScale:  0
  349.   NumCoords: 4
  350.     0.00000 0.00000
  351.     0.00000 1.00000
  352.     1.00000 1.00000
  353.     1.00000 0.00000
  354. End_Chunk
  355.  
  356. Chunk: ImageRef
  357.  Number: 1
  358.  Index: 1 Image: 12
  359. End_Chunk
  360. ;
  361. ;-------Object   21-------------------------------------------------------
  362. Chunk: Standard
  363.  Name:     "bog[21]"
  364.  Number:   21
  365.  Size:     4000 3000 3000
  366.  Position: 1000 0 1000
  367.  Type:     0
  368.  Layer:    0
  369. End_Chunk
  370. Chunk: TexCoords
  371.  Number: 3
  372.  Mode:   0
  373.  SubChunk
  374.   Facet:     1
  375.   ImageRef:  1
  376.   PixScale:  0
  377.   NumCoords: 4
  378.     0.00000 0.00000
  379.     0.00000 1.00000
  380.     1.00000 1.00000
  381.     1.00000 0.00000
  382.  SubChunk
  383.   Facet:     2
  384.   ImageRef:  1
  385.   PixScale:  0
  386.   NumCoords: 4
  387.     0.00000 0.00000
  388.     0.00000 1.00000
  389.     1.00000 1.00000
  390.     1.00000 0.00000
  391.  SubChunk
  392.   Facet:     4
  393.   ImageRef:  1
  394.   PixScale:  0
  395.   NumCoords: 4
  396.     0.00000 0.00000
  397.     0.00000 1.00000
  398.     1.00000 1.00000
  399.     1.00000 0.00000
  400. End_Chunk
  401.  
  402. Chunk: ImageRef
  403.  Number: 1
  404.  Index: 1 Image: 14
  405. End_Chunk
  406. ;
  407. ;-------Object   11-------------------------------------------------------
  408. Chunk: Standard
  409.  Name:     "bog"
  410.  Number:   11
  411.  Size:     5000 2000 5000
  412.  Position: 0 3000 0
  413.  Type:     7
  414.  Layer:    0
  415. End_Chunk
  416. Chunk: TexCoords
  417.  Number: 4
  418.  Mode:   0
  419.  SubChunk
  420.   Facet:     6
  421.   ImageRef:  1
  422.   PixScale:  0
  423.   NumCoords: 4
  424.     0.00000 0.00000
  425.     0.00000 1.00000
  426.     1.00000 1.00000
  427.     1.00000 0.00000
  428.  SubChunk
  429.   Facet:     13
  430.   ImageRef:  2
  431.   PixScale:  0
  432.   NumCoords: 4
  433.     0.00000 0.00000
  434.     0.00000 1.00000
  435.     1.00000 1.00000
  436.     1.00000 0.00000
  437.  SubChunk
  438.   Facet:     12
  439.   ImageRef:  2
  440.   PixScale:  0
  441.   NumCoords: 4
  442.     0.00000 0.00000
  443.     0.00000 1.00000
  444.     1.00000 1.00000
  445.     1.00000 0.00000
  446.  SubChunk
  447.   Facet:     10
  448.   ImageRef:  2
  449.   PixScale:  0
  450.   NumCoords: 4
  451.     0.00000 0.00000
  452.     0.00000 1.00000
  453.     1.00000 1.00000
  454.     1.00000 0.00000
  455. End_Chunk
  456. Chunk: Colours
  457.  Number: 13
  458.  0x0A 0x18 0x07 0x07 0x18 0x0A 0x26 0x28 0x29 0x2A 0x2B 0x2C 0x2D
  459. End_Chunk
  460.  
  461. Chunk: ImageRef
  462.  Number: 2
  463.  Index: 1 Image: 9
  464.  Index: 2 Image: 12
  465. End_Chunk
  466. ;
  467. ;-------Object   12-------------------------------------------------------
  468. Chunk: Standard
  469.  Name:     "bog[12]"
  470.  Number:   12
  471.  Size:     4000 4000 5000
  472.  Position: 5000 6000 0
  473.  Type:     0
  474.  Layer:    0
  475. End_Chunk
  476. Chunk: TexCoords
  477.  Number: 4
  478.  Mode:   0
  479.  SubChunk
  480.   Facet:     1
  481.   ImageRef:  1
  482.   PixScale:  0
  483.   NumCoords: 4
  484.     0.00000 0.00000
  485.     0.00000 1.00000
  486.     1.00000 1.00000
  487.     1.00000 0.00000
  488.  SubChunk
  489.   Facet:     4
  490.   ImageRef:  1
  491.   PixScale:  0
  492.   NumCoords: 4
  493.     0.00000 0.00000
  494.     0.00000 1.00000
  495.     1.00000 1.00000
  496.     1.00000 0.00000
  497.  SubChunk
  498.   Facet:     5
  499.   ImageRef:  1
  500.   PixScale:  0
  501.   NumCoords: 4
  502.     0.00000 0.00000
  503.     0.00000 1.00000
  504.     1.00000 1.00000
  505.     1.00000 0.00000
  506.  SubChunk
  507.   Facet:     2
  508.   ImageRef:  1
  509.   PixScale:  0
  510.   NumCoords: 4
  511.     0.00000 0.00000
  512.     0.00000 1.00000
  513.     1.00000 1.00000
  514.     1.00000 0.00000
  515. End_Chunk
  516. Chunk: Colours
  517.  Number: 6
  518.  0x08 0x76 0x77 0x76 0x75 0x75
  519. End_Chunk
  520.  
  521. Chunk: ImageRef
  522.  Number: 1
  523.  Index: 1 Image: 12
  524. End_Chunk
  525. ;
  526. ;-------Object   14-------------------------------------------------------
  527. Chunk: Standard
  528.  Name:     "bog[14]"
  529.  Number:   14
  530.  Size:     400 100 930
  531.  Position: 4600 9500 4070
  532.  Type:     9
  533.  Layer:    0
  534. End_Chunk
  535. Chunk: Colours
  536.  Number: 8
  537.  0x08 0x08 0x23 0x24 0x25 0x08 0x08 0x08
  538. End_Chunk
  539.  
  540. End_Children
  541. ;
  542. ;-------Object   13-------------------------------------------------------
  543. Chunk: Standard
  544.  Name:     "bog[13]"
  545.  Number:   13
  546.  Size:     1559 1439 1079
  547.  Position: 2085200 10700 1964921
  548.  Type:     8
  549.  Layer:    0
  550. End_Chunk
  551. Chunk: TexCoords
  552.  Number: 2
  553.  Mode:   0
  554.  SubChunk
  555.   Facet:     10
  556.   ImageRef:  1
  557.   PixScale:  0
  558.   NumCoords: 4
  559.     0.00000 0.00000
  560.     0.00000 1.00000
  561.     1.00000 1.00000
  562.     1.00000 0.00000
  563.  SubChunk
  564.   Facet:     11
  565.   ImageRef:  1
  566.   PixScale:  0
  567.   NumCoords: 4
  568.     0.00000 0.00000
  569.     0.00000 1.00000
  570.     -1.00000 1.00000
  571.     -1.00000 0.00000
  572. End_Chunk
  573. Chunk: Colours
  574.  Number: 12
  575.  0x37 0x37 0x37 0x37 0x37 0x37 0x36 0x36 0x35 0x29 0x2A 0x20
  576. End_Chunk
  577.  
  578. Chunk: ImageRef
  579.  Number: 1
  580.  Index: 1 Image: 15
  581. End_Chunk
  582. ;
  583. ;-------Object   16-------------------------------------------------------
  584. Chunk: Standard
  585.  Name:     "frontwall[16]"
  586.  Number:   16
  587.  Size:     2200 30000 15000
  588.  Position: 2082000 1000 1951000
  589.  Type:     65535
  590.  Layer:    0
  591. End_Chunk
  592. ;
  593. ;-------Object   18-------------------------------------------------------
  594. Chunk: Standard
  595.  Name:     "shower[18]"
  596.  Number:   18
  597.  Size:     3100 2400 3000
  598.  Position: 2091900 24400 1951000
  599.  Type:     65535
  600.  Layer:    0
  601. End_Chunk
  602. Chunk: SCL
  603. char   NAME[10], PATH[256], DIR[256], DRIVE[3];
  604.  
  605. long   WIDTH, HEIGHT, newPOS, oldWIDTH, STATS[8];
  606.  
  607. short  Scale=16, imgNum=3, LOWEST, MOODS=1, TEMP, ROT;
  608.  
  609.  
  610.  
  611. resume (2, 2);
  612.  
  613. if (first)
  614.  
  615. {
  616.  
  617.   cdDrive (&DRIVE);
  618.  
  619.   strcpy (&DIR, &DRIVE);
  620.  
  621.   strcat (&DIR, "\\LoveBytes\\");
  622.  
  623.   counter (20)=-1;
  624.  
  625.   counter (25)=-1;
  626.  
  627. }
  628.  
  629. if (counter (20)>-1)
  630.  
  631. {
  632.  
  633.   strcpy (&PATH, &DIR);
  634.  
  635.   strcat (&PATH, "images\\");
  636.  
  637.   ltoa (&NAME, counter (20));
  638.  
  639.   strcat (&PATH, &NAME);
  640.  
  641.   strcat (&PATH, ".gif");
  642.  
  643.   imageLd (&PATH, imgNum, 1, &WIDTH, &HEIGHT);
  644.  
  645.   newPOS=zpos (#1);
  646.  
  647.   oldWIDTH=zsize (#1)/2;
  648.  
  649.   zsize (#1)=WIDTH*Scale;
  650.  
  651.   ysize (#1)=HEIGHT*Scale;
  652.  
  653.   write (&zcent (#1))=zsize (#1)/2;
  654.  
  655.   newPOS=newPOS+oldWIDTH-WIDTH*Scale/2;
  656.  
  657.   zpos (#1)=newPOS;
  658.  
  659.   counter (20)=-1;
  660.  
  661. }
  662.  
  663. if (counter (25)>-1)
  664.  
  665. {
  666.  
  667.   strcpy (&PATH, &DIR);
  668.  
  669.   strcat (&PATH, "sounds\\");
  670.  
  671.   ltoa (&NAME, counter (25));
  672.  
  673.   strcat (&PATH, &NAME);
  674.  
  675.   strcat (&PATH, ".wav");
  676.  
  677.   playWAV (&PATH);
  678.  
  679.   counter (25)=-1;
  680.  
  681. }
  682.  
  683. if (counter (26)>-1)
  684.  
  685. {
  686.  
  687.   strcpy (&PATH, &DIR);
  688.  
  689.   strcat (&PATH, "sounds\\");
  690.  
  691.   ltoa (&NAME, counter (26));
  692.  
  693.   strcat (&PATH, &NAME);
  694.  
  695.   strcat (&PATH, ".wav");
  696.  
  697.   while (sndState)
  698.  
  699.     waitf;
  700.  
  701.   playWAV (&PATH);
  702.  
  703.   counter (26)=-1;
  704.  
  705. }
  706. end
  707. End_Chunk
  708. ;
  709. ;-------Object    1-------------------------------------------------------
  710. Chunk: Standard
  711.  Name:     "woman"
  712.  Number:   1
  713.  Size:     0 15589 6664
  714.  Position: 2085900 1000 1955409
  715.  Type:     0
  716.  Layer:    0
  717.  DFlags:   r
  718.  OFlags:   Ii
  719. End_Chunk
  720. Chunk: TexCoords
  721.  Number: 1
  722.  Mode:   0
  723.  SubChunk
  724.   Facet:     1
  725.   ImageRef:  1
  726.   PixScale:  0
  727.   NumCoords: 4
  728.     0.00000 0.00000
  729.     0.00000 1.00000
  730.     1.00000 1.00000
  731.     1.00000 0.00000
  732. End_Chunk
  733. Chunk: Rotations
  734.  Initial: 0x0000 0x0000 0x0000
  735.  Centre:  0 7794 2816
  736. End_Chunk
  737. Chunk: SCL
  738. long   STATS[8], TEMP;
  739.  
  740. short  MOOD, LOWEST;
  741.  
  742.  
  743.  
  744. resume (1, 2);
  745.  
  746. if (first)
  747.  
  748. {
  749.  
  750.   ranseed (vrtime);
  751.  
  752.   if (random (10)==1)
  753.  
  754.     vis (me);
  755.  
  756.   else
  757.  
  758.     invis (me);
  759.  
  760. }
  761.  
  762. if (activate (me, 0) || first)
  763.  
  764. {
  765.  
  766.   zpos (me)=izpos (me);
  767.  
  768.   if (vis? (me))
  769.  
  770.   {
  771.  
  772.     counter (20)=table (random (3)) {59, 60, 61};
  773.  
  774.     counter (26)=table (random (7)) {9, 11, 29, 82, 83, 93, 
  775.  
  776.         130};
  777.  
  778.     while (mouseb)
  779.  
  780.       waitf;
  781.  
  782.     waitfs (20);
  783.  
  784.   }
  785.  
  786.   clrtrig (me, 0);
  787.  
  788. }
  789. end
  790. End_Chunk
  791. Chunk: InitPos
  792.  Position: 2085900 1000 1955409
  793. End_Chunk
  794. Chunk: InitSize
  795.  Size: 0 15589 6664
  796. End_Chunk
  797. Chunk: Colours
  798.  Number: 6
  799.  0x77 0x76 0x77 0x76 0x75 0x75
  800. End_Chunk
  801.  
  802. Chunk: ImageRef
  803.  Number: 5
  804.  Index: 1 Image: 3
  805.  Index: 2 Image: 65535
  806.  Index: 3 Image: 65535
  807.  Index: 4 Image: 65535
  808.  Index: 5 Image: 65535
  809. End_Chunk
  810. ;
  811. ;-------Object   19-------------------------------------------------------
  812. Chunk: Standard
  813.  Name:     "Menus"
  814.  Number:   19
  815.  Size:     10000 10000 10000
  816.  Position: 2064388 0 1986889
  817.  Type:     65535
  818.  Layer:    0
  819. End_Chunk
  820. Chunk: SCL
  821. if (first)
  822.  
  823. {
  824.  
  825.   menuNew (me);
  826.  
  827.   menuLock (0);
  828.  
  829. }
  830. end
  831. End_Chunk
  832. Chunk: Text
  833.   "item \"E&xit\" scl exitVis; sclend\r"
  834.   "item \"A&bout\" scl Credits; sclend"
  835. End_Chunk
  836.  
  837. End_Children
  838. ;
  839. ;-------Object    8-------------------------------------------------------
  840. Chunk: Standard
  841.  Name:     "HUMANVP: HOLD "
  842.  Number:   8
  843.  Size:     4000 4000 4000
  844.  Position: 2061100 14120 1959601
  845.  Type:     65535
  846.  Layer:    0
  847.  DFlags:   M
  848. End_Chunk
  849. Chunk: Colours
  850.  Number: 18
  851.  0x0E 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E
  852.  0x0E 0x0E
  853. End_Chunk
  854. Chunk: InitPos
  855.  Position: 2061100 14120 1959601
  856. End_Chunk
  857. Chunk: Dynamics
  858.  MovType:     0x800004A1
  859.  Fuel:        0
  860.  Climb:       4000
  861.  Gravity:     0
  862.  Coupled:     9
  863.  Drive:       0 0 0
  864.  External:    0 0 0
  865.  MaxForce:    0 0 0
  866.  GroundFric:  0 0 0
  867.  Restitution: 0 0 0
  868.  Velocity:    0 0 0
  869.  MaxVel:      0 0 0
  870. End_Chunk
  871.  
  872. Children:
  873. ;
  874. ;-------Object    9-------------------------------------------------------
  875. Chunk: Standard
  876.  Name:     "HUMANVP:View point "
  877.  Number:   9
  878.  Size:     1000 1000 1000
  879.  Position: 1500 1500 1500
  880.  Type:     65535
  881.  Layer:    0
  882.  DFlags:   r
  883. End_Chunk
  884. Chunk: Rotations
  885.  Initial: 0x0000 0x3C71 0x0000
  886.  Centre:  500 500 500
  887. End_Chunk
  888. Chunk: Colours
  889.  Number: 18
  890.  0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B
  891.  0x0B 0x0B
  892. End_Chunk
  893. ;
  894. ;-------Object   15-------------------------------------------------------
  895. Chunk: Standard
  896.  Name:     "movelogic"
  897.  Number:   15
  898.  Size:     1000 1000 1000
  899.  Position: 0 0 0
  900.  Type:     65535
  901.  Layer:    0
  902.  DFlags:   r
  903. End_Chunk
  904. Chunk: SCL
  905. short  X, Y;
  906.  
  907.  
  908.  
  909. resume (1, 2);
  910.  
  911. if (mouseb>1)
  912.  
  913. {
  914.  
  915.   if (!first)
  916.  
  917.     X=mousex;
  918.  
  919.   Y=mousey;
  920.  
  921.   while (mouseb>1)
  922.  
  923.   {
  924.  
  925.     if (mouseb==3)
  926.  
  927.     {
  928.  
  929.       Y=mousey;
  930.  
  931.       while (mouseb==3)
  932.  
  933.       {
  934.  
  935.         ydrive (#8)= (mousey-Y)*-10;
  936.  
  937.         yrot (#9)+=deg ( (mousex-X)*4);
  938.  
  939.         waitf;
  940.  
  941.       }
  942.  
  943.       Y=mousey;
  944.  
  945.     }
  946.  
  947.     zdrive (#8)= (mousey-Y)*-20;
  948.  
  949.     yrot (#9)+=deg ( (mousex-X)*4);
  950.  
  951.     waitf;
  952.  
  953.   }
  954.  
  955. }
  956. end
  957. End_Chunk
  958.  
  959. End_Children
  960. End_File