Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-28-2004, 01:57 AM
sparkers sparkers is offline
Yojumisto Online
sparkers's Avatar
Join Date: Jun 2004
Location: Why does anyone care about that?
Posts: 111
sparkers is on a distinguished road
Send a message via AIM to sparkers
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.
Reply With Quote
  #2  
Old 11-28-2004, 02:20 AM
calum calum is offline
Registered User
Join Date: Nov 2003
Location: Scotland
Posts: 182
calum is on a distinguished road
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)
__________________
Reply With Quote
  #3  
Old 11-28-2004, 02:23 AM
sparkers sparkers is offline
Yojumisto Online
sparkers's Avatar
Join Date: Jun 2004
Location: Why does anyone care about that?
Posts: 111
sparkers is on a distinguished road
Send a message via AIM to sparkers
Thank you so much! It was driving me crazy! I thought I was gonna have to copy and paste them over the normal tileset.
Reply With Quote
  #4  
Old 12-16-2004, 06:56 PM
Raelyn Raelyn is offline
the Professional.
Raelyn's Avatar
Join Date: Sep 2003
Location: Zormite
Posts: 964
Raelyn will become famous soon enough
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. :|
__________________
*Don't let the door hit you on the way out.*
Reply With Quote
  #5  
Old 12-16-2004, 07:34 PM
calum calum is offline
Registered User
Join Date: Nov 2003
Location: Scotland
Posts: 182
calum is on a distinguished road
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'
__________________

Last edited by calum; 12-16-2004 at 07:48 PM..
Reply With Quote
  #6  
Old 12-16-2004, 07:48 PM
Raelyn Raelyn is offline
the Professional.
Raelyn's Avatar
Join Date: Sep 2003
Location: Zormite
Posts: 964
Raelyn will become famous soon enough
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
__________________
*Don't let the door hit you on the way out.*
Reply With Quote
  #7  
Old 12-16-2004, 07:49 PM
calum calum is offline
Registered User
Join Date: Nov 2003
Location: Scotland
Posts: 182
calum is on a distinguished road
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
__________________
Reply With Quote
  #8  
Old 12-16-2004, 07:51 PM
Raelyn Raelyn is offline
the Professional.
Raelyn's Avatar
Join Date: Sep 2003
Location: Zormite
Posts: 964
Raelyn will become famous soon enough
Quote:
Originally Posted by calum
Swim, etc are done by the terrain height
Check edit. :o
__________________
*Don't let the door hit you on the way out.*
Reply With Quote
  #9  
Old 12-16-2004, 07:54 PM
calum calum is offline
Registered User
Join Date: Nov 2003
Location: Scotland
Posts: 182
calum is on a distinguished road
Quote:
Originally Posted by Raelyn
Check edit. :o
Check my answer to sparkers problem...
__________________
Reply With Quote
  #10  
Old 12-16-2004, 08:00 PM
Raelyn Raelyn is offline
the Professional.
Raelyn's Avatar
Join Date: Sep 2003
Location: Zormite
Posts: 964
Raelyn will become famous soon enough
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?
__________________
*Don't let the door hit you on the way out.*
Reply With Quote
  #11  
Old 12-16-2004, 08:03 PM
calum calum is offline
Registered User
Join Date: Nov 2003
Location: Scotland
Posts: 182
calum is on a distinguished road
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;
__________________
Reply With Quote
  #12  
Old 12-16-2004, 08:11 PM
Raelyn Raelyn is offline
the Professional.
Raelyn's Avatar
Join Date: Sep 2003
Location: Zormite
Posts: 964
Raelyn will become famous soon enough
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
__________________
*Don't let the door hit you on the way out.*
Reply With Quote
  #13  
Old 12-16-2004, 08:16 PM
calum calum is offline
Registered User
Join Date: Nov 2003
Location: Scotland
Posts: 182
calum is on a distinguished road
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.
__________________
Reply With Quote
  #14  
Old 12-16-2004, 08:23 PM
Raelyn Raelyn is offline
the Professional.
Raelyn's Avatar
Join Date: Sep 2003
Location: Zormite
Posts: 964
Raelyn will become famous soon enough
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.

http://forums.graalonline.com/forums...chmentid=28687
http://forums.graalonline.com/forums...chmentid=28686
__________________
*Don't let the door hit you on the way out.*
Reply With Quote
  #15  
Old 12-16-2004, 08:47 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Thats type 2 I think
__________________
Reply With Quote
  #16  
Old 12-16-2004, 09:57 PM
Slash-P2P Slash-P2P is offline
Banned
Join Date: May 2004
Location: Burning Blade
Posts: 941
Slash-P2P is on a distinguished road
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
Reply With Quote
Reply


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:34 PM.


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