Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Graphic Design (https://forums.graalonline.com/forums/forumdisplay.php?f=9)
-   -   tileset help. (https://forums.graalonline.com/forums/showthread.php?t=134260393)

thepimp 09-01-2010 01:14 AM

tileset help.
 
ok so i made a tile for my server and it says, "pic1.png could not be found in the graal folder!" but it is. dont insult it if you dont like it i just need help.
http://img231.imageshack.us/img231/7...niatileset.png

its in the same location and name

Fulg0reSama 09-01-2010 01:38 AM

Holy **** did your tileset get thrown in a washer?

Soala 09-01-2010 01:43 AM

First, what are you trying to do?

If you are trying to use the tileset on your server, best is to upload it in the images folder of your file browser. It needs to be uploaded on your server to work.
Secondly, do not name it pics1.png but rather another name, for example servername_tileset.png. This way, people visiting your server will not have their tileset used on other servers replaced by yours.

If you are trying to load this tileset in the offline editor, then I suggest you tell us how you did exactly to try to make it work.

xXziroXx 09-01-2010 01:49 AM

Delete FILENAMESCACHE.txt in your Graal folder.

Supaman771 09-01-2010 02:35 AM

Quote:

Originally Posted by thepimp (Post 1597883)
ok so i made

Looks like pics1 with a random tree and lamp. Tree looks like something straight outta clip art too.

Why not just use pics1 and make the tree/lamp as images, that'd work better anyway cause you could trans them to overlap things better. Even make the lamp an object and mess with some glows/lights on it.

Also, your error is probably because you didn't change the name of the tileset *insert facepalm image here*:p

scooter123 09-01-2010 02:59 AM

A darker pics1.png and a tree that needs work. Well, just keep working on it.

Catbert 09-01-2010 03:00 AM

eww

thepimp 09-01-2010 03:50 AM

holy crap i know its not good. i randomly did this because im EXPERIMENTING changing tilesets. since im a noob at latting and started last saturday. jeez.

Quote:

Originally Posted by Fulg0reSama (Post 1597890)
Holy **** did your tileset get thrown in a washer?

dude this is a test to see how it works since im a noob at LATing. in other words random experimenting. jeez i said not to insult it i just wanted help...

Quote:

Originally Posted by Soala (Post 1597892)
First, what are you trying to do?

If you are trying to use the tileset on your server, best is to upload it in the images folder of your file browser. It needs to be uploaded on your server to work.
Secondly, do not name it pics1.png but rather another name, for example servername_tileset.png. This way, people visiting your server will not have their tileset used on other servers replaced by yours.

If you are trying to load this tileset in the offline editor, then I suggest you tell us how you did exactly to try to make it work.

and thankyou, kind sir for not randomly insulting the picture and actually trying to help.

i guess i could just redownload graal.

Supaman771 09-01-2010 04:58 AM

Quote:

Originally Posted by thepimp (Post 1597920)
im a noob at latting and started last saturday.

LAT != making tilesets, but using them.
Making tilesets would be GFX.

Also, why buy a server if you're a 'noob'. I'm sure you could find a empty server or a WIP that would hire you so you can practice.

And I posted helpful stuff too... D:

maximus_asinus 09-01-2010 05:01 AM

it would be interesting seeing an entire tileset to match that style of tree.

thepimp 09-01-2010 05:07 AM

Quote:

Originally Posted by Supaman771 (Post 1597925)
LAT != making tilesets, but using them.
Making tilesets would be GFX.

Also, why buy a server if you're a 'noob'. I'm sure you could find a empty server or a WIP that would hire you so you can practice.

And I posted helpful stuff too... D:

remember. testing it on offline editor to see how using custom tilesets works.

im not buying it yet. im helping LAT on a server called xazier and gating stuff for JamesJaames and slowly planning it out. ill buy it in a month or so when im ready.

even though its a test i took out the washed look and added other stuff since almost everyone was rudley insulting me and not giving me advice which i needed.
http://img231.imageshack.us/img231/7...niatileset.png


Quote:

Originally Posted by maximus_asinus (Post 1597927)
it would be interesting seeing an entire tileset to match that style of tree.

thats what im planning to do. this is just a test. me and a few others are spriting alot to match its style.

kia345 09-01-2010 05:13 AM

Quote:

Originally Posted by thepimp (Post 1597930)
JamesJaames

Why do I think TheJames got a new account?

Luda 09-01-2010 05:20 AM

The REBIRTH OF MOON PAL!

Supaman771 09-01-2010 06:03 AM

Quote:

Originally Posted by thepimp (Post 1597930)
*Stuff*

Looks better, but I wouldn't suggest just recoloring the stuff, should organize it and make the missing tiles it needs. Especially don't make it darker, makes the server look boring *cough* Era *cough*. Make it you're own, not a copy of something else, It'll always come out better and easier to use.

I like the trees but I still suggest making them images so you can make only the trunk blocking and walk under the tops, and so overlapping looks right (since they're smaller than the normal tree tops). It'll also save you room on the tileset for those much needed missing tiles (I search on pics1 for some certain corner tiles all the time and can never find them :cry:). Also the top of the gray tree seems to be missing some details.

My opinions cause they matter.

thepimp 09-01-2010 06:17 AM

Quote:

Originally Posted by Supaman771 (Post 1597944)
Looks better, but I wouldn't suggest just recoloring the stuff, should organize it and make the missing tiles it needs. Especially don't make it darker, makes the server look boring *cough* Era *cough*. Make it you're own, not a copy of something else, It'll always come out better and easier to use.

I like the trees but I still suggest making them images so you can make only the trunk blocking and walk under the tops, and so overlapping looks right (since they're smaller than the normal tree tops). It'll also save you room on the tileset for those much needed missing tiles (I search on pics1 for some certain corner tiles all the time and can never find them :cry:). Also the top of the gray tree seems to be missing some details.

My opinions cause they matter.

i plan on making my own unique tiles for the majority of the entire thing based on the style of the tree. mainly because alot of my friends made well-LATed servers but had absolutley no tile changes so they seemed boring. i dont want to do that. i want it to look more abstract and free flowing. once i have all the core tiles done and fixed (since this was only a test) ill post some screenshots. ill also do what you said about the tree.

DustyPorViva 09-01-2010 06:38 AM

I'll just say it's pointless to try to recolor pics1 to your liking. There are a few reasons as to why:
1) It rarely looks better.
2) Because of what you did... just messed with contrast/brightness.
3) People are familiar with pics1. Changing it invokes familiarity but with a huge topping of "eww, I hate change." Especially when combined with above reasons.
4) What's the point?

Also, ditch the emphasized shadows. Rarely does a game pull it off artfully, and I can't say I've ever seen a 2d game do it. In fact, only a few games come to mind. One is Okami, and the other are a few comic-book-based artstyle games... which I can't even recall by name. Again, like I said... can't say I've ever seen it in any 2d games... Though I guess NES games did it, but that had more to do with limitations than anything. Never on a top-down game, only platformers. Just don't waste the effort.

thepimp 09-05-2010 07:19 PM

new problem. i am using this code to try and use my tileset (not that one a new one i made with alot more stuff) on the offline editor. i saved it as revernia_tileset. Any tips on what i did wrong?

//#CLIENTSIDE
if (created) {
addtiledef revernia_tileset.png}
1
}

Soala 09-05-2010 07:39 PM

Quote:

Originally Posted by thepimp (Post 1599022)
new problem. i am using this code to try and use my tileset (not that one a new one i made with alot more stuff) on the offline editor. i saved it as revernia_tileset. Any tips on what i did wrong?

//#CLIENTSIDE
if (created) {
addtiledef revernia_tileset.png}
1
}

1: You're using GS1! Use GS2!
2:Your code is wrong!

Hint:

//#CLIENTSIDE
function onCreated() {
addtiledef revernia_tileset.png,#L,1;
}

#L can be replaced by the level name but will do if you try it on one level in offline editor
1 being the type of the tileset. I guess you're going for the organized type, if it was made on a template such as pics1.png, then the type is 0.

cbk1994 09-05-2010 07:52 PM

PHP Code:

//#CLIENTSIDE
if (created) {
addtiledef revernia_tileset.png}
1


The problem is that your addtiledef statement is wrong.

PHP Code:

//#CLIENTSIDE
if (created) {
  
addtiledef revernia_tileset.png#L, 0;


As Soala said, you can replace #L with the name of the level or the level start (such as revernia_ if all your levels start with revernia_), or leave it blank if you want it to apply to all levels.

If the tileset is a 'type 1' tileset you will need to change the '0' at the end to a '1'. Type 0 tilesets are laid out like pics1.png whereas type 2 tilesets are laid out like Era's, GK's, etc.

You should delete the script before uploading to a server. The GS2 equivalent (for online use) is:

PHP Code:

//#CLIENTSIDE
function onCreated() {
  
addTileDef("revernia_tileset.png"this.level.name0);


Quote:

Originally Posted by Soala (Post 1599028)
1: You're using GS1! Use GS2!
2:Your code is wrong!

Hint:

//#CLIENTSIDE
function onCreated() {
addtiledef revernia_tileset.png,#L,1;
}

#L can be replaced by the level name but will do if you try it on one level in offline editor
1 being the type of the tileset. I guess you're going for the organized type, if it was made on a template such as pics1.png, then the type is 0.

Please stop giving scripting advice. Your intentions may be true, but you're doing a lot more damage than good.

He said he was using the offline editor, so he needs to use GS1.

In addition, the "hint" you gave was even worse than the original snippet he provided in that it combines GS1 and GS2.

Soala 09-05-2010 08:02 PM

Quote:

Originally Posted by cbk1994 (Post 1599030)


Please stop giving scripting advice. Your intentions may be true, but you're doing a lot more damage than good.

He said he was using the offline editor, so he needs to use GS1.

In addition, the "hint" you gave was even worse than the original snippet he provided in that it combines GS1 and GS2.

meh I somehow thought he would use it online too
also, I'm no scripter, but what I did usualy works for me. Do you mean I forgot like the () and ""? I never thought those were really needed, my bad.

thepimp 09-05-2010 08:03 PM

cbk i copied and pasted the second code onto it and the original pics1 tileset got deleted and the entire level went black.

Soala 09-05-2010 08:05 PM

Quote:

Originally Posted by thepimp (Post 1599032)
cbk i copied and pasted the second code onto it and the original pics1 tileset got deleted and the entire level went black.

now it's a problem with your tileset. Make sure your tileset is a 8bit png, that would most likely fix it if it is not.

cbk1994 09-05-2010 08:06 PM

Quote:

Originally Posted by Soala (Post 1599031)
meh I somehow thought he would use it online too

Quote:

Originally Posted by thepimp (Post 1599022)
new problem. i am using this code to try and use my tileset (not that one a new one i made with alot more stuff) on the offline editor.

Quote:

Originally Posted by Soala (Post 1599031)
also, I'm no scripter, but what I did usualy works for me. Do you mean I forgot like the () and ""? I never thought those were really needed, my bad.

There are a few problems:
PHP Code:

//#CLIENTSIDE
function onCreated() {
addtiledef revernia_tileset.png,#L,1;


  • Functions need to have parentheses surrounding the parameters, e.g. addTileDef(whatever, goes, here);
  • Since you're now using GS2 and not GS1 strings need to be enclosed in quotation marks, e.g. addTileDef("revernia_tileset.png", #L, 1);
  • #L is GS1 and not valid in GS2. The proper replacement is either player.level.name or this.level.name. In this case, the latter. addTileDef("revernia_tileset.png", this.level.name, 1);

Quote:

Originally Posted by thepimp (Post 1599032)
cbk i copied and pasted the second code onto it and the original pics1 tileset got deleted and the entire level went black.

Can you attach the tileset?

thepimp 09-05-2010 08:18 PM

1 Attachment(s)
ok.
http://a.imageshack.us/img202/7920/reverniatileset.png

file:

Dnegel 09-05-2010 08:45 PM

Shouldn't techno doggeh be in that tileset?

Soala 09-05-2010 08:58 PM

Your tileset name is different than the one used in the script and it is also a 24bit png.
I can't really remember if 24bit png's work in offline editor, but best would be to make it 8bit. Try using the correct filename in the script first and see if it changes anything, if not then just make a second version of your tileset to use in offline editor only, and as 8bit png, then use the first one (24bit) online.

cbk1994 09-05-2010 09:00 PM

24-bit PNGs don't work in the editor. Soala is correct, you should use two different tilesets if you require >256 colors (one online, one offline).

thepimp 09-05-2010 09:03 PM

Quote:

Originally Posted by Soala (Post 1599046)
Your tileset name is different than the one used in the script and it is also a 24bit png.
I can't really remember if 24bit png's work in offline editor, but best would be to make it 8bit. Try using the correct filename in the script first and see if it changes anything, if not then just make a second version of your tileset to use in offline editor only, and as 8bit png, then use the first one (24bit) online.

whats different about the name?

Soala 09-05-2010 09:08 PM

Quote:

Originally Posted by thepimp (Post 1599049)
whats different about the name?

oh nevermind about this one, I saved the first image, not the thumbnail, and it saved as reverniatileset.png and not revernia_tileset.png >_<

thepimp 09-05-2010 09:12 PM

i did the same thing as before again only this time i saved it as an 8 bit file and renamed the 8 bit file to revernia_tileset2.png copied the code, changed it to the new files name, clicked close, and everything went black again.

Fogell 09-06-2010 05:30 AM

Quote:

Originally Posted by kia345 (Post 1597932)
Why do I think TheJames got a new account?

Lol JamesJaames is the type of guy who would take credit for being "TheJames" if he had the opportunity to.

EDIT: And Pimp, for around the tree tiles, your using the same tiles multiple times on the tileset, and some parts of the grass are edited corners of the tree so that would be a "block player" patch of grass XD

scooter123 09-06-2010 03:53 PM

Keep working!


All times are GMT +2. The time now is 02:10 PM.

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