Graal Forums  

Go Back   Graal Forums > Development Forums > Level Design
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-23-2009, 06:24 PM
cyan3 cyan3 is offline
Registered User
cyan3's Avatar
Join Date: Nov 2005
Location: England
Posts: 2,919
cyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant future
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.
Reply With Quote
  #2  
Old 08-23-2009, 06:29 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Delete FILENAMESCACHE.txt and reopen the editor.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #3  
Old 08-23-2009, 06:30 PM
papajchris papajchris is offline
Zeus Condero
papajchris's Avatar
Join Date: Jan 2006
Location: Michigan
Posts: 1,600
papajchris is a splendid one to beholdpapajchris is a splendid one to beholdpapajchris is a splendid one to beholdpapajchris is a splendid one to behold
Did you make the image your using transparent? If you don't do that it won't upload.
__________________
Reply With Quote
  #4  
Old 08-23-2009, 06:36 PM
cyan3 cyan3 is offline
Registered User
cyan3's Avatar
Join Date: Nov 2005
Location: England
Posts: 2,919
cyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant future
Quote:
Originally Posted by xXziroXx View Post
Delete FILENAMESCACHE.txt and reopen the editor.
I tried deleting FILENAMESCACHE but it didn't fix the problem.

Quote:
Originally Posted by papajchris View Post
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.
Reply With Quote
  #5  
Old 08-23-2009, 07:00 PM
papajchris papajchris is offline
Zeus Condero
papajchris's Avatar
Join Date: Jan 2006
Location: Michigan
Posts: 1,600
papajchris is a splendid one to beholdpapajchris is a splendid one to beholdpapajchris is a splendid one to beholdpapajchris is a splendid one to behold
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?
__________________
Reply With Quote
  #6  
Old 08-23-2009, 07:04 PM
cyan3 cyan3 is offline
Registered User
cyan3's Avatar
Join Date: Nov 2005
Location: England
Posts: 2,919
cyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant future
Quote:
Originally Posted by papajchris View Post
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.
Reply With Quote
  #7  
Old 08-23-2009, 07:27 PM
papajchris papajchris is offline
Zeus Condero
papajchris's Avatar
Join Date: Jan 2006
Location: Michigan
Posts: 1,600
papajchris is a splendid one to beholdpapajchris is a splendid one to beholdpapajchris is a splendid one to beholdpapajchris is a splendid one to behold
Quote:
Originally Posted by cyan3 View Post
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
__________________
Reply With Quote
  #8  
Old 08-23-2009, 07:50 PM
cyan3 cyan3 is offline
Registered User
cyan3's Avatar
Join Date: Nov 2005
Location: England
Posts: 2,919
cyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant future
Quote:
Originally Posted by papajchris View Post
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
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:37 AM.


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