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.

Kiwi27 04-16-2011 11:54 PM

That's odd. In a previous gmap I made, the name had an underscore, and it worked fine.

I always get that second bit wrong... Thanks for pointing it out.

I'll regenerate it now :)

Kiwi27 04-17-2011 12:36 AM

Thanks to all of ya, it works now :D

... Now what to do with it... ?

fowlplay4 04-17-2011 01:21 AM

Quote:

Originally Posted by Kiwi27 (Post 1643822)
Thanks to all of ya, it works now :D

... Now what to do with it... ?

Develop it.

Kiwi27 04-17-2011 01:38 AM

Okie. Attached is my demented creation.

Some bits came out really weird...


Quote:

Originally Posted by fowlplay4
Develop It.

That would be a great idea, if I could make the Graphics I want myself.

EDIT:

Maybe its not attached...

It posted before it uploaded... And it turns out the file was too big anyway...

MattKan 04-17-2011 05:20 AM

Here's a link to the terrain generator page on the wiki. Hopefully people will be able to view it in the future and understand it more than the previous one. (Thanks to fowlplay for most of the tutorial.) Any suggestions would be appreciated, and don't forget that you can edit the page, as well as most of the pages on the wiki yourself. (On the side bar, under Personal Tools:, click Log In, and enter your forum username and password. Then, once on the page you wish to edit, you can look under Views on the side menu, and press edit to edit the page you are currently on.)

http://wiki.graal.net/index.php/Crea...rain_Generator

Devil_Lord2 04-17-2011 12:29 PM

Quote:

Originally Posted by fowlplay4 (Post 1643769)
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...

So, is this something you can make a whole gmap in offline mode and load it online and basically have a server? Probably not a good one but something to work with to save time? :o

I've seen the generator years ago but I don't think I've ever tried it.. I'm glad to see it is still around lol

I may check it out ^.^



Quote:

Originally Posted by Kiwi27 (Post 1643837)
Okie. Attached is my demented creation.

Some bits came out really weird...




That would be a great idea, if I could make the Graphics I want myself.

EDIT:

Maybe its not attached...

It posted before it uploaded... And it turns out the file was too big anyway...

What type of graphics?

fowlplay4 04-17-2011 05:18 PM

Quote:

Originally Posted by Devil_Lord2 (Post 1643911)
So, is this something you can make a whole gmap in offline mode and load it online and basically have a server?

Yes. Barely anyone has worked with terrain in a long time though.

Kiwi27 04-17-2011 10:05 PM

Quote:

Originally Posted by Devil_Lord2 (Post 1643911)
What type of graphics?

Well, my plan was for kind of South American-themed offline server.

But, even though terrain would make it more unique, I kind of do prefer a normal tileset. And the problem with that is I could never make my own tileset (Not that I haven't tried:p).

Devil_Lord2 04-17-2011 11:56 PM

Ooh, I was thinking I'd help if you needed something like half a statue made gfx so you could go behind it using the normal tileset.. Yeah making your own tileset can be a hassle.. I can't say I'd help with South American-themed tiles.. xD

If it were taking a screenshot and making it transparent sure, why not?.. lol sorry
It wouldn't take too much, but still be hard to edit pic1.png in paint.. I also have some of pics1.png converted into type1 if you'd like to use that.. I actually couldn't get a lot in the blocking section since type0 has more blocking then type1 D:

MattKan 04-18-2011 12:29 AM

If you are using the Terrain to make your South American themed server, then you will need to make terrain (grass, water, dirt, etc.) on your own vesion of the picso tileset- which shouldn't be that hard since you can probably just edit the current tileset

But then you will need to creative realstic building, trees, etc. npcs, which will be hard.

Kiwi27 04-18-2011 12:38 AM

As said in my first post, I'm trying many different ways of making it. It's all just a way of bettering my skills in making Levels, Graphics, doing Scripting, all that stoof. I have actually gotten somewhere with my type 0 tileset. I have inside walls done, and I have the outline for the design/mark/things of the outside wall. All the outside walls need to be done is colour - which I know I'll find quite hard.

Quote:

Originally Posted by MattKan
If you are using the Terrain to make your South American themed server, then you will need to make terrain (grass, water, dirt, etc.) on your own vesion of the picso tileset- which shouldn't be that hard since you can probably just edit the current tileset

But then you will need to creative realstic building, trees, etc. npcs, which will be hard.

I don't have picso, so I can't edit it. I can only find picso2, which has no water tiles.

Devil_Lord2 04-18-2011 05:38 AM

Quote:

Originally Posted by Kiwi27 (Post 1643992)
As said in my first post, I'm trying many different ways of making it. It's all just a way of bettering my skills in making Levels, Graphics, doing Scripting, all that stoof. I have actually gotten somewhere with my type 0 tileset. I have inside walls done, and I have the outline for the design/mark/things of the outside wall. All the outside walls need to be done is colour - which I know I'll find quite hard.



I don't have picso, so I can't edit it. I can only find picso2, which has no water tiles.

What is the picso and picso2? D: what happen to pics0.png and such..
Is this for the layers type thing I've heard about? I was told you could do layers but I don't know how.. transparencies seem to break the Online Level Editor from what I've seen too :x

Kiwi27 04-18-2011 06:22 AM

Quote:

Originally Posted by Devil_Lord2 (Post 1644061)
What is the picso and picso2? D: what happen to pics0.png and such..
Is this for the layers type thing I've heard about? I was told you could do layers but I don't know how.. transparencies seem to break the Online Level Editor from what I've seen too :x

I'm just a noob, I don't know much about tilesets, so someone else would have to answer your first question.

To do layers, you need Gonstruct (Theres a link to the download in the thread 'Gonstruct Feedback', in the same sub-forum as this thread). But, everyone else correct me if I'm wrong, I'm a noob, I'm pretty sure I saw someone say you'd have to wait until V6 to actually use them online?

Devil_Lord2 04-18-2011 07:51 AM

Quote:

Originally Posted by Kiwi27 (Post 1644065)
I'm just a noob, I don't know much about tilesets, so someone else would have to answer your first question.

To do layers, you need Gonstruct (Theres a link to the download in the thread 'Gonstruct Feedback', in the same sub-forum as this thread). But, everyone else correct me if I'm wrong, I'm a noob, I'm pretty sure I saw someone say you'd have to wait until V6 to actually use them online?

The last time I tried to use Gonstruct it wanted me to get macports and become an apple dev to download something else.. the whole thing wasn't worth it as a Mac user lol.. but if you want to use type1 I have a great template that has a little more info than most. It was deemed bad because the person didn't actually want to try it, but you can use Pot and Signs which most do not state or know about.

Other then that, if you'd like the pics1.png I could post it on here?

Kiwi27 04-18-2011 09:57 PM

Could you please post your improved template for me? And the other one? XD Just for a look...

Devil_Lord2 04-18-2011 11:20 PM

The template is just for type1, your suppose to create your own tiles and place them on it. However, I've marked off some useful tiles spots you could use for their different functions.. Like the rock is a walkable area that regenerates if you made a shovel npc.

Unsure if many people actually get it.. Anyway the pot and sign works fine.. I'm unsure how you'd like it to be improved though.. the spots can't change.. they are built into the Graal system and I only found out the locations :X

Kiwi27 04-19-2011 12:29 AM

I know your meant to fill it in with your own tiles, I'm already doing it in my attempt to make a tileset.

Devil_Lord2 04-19-2011 02:12 AM

x.x;; I will not give mine away, but I will show you a version image sized cut in half if you'd like. Hopefully it is a good example..
This is what I have so far for my Insane Asylum.

http://img.photobucket.com/albums/v2...l/bf0c0d44.png

Kiwi27 04-19-2011 04:21 AM

That's... not what I meant...

Your 'Improved' template? XD

Devil_Lord2 04-19-2011 04:51 AM

I'm sort of confused lol..

YoungTwist 04-24-2011 10:39 PM

I never built on this type of map. (Terrain Generator) Now when your laying down tiles, does the "depth" affect any of its laying ability?


All times are GMT +2. The time now is 04:35 AM.

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