Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-04-2002, 07:37 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
Addtiledef2

adding tile defs are messed up compleatly...

If you add a tile def (addtiledef2 img,levelstart,x,y
1) It will never change back to the default tileset unless you log off
2) You can't use addtiledef or addtiledef2 again.
3) You can't use removetiledefs command either because it doesn't work.

Sample code
NPC Code:

//#CLIENTSIDE
if (playerenters) {
addtiledef2 tiles_kart.png,worldf-13,928,256;
addtiledef2 tiles_kart.png,worldg-13,928,256;
addtiledef2 tiles_kart.png,worlde-14,928,256;
addtiledef2 tiles_kart.png,worldf-14,928,256;
addtiledef2 tiles_kart.png,worldg-14,928,256;
addtiledef2 tiles_kart.png,worldf-15,928,256;
addtiledef2 tiles_kart.png,worldg-15,928,256;
}



Those tiles will stay on the tileset untill you log off.
They will effect any level you walk into, it doesn't matter what the levels starts with.

Places this happens are....

Kart Tracks
Halloween Area
Lazer Tag
Apple Bakeing

Here is a screen shot.

The level on the left side has the add tile def on it. However the one on the right is removing the tile defs from the kart level on the left. My graal character is in the level with the remove tile defs in it but the tile defs weren't removed.
Attached Thumbnails
Click image for larger version

Name:	tiledef.png
Views:	163
Size:	84.0 KB
ID:	12826  
__________________

subliminal message: 1+1=3
Reply With Quote
 


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 01:40 PM.


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