FAQ  •  Register  •  Login

RAB - The Curse of Captain Morgan - CrazyLinuxNerd

<<

CrazyLinuxNerd

User avatar

Posts: 40

Joined: Mon Feb 07, 2011 4:43 pm

Location: England

Post Fri Nov 04, 2011 7:14 pm

RAB - The Curse of Captain Morgan - CrazyLinuxNerd

Hey guys!

Well here it is, finally ready for release! This is often called a um, really big map. But that's ok. It has a nice pirate flag, and a carrot flag. :-)

Oh and a maze which is randomly generated each time the level is loaded (using levelgen) The left side, and the right-hand side both generate individually. The entrance and exit, also swaps randomly as-well. So I doubt you be memorising the route for this one!

The levelgen is quite large however. Sorry about that.

Oh and I forgot to mention the level is completely configurable via levelgen :-)

and oh yeah, it also has a balancing system on it, so if you start level with say, 3 players the levelgen will add a bot to make it 4 players. By default this is turned off. it also has a single player fix in there as well, however it conflicts with the above, it's either one or the other. Single player mode will add a bot if it detects less than two players. This is also disabled by default.

This is the one you saw in BBB7, only slightly more updated. And doesn't have the broken flag.


--
Details:
--
Type: RAB
Name: The Curse of Captain Morgan
Version: v1.0
Levelgen Script: morgan.levelgen
Levelgen Version: v1.2
Gametime: 10:00
Score to Win: 80
Min Players: 2
Max Players: 40
Engineer: Disabled
Tested with:
Latest Bitfighter as of 04/11/11

morgan.level:
RabbitGameType 10.000 80 10 10
LevelName The Curse of Captain Morgan
LevelDescription Hint: Ye be running!
LevelCredits CrazyLinuxNerd
Script morgan.levelgen
GridSize 400
MinPlayers 2
MaxPlayers 40
Specials
Team Pirates 0 0 0
BarrierMaker 50 -4.11628 -9.6348  -4.5 -9.5  -5 -9  -4.5 -8.5  -4.5 -8  -5 -7.5  -4.5 -7  -5 -6.5  -4.5 -5.5  -5 -5.5  -4.5 -5  -4.38815 -4.36062  -3.94089 -4.10284  -3.43663 -3.62658  -2.26761 -3.62658  -0.799533 -3.73533  0.50542 -4.03438  3.55031 -4.87716  4.74652 -4.49655  6 -4  8 -4.5  10 -5  10 -11  7.76597 -10.0319  5.83398 -10.2601  5 -11  3.43588 -11.2932  -0.282983 -10.0698  -1.77824 -9.77073  -3.3215 -9.62413
BarrierMaker 50 -3.3215 -9.62413  -4.11628 -9.6348
BarrierMaker 50 5.27459 -6.94991  5.27459 -6.94991  5.40952 -7.16853  5.37618 -7.32853  5.28952 -7.5152  5.18285 -7.60853  5.00163 -7.62181  4.85465 -7.47483  4.77067 -7.22287  0.529275 -6.19401  0.298308 -6.36199  0.00435024 -6.34099  -0.163626 -6.17302  -0.142629 -5.98404  -0.0141311 -5.82031  0.193323 -5.75308  0.466284 -5.83707  0.592266 -5.98404  3.20622 -6.61739  4.89665 -7.0129
BarrierMaker 50 5.27459 -6.94991  4.89665 -7.0129
BarrierMaker 50 0.674141 -7.24359  2.8248 -6.76164
BarrierMaker 50 3.19595 -6.58869  4.86266 -6.24595
BarrierMaker 50 0.734242 -7.20269  0.6 -7.6  0.497448 -7.75206  0.317278 -7.78482  0.0879718 -7.7193  -0.00484287 -7.50091  -0.0103026 -7.22246  0.12073 -7.04775  0.431932 -6.95494  0.63394 -6.98769  0.732214 -7.19516
BarrierMaker 50 0.63394 -6.98769  2.25615 -6.61639
BarrierMaker 50 2.66999 -6.47288  4.9794 -5.88552
BarrierMaker 50 4.9794 -5.88552  5.01088 -5.68283  5.10131 -5.57433  5.26858 -5.49296  5.43586 -5.51104  5.58636 -5.57311  5.63172 -5.83764  5.60873 -6.09807  5.53079 -6.25698  5.34995 -6.30219  5.07416 -6.21629  4.86266 -6.24595
BarrierMaker 50 3.00299 -10.0084  3.22131 -9.957  3.38826 -9.89279  3.60658 -9.75152  3.77354 -9.59742  3.84676 -9.43655  3.8901 -9.34327  3.90676 -9.23308
BarrierMaker 50 3.00299 -10.0084  2.73504 -9.97379  2.52145 -9.88225  2.45474 -9.80382
BarrierMaker 5 2.45474 -9.80382  2.66063 -9.63447  2.83332 -9.49499  2.9861 -9.38871  3.17872 -9.26251  3.5 -9.2  3.7 -9.2  3.8 -9.2  3.90676 -9.23308
BarrierMaker 15 2.36889 -9.70935  2.78019 -9.41526  2.97945 -9.27577  3.15879 -9.16285  3.22521 -9.14292  3.22521 -9.14292
BarrierMaker 15 3.22521 -9.14292  3.21857 -8.96358  3.21857 -8.83073  3.28499 -8.71781  3.45105 -8.69124  3.63039 -8.71117  3.74331 -8.72445  3.74995 -8.85065  3.74331 -8.9835  3.74331 -9.07649
BarrierMaker 15 2.77938 -9.1857  2.81605 -9.14571  2.85271 -9.09904  2.88605 -9.03905  2.90939 -8.96923  2.91271 -8.88906  2.89271 -8.81906  2.83605 -8.76241  2.75271 -8.73907  2.65938 -8.72908  2.56271 -8.74575  2.50271 -8.77576  2.44605 -8.82578  2.41271 -8.88912  2.38938 -8.95581  2.37938 -9.02915  2.40271 -9.09582  2.44271 -9.13916  2.49271 -9.17583  2.53605 -9.20583  2.59605 -9.2325  2.65605 -9.24121  2.71939 -9.22457  2.76939 -9.19792  2.79272 -9.18127
BarrierMaker 15 3.66288 -8.40669  3.6 -8.4  3.54953 -8.35298  3.50953 -8.32633  3.50953 -8.27633  3.53953 -8.233  3.50953 -8.203  3.45286 -8.17967  3.46953 -8.12967  3.45286 -8.09634  3.42054 -8.03305  3.35721 -8.03304  3.30054 -8.03303  3.25387 -8.01968  3.19387 -8.00967  3.14387 -8.01966  3.08054 -8.01965  3.02387 -8.00964  2.96387 -8.00963  2.90721 -8.00628  2.84387 -8.00959  2.78054 -8.02291  2.72054 -8.03623  2.6772 -8.04287  2.62387 -8.03953  2.5772 -8.03619  2.51953 -8.02975  2.46387 -8.02949  2.4172 -8.04281  2.4 -8.1  2.3862 -8.21978  2.42286 -8.27312
BarrierMaker 15 2.42286 -8.27312  2.42286 -8.27312  2.42286 -8.27312  2.4462 -8.33324  2.43287 -8.37991  2.39953 -8.42659  2.29749 -8.38718  2.23083 -8.39717  2.17749 -8.41049  2.12749 -8.43382  2.07518 -8.47067
BarrierMaker 15 3.66288 -8.40669  3.77288 -8.41337  3.82288 -8.43671  3.92765 -8.4673
BarrierMaker 15 2.25354 -7.74978  2.40159 -7.71199  2.40492 -7.63199  2.40159 -7.57532  2.46825 -7.55532  2.49687 -7.67978  2.39159 -7.71866  2.50492 -7.70199  2.50492 -7.54532  2.53159 -7.53866  2.53492 -7.69866  2.59826 -7.69532  2.58159 -7.51532  2.62826 -7.50532  2.65159 -7.69532  2.69826 -7.68532  2.66159 -7.49533  2.72826 -7.49533  2.76159 -7.68866  2.81826 -7.68199  2.78492 -7.48199  2.84159 -7.48199  2.86492 -7.68532  2.92159 -7.68532  2.90159 -7.46199  2.98159 -7.47199  2.97826 -7.69199  3.04159 -7.69533  3.03159 -7.47533  3.10159 -7.48199  3.10159 -7.70199  3.16159 -7.70533
BarrierMaker 15 3.16493 -7.48533  3.16159 -7.70533
BarrierMaker 15 3.2116 -7.50533  3.21827 -7.70867  3.2716 -7.71534  3.26493 -7.50534  3.3116 -7.522  3.31827 -7.72867  3.36827 -7.732  3.36827 -7.54201  3.4216 -7.56534  3.4216 -7.75534  3.47493 -7.77534  3.4716 -7.59867  3.5216 -7.63867  3.5216 -7.79867  3.5716 -7.83867  3.59493 -7.85201
BarrierMaker 10 2.4972 -8.02616  2.49533 -7.92201  2.54533 -7.92201  2.55286 -8.02642
BarrierMaker 10 2.51953 -8.02975  2.5772 -8.03619  2.58823 -7.94298  2.62867 -7.95226  2.62387 -8.03953  2.6772 -8.04287  2.66868 -7.94894  2.70868 -7.94894  2.70387 -8.02633  2.73868 -8.01562  2.74534 -7.95229  2.78201 -7.95562  2.78721 -7.99633  2.82201 -7.99897  2.81868 -7.95231  2.85534 -7.95898  2.84387 -8.02632  2.90054 -8.00299  2.89534 -7.959  2.94201 -7.959  2.93534 -8.00901  2.96721 -8.02632  2.96868 -7.95903  3.00534 -7.95236  3.02054 -7.99632  3.04534 -7.94573  3.07868 -7.94907  3.08054 -8.01965  3.12054 -7.99298  3.12201 -7.93908  3.16201 -7.94242  3.16721 -8.01631
BarrierMaker 10 3.16868 -8.00591  3.16868 -7.94925  3.21202 -7.95258  3.20388 -8.01638  3.23388 -8.0397  3.24535 -7.9526  3.29202 -7.9526  3.30054 -8.03303  3.35721 -8.03304  3.34009 -7.9512  3.41535 -7.94928  3.41387 -8.02636
BarrierMaker 20 2.29135 -7.70659  2.52178 -7.64374  2.57625 -7.61022  2.63909 -7.56833  2.78573 -7.56414  2.92818 -7.55157  3.167 -7.5809  3.30525 -7.61441  3.43932 -7.66469  3.5216 -7.79867
BarrierMaker 15 3.15854 -8.59681  3.10035 -8.66185  3.049 -8.69608  2.97369 -8.66185  2.90865 -8.55915  2.86415 -8.4325  2.85046 -8.30584  2.9018 -8.26134  2.98738 -8.27161  3.03873 -8.30584  3.08323 -8.28188  3.12431 -8.25107  3.18593 -8.27845  3.22016 -8.32638  3.21674 -8.38457  3.20647 -8.44619  3.18935 -8.52492  3.15573 -8.6
BarrierMaker 50 3.92765 -9.10942  3.92765 -9.10942  3.92765 -9.10942  3.92765 -9.10942
BarrierMaker 50 3.92765 -9.10942  3.94049 -8.90394  3.92765 -8.68562  3.92765 -8.4673  3.93266 -8.36045  3.88818 -8.2616  3.74785 -8.15909  3.65796 -8.01783  3.64511 -7.85088  3.63227 -7.65824  3.50385 -7.54266  3.32405 -7.46561  3.14426 -7.42708  2.99015 -7.42708
BarrierMaker 50 2.36889 -9.70935  2.21446 -9.52176  2.14512 -9.33304  2.09426 -9.05843  2.08021 -8.89789  2.07231 -8.73993  2.07518 -8.60734  2.07518 -8.47067  2.08185 -8.35253  2.09185 -8.23257  2.15852 -8.14906  2.22185 -8.03241  2.22495 -7.88315  2.23662 -7.66505  2.30067 -7.59141  2.41088 -7.53172  2.62672 -7.43988  2.84255 -7.41692  2.99015 -7.42708
BarrierMaker 50 12 -12  12 -13  11 -14  10 -13  10 23  12 23  12 -12
BarrierMaker 50 12 23  32 23  32 27  30.5 28  28 28  26.5 27  24 28  20.5 28  19.1483 26.869  17.5483 27.869  14.7483 27.869  12.7483 26.669  10.8483 26.869  9.7483 27.969  7.5483 26.969  5.6483 28.269  3.6483 26.869  1.3483 28.069  -0.4517 26.969  -3.1517 28.469  -5.8517 27.069  -7.4517 28.369  -7.5 23  11.5 23
BarrierMaker 50 10 26.5  10 51  12 51  12 26.5
BarrierMaker 50 -13 51  37 51
BarrierMaker 50 37 56  34.5 58  30.5 58  29 56.5  25 56.5  24.5 58  23 58  22 56.5  17.5 56.5  16 58  12 58  10.5 56  8 56  5 58  1.5 58  -0.5 56  -5 56  -7 58  -11 58  -13 56  -13 51
BarrierMaker 50 37 51  37 56
BarrierMaker 50 10 56  10 85  12 85  12 58
BarrierMaker 50 -22 85  46 85
BarrierMaker 50 -22 92  -22 85
BarrierMaker 50 46 92  46 85
BarrierMaker 50 -22 92  -20 94
BarrierMaker 50 -17.5 94  -20 94  -17.5 94  -15.5 93  -13.5 93  -12.5 94  -11 94  -9 93  -7 93
BarrierMaker 50 -5.5 94  -7 93  -5.5 94  -3.5 94  -3 93  -1.5 93  -0.5 94  1.5 94  3 93  4.5 93  5 94  6.5 94  8 93  10 93  11 94  12.5 94  14 93  16 93  17.5 94  19.5 94  21.5 93  24 93  25.5 94  27.5 94  28.5 93  30.5 93  31.5 94  33.5 94  34.5 93  36 93  37 94  38.5 94
BarrierMaker 50 40 93  39 94  40 93  41.5 93  42.5 94  44 94  46 92
BarrierMaker 50 10 93  10 132  12 132  12 94
BarrierMaker 50 -59 131.5  62.5 132.5  65.5 130.5  70.5 127.5  75 125  81.5 125  93.5 125  91.3017 126.597  88.1017 127.797  86.3016 129.297  84.2015 130.597  82.4014 132.096  80.9013 133.996  79.5011 135.696  78.102 138.997  76.5021 142.797  75.101 144.895  73.5023 147.398  71.3023 150.498  69.3023 153.798  66.0024 156.598  -60 155.5
BarrierMaker 50 -60 155.5  -63.5 152  -65.5 150.5  -68.5 148.5  -72 147.5  -77 147.5  -79.5 147.5  -83.5 147.5  -86.5 145  -86.5 138  -86.5 132.5  -86.5 125  -86.5 120  -59 120  -59 131.5
BarrierMaker 50 -59 120  -59 115  -60 115  -60 120  -61 120  -61 115  -62 115  -62 120  -63 120  -63 115  -64 115  -64 120  -65 120  -65 115  -66 115  -66 120  -67 120  -67 115  -68 115  -68 120  -69 120  -69 115  -70 115  -70 120  -71 120  -71 115  -72 115  -72 120  -73 120  -73 115  -74 115  -74 120
BarrierMaker 50 -75 120  -75 115  -76 115  -76 120  -77 120  -77 115  -78 115  -78 120  -79 120  -79 115  -80 115  -80 120  -81 120  -81 115  -82 115  -82 120  -83 120  -83 115  -84 115  -84 120  -85 120  -85 115  -86 115  -86 120  -86.5 120  -86.5 115  -86 115
BarrierMaker 50 -59 114  -86.5 114  -86.5 115  -59.5 115  -59 115  -59 114
BarrierMaker 50 -40 143  53 143  62.5 132.5
BarrierMaker 50 -40 143  -50 131.5
BarrierMaker 15 3.74331 -9.07649  3.74331 -9.07649  3.92765 -9.10942
BarrierMaker 50 9.5 137.5  11.5 137.5  11.5 138.4  9.5 138.4  9.5 137.5
BarrierMaker 50 11 135  11 136  19 136  19 141  2 141  2 136  10 136  10 135  9 135  9 133  12 133  12 135  11 135
BarrierMaker 50 11 136  11 136.5  13.3 136.5
BarrierMaker 50 10 136  10 136.5  8.5 136.5  8.5 137  7.8 137  7.8 136.5  8.5 136.5
BarrierMaker 50 9.5 140.5  9.5 140.6  9.2 140.6  9.2 139.5  9.5 139.5  9.5 140.5  10.5 140.5  10.5 139.5  10 139.5  10 139  11.5 139  11.5 139.5  11 139.5  11 140
BarrierMaker 50 10 137.5  10 137  9 137  9 137.5  7 137.5  7 138  4.5 138  5.5 138  5.5 139.5  3.5 139.5  3.5 140  4 140  4 139.7  5.7 139.7  6 139.7  6 140.1  6 138.4  7.2 138.4  7.2 137.7  9 137.7  9 137.5
BarrierMaker 50 11.5 138.4  12.1 138.4  12.1 139.2
BarrierMaker 50 15.5 139  15.5 140  17.5 140  17.5 139  15.5 139  15.5 138  18 138  18 137  13.8 137
BarrierMaker 50 8.8 140.6  8.8 139.5  8.5 139.5  8.5 140.5  7.5 140.5  7.5 139  6.5 139  6.5 140.5  5.5 140.5  5.5 140  4.5 140  4.5 140.5  3 140.5  3 139  3.5 139
BarrierMaker 50 3 140.5  2.5 140.5  2.5 136.5  5.5 136.5  5.5 136.7  2.8 136.7  2.8 138.7  2.5 138.7
BarrierMaker 50 5.5 137.2  5.5 137.2
BarrierMaker 50 17.4916 140.447  17.5 140.5  15 140.5  15 138  14.5 138  14.5 139  14.5 139.5  14 139.5  14 140.5  14.5 140.5  14.5 140  14 140
BarrierMaker 50 5 140.4  5 141
BarrierMaker 50 7 141  7 139.5  7 139.5
BarrierMaker 50 13.5 139  14 139  14 138  13.5 138  13.5 140.5  11 140.5  11 141
BarrierMaker 50 18 140  18 138.5  16 138.5  18 138.5  18 138.5
BarrierMaker 50 9.5 138.4  9.5 139  8.8 139
BarrierMaker 50 13 137.5  12.1 137.5  12.1 137.9  12.6 137.9  12.6 139.4
BarrierMaker 50 10.6 136.9  10.7 136.9  10.8 137  10.8 137.5
BarrierMaker 50 10.4 136.9  10.3 136.9  10.2 137  10.2 137.5
BarrierMaker 50 -63 115  -63 120
BarrierMaker 50 -62 115  -62 120
BarrierMaker 50 -62 115  -63 115
BarrierMaker 50 -62.7302 115.005  -62.6983 107.976  -62.235 107.975  -62.3149 114.98
BarrierMaker 50 -64 110  -62 110
BarrierMaker 50 -62 110  -62 111  -64 111
BarrierMaker 50 -64 110  -64.9561 110.219  -65.9648 110.399  -67.0407 110.556  -68.139 110.511  -69.0131 109.973  -69.7976 109.547  -70.8735 109.524
BarrierMaker 50 -71 110.5  -69.9543 110.398  -69.3715 110.623  -68.4076 111.228  -66.973 111.295  -65.8971 111.161  -64.8436 110.936  -64 111
BarrierMaker 50 -70.8735 109.524  -74.0688 109.446  -74.0688 114.343  -71.1697 114.365  -70.4889 114.036  -70.0936 113.421  -70.1814 112.586  -70.5547 112.081  -70.928 111.884  -71.0818 111.269  -71.0159 110.412  -70.8735 109.524
BarrierMaker 50 -72 109.5  -71.8913 108.768  -71.395 108.414  -71.395 108.414
BarrierMaker 50 -70.4379 106.287  -67.3782 107.727  -70.6506 107.563
BarrierMaker 50 -71.5014 105.757  -71.0093 106.032  -71.0486 106.622  -71.4423 106.819  -71.9344 106.662  -71.5603 105.697
BarrierMaker 50 -71.7766 105.48  -71.186 105.717
BarrierMaker 50 -70.6506 107.563  -71.835 107.606  -72.1303 108.078  -71.395 108.414
BarrierMaker 50 -70.6506 107.563  -70.4379 107.031  -70.4379 106.287  -70.8633 105.613  -71.4659 105.223  -72.5648 105.152  -73.0611 105.223  -73.7701 105.471  -73.9827 106.145  -74.4081 106.783  -74.3018 107.35  -74.1954 107.669  -73.841 107.953  -73.3447 108.236  -72.7421 108.449  -72.7775 108.981  -72.7775 109.406
BarrierMaker 50 -71.5 109.5  -70.0497 107.606
BarrierMaker 50 -69.4006 106.75  -67.3048 104.566
BarrierMaker 50 -70.8735 109.524  -69.2042 107.721
BarrierMaker 50 -68.6919 107.138  -66.5 105
BarrierMaker 50 -67.3048 104.566  -67.7252 103.532  -67.2408 102.97  -66.7952 102.679  -65.9039 102.776  -65.2064 103.28  -65.032 103.842  -65.032 104.558  -65.2452 105.004  -65.7683 105.062  -66.5 105
BarrierMaker 50 -65.032 104.558  -64.5261 104.1  -64.0203 103.935  -63.6203 104.229  -63.585 104.676  -63.8673 105.511  -64.279 105.899  -64.8083 106.264  -65.0905 105.923  -65.1258 105.44  -65.1611 105.017  -65.2452 105.004
BarrierMaker 50 -67.0001 102.811  -74.0107 96.7873  -74.1752 97.0108  -67.4636 103.175
BarrierMaker 50 -70 105.5  -70.8633 105.613  -71.4659 105.223  -72.5648 105.152  -73.0611 105.223  -73.7701 105.471  -75.4405 105.473  -75.1638 104.94  -74.6896 104.604  -74.2746 104.544  -73.5434 104.287  -73.0297 103.971  -72.9704 104.366  -72.4763 104.505  -72.0613 104.09  -71.6859 103.951  -70.9547 104.228  -70.4409 105.354  -70.0259 105.591  -70.8633 105.613
BarrierMaker 50 3.9 139  5 139  5 138.5  4 138.5  4 137.5  5.5 137.5  5.5 137.2  3.4 137.2  3.4 138.6  4 138.6  4 138.5
BarrierMaker 50 8.4 139  8 139  8 140  7.99788 138.404  7.7 138.4  7.7 138.2  9 138.2  9 138.5  8.5 138.5  8.5 138.3  7.7 138.3
BarrierMaker 50 18.5 139.2  18.5 140.5  15 140.5
BarrierMaker 50 13.3 137  11 137  11 137.5
BarrierMaker 50 13.8 136.5  18.5 136.5  18.5 138.7
BarrierMaker 50 7.5 139.5  7.5 139.5
BarrierMaker 50 6 136.4  6 137.5  6.5 137.5  6.5 137  7.2 137  7.2 136.5  6.5 136.5  6.5 137
BarrierMaker 50 12.1 139.6  12.1 140  11.5 140  13 140  13 137.5  17.5 137.5  17.1 137.5
PolyWall 2.29135 -7.70659  2.52178 -7.64374  2.63909 -7.56833  2.78573 -7.56414  2.92818 -7.55157  3.167 -7.5809  3.30525 -7.61441  3.43932 -7.66469  3.5216 -7.79867  3.59493 -7.85201  3.64511 -7.85088  3.63227 -7.65824  3.50385 -7.54266  3.32405 -7.46561  3.14426 -7.42708  2.84255 -7.41692  2.62672 -7.43988  2.30067 -7.59141
PolyWall 3.00861 -10.0725  3.22131 -9.957  3.38826 -9.89279  3.60658 -9.75152  3.77354 -9.59742  3.84676 -9.43655  3.8901 -9.34327  3.90676 -9.23308  3.8 -9.2  3.7 -9.2  3.5 -9.2  3.17872 -9.26251  2.9861 -9.38871  2.83332 -9.49499  2.66063 -9.63447  2.45474 -9.80382  2.44186 -9.88615  2.48519 -9.92946  2.7 -10
PolyWall 2.78019 -9.41526  2.65605 -9.24121  2.59605 -9.2325  2.53605 -9.20583  2.49271 -9.17583  2.44271 -9.13916  2.4 -9.1  2.14512 -9.33304  2.21446 -9.52176  2.36889 -9.70935
PolyWall 2.78019 -9.41526  2.97945 -9.27577  3.15879 -9.16285  2.85271 -9.09904  2.81605 -9.14571  2.79272 -9.18127  2.71939 -9.22457  2.65605 -9.24121
PolyWall 2.85271 -9.09904  3.15879 -9.16285  3.22521 -9.14292  3.21857 -8.96358  3.21857 -8.83073  2.89271 -8.81906  2.91271 -8.88906  2.90939 -8.96923  2.88605 -9.03905
PolyWall 3.74331 -8.72445  3.92765 -8.68562  3.92765 -8.4673  3.82288 -8.43671  3.77288 -8.41337  3.66288 -8.40669  3.6 -8.4  3.54953 -8.35298  3.50953 -8.32633  3.28499 -8.71781  3.45105 -8.69124  3.63039 -8.71117
PolyWall 2.89271 -8.81906  3.21857 -8.83073  3.28499 -8.71781  3.18935 -8.52492  3.15854 -8.59681  3.10035 -8.66185  3.049 -8.69608  2.97369 -8.66185  2.90865 -8.55915  2.83605 -8.76241
PolyWall 3.28499 -8.71781  3.50953 -8.32633  3.50953 -8.27633  3.53953 -8.233  3.50953 -8.203  3.45286 -8.17967  3.46953 -8.12967  3.45286 -8.09634  3.42054 -8.03305  3.12431 -8.25107  3.18593 -8.27845  3.22016 -8.32638  3.21674 -8.38457  3.20647 -8.44619  3.18935 -8.52492
PolyWall 2.4462 -8.33324  2.85046 -8.30584  2.9018 -8.26134  2.98738 -8.27161  3.03873 -8.30584  3.08323 -8.28188  3.12431 -8.25107  3.18593 -8.27845  3.50953 -8.27633  3.42054 -8.03305  3.25387 -8.01968  2.78054 -8.02291  2.72054 -8.03623  2.6772 -8.04287  2.62387 -8.03953  2.5772 -8.03619  2.51953 -8.02975  2.46387 -8.02949  2.4172 -8.04281  2.4 -8.1  2.3862 -8.21978  2.42286 -8.27312
PolyWall 2.56271 -8.74575  2.65938 -8.72908  2.75271 -8.73907  2.83605 -8.76241  2.90865 -8.55915  2.86415 -8.4325  2.85046 -8.30584  2.4462 -8.33324  2.43287 -8.37991  2.39953 -8.42659
PolyWall 2.14512 -9.33304  2.4 -9.1  2.37938 -9.02915  2.38938 -8.95581  2.41271 -8.88912  2.44605 -8.82578  2.50271 -8.77576  2.56271 -8.74575  2.5 -8.6  2.39953 -8.42659  2.29749 -8.38718  2.23083 -8.39717  2.17749 -8.41049  2.12749 -8.43382  2.07518 -8.47067  2.07518 -8.60734  2.07231 -8.73993  2.08021 -8.89789  2.09426 -9.05843
PolyWall 3.74331 -9.07649  3.92765 -9.10942  3.94049 -8.90394  3.92765 -8.68562  3.74331 -8.72445  3.74995 -8.85065  3.74331 -8.9835
PolyWall 4.77067 -7.22287  4.85465 -7.47483  5.00163 -7.62181  5.18285 -7.60853  5.28952 -7.5152  5.37618 -7.32853  5.40952 -7.16853  5.27459 -6.94991  4.9 -7
PolyWall 5.07416 -6.21629  5.34995 -6.30219  5.53079 -6.25698  5.6 -6.1  5.63172 -5.83764  5.6 -5.6  5.43586 -5.51104  5.26858 -5.49296  5.10131 -5.57433  5 -5.7  4.9794 -5.88552
PolyWall 0.529275 -6.19401  0.592266 -5.98404  0.466284 -5.83707  0.193323 -5.75308  -0.0141311 -5.82031  -0.142629 -5.98404  -0.163626 -6.17302  0.00435024 -6.34099  0.298308 -6.36199
PolyWall 0.734242 -7.20269  0.63394 -6.98769  0.431932 -6.95494  0.12073 -7.04775  0 -7.2  0 -7.5  0.0879718 -7.7193  0.317278 -7.78482  0.497448 -7.75206  0.6 -7.6  0.8 -7.2
PolyWall 0.734242 -7.20269  2.8248 -6.76164  2.25615 -6.61639  0.63394 -6.98769
PolyWall 3.20622 -6.61739  5.1 -6.2  5.03343 -5.87154  2.66999 -6.47288
PolyWall 0.529275 -6.19401  4.77067 -7.22287  4.9 -7  0.592266 -5.98404
PolyWall 10 -13  11 -14  12 -13  12 23  10 23
PolyWall -7.5 23  32 23  32 27  30.5 28  28 28  26.5 27  24 28  20.5 28  19.1483 26.869  17.5483 27.869  14.7483 27.869  12.7483 26.669  10.8483 26.869  9.7483 27.969  7.5483 26.969  5.6483 28.269  3.6483 26.869  1.3483 28.069  -0.5 27  -3.5 28.5  -5.8517 27.069  -7.4517 28.369
PolyWall 10 26.5  12 26.5  12 51  10 51
PolyWall -13 51  37 51  37 56  34.5 58  30.5 58  29 56.5  25 56.5  24.5 58  23 58  22 56.5  17.5 56.5  16 58  12 58  10.5 56  8 56  5 58  1.5 58  -0.5 56  -5 56  -7 58  -11 58  -13 56
PolyWall 12 58  12 85  10 85  10 56  10.5 56
PolyWall -22 85  25.5 85  25.5 94  24 93  21.5 93  19 94  17 94  16 93  14 93  12.5 94  10.5 94  10 93  8 93  6.5 94  5 94  4.5 93  3 93  1.5 94  -0.5 94  -1.5 93  -3 93  -3.5 94  -5.5 94  -7 93  -9 93  -11 94  -12.5 94  -13.5 93  -15.5 93  -18 94  -20 94  -22 92
PolyWall 25.5 85  46 85  46 92  44 94  42.5 94  41.5 93  40 93  39 94  37.5 94  36 93  34.5 93  33.5 94  31.5 94  30.5 93  28.5 93  27.5 94  25.5 94
PolyWall 10 93  11 94  12 94  12 132  10 132
PolyWall -60 115  -59 115  -59 120  -60 120
PolyWall -66 115  -65 115  -65 120  -66 120
PolyWall -68 115  -67 115  -67 120  -68 120
PolyWall -64 115  -63 115  -63 120  -64 120
PolyWall -62 115  -61 115  -61 120  -62 120
PolyWall -70 115  -69 115  -69 120  -70 120
PolyWall -74 115  -73 115  -73 120  -74 120
PolyWall -72 115  -71 115  -71 120  -72 120
PolyWall -76 115  -75 115  -75 120  -76 120
PolyWall -78 115  -77 115  -77 120  -78 120
PolyWall -80 115  -79 115  -79 120  -80 120
PolyWall -82 115  -81 115  -81 120  -82 120
PolyWall -84 115  -83 115  -83 120  -84 120
PolyWall -86.5 115  -85 115  -85 120  -86.5 120
PolyWall -86.5 114  -59 114  -59 115  -86.5 115
PolyWall -86.5 120  -59 120  -59 131.5  -72 147.5  -77 147.5  -79.5 147.5  -83.5 147.5  -86.5 145
PolyWall -59 131.5  -50 131.5  -40 143  -40.025 155.663  -60 155.5  -63.5 152  -65.5 150.5  -68.5 148.5  -72 147.5
PolyWall -40 143  53 143  66 156.6  -40.025 155.663
PolyWall 53 143  62.5 132.5  78.102 138.997  76.5021 142.797  75.101 144.895  73.5023 147.398  71.3023 150.498  69.3023 153.798  66 156.6
PolyWall 75 125  81.5 125  93.5 125  91.3017 126.597  88.1017 127.797  86.3016 129.297  84.2015 130.597  82.4014 132.096  80.9013 133.996  79.5011 135.696  78.102 138.997  62.5 132.5  65.5 130.5  70.5 127.5
PolyWall 8.5 138.2  9 138.2  9 138.5  8.5 138.5
PolyWall -63 115  -62 115  -62 120  -63 120
PolyWall -62.6983 107.976  -62.235 107.975  -62.3149 114.98  -62.7302 115.005
PolyWall 2.53492 -7.69866  2.59826 -7.69532  2.57625 -7.61022  2.52178 -7.64374
PolyWall 2.65159 -7.69532  2.69826 -7.68532  2.66159 -7.49533  2.62826 -7.50532
PolyWall 2.76159 -7.68866  2.81826 -7.68199  2.78573 -7.56414  2.72826 -7.49533
PolyWall 2.86492 -7.68532  2.92159 -7.68532  2.90159 -7.46199  2.84159 -7.48199
PolyWall 2.97826 -7.69199  3.04159 -7.69533  3.03159 -7.47533  2.98159 -7.47199
PolyWall 3.1 -7.7  3.16159 -7.70533  3.16493 -7.48533  3.10159 -7.48199
PolyWall 3.21827 -7.70867  3.2716 -7.71534  3.26493 -7.50534  3.2116 -7.50533
PolyWall 3.31827 -7.72867  3.36827 -7.732  3.36827 -7.54201  3.3116 -7.522
PolyWall 3.4216 -7.75534  3.47493 -7.77534  3.4716 -7.59867  3.4216 -7.56534
PolyWall 2.4972 -8.02616  2.55286 -8.02642  2.54533 -7.92201  2.49533 -7.92201
PolyWall 2.5772 -8.03619  2.62387 -8.03953  2.62867 -7.95226  2.58823 -7.94298
PolyWall 2.6772 -8.04287  2.70387 -8.02633  2.70868 -7.94894  2.66868 -7.94894
PolyWall 2.73868 -8.01562  2.78054 -8.02291  2.78201 -7.95562  2.74534 -7.95229
PolyWall 2.82201 -7.99897  2.84387 -8.02632  2.85534 -7.95898  2.81868 -7.95231
PolyWall 2.90054 -8.00299  2.93534 -8.00901  2.94201 -7.959  2.89534 -7.959
PolyWall 3.35721 -8.03304  3.41387 -8.02636  3.41535 -7.94928  3.34009 -7.9512
PolyWall 3.25387 -8.01968  3.30054 -8.03303  3.29202 -7.9526  3.24535 -7.9526
PolyWall 3.16868 -8.00591  3.19387 -8.00967  3.21202 -7.95258  3.16868 -7.94925
PolyWall 2.96721 -8.02632  3.02387 -8.00964  3.00534 -7.95236  2.96868 -7.95903
PolyWall 3.02387 -8.00964  3.08054 -8.01965  3.07868 -7.94907  3.04534 -7.94573
PolyWall 3.12054 -7.99298  3.16721 -8.01631  3.16201 -7.94242  3.12201 -7.93908
TextItem -1 9.6 137.7  10.9 137.7  32 The Curse of Captain Morgan
TextItem -1 10.6 137.9  11.3 137.9  28 By CrazyLinuxNerd
Spawn 0 9.3 134.7
Spawn 0 9.3 134.3
Spawn 0 9.3 133.9
Spawn 0 9.3 133.5
Spawn 0 11.7 133.5
Spawn 0 11.7 133.9
Spawn 0 11.7 134.3
Spawn 0 11.7 134.7
Spawn 0 11.4 133.3
Spawn 0 11 133.3
Spawn 0 9.6 133.3
Spawn 0 10 133.3
Mine 3.93848 -9.16969
Mine 2.39848 -9.76975

*Using quote due to forum bug..

morgan.levelgen:
-- Morgan's Hell v1.2 created by CrazyLinuxNerd

-- Begin User Configurable Options --
-- !!! DONT ADJUST THESE UNLESS YOU KNOW WHAT YOU ARE DOING !!!

enabled = true; -- Enable script?
scriptinfo = true; -- Show information about script on map?
randommaze = true; -- Randomize maze?
randomenterexit = true; -- Randomize the entrance and exits?
switchasteroid = true; -- Enable random asteroid in flag chest?
stickmen = true; -- Enable the stickmen? They said, if you disable them they won't be happy..
flagaccess = true; -- Enable access to pirate flag?
carrot = true; -- Enable carrot? (game flag)
items = true; -- Enable repair items and energy items?
loadout = true; -- Enable loadout zone?
balancebot = false; -- Enable automatic bot balance?
singleplayerbot = false; -- Enable single player bot?
versioninfo = true; -- Display map version information?
debugmode = false; -- DEBUG option! Should be disabled at all times!
debugnorestriction = false; -- DEBUG option! Should be Disabled at all times!
develmode = false; -- DEBUG option! Should be disabled at all times!

-- End User Configurable Options --
-- You can stop reading now.... nothing else to be seen here!

if (debugnorestriction) then
    randomizemazeleft = math.random(11,11)
    randomizemazeright = math.random(11,11)
else
    randomizemazeleft = math.random(0,5)
    randomizemazeright = math.random(0,7)
end
randomizeenterexit = math.random(0,1)
randomasteroid = math.random(0,1)

if (enabled) then
    function lvlinfo ()
        if(versioninfo) then
            if (debugmode) and not (develmode) then
                levelgen:addItem("TextItem", -1, 10.9, 137.7,  11.3, 137.7,  25, "(Debug)") -- Aarr me hearty! display the debug badge lad!
            elseif not (debugmode) and (develmode) then
                levelgen:addItem("TextItem", -1, 10.9, 137.7,  11.3, 137.7,  25, "(Dev)")
            elseif (debugmode) and (develmode) then
                levelgen:addItem("TextItem", -1, 10.9, 137.7,  11.3, 137.7,  25, "(Dev-Debug)")
            end
            if (develmode) then
                levelgen:addItem("TextItem", -1, 10.1, 137.6,  11, 137.6,  15, "Warning! This Map is currently being edited!")
            end
            levelgen:addItem("TextItem", -1, 10.4, 137.8,  11.1, 137.8,  26, "Version 1.0")
        end
           
        if (scriptinfo) then
            levelgen:addItem("TextItem", -1, 9.6, 138.0,  10.1, 138.0,  28, "Levelgen Info:")
            levelgen:addLevelLine("BarrierMaker 1 9.59001 138.007  10.09 138.007") -- This aint no barria! This be a underline!
            levelgen:addItem("TextItem", -1, 9.6, 138.1,  10.5, 138.1,  19, "Script Name: Morgan's Hell")
            levelgen:addItem("TextItem", -1, 9.6, 138.2,  10.1, 138.2,  19, "Script Version: v1.2")
            levelgen:addItem("TextItem", -1, 9.6, 138.3,  10.2, 138.3,  19, "Creator: CrazyLinuxNerd")
        end
        if (stickmen) then
            -- Now here be the main event!
            -- Stickman 1
            levelgen:addLevelLine("BarrierMaker 1 11.2535 138.204  11.1866 138.206")
            levelgen:addLevelLine("BarrierMaker 1 11.1862 138.161  11.1895 138.257  11.2262 138.294  11.1896 138.257  11.1529 138.304  11.1863 138.258")
            levelgen:addLevelLine("BarrierMaker 1 11.1863 138.148  11.2063 138.122  11.1897 138.095  11.163 138.109  11.1599 138.136  11.183 138.152")
            levelgen:addLevelLine("BarrierMaker 1 11.1399 138.176  11.1866 138.206  11.14 138.173  11.1 138.1  11.14 138.17  11.1237 138.16  11.1167 138.16")
            -- Stickman 2
            levelgen:addLevelLine("BarrierMaker 1 11.0138 138.161  11.0105 138.257  10.9738 138.294  11.0104 138.257  11.0471 138.304  11.0137 138.258")
            levelgen:addLevelLine("BarrierMaker 1 11.0137 138.148  10.9937 138.122  11.0103 138.095  11.037 138.109  11.0401 138.136  11.017 138.152")
            levelgen:addLevelLine("BarrierMaker 1 11.0601 138.176  11.0134 138.206  11.06 138.173  11.1278 138.124  11.06 138.17  11.0763 138.16  11.0833 138.16")
            levelgen:addLevelLine("BarrierMaker 1 10.9465 138.204  11.0134 138.206")
        end
    end

    function debugging()
        -- Aye lad what are ya doin'. Ye be havin' two functions for no do good reason
        -- I be makin' it one function for ya now lad.

        -- First we need to do some preperation.. lets set up some local vars.
        local gridsize = levelgen:getGridSize()
        local playercount = levelgen:getPlayerCount()
        -- local gametime = levelgen:getGameTime() --if only this existed...

        if (develmode) or (debugmode) then
        -- We dont want no dumb time limit do we while we be testin' stuff out now do ya lad?
            levelgen:setGameTime(0)
        end
        -- This prints stuff in the console for debugging purposes..
        if (debugmode) or (develmode) then
            -- Alright mate, first up, we should spit out the config...
            print("------------------------------------------")
            print("The Curse of Captain Morgan Information   ")
            print("------------------------------------------")
            print("Option Configuration:")
            print("Script Enabled:", "" , enabled)
            print("Script Info:", "" , scriptinfo)
            print("Random Maze:", "" , randommaze)
            print("Random Entrance:", randomenterexit)
            print("Random Asteroid:", switchasteroid)
            print("Stickmen:", "" , stickmen)
            print("Flag Access:", "" , flagaccess)
            print("Enable Carrot:", "" , carrot)
            print("Items:", "" , "" , items)
            print("Loadout Zone:", "" , loadout)
            print("Balancing Bot:", "", balancebot)
            print("Singe Player Bot:", singleplayerbot)
            print("Version Info:", "" , versioninfo)
            print("Debug Mode:", "" , debugmode)
            print("Dev Mode:", "" , develmode)
            -- Next up, lets tell them the level information..
            print("Level Information:")
            print("Grid Size:", "" , gridsize)
            print("Player Count:", "" , playercount)
            print("Left Route ID:", "" , randomizemazeleft)
            print("Right Route ID:", "" , randomizemazeright)
            if (debugnorestriction) then
                print("Restrictions:", "", "Off")
            end
            -- print("Game Time:", gametime) -- If only...
        end 
       
        -- This adds numbers to the map for debugging purposes. See Barrier Index Below.
        if(debugmode) then
            levelgen:addLevelLine("TextItem -1 6 136.360  6 136.1  15 Barrirer ID: 1")
            levelgen:addLevelLine("TextItem -1 5.6 137.5  5.9 137.5  15 Barrier ID: 2")
            levelgen:addLevelLine("TextItem -1 4.3 139.1  4.3 139.4  15 Barrier ID: 3")
            levelgen:addLevelLine("TextItem -1 3.580 139  3.9 139  15 Barrier ID: 4")
            levelgen:addLevelLine("TextItem -1 7.1 139.5  7.4 139.5  15 Barrier ID: 5")
            levelgen:addLevelLine("TextItem -1 8 140.1  8 140.4  15 Barrier ID: 6")
            levelgen:addLevelLine("TextItem -1 8.460 139  8.8 139  15 Barrier ID: 7")
            levelgen:addLevelLine("TextItem -1 8.8 140.640  8.8 140.9  15 Barrier ID: 8")
            levelgen:addLevelLine("TextItem -1 11 140.1  11 140.4  15 Barrier ID: 9")
            levelgen:addLevelLine("TextItem -1 11.160 140  11.5 140  15 Barrier ID: 10")
            levelgen:addLevelLine("TextItem -1 12.1 139.270  12.1 139.6  15 Barrier ID: 11")
            levelgen:addLevelLine("TextItem -1 13.5 137.605  13.5 137.9  15 Barrier ID: 12")
            levelgen:addLevelLine("TextItem -1 13.4 137  13.8 137  15 Barrier ID: 13")
            levelgen:addLevelLine("TextItem -1 13.4 136.5  13.8 136.5  15 Barrier ID: 14")
            levelgen:addLevelLine("TextItem -1 15 136.6  15 136.9  15 Barrier ID: 15")
            levelgen:addLevelLine("TextItem -1 18 138.4  18 138.1  15 Barrier ID: 16")
            levelgen:addLevelLine("TextItem -1 18.1 140  18.4 140  15 Barrier ID: 17")
            levelgen:addLevelLine("TextItem -1 18.5 139.1  18.5 138.8  15 Barrier ID: 18")     
        end
        -- BARRIER INDEX --
        -- Left:
        --ID 1: BarrierMaker 50 6 136  6 136.4
        --ID 2: BarrierMaker 50 5.5 137.5  6 137.5
        --ID 3: BarrierMaker 50 4.3 139  4.3 139.5
        --ID 4: BarrierMaker 50 3.5 139  3.9 139
        --ID 5: BarrierMaker 50 7 139.5  7.5 139.5
        --ID 6: BarrierMaker 50 8 140  8 140.5
        --ID 7: BarrierMaker 50 8.8 139  8.4 139
        --ID 8: BarrierMaker 50 8.8 140.6  8.8 141
        -- Right:
        --ID 9: BarrierMaker 50 11 140  11 140.5
        --ID 10: BarrierMaker 50 11 140  11.5228 140
        --ID 11: BarrierMaker 50 12.1 139.2  12.1 139.6
        --ID 12: BarrierMaker 50 13.5 137.5  13.5 138
        --ID 13: BarrierMaker 50 13.8 137  13.3 137
        --ID 14: BarrierMaker 50 13.3 136.5  13.8 136.5
        --ID 15: BarrierMaker 50 15 136.5  15 137
        --ID 16: BarrierMaker 50 18 138.5  18 138
        --ID 17: BarrierMaker 50 18 140  18.5 140
        --ID 18: BarrierMaker 50 18.5 138.7  18.5 139.2
    end
   
    function balancing()
        -- Oh ye be a poor lad ta be playing all on your lonesome!
        if (singleplayerbot) and not (balancebot) then
            local playercount = levelgen:getPlayerCount()
            if (playercount) <= 2 then
                levelgen:addLevelLine("Robot 0 s_bot.bot")
            end
        elseif (balancebot) and (singleplayerbot) then
            print("!!! CONFIGURATION ERORR: Single Player Bot and Balance Bot options conflict with each other. Only one may be activated at a time !!!")
        end
        -- We not be liking odd games.. lets even it up a bit.
        if (balancebot) and not (singleplayerbot) then
            local playercount = levelgen:getPlayerCount()
            local checkplayer = math.mod(playercount, 2)
            if (checkplayer == 1) then
                local odd = true;
                while odd do
                    levelgen:addLevelLine("Robot 0 s_bot.bot")
                    local newcount = levelgen:getPlayerCount()
                    local newplayer = math.mod(newcount, 2)
                    if not (newplayer == 0) then
                        odd = false;
                    end
                end
            end
        end
    end
           
    function mazegen()
        if(randommaze) then
            if(switchasteroid) then
                if (randomasteroid) then
                    -- Aaarrrr Ye be needing two if's to get this ta be workin' lad.
                    levelgen:addItem("Asteroid", 10.5, 137.2)
                end
            end

            if not (debugnorestriction) then
                if(randomenterexit) then
                    if (randomizeenterexit == 0) then
                        levelgen:addItem("TextItem", -1, 9.1, 136.8,  10.1, 136.8,  49, "<< Enter Maze")
                        levelgen:addItem("TextItem", -1, 11, 136.8,  12, 136.8,  55, "<< Exit Maze")
                        levelgen:addLevelLine("SpeedZone 11.1 136.7  10.3 136.2  3000 SnapEnabled")
                        levelgen:addLevelLine("SpeedZone 11.1 136.8  10.3 136.3  3000 SnapEnabled")
                        levelgen:addLevelLine("SpeedZone 11.1 136.9  10.2 136.3  3000 SnapEnabled")
                        levelgen:addLevelLine("SpeedZone 11 136.9  10.2 136.4  3000 SnapEnabled")
                        levelgen:addLevelLine("SpeedZone 10 136.6  8.6 136.6  3000")
                        levelgen:addLevelLine("SpeedZone 10 136.7  8.6 136.6  3000")
                        levelgen:addLevelLine("SpeedZone 10 136.8  8.6 136.6  3000")
                        levelgen:addLevelLine("SpeedZone 10 136.9  8.9 136.6  3000")
                    elseif(randomizeenterexit == 1) then
                        levelgen:addLevelLine("TextItem -1 9.1 136.8  10.1 136.8  49 Exit Maze >>")
                        levelgen:addLevelLine("TextItem -1 11 136.8  12 136.8  49 Enter Maze >>")
                        levelgen:addLevelLine("SpeedZone 9.9 136.9  10.8 136.4  3000 SnapEnabled")
                        levelgen:addLevelLine("SpeedZone 9.86586 136.848  10.8 136.3  3000 SnapEnabled")
                        levelgen:addLevelLine("SpeedZone 9.84737 136.782  10.9 136.2  3000 SnapEnabled")
                        levelgen:addLevelLine("SpeedZone 9.83372 136.711  10.9 136.2  3000 SnapEnabled")
                        levelgen:addLevelLine("SpeedZone 11 136.9  11.3 136.9  3000 SnapEnabled")
                        levelgen:addLevelLine("SpeedZone 11 136.8  11.3 136.8  3000 SnapEnabled")
                        levelgen:addLevelLine("SpeedZone 11 136.7  11.3 136.7  3000 SnapEnabled")
                        levelgen:addLevelLine("SpeedZone 11 136.6  11.3 136.6  3000 SnapEnabled")
                    end
                else
                    levelgen:addItem("TextItem", -1, 9.1, 136.8,  10.1, 136.8,  49, "<< Enter Maze")
                    levelgen:addItem("TextItem", -1, 11, 136.8,  12, 136.8,  55, "<< Exit Maze")
                    levelgen:addLevelLine("SpeedZone 11.1 136.7  10.3 136.2  3000 SnapEnabled")
                    levelgen:addLevelLine("SpeedZone 11.1 136.8  10.3 136.3  3000 SnapEnabled")
                    levelgen:addLevelLine("SpeedZone 11.1 136.9  10.2 136.3  3000 SnapEnabled")
                    levelgen:addLevelLine("SpeedZone 11 136.9  10.2 136.4  3000 SnapEnabled")
                    levelgen:addLevelLine("SpeedZone 10 136.6  8.6 136.6  3000 SnapEnabled")
                    levelgen:addLevelLine("SpeedZone 10 136.7  8.6 136.6  3000 SnapEnabled")
                    levelgen:addLevelLine("SpeedZone 10 136.8  8.6 136.6  3000 SnapEnabled")
                    levelgen:addLevelLine("SpeedZone 10 136.9  8.9 136.6  3000 SnapEnabled")
            end
        end
            -- Begin the maze Randomization.. oh crap :/ here we go..
            -- Left Side
            if(randomizemazeleft == 0) then
                -- Ye best be tryin' to keep to thee original route here!
                levelgen:addLevelLine("BarrierMaker 50 6 136  6 136.4") 
                levelgen:addLevelLine("BarrierMaker 50 3.5 139  3.9 139")
                levelgen:addLevelLine("BarrierMaker 50 7 139.5  7.5 139.5")
                levelgen:addLevelLine("BarrierMaker 50 8.8 139  8.4 139")

            elseif(randomizemazeleft == 1) then
                levelgen:addLevelLine("BarrierMaker 50 8.8 140.6  8.8 141")
                levelgen:addLevelLine("BarrierMaker 50 8 140  8 140.5")
                levelgen:addLevelLine("BarrierMaker 50 7 139.5  7.5 139.5")
                levelgen:addLevelLine("BarrierMaker 50 6 136  6 136.4") 
                levelgen:addLevelLine("BarrierMaker 50 4.3 139  4.3 139.5")

            elseif(randomizemazeleft == 2) then
                levelgen:addLevelLine("BarrierMaker 50 8.8 140.6  8.8 141")
                levelgen:addLevelLine("BarrierMaker 50 8.8 139  8.4 139")
                levelgen:addLevelLine("BarrierMaker 50 7 139.5  7.5 139.5")
                levelgen:addLevelLine("BarrierMaker 50 3.5 139  3.9 139")
                levelgen:addLevelLine("BarrierMaker 50 6 136  6 136.4") 

            elseif(randomizemazeleft == 3) then
                levelgen:addLevelLine("BarrierMaker 50 8 140  8 140.5")
                levelgen:addLevelLine("BarrierMaker 50 4.3 139  4.3 139.5") 
                levelgen:addLevelLine("BarrierMaker 50 6 136  6 136.4")

            elseif(randomizemazeleft == 4) then
                levelgen:addLevelLine("BarrierMaker 50 8.8 140.6  8.8 141")
                levelgen:addLevelLine("BarrierMaker 50 8 140  8 140.5")
                levelgen:addLevelLine("BarrierMaker 50 7 139.5  7.5 139.5")
                levelgen:addLevelLine("BarrierMaker 50 5.5 137.5  6 137.5") 
                levelgen:addLevelLine("BarrierMaker 50 4.3 139  4.3 139.5")

            elseif(randomizemazeleft == 5) then
                levelgen:addLevelLine("BarrierMaker 50 8 140  8 140.5")
                levelgen:addLevelLine("BarrierMaker 50 4.3 139  4.3 139.5") 
                levelgen:addLevelLine("BarrierMaker 50 6 136  6 136.4")
                levelgen:addLevelLine("BarrierMaker 50 8.8 139  8.4 139")

            -- Begin Random Maze Space Holders.. --
            elseif(randomizemazeleft == 6) then


            elseif(randomizemazeleft == 7) then

            elseif(randomizemazeleft == 8) then


            elseif(randomizemazeleft == 9) then


            elseif(randomizemazeleft == 10) then


            -- End Random Maze Space Holders.. --
            end
            -- Right Side
            if(randomizemazeright == 0) then
                -- Ye best be tryin' to keep to thee original route here!
                levelgen:addLevelLine("BarrierMaker 50 11 140  11 140.5")
                levelgen:addLevelLine("BarrierMaker 50 18.5 138.7  18.5 139.2")
                levelgen:addLevelLine("BarrierMaker 50 13.8 137  13.3 137")
                levelgen:addLevelLine("BarrierMaker 50 13.3 136.5  13.8 136.5")
                levelgen:addLevelLine("BarrierMaker 50 12.1 139.2  12.1 139.6")
                levelgen:addLevelLine("BarrierMaker 50 18 138.5  18 138")

            elseif(randomizemazeright == 1) then
                levelgen:addLevelLine("BarrierMaker 50 11 140  11.5228 140")
                levelgen:addLevelLine("BarrierMaker 50 18 140  18.5 140")
                levelgen:addLevelLine("BarrierMaker 50 13.8 137  13.3 137")
                levelgen:addLevelLine("BarrierMaker 50 13.3 136.5  13.8 136.5")
                levelgen:addLevelLine("BarrierMaker 50 12.1 139.2  12.1 139.6")
                levelgen:addLevelLine("BarrierMaker 50 18 138.5  18 138")   

            elseif(randomizemazeright == 2) then
                levelgen:addLevelLine("BarrierMaker 50 11 140  11 140.5 ")
                levelgen:addLevelLine("BarrierMaker 50 18.5 138.7  18.5 139.2")
                levelgen:addLevelLine("BarrierMaker 50 15 136.5  15 137")
                levelgen:addLevelLine("BarrierMaker 50 13.3 136.5  13.8 136.5")
                levelgen:addLevelLine("BarrierMaker 50 12.1 139.2  12.1 139.6")
                levelgen:addLevelLine("BarrierMaker 50 18 138.5  18 138")

            elseif(randomizemazeright == 3) then
                levelgen:addLevelLine("BarrierMaker 50 11 140  11.5228 140")
                levelgen:addLevelLine("BarrierMaker 50 18 140  18.5 140")
                levelgen:addLevelLine("BarrierMaker 50 13.8 137  13.3 137")
                levelgen:addLevelLine("BarrierMaker 50 15 136.5  15 137")
                levelgen:addLevelLine("BarrierMaker 50 12.1 139.2  12.1 139.6")
                levelgen:addLevelLine("BarrierMaker 50 18 138.5  18 138")   

            elseif(randomizemazeright == 4) then
                levelgen:addLevelLine("BarrierMaker 50 11 140  11.5228 140")
                levelgen:addLevelLine("BarrierMaker 50 18 140  18.5 140")
                levelgen:addLevelLine("BarrierMaker 50 13.8 137  13.3 137")
                levelgen:addLevelLine("BarrierMaker 50 15 136.5  15 137")
                levelgen:addLevelLine("BarrierMaker 50 12.1 139.2  12.1 139.6")
                levelgen:addLevelLine("BarrierMaker 50 18 138.5  18 138")
   
            elseif(randomizemazeright == 5) then
                levelgen:addLevelLine("BarrierMaker 50 11 140  11.5228 140")
                levelgen:addLevelLine("BarrierMaker 50 18 140  18.5 140")
                levelgen:addLevelLine("BarrierMaker 50 13.3 136.5  13.8 136.5")
                levelgen:addLevelLine("BarrierMaker 50 15 136.5  15 137")
                levelgen:addLevelLine("BarrierMaker 50 18 138.5  18 138")

            elseif(randomizemazeright == 6) then
                levelgen:addLevelLine("BarrierMaker 50 11 140  11.5228 140")
                levelgen:addLevelLine("BarrierMaker 50 18 140  18.5 140")
                levelgen:addLevelLine("BarrierMaker 50 13.8 137  13.3 137")
                levelgen:addLevelLine("BarrierMaker 50 15 136.5  15 137")
                levelgen:addLevelLine("BarrierMaker 50 12.1 139.2  12.1 139.6")
                levelgen:addLevelLine("BarrierMaker 50 18.5 138.7  18.5 139.2")

            elseif(randomizemazeright == 7) then
                levelgen:addLevelLine("BarrierMaker 50 11 140  11.5228 140")
                levelgen:addLevelLine("BarrierMaker 50 18 140  18.5 140")
                levelgen:addLevelLine("BarrierMaker 50 15 136.5  15 137")
                levelgen:addLevelLine("BarrierMaker 50 18 138.5  18 138")
                levelgen:addLevelLine("BarrierMaker 50 18.5 138.7  18.5 139.2")
                levelgen:addLevelLine("BarrierMaker 50 13.8 137  13.3 137")
                levelgen:addLevelLine("BarrierMaker 50 13.5 137.5  13.5 138")

            elseif(randomizemazeright == 8) then
            -- Begin Random Maze Space Holders.. --

            elseif(randomizemazeright == 9) then

            elseif(randomizemazeright == 10) then

            -- End Random Maze Space Holders.. --
            end
        end
    end
    function general()
        if (flagaccess) then
            levelgen:addLevelLine("Teleporter 10.5 133.5  4.5 -8.5")
            levelgen:addLevelLine("Teleporter 9.5 -5.5  10.5 135")
            levelgen:addItem("TextItem", -1, 9.9, 133.8,  11, 133.8,  38, "Raise the Black Flag!")
            levelgen:addItem("TextItem", -1, 8.9, -5.8,  9.9, -5.8,  38, "All Hands on deck!")
        end
        if (items) then
            levelgen:addItem("EnergyItem", 6.3, 137.3,  10)
            levelgen:addItem("RepairItem", 9.8, 136.3,  10)
            levelgen:addItem("EnergyItem", 4.8, 138.8,  10)
            levelgen:addItem("RepairItem", 4.8, 140.8,  10)
            levelgen:addItem("EnergyItem", 10.3, 139.2,  10)
            levelgen:addItem("RepairItem", 12.3, 137.7,  10)
            levelgen:addItem("EnergyItem", 11.3, 137.3,  10)
            levelgen:addItem("RepairItem", 17.8, 138.3,  10)
            levelgen:addItem("EnergyItem", 11.2, 136.3,  10)
            levelgen:addItem("RepairItem", 9.8, 137.3,  10)
            levelgen:addItem("EnergyItem", 14.3, 139.3,  10)
        end
        if (loadout) then
            levelgen:addLevelLine("LoadoutZone 0 9.06335 133.063  11.9442 133.054  11.9458 134.941  9.06236 134.94")
        end
        if (carrot) then
            levelgen:addItem("FlagItem", -1, 10.5, 137.2)
        end
    end

-- Now ye best be putting together all ye learned! Hoist the anker and set sail!
    lvlinfo()
    debugging()
    balancing()
-- Arr, ya best not be sinking yet..
    mazegen()
    general()
-- SHIVER ME TIMBERS!!! Ye be sailing successfully lad!
else
    levelgen:addItem("TextItem", -1, 9.6, 138.3,  10.1, 138.3,  28, "Levelgen Disabled! >:-(") -- LevelGen is Sad :'(
end
-- EOF - I now be needing some rum...

* Using quote due to forum bug...

Changelog:
- v1.0:
-- Initial Release

Enjoy! :D
<<

Opti

User avatar

Posts: 234

Joined: Tue Sep 20, 2011 7:09 pm

Location: Footie's pantry

Post Sun Nov 06, 2011 12:07 pm

Re: RAB - The Curse of Captain Morgan - CrazyLinuxNerd

Best. Level. Ever.
i got a rattlesnake gun.

Return to Rabbit

Who is online

Users browsing this forum: No registered users and 2 guests