Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Level Design (https://forums.graalonline.com/forums/forumdisplay.php?f=6)
-   -   Need help...Seriously :( (https://forums.graalonline.com/forums/showthread.php?t=79511)

Soala 04-23-2008 05:54 PM

Need help...Seriously :(
 
Ok let's say... I think I should post it here

Alright.
I have a playerworld (like most of people :rolleyes: )
It's called Silence

I first made a tileset from pics1.png, etc...
First, I don't know how it set it, but I just uploaded the image in RC (images folders)
Then, On the first level (OSL to be more precise), I put the new tileset
I then made a gmap, then the tileset was all over the gmap (which is good cuz I didn't know how I was going to set it over all the levels :confused:)

Then I made a new tileset, I wanted it to be more organized.
So everything I changed in the old tileset went on the new one.
But this new one is TYPE1 instead of TYPE0 x_x

I uploaded the image to RC, and deleted the image of the old tileset
I tried to have the new one on my server, but it wouldn't show
and I don't know how but the old tileset is still showing, even if I change the level or upload a new one x_x

And anyway

Does someone know if making a new gmap (yeh I plan to change it), if I success by the help of someone to get TYPE1 as tileset, will affect it ?
I mean, you know, will it recognize the cliffs, etc..
Or will I have to do everything myself :redface: ?

Help :(

Imperialistic 04-23-2008 07:55 PM

I really don't know what you're asking, can you point out whats wrong instead of giving us all this history and etc.

DustyPorViva 04-23-2008 08:08 PM

You can't switch to type0 to type1. They are completely different in layout and will mess up your levels. You're either going to have to stick to type0 or redo your levels if you go to type1.

Admins 04-23-2008 10:07 PM

To clear tiledefs you need to use the script command removetiledefs(levelstart)

Soala 04-24-2008 05:33 PM

Ok but do I clear the tiledefs then i put back my tiles (the type1)

And anyway, I still can't find how to get the type1
I made one ok, I uploaded it on RC
But even in 1 level it wont show
and the old tileset is still here !

This is what I did:

// NPC made by Soala
if (created) {

removetiledefs;
addtiledef silence_tiles_type1.png;
}

can you tell me what's wrong ?

Tigairius 04-24-2008 10:31 PM

Quote:

Originally Posted by alexandralove (Post 1387522)
Ok but do I clear the tiledefs then i put back my tiles (the type1)

And anyway, I still can't find how to get the type1
I made one ok, I uploaded it on RC
But even in 1 level it wont show
and the old tileset is still here !

This is what I did:

// NPC made by Soala
if (created) {

removetiledefs;
addtiledef silence_tiles_type1.png;
}

can you tell me what's wrong ?

"addtiledef" has two more parameters. You need to do addtiledef tileset.png, begining of your level's name, tileset type;
Not to mention it's not clientsided, you have to put //#CLIENTSIDE above clientside scripts. For online scripts it's recommended you use gscript2, but for a working example.. do this:
PHP Code:

//#CLIENTSIDE
if (created) {
  
removetiledefs;
  
addtiledef silents_tiles_type1.png#L, 1;



cbk1994 04-25-2008 01:47 AM

Quote:

Originally Posted by Tigairius (Post 1387575)
"addtiledef" has two more parameters. You need to do addtiledef tileset.png, begining of your level's name, tileset type;
Not to mention it's not clientsided, you have to put //#CLIENTSIDE above clientside scripts. For online scripts it's recommended you use gscript2, but for a working example.. do this:
PHP Code:

//#CLIENTSIDE
if (created) {
  
removetiledefs;
  
addtiledef silents_tiles_type1.png#L, 1;



You don't need //#CLIENTSIDE offline since it is all clientside.

I don't understand exactly what you're saying, he was trying to make it work in his level editor? Or did I misunderstand the question?

Tigairius 04-25-2008 03:54 AM

Quote:

Originally Posted by alexandralove (Post 1387522)
I made one ok, I uploaded it on RC

Quote:

Originally Posted by cbkbud (Post 1387611)
You don't need //#CLIENTSIDE offline since it is all clientside.

:noob:

cbk1994 04-25-2008 04:25 AM

Quote:

Originally Posted by Tigairius (Post 1387661)
:noob:

Oh, okay. I didn't see exactly what he was saying.

Soala 04-25-2008 03:48 PM

Yay it works !

Ty all

Soala 04-29-2008 12:04 PM

Eww

Another problem now x_x

My tileset is ok to show on the online levels, but... isn't there a way to show
the tileset in the offline editor ? Would be much easier to use.
My tileset is blank now and whenever I wanna try to use something its getting black all over the level !

Having the tileset to show would be much easier to use I think o_o

cbk1994 04-30-2008 01:00 AM

Quote:

Originally Posted by alexandralove (Post 1388184)
Eww

Another problem now x_x

My tileset is ok to show on the online levels, but... isn't there a way to show
the tileset in the offline editor ? Would be much easier to use.
My tileset is blank now and whenever I wanna try to use something its getting black all over the level !

Having the tileset to show would be much easier to use I think o_o

Is it a 32-bit PNG?

I'm pretty sure you need 8-bit to work offline.

What we used to do for SoG was have an online 32-bit and an offline 8-bit.

Soala 04-30-2008 05:58 PM

I don't know really much about things like this
all I did was take a type1 tileset (one like era) Draw lines to identify differents categories (swamp, blocking, non-blocking, etc...) Then Copy Paste things from my type0 tileset in it in the good category...

cbk1994 05-01-2008 03:26 AM

Try exporting it as a 8-bit PNG. There are tutorials on this online :)

Soala 05-01-2008 06:25 PM

Ok I got it :d


All times are GMT +2. The time now is 11:03 AM.

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