Graal Forums

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

Kiwi27 04-15-2011 10:30 PM

Terrain Generator: Offline Help
 
Hey,

I've been working on my own little offline server(s - Same server, different types of tilesets, etc), And right now I'm attempting to use the Terrain Generator for it.

The actual design part is working okay for me, but I'm having trouble using it in the offline editor.

So, would someone please be able to make a more simplified guide to doing it that's more compatible with my small brain?

Also, if anyone wants a more detailed idea of what it is thatsnot working, I'd be happy to include it in my next post :).

Thanks,

Kiwi :D

cbk1994 04-15-2011 10:49 PM

This might help.

fowlplay4 04-15-2011 11:00 PM

4 Attachment(s)
How To Generate and Use a Terrain Map Offline

You can replace yourworld with anything you want below.

Step 1. Download and Run Terrain Generator
Step 2. Change the Generator Options to your liking. (See Image 1)
Step 3. Check off 'Generate Graal levels'
Step 4. Click 'Generate World'

Step 5. Create a Blank Folder for your New Overworld Map (See Image 2)
Step 6. Save yourworld.gmap in your new folder.

Step 7. Navigate to your new overworld's folder, if done correctly you should see all the levels in the folder. (See Image 3)
Step 8. Open yourworld_aa-01.nw

Step 9. Lay an empty NPC on the level. (See Image 4)
Step 10. Give it the following script:

PHP Code:

//Tutorial by fp4
//#CLIENTSIDE
if (created) {
  
removetiledefs;
  
addtiledef picso.png,yourworld_,5;
  
loadmap yourworld;


Step 11. Close the script.
Step 12. You should see the terrain properly with the default GK/terrain tileset.

Editing terrain is fairly simple, just click and drag the + up or down to manipulate the elevation.

The overworld can then be uploaded to your server and be set up like any other gmap.

Kiwi27 04-15-2011 11:03 PM

Okay. Thanks :D

This looks way easier to understand :)

EDIT: Still doesn't work. When I saved it, it said it would be saved as a gmap, but when I look at it, its just a file, so it doesn't work. Help? :(

Kiwi27 04-16-2011 12:47 AM

I know its been around half an hour, but *Bump*

cbk1994 04-16-2011 01:06 AM

Does renaming it to give it a gmap extension work?

0PiX0 04-16-2011 01:07 AM

Quote:

Originally Posted by Kiwi27 (Post 1643519)
EDIT: Still doesn't work. When I saved it, it said it would be saved as a gmap, but when I look at it, its just a file, so it doesn't work. Help? :(

So rename the file adding .gmap as the file extension, or save it again as mygmapfilename.gmap rather than just mygmapfilename.

Kiwi27 04-16-2011 03:10 AM

YAY! Thanks to all of you who have helped me. This is the first time its ever worked for me :D

MattKan 04-16-2011 03:32 AM

Adding this easy to understand guide to the wiki... good job

Kiwi27 04-16-2011 07:20 AM

This is... Kind of depressing. A few hours ago, I posted it was working. But that was only the showing as a gmap file with all the levels. But, when I tried to use the gmap, I put all the script into a NPC, as you said, but

1. It only shows the one flat tile everywhere, not the actual terrain, and
2. It shows the warp, but no handy arrow thing to move around the gmap.

Help?

fowlplay4 04-16-2011 08:25 PM

ZIP up your folder with the GMAP file and all it's levels in it and attach it please.

When you're saving you need to put the .gmap extention at the end. If you save it as just:

yourworld instead of yourworld.gmap it messes up, and doesn't generate the levels properly.

Devil_Lord2 04-16-2011 09:52 PM

Quote:

Originally Posted by fowlplay4 (Post 1643750)
ZIP up your folder with the GMAP file and all it's levels in it and attach it please.

When you're saving you need to put the .gmap extention at the end. If you save it as just:

yourworld instead of yourworld.gmap it messes up, and doesn't generate the levels properly.

I'm not sure if that always works, maybe you could enlighten myself as well.
As a Mac user, I've noticed working with ganis, I open them up as a text file and as long as I click save the gani usually works. The icon also is still plain white.
However when I use save as the file looks like a text file, and I don't believe it works.. I know it doesn't on Graal Shop any longer, but I haven't tried it online. It basically takes it out of gani state even when I change it to .gani and I'm unsure why. May have to test it all again..

Anyway, from what I believe I know now, on Macs at least, sometimes changing the extension doesn't seem to work...

I'd strike through the part Mac seeing as I used an older windows computer.. but there is no strikeout button on here.. D: Point is, sometimes it changing the extension doesn't seem to work.. >.> or just those few times for me..
I have a lot of problems randomly with gani files. Anyway I don't know if this helps point out the problem he may be having.. could only be a problems with ganis for all I know..
:noob:

fowlplay4 04-16-2011 10:02 PM

2 Attachment(s)
Quote:

Originally Posted by Devil_Lord2 (Post 1643767)
I'm not sure if that always works, maybe you could enlighten myself as well.

It's an issue with the Terrain Generator. If you don't specify the .gmap extension in the filename when saving it doesn't generate the levels. As seen in my images...

Kiwi27 04-16-2011 10:06 PM

1 Attachment(s)
Attachment 52717

There ya go.

fowlplay4 04-16-2011 11:32 PM

Alright I've looked through your zip file, and for whatever reason if you have an underscore (_) it doesn't load properly in the GraalEditor.

You also had... loadmap nagorias_final.gmap; instead of loadmap nagorias_final;

I would recommend re-generating the map as nagorias.gmap instead.


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

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