Graal Forums

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

sparkers 11-28-2004 01:57 AM

Tileset problems
 
Ok so first of all I need to say that I made a tileset based off of a
Template (had little boxes with E's and some boxes that said stuff such as blocking,non-blocking etc.) but for somereason the pieces didn't quite go as they were said to be like The non-blocking ones blocked,blocking ones sometimes blocked and didn't,etc.
I've seen on servers with custom tilesets that theirs work fine so how do
you actually make it so some tiles block and don't.

calum 11-28-2004 02:20 AM

NPC Code:

removetiledefs;
addtiledef <image>,<levelnamestart>,<type>;


put that in a npc in the level or a weapon.
image = the image of the new tileset
levelnamestart = the name/part of the name of the level you wish to use the tileset with
type = Two most common types for setting which tile does what are 0 (default tileset) or 1 for the common new tileset (probably the one you want)

sparkers 11-28-2004 02:23 AM

Thank you so much! It was driving me crazy! I thought I was gonna have to copy and paste them over the normal tileset.

Raelyn 12-16-2004 06:56 PM

Quote:

Originally Posted by calum
NPC Code:

removetiledefs;
addtiledef <image>,<levelnamestart>,<type>;


put that in a npc in the level or a weapon.
image = the image of the new tileset
levelnamestart = the name/part of the name of the level you wish to use the tileset with
type = Two most common types for setting which tile does what are 0 (default tileset) or 1 for the common new tileset (probably the one you want)

I know it's been posted before, but I can't seem to find it, does anyone have the picso.png template that has the different clump areas of which are blocking/nonblocking/water/lava/swamp etc marked off?

I had it before and now I can't find it. :|

calum 12-16-2004 07:34 PM

Quote:

Originally Posted by Raelyn
I know it's been posted before, but I can't seem to find it, does anyone have the picso.png template that has the different clump areas of which are blocking/nonblocking/water/lava/swamp etc marked off?

I had it before and now I can't find it. :|

Is this 'picso.png' or 'pics1.png' because all of picso.png is non-blocking?
I think this may be what you are looking for 'tileset template thread'

Raelyn 12-16-2004 07:48 PM

Quote:

Originally Posted by calum
Is this 'picso.png' or 'pics1.png' because all of picso.png is non-blocking?

All of picso is nonblocking? :o Ok, so what if you did want "some" of it to block?

I remember there was a template of picso.png posted that had different areas marked off as water etc. :o

Oh wait, I think it was based off of tiles_inside.png or something.

Wait, how do you set tiles_inside.png as the active tileset?

is it like, type 3, or what? o.o

calum 12-16-2004 07:49 PM

Quote:

Originally Posted by Raelyn
All of picso is nonblocking? :o Ok, so what if you did want "some" of it to block?

I remember there was a template of picso.png posted that had different areas marked off as water etc. :o

Swim, etc are done by the terrain height

Raelyn 12-16-2004 07:51 PM

Quote:

Originally Posted by calum
Swim, etc are done by the terrain height

Check edit. :o

calum 12-16-2004 07:54 PM

Quote:

Originally Posted by Raelyn
Check edit. :o

Check my answer to sparkers problem...

Raelyn 12-16-2004 08:00 PM

Quote:

Originally Posted by calum
NPC Code:

removetiledefs;
addtiledef <image>,<levelnamestart>,<type>;


put that in a npc in the level or a weapon.
image = the image of the new tileset
levelnamestart = the name/part of the name of the level you wish to use the tileset with
type = Two most common types for setting which tile does what are 0 (default tileset) or 1 for the common new tileset (probably the one you want)

I know how to script it, but;

addtiledef <image>,<levelnamestart>,<type>;

requires a type, as you say above, 0 is default, 1 is the new one, but how do you make it tiles_inside.png?

The formatting is different for that, isn't it?

calum 12-16-2004 08:03 PM

Quote:

Originally Posted by Raelyn
I know how to script it, but;

addtiledef <image>,<levelnamestart>,<type>;

requires a type, as you say above, 0 is default, 1 is the new one, but how do you make it tiles_inside.png?

The formatting is different for that, isn't it?


addtiledef tiles_inside.png,<levelnamestart>,1;

Raelyn 12-16-2004 08:11 PM

Quote:

Originally Posted by calum
addtiledef tiles_inside.png,<levelnamestart>,1;

Right, but what I was looking for was the image someone already marked off which areas were which. :P
They posted it on the forums a few times, I just can't find it, it's got all the areas marked off as "swim" "block" "chair" etc. :)

I am just looking for the image. ;P

calum 12-16-2004 08:16 PM

Quote:

Originally Posted by Raelyn
Right, but what I was looking for was the image someone already marked off which areas were which. :P
They posted it on the forums a few times, I just can't find it, it's got all the areas marked off as "swim" "block" "chair" etc. :)

I am just looking for the image. ;P

I have already guided you in your quest if you look at the link I gave you.

Raelyn 12-16-2004 08:23 PM

Quote:

Originally Posted by calum
I have already guided you in your quest if you look at the link I gave you.

Bingo this is the stuff. :D

http://forums.graalonline.com/forums...chmentid=28687
http://forums.graalonline.com/forums...chmentid=28686

xAndrewx 12-16-2004 08:47 PM

Thats type 2 I think

Slash-P2P 12-16-2004 09:57 PM

Quote:

Originally Posted by sparkers
Template (had little boxes with E's and some boxes that said stuff such as blocking,non-blocking etc.)

Mine has E's :whatever:


All times are GMT +2. The time now is 09:59 AM.

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