Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Level Design (https://forums.graalonline.com/forums/forumdisplay.php?f=6)
-   -   Terrain > Gmap > level Editing (https://forums.graalonline.com/forums/showthread.php?t=70379)

barkergaming 11-25-2006 07:33 PM

Terrain > Gmap > level Editing
 
I created a gmap and the levels for a set of terrain, but how do I navigate through and know which tileset to edit?

The files are named in a way to navigate it i can tell, but what do i use for a reference (I did save a picture of the grid part in the level editor...

Thanks
-Mike :D

Admins 11-25-2006 07:50 PM

You mean how to use loadgmaps.txt in the Graal folder and levels/tiledefs/tiledefsOffline.txt ?

Chompy 11-25-2006 07:59 PM

Tileset: picso.png
Location: graal/

too load the gmap (navigate through)
use loadmap mapname; in a npc, without .gmap (for the name, like myworld, not myworld.gmap)

Crono 11-25-2006 08:34 PM

Is this for online or offline?

barkergaming 11-26-2006 07:36 AM

Actually, chompy was nice enough to show me the best way to go through it on my own server..

It was offline, so i knew what map i was modifying, and it turns out there's a really good way.. Thanks everyone :D

ryu_no_bishie 11-26-2006 08:08 AM

you should maybe TELL us this way? so that people who want to know wont have to creat another thread asking?

Magadal 11-26-2006 10:34 AM

Quote:

Originally Posted by ryu_no_bishie (Post 1247316)
you should maybe TELL us this way? so that people who want to know wont have to creat another thread asking?

Use the search function?-_-

Crono 11-26-2006 03:26 PM

Quote:

Originally Posted by ryu_no_bishie (Post 1247316)
you should maybe TELL us this way? so that people who want to know wont have to creat another thread asking?

***** loadmap mapname;

Chompy 11-26-2006 04:35 PM

Quote:

Originally Posted by ryu_no_bishie (Post 1247316)
you should maybe TELL us this way? so that people who want to know wont have to creat another thread asking?

ok, I think you wanted it detailed:

First, upload the gmap file into "levels/",
then, go to server options and write in "gmaps=name" without the .gmap extension, now,
load up all the levels that do contain to the gmap file into "levels/", don't enter it get :] Now in rc chat, write "/updatelevel name.gmap",
the gmap gets updated, now, make a weapon gui script, name for example... "-tileset" :)

PHP Code:

//#CLIENTSIDE
function onCreated()
{
  
loadmap("gmap name"); // without .gmap extension
  
removetiledefs("");       // removes the old tiledefs
  
addtiledef("picso.png""start_"1);
 
/*
  adds a new tiledef with picso as tileset,
  too all levels starting with "start_",   with the tileset type 1
  (0 = pics1 || 1 = picso)
  */


and then give -tileset to your player, now you can logon, should work :)

PS: ^---- Is for online use of terrain maps



Offline is just doing like
HTML Code:

loadmap mapname; // without .gmap extension
And I think that should go in the first level (upper left corner, for example start_aa-01.nw) This is for navigating through levels tho

If this didn't work, I have no clue :)
(It worked for me..)

PS: I am not a master in writing english, so there might be some grammar wrongs or spell errors :p

Crono 11-26-2006 05:23 PM

online you dont need to use loadmap

Chompy 11-26-2006 05:29 PM

Quote:

Originally Posted by Gerami (Post 1247405)
online you dont need to use loadmap

My gmaps gets messy without, or is it that I have to wait some mins to get it too load?

Crono 11-26-2006 06:06 PM

Quote:

Originally Posted by Chompy (Post 1247407)
My gmaps gets messy without, or is it that I have to wait some mins to get it too load?

No idea but I used to do loadmap and people were like LOL CRONO U NOOB U DUN NEED LOADMAP SERVEROPS TAEKZ CAR OF THATY LOL

Admins 11-27-2006 03:42 AM

Should probably release an editor version where the loadmap command is disabled and gives an error, since everyone uses it wrongly. Offline use loadgmaps.txt, never use loadmap. Online you can use loadmap to preload a map, it doesn't do anything else. You never need it, since the server is placing you correctly on the gmap and the client is downloading missing gmaps (or in case it is corrupted on the hard drive). On Zone we don't use loadmap, on Graal Kingdoms we used loadmap for preloading the kingdom maps so that you don't lag when entering a new map with your ship, although I don't know if it's still needed.

Crono 11-27-2006 01:01 PM

Quote:

Originally Posted by Stefan (Post 1247588)
Offline use loadgmaps.txt, never use loadmap.

For offline I always use loadmap gmapname; and it works fine. But is there a loadgmaps.txt? Do we have to place the gmap name in there and we're done? If so neat but loadmap is more convenient since you just add it while you're in the level editor. :]


All times are GMT +2. The time now is 10:22 PM.

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