Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Tileset Scripting (https://forums.graalonline.com/forums/showthread.php?t=71136)

HazeOfTime 12-31-2006 09:05 PM

Tileset Scripting
 
Hi,
How does the
NPC Code:
addtiledef image,levelstart,type;	specifys the tiles images for all levels that start with 'levelstart' (0-standard type,1-new order)


command work?
What I mean is, in '1-new order', how does it know which tiles are block and which tiles are non block, etc. if it is not in the same order as pcis1.png?

WanDaMan 12-31-2006 09:12 PM

It's the picso.png (+ Era) which is 1, 0 is pics1.png.

HazeOfTime 12-31-2006 11:21 PM

Where does the bush that you can pick up go on the new order tiles?

Twinny 01-01-2007 05:48 AM

This might help you

http://wiki.graal.net/index.php/Creation/Dev/Tileset

HazeOfTime 01-01-2007 01:59 PM

Ahh thanks, I tried to use the new order tiles, but I still cannot seem to pick up bushes, is there something wrong with the new order tiles?

HazeOfTime 01-01-2007 08:30 PM

Okay I tried to use the one that came with that wiki dev, but it did not work, so I deleted all the colors and made it all black except the lower left pick up items, that worked, I did the addtiledef command and set it to new order, the tiles respond as they should but the bushes do not pick up.
Is there something I am missing? Do I need to use custom code in order to get it to work?

Twinny 01-02-2007 07:21 AM

From the wiki
PHP Code:

addtiledef image,levelstart,type
specifys the tiles images for all levels that start 
with 
'levelstart' (0-standard type,1-new order

Since you're using the new type of tileset, make sure you use type 1 instead of 0.

Type 0 is for classic tilesets like pics1.png or the N-Pulse tileset.
Type 1 is used for the new layout.

If this doesn't help, you may just have to experiment to find the correct placing for bushes and similar manipulatable (is that a word?) objects.

HazeOfTime 01-02-2007 10:03 PM

I have done that, everything else works, but the bush does not.
Is there anyone who knows whats wrong? I think it would take forever to put a bush in every 4 slot area and try them out, there must be someone who actually knows whats wrong?


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

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