Graal Forums

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

SSRobgeta 01-29-2002 03:34 AM

tiledef2
 
I think that is the script command. How do I use it on a IMG that is more then one tile. (Like Pics1.png)
Thx

amonrabr 01-29-2002 03:56 AM

-
 
You can use, addtiledef2 image,levelname,x,y; .. to replace an image (any size) in the tile.

or "addtiledef image,levelname,type;" to replace all the tile...
If u wanna replace the pics1 using the same kind of floor use type 0, if u wanna (example) add more chairs, use type 1.
To know what kind of floor is for type 1, look at some examples in /levels/tiles (if u have, look at tile_inside.png)

SSRobgeta 01-29-2002 03:59 AM

Re: -
 
Quote:

Originally posted by amonrabr
You can use, addtiledef2 image,levelname,x,y; .. to replace an image (any size) in the tile.

or "addtiledef image,levelname,type;" to replace all the tile...
If u wanna replace the pics1 using the same kind of floor use type 0, if u wanna (example) add more chairs, use type 1.
To know what kind of floor is for type 1, look at some examples in /levels/tiles (if u have, look at tile_inside.png)

I mean can I do soemthing like setimgpart?

amonrabr 01-29-2002 04:04 AM

Re: Re: -
 
Quote:

Originally posted by SSRobgeta

I mean can I do soemthing like setimgpart?

ah.. you cant..

SSRobgeta 01-29-2002 04:22 AM

Re: Re: Re: -
 
Quote:

Originally posted by amonrabr

ah.. you cant..

Then how did yhey do it for the GoKart track? I saw the IMG they used!

Faheria_LAT1 01-29-2002 04:41 AM

Re: Re: Re: Re: -
 
Quote:

Originally posted by SSRobgeta

Then how did yhey do it for the GoKart track? I saw the IMG they used!


They used addtiledef2 to replace part of the tileset

SSRobgeta 01-29-2002 04:44 AM

Re: Re: Re: Re: Re: -
 
1 Attachment(s)
Quote:

Originally posted by Faheria_LAT1



They used addtiledef2 to replace part of the tileset

I know that. But how can I make this picture split into more than one tile (Like water and deep water).


All times are GMT +2. The time now is 12:30 PM.

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