Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Level Design (https://forums.graalonline.com/forums/forumdisplay.php?f=6)
-   -   problem adding tileset to server (https://forums.graalonline.com/forums/showthread.php?t=81818)

MunkyPuff 09-14-2008 01:37 AM

problem adding tileset to server
 
Hello, Sorry if this is a dumb question... but I'm kind of new at this.

I'm trying to add my tileset to my server, and so far in the server options I have put:

newtilesets=true
newtilesetlevels=onlinelocalstart.nw

I thought I might need to put the tileset in a folder so I put mine in the Images folder. Not sure if that was correct of not.

I also put a script in 'classes' named tileset and put:

//#CLIENTSIDE
if (created) {
removetiledefs;
addtiledef snow.png,onlinelocalstart.nw,1;
}

not sure if that was correct either.. but it's still not working.

What am i missing? :(

Thank you.

Tigairius 09-14-2008 01:45 AM

Quote:

Originally Posted by MunkyPuff (Post 1423207)
//#CLIENTSIDE
if (created) {
removetiledefs;
addtiledef snow.png,onlinelocalstart.nw,1;
}

Make sure the level name is onlinestartlocal.nw or change the levelname in your script to #L instead of onlinestartlocal.nw

MunkyPuff 09-14-2008 01:53 AM

Oh geez... I broke it.. now it wont let me into the lvl at all, it just freezes :(

MunkyPuff 09-14-2008 02:05 AM

it says 'active levels:0' wtf! what the hell did i do, i have the level there..

Tigairius 09-14-2008 02:06 AM

Try restarting graal editor ?

MunkyPuff 09-14-2008 02:19 AM

omg its working, guess i didn't need help after all... thanks anyways :D

cbk1994 09-14-2008 03:31 AM

FYI, it's better to do something like this:

PHP Code:

//#CLIENTSIDE
function onCreated() {
  
removetiledefs();
  
addtiledef("snow.png"""1);


in a system weapon (when online).

xXziroXx 09-14-2008 02:39 PM

Agreed with Chris. Changing tiles locally in a level usually just brings more trouble then it's worth (for larger servers).


All times are GMT +2. The time now is 08:17 AM.

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