Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-22-2012, 07:32 PM
xXziroXx xXziroXx is offline
Master of Puppets
xXziroXx's Avatar
Join Date: May 2004
Location: Sweden
Posts: 5,288
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
Send a message via AIM to xXziroXx Send a message via MSN to xXziroXx
GuiTilesCtrl and related functions

What is a GuiTilesCtrl and how do I use it? Seems to come with a few interesting functions:

GuiTilesCtrl.loadtilemap(str, str) - returns object
GuiTilesCtrl.loadtilemapxml(str) - returns object


PHP Code:
-  TTileMap (TGraalVar):
-    
clear() - clears the tile maponly works for script-created tile maps
-    destroy() - deletes the tile maponly works for script-created tile maps
-    findanimation(str) - returns object
-    findimagemap(str) - returns object
-    loadtilemap(strstr) - returns object - use loadTileMapXML instead
-    loadtilemapxml(str) - returns object loads a level in the new format (gxml); this is for data processing only, if you want to display it then use GuiTilesCtrl or create a gmap with the line TILEMAP yourmap.gxml
-    saveasimage(strintbool) - generates a screenshot of the whole mapparameters are the file namenumber of pixels per unit and if it should clip to visible objects 
__________________

"A delayed game is eventually good, but a rushed game is forever bad." - Shigeru Miyamoto
Reply With Quote
  #2  
Old 03-22-2012, 07:54 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
I believe Stefan is implementing a new level format that was adopted from one of their other games:
http://wiki.graal.net/index.php/Euro...derland_Online

When he stated a while ago that there was a new editor in the making, I believe this is the format it used. I doubt there is any way to use those, though, because the format has not been released, nor has the editor.
Reply With Quote
  #3  
Old 03-22-2012, 09:21 PM
xXziroXx xXziroXx is offline
Master of Puppets
xXziroXx's Avatar
Join Date: May 2004
Location: Sweden
Posts: 5,288
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
Send a message via AIM to xXziroXx Send a message via MSN to xXziroXx
Quote:
Originally Posted by DustyPorViva View Post
I believe Stefan is implementing a new level format that was adopted from one of their other games:
http://wiki.graal.net/index.php/Euro...derland_Online

When he stated a while ago that there was a new editor in the making, I believe this is the format it used. I doubt there is any way to use those, though, because the format has not been released, nor has the editor.
Possibly. But then again, it might be Graal related, especially considering this:

Quote:
if you want to display it then use GuiTilesCtrl or create a gmap with the line TILEMAP yourmap.gxml
__________________

"A delayed game is eventually good, but a rushed game is forever bad." - Shigeru Miyamoto
Reply With Quote
  #4  
Old 03-22-2012, 09:37 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by xXziroXx View Post
Possibly. But then again, it might be Graal related, especially considering this:
It is Graal related as Stefan has shown interest in bringing it to Graal, but everything I said still stands. The editor still hasn't been released(surprise) and neither has the format.
Reply With Quote
  #5  
Old 03-23-2012, 12:31 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Enjoy your goose-chase.

PHP Code:
<?xml version="1.0"?>
<level>
    <layerconfig />
    <imagemaps>
        <imagemap>
          <imageName></imageName>
          <imageMode></imageMode>
          <cellWidth></cellWidth>
          <cellHeight></cellHeight>
          <filterMode></filterMode>
        </imagemap>
    </imagemaps>
    <animations>
        <animation>
          <imageMap></imageMap>
          <animationFrames></animationFrames>
          <animationTime></animationTime>
        </animation>
    </animations>
    <objects>
        <object>
          <Layer></Layer>
          <Position></Position>
          <size></size>
          <animationName></animationName>
        </object>
    </objects>
    <tilelayers>
        <tilelayer>
          <Layer></Layer>
          <Position></Position>
          <size></size>
          <tileCountX></tileCountX>
          <tileCountY></tileCountY>
          <tileSizeX></tileSizeX>
          <tileSizeY></tileSizeY>
          <tile />
        </tilelayer>
    </tilelayers>
</level>
__________________
Quote:
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 07:46 AM.


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