Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Graal Kingdoms (https://forums.graalonline.com/forums/forumdisplay.php?f=58)
-   -   Looking for GK Level Design tutorial (https://forums.graalonline.com/forums/showthread.php?t=134268891)

Todd45 11-12-2013 06:43 PM

Looking for GK Level Design tutorial
 
I wasn't sure where to put this so I'll just post it here. I am looking for some type of tutorial to have the tilesets and gk items appear in my level editor as I am unable to see a lot of the walls and ground textures for indoors in my level editor.

If anyone has a quick tutorial or quick explanation of how to do so, I would greatly appreciate it.

scriptless 11-12-2013 07:00 PM

Quote:

Originally Posted by Todd45 (Post 1723775)
I wasn't sure where to put this so I'll just post it here. I am looking for some type of tutorial to have the tilesets and gk items appear in my level editor as I am unable to see a lot of the walls and ground textures for indoors in my level editor.

If anyone has a quick tutorial or quick explanation of how to do so, I would greatly appreciate it.

Logon GK, click start and install packages. Should have levels for you to use the tile sets with.. tho terrain i do not know how to do sorry.. well i understand little about it but not enough to explain

Torankusu 11-12-2013 10:40 PM

Many inside levels are actually tiledefs added and not stored on the tileset image itself.

As scriptless said, t he GK dev kit will have what it needs to set the tileset as well as give you specific yileset examples of kingdom houses. (Pirates, forest, etc.)

If this does not work for you, let me know and I will throw something together and post it.

Todd45 11-15-2013 09:56 PM

Thanks for the responses. Right now im having trouble loading the maps I create. they always load with a default tileset. Anyway to change that?

cyan3 11-17-2013 07:53 PM

Quote:

Originally Posted by Todd45 (Post 1723843)
Thanks for the responses. Right now im having trouble loading the maps I create. they always load with a default tileset. Anyway to change that?

Make a new NPC script and add the code enclosed in the PHP tags below. It will add the Graal Kingdoms tileset and terrain markers for the map, but make sure you delete the NPC script before you upload it to any server because it will spam RC text with errors when anyone enters the level.

PHP Code:

//#CLIENTSIDE  
if (created) {  
  
removetiledefs;  
  
addtiledef picso2.png,,0;  
  
loadmap <mapname>; 


If you are working on inside levels add the script below to the level:

PHP Code:

//#CLIENTSIDE
if (playerenters) {
  
addtiledef tiles_inside.png,inside,1;
  
addtiledef2 tiles_wallspirates.png,#L,1024,224;


This will add the GK inside tiles to any level that starts with the word "inside" and the pirate wall tiles. If you want different wall tiles just change the "tiles_wallspirates.png" string to your preferred tileset. Also, unlike the outside tileset you won't need to delete this script from the level if you upload it to any servers.

If this script doesn't work add a new script and add the code in the PHP tags below to clear the current tileset and then delete it again.

PHP Code:

//#CLIENTSIDE  
if (created) {  
  
removetiledefs;




All times are GMT +2. The time now is 08:27 PM.

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