Graal Forums  

Go Back   Graal Forums > Development Forums > Level Design
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-23-2007, 03:14 PM
JamesGarrow1 JamesGarrow1 is offline
Registered User
Join Date: Feb 2007
Posts: 6
JamesGarrow1 is on a distinguished road
Exclamation Tileset problems

I know how to change the tilesets in the editor from classic to something like era but i have a problem how do i get my character to walk on some tiles, for example when i test my level my character can't walk on a pavement it acts as if it is a wall and when the character goes up to a door he will sit down on it and all other things like that anyway to help.
Sorry if i worded a bit complicated.
Reply With Quote
  #2  
Old 06-23-2007, 04:00 PM
Codein Codein is offline
jwd
Codein's Avatar
Join Date: Oct 2005
Location: Greater Manchester
Posts: 2,423
Codein has a spectacular aura aboutCodein has a spectacular aura about
Send a message via AIM to Codein Send a message via MSN to Codein
There are two types. 0, which is what pics1.png is and 1 which an Era-like tileset would be.

Do this: addtiledef [image name],[level start],1;

:P
Reply With Quote
  #3  
Old 06-23-2007, 05:08 PM
JamesGarrow1 JamesGarrow1 is offline
Registered User
Join Date: Feb 2007
Posts: 6
JamesGarrow1 is on a distinguished road
What do i put in [levelstart]?
Reply With Quote
  #4  
Old 06-23-2007, 05:12 PM
Codein Codein is offline
jwd
Codein's Avatar
Join Date: Oct 2005
Location: Greater Manchester
Posts: 2,423
Codein has a spectacular aura aboutCodein has a spectacular aura about
Send a message via AIM to Codein Send a message via MSN to Codein
The level prefix, like say if it was loc_osl.nw, the levelstart would be "loc".
Reply With Quote
  #5  
Old 06-23-2007, 06:49 PM
ArushenP2P ArushenP2P is offline
Graal Developer
ArushenP2P's Avatar
Join Date: Feb 2006
Location: Oakland, Calif. USA
Posts: 336
ArushenP2P is on a distinguished road
Send a message via AIM to ArushenP2P
I think I might know your problem. When you add a tile which format/style is the tileset looking like.

The First one is the format Era uses and is used for "addtiledef" scripts. The one classic uses is "addtiledef2". So if your using the tileset Era is using. It'll probably look like this.

NPC Code:

//NPC made by Unknown
//Tiles
if (created && playerenters) {addtiledef tileset_name.ext,#L,0;}



Replace tileset_name.ext to a similar tileset for example. "tileset_era-summer.png"
#L is current level, and 0 is the mode of the addtiledef which in case Era is
using. If it's still not working than switch the 0 to 1. That should help, PM me if it doesn't work.

I prefer using the tileset type Era is using because it's easy to script with. Addtiledef2 requires the x,y coordinates
and I suck at those.

Last edited by ArushenP2P; 06-23-2007 at 06:53 PM.. Reason: I need to explain more :X
Reply With Quote
  #6  
Old 06-23-2007, 07:19 PM
Codein Codein is offline
jwd
Codein's Avatar
Join Date: Oct 2005
Location: Greater Manchester
Posts: 2,423
Codein has a spectacular aura aboutCodein has a spectacular aura about
Send a message via AIM to Codein Send a message via MSN to Codein
That's wrong. The way I did it is right. addtiledef2 is used for adding a group of tiles which doesn't necessarily mean changing the whole entire tileset. For example, if I wanted to change tall grass, I'd use addtiledef2 but if I had completely new tileset, I'd use addtiledef. Type 1 is what Era uses and is more organised where as type 0 is the one which classic uses and is used when you have a new tileset where you don't want to change the layout, mainly used if you already have an overworld.
Reply With Quote
  #7  
Old 06-23-2007, 08:17 PM
ArushenP2P ArushenP2P is offline
Graal Developer
ArushenP2P's Avatar
Join Date: Feb 2006
Location: Oakland, Calif. USA
Posts: 336
ArushenP2P is on a distinguished road
Send a message via AIM to ArushenP2P
Yeah what he said
Reply With Quote
  #8  
Old 06-24-2007, 12:30 AM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
also try removetiledefs; before the addtiledef part
__________________
Deep into the Darkness peering...
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 04:03 AM.


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