Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Level Design (https://forums.graalonline.com/forums/forumdisplay.php?f=6)
-   -   Terrain Generator loadmap (https://forums.graalonline.com/forums/showthread.php?t=87574)

cyan3 08-23-2009 06:24 PM

Terrain Generator loadmap
 
I'm having trouble getting a map to load in the level editor that was generated in the terrain generator.

PHP Code:

//#CLIENTSIDE
if (created) {
  
loadmap mymap;


Here is the text from the gmap file.

PHP Code:

GRMAP001
WIDTH 12
HEIGHT 12
GENERATED mymap_l
-12.nw
GENSEED 111307437
GENBASE 
-15
GENEVENBORDERS true
GENHEIGHT 130
GENCHAOS 0.55
LEVHEIGHT 15.24591
LEVCHAOS 0.55
MAPIMG mymap
.png

HEIGHTMAP
-15,-15,-11,-15,-15,-3,-15,-15,-27,-48,-48,-10,-15
-15,-30,-28,-29,-84,-9,4,-29,-6,11,-10,2,-15
-15,-26,-54,-12,20,18,24,17,34,15,18,57,-15
-15,-32,-6,-23,36,31,37,11,35,22,41,22,-15
-15,-75,-16,-13,25,96,91,48,14,33,20,4,-15
-15,-16,-51,-11,18,31,100,76,19,51,30,0,-15
-15,-26,-12,-13,35,24,15,46,22,48,-11,-29,-15
-15,-50,-49,-33,-28,33,35,28,63,-39,-14,-25,-15
-15,-7,-32,-26,-15,-8,-35,-39,-62,-52,-35,-24,-15
-15,-52,-18,-41,-59,-54,-45,-42,-54,-43,-49,-8,-15
-15,-12,-17,-53,-42,-34,-20,-10,-36,-36,-44,-22,-15
-15,-76,-2,-32,-43,-45,-19,-23,-47,-34,-13,-29,-15
-15,-15,-15,-15,-15,-15,-15,-15,-15,-15,-15,-15,-15
HEIGHTMAPEND

RANDOMSEEDS
1629233472
,1889282562,310633317,1880014694,232771593,648267595,206763821,1645433262,549087441,2012180114,1038955765,1071918583
2092854343
,617783313,620742395,37165829,2028992047,1246876281,712919523,1778062957,339481111,1565341409,1486659275,316965845
1103969639
,1664510041,863556332,2100469533,1226870511,133170274,1638990195,753412134,792771192,1776196201,1397770747,18934574
1274025226
,347255748,1233260702,2029835672,853200050,554098668,1557731654,175153856,1680721498,4976148,983278574,1281135080
1189221686
,1381439192,2098482970,802885629,1298811774,402690977,1132337762,1713811908,436456391,1088846440,2097770410,273874317
1528236053
,105355327,1057733001,1332872691,704460669,1831741479,1177407985,748113627,291625189,988465679,673160281,1959258563
407797870
,1273428287,1664468913,669773252,243207542,1876650183,515236282,981334604,1106236541,122040912,1208776129,1250992339
1798667304
,1644961858,2090397820,5830358,1797283152,1536454122,1137021604,1340691838,187981944,1825865106,386569932,845461030
1431867596
,1157049678,920987249,1337699890,977770133,434852247,1872818488,60565371,93079133,897466335,123643393,1394322114
1204865539
,850190477,2044216887,1645802753,1840711403,543602165,5397535,776237929,250713555,526548317,780010503,1437803473
2136867347
,362388166,1462648599,14799114,461689500,2005165517,1511804063,505997586,714685732,1082190549,1120547879,965212954
713858150
,704798688,1228135802,1350991668,2132070158,1015576328,1125400866,193861468,1705575350,1179594800,1981540042,1777701252
RANDOMSEEDSEND 

I have also created a loadmap.txt file in the graal root directory but it didn't help.

xXziroXx 08-23-2009 06:29 PM

Delete FILENAMESCACHE.txt and reopen the editor.

papajchris 08-23-2009 06:30 PM

Did you make the image your using transparent? If you don't do that it won't upload.

cyan3 08-23-2009 06:36 PM

Quote:

Originally Posted by xXziroXx (Post 1517888)
Delete FILENAMESCACHE.txt and reopen the editor.

I tried deleting FILENAMESCACHE but it didn't fix the problem.

Quote:

Originally Posted by papajchris (Post 1517890)
Did you make the image your using transparent? If you don't do that it won't upload.

The image for the gmap is automaticly craeted by the terraingenerator.

papajchris 08-23-2009 07:00 PM

What exactly is your problem? I've been messing around with it for the past few minutes and it seems the only issue i have is that the tileset won't load for some odd reason. But i am able to walk around and i see the grid and such. are you having the same issue or is the gmap not working at all?

cyan3 08-23-2009 07:04 PM

Quote:

Originally Posted by papajchris (Post 1517901)
What exactly is your problem? I've been messing around with it for the past few minutes and it seems the only issue i have is that the tileset won't load for some odd reason. But i am able to walk around and i see the grid and such. are you having the same issue or is the gmap not working at all?

I can get the tileset to work but it won't let me load the gmap so the levels and terrain attach.

papajchris 08-23-2009 07:27 PM

Quote:

Originally Posted by cyan3 (Post 1517903)
I can get the tileset to work but it won't let me load the gmap so the levels and terrain attach.

well then we are opposites. Heres what i did and the gmap works:

1. Create a .txt named loadgmaps.txt and put the gmaps name in there.
2. Put the .txt in the graal folder along with all the levels and the .gmap that gets downloaded with it.
3. Make sure graal isn't open. Open the editor and bam it should be working. I followed the steps in the instructions in the terraingen folder

cyan3 08-23-2009 07:50 PM

Quote:

Originally Posted by papajchris (Post 1517909)
well then we are opposites. Heres what i did and the gmap works:

1. Create a .txt named loadgmaps.txt and put the gmaps name in there.
2. Put the .txt in the graal folder along with all the levels and the .gmap that gets downloaded with it.
3. Make sure graal isn't open. Open the editor and bam it should be working. I followed the steps in the instructions in the terraingen folder

It still doesnt work but I'll try again later when I have more time.

thank you for helping


All times are GMT +2. The time now is 11:07 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.