Graal Forums

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

Engine 02-03-2010 05:45 AM

Gonstruct help.
 
I cannot for the life of me figure out how to use the layers on Gonstruct. I'm trying to play around with the tileset that Dusty made and I have it added to the tileset list but I can't seem to make it work. If someone could fraps how to do the layers correctly that would be awesome I only need like a 10 second clip of how to use it.

Imperialistic 02-03-2010 03:43 PM

I've had trouble with it before, if Ziro doesn't post on this thread.. you should really Forum PM him, he knows all about that.

DustyPorViva 02-03-2010 03:54 PM

Gonstruct defaultly has pics1.png as a tileset that applies to all levels. The problem is that Gonstruct applies priorities chronically instead of by prefix. That means nonspecific tilesets like the pics1 will overwrite specific tilesets for levels if they are higher on the list. This is pretty annoying and actually breaks the ability to use tiledefs.

To fix this, what you can do is add your tileset, remove the default pics1 tileset, then add the pics1 tileset back with a blank prefix. This will put your tileset at the top of the list, making it a higher priority. You'll have to do this every time you add a tileset.
Be very careful when messing with tilesets because if Gonstruct can't find a tileset with a blank prefix, it will crash, making it hard to get working again.

If you'd like, I can possibly eventually make a tutorial video now that I can record stuff.

Loriel 02-03-2010 05:17 PM

Quote:

Originally Posted by DustyPorViva (Post 1553945)
That means nonspecific tilesets like the pics1 will overwrite specific tilesets for levels if they are higher on the list. This is pretty annoying and actually breaks the ability to use tiledefs.

gonstruct is probably not behaving ideally there, but the prefixless pics1.png should have the "main" checkbox checked and will then be drawn first in any case. If that does not work for you I would appreciate more details.

When you addtiledef a tileset with transparency over another tileset, the latter tileset will show through the transparent parts of the former, so you cannot have an entirely opaque tileset and a tileset with transparency applying at the same time at all.

Quote:

Be very careful when messing with tilesets because if Gonstruct can't find a tileset with a blank prefix, it will crash, making it hard to get working again.
Eh, you just restart gonstruct and delete the offending tileset before opening any level.

Fry 02-03-2010 05:56 PM

Sorry for leaving it in a terrible state with terrible bugs and ui, just kinda don't have enugh time for it anymore :(
In any case, a tileset with "main" checked SHOULD get drawn before any others. The editor for the tilesets is probably not ideal, if you need to change the order you can close gonstruct and edit the preferences file in something like C:\Users\<User>\AppData\Roaming\gonstruct (Windows 7).

geneticfrog 02-03-2010 09:55 PM

Well ive been using gonstruct making a bunch of leves on maloria.

Sofar i find gonstruct to be a lot more convenient. Anyways, I found that adding a tileset to the list and making it main doesnt exactly work right. However, as soon as i removed pics1 from the tileset list IN gonstruct the tileset instantly switched for me. I never added pics1 again.

I think another problem with gonstruct and people not being able to see the tiles is that they dont put the path location in gonstruct as Graal.

It might not acutally be a bug but i think that fixed a few problems for some people.

DustyPorViva 02-03-2010 10:09 PM

Quote:

Originally Posted by Loriel (Post 1553956)
gonstruct is probably not behaving ideally there, but the prefixless pics1.png should have the "main" checkbox checked and will then be drawn first in any case. If that does not work for you I would appreciate more details.

When you addtiledef a tileset with transparency over another tileset, the latter tileset will show through the transparent parts of the former, so you cannot have an entirely opaque tileset and a tileset with transparency applying at the same time at all.

I would assume that that 'main' is also for any full tileset, which means the priorities are still an issue.


Quote:

Originally Posted by Loriel (Post 1553956)
Eh, you just restart gonstruct and delete the offending tileset before opening any level.

Since the tileset data gets saved, it crashes on opening.

Loriel 02-04-2010 01:50 AM

Quote:

Originally Posted by DustyPorViva (Post 1553992)
Since the tileset data gets saved, it crashes on opening.

When I tried this, it only crashed when I opened a level. When I just opened gonstruct nothing happened and I could change the config. Is this different on Windows? What does the crash look like?

If someone were to contribute a patch that makes this more graceful, I am sure we could work it in.

DustyPorViva 02-04-2010 01:58 AM

Quote:

Originally Posted by Loriel (Post 1554062)
When I tried this, it only crashed when I opened a level. When I just opened gonstruct nothing happened and I could change the config. Is this different on Windows? What does the crash look like?

If someone were to contribute a patch that makes this more graceful, I am sure we could work it in.

Hmm, doesn't seem to do it anymore. However, I'd like to see tiledefs refined a little more to give level definitions priority over length anyways.
IE, the prefix "dusty_test0.nw" would load over "dusty_" which would load over the default blank prefix for pics1.png.

In the very least, new tiledefs should be added to the top of the list, which would give them priority when added.

Loriel 02-04-2010 02:18 AM

Quote:

Originally Posted by DustyPorViva (Post 1554063)
Hmm, doesn't seem to do it anymore. However, I'd like to see tiledefs refined a little more to give level definitions priority over length anyways.
IE, the prefix "dusty_test0.nw" would load over "dusty_" which would load over the default blank prefix for pics1.png.

In the very least, new tiledefs should be added to the top of the list, which would give them priority when added.

Yeah, no argument there.

Engine 02-06-2010 01:15 AM

My internet went out like 20 minutes after my post, I finally figured it out after like 30 minutes. Thanks for the help anyways.

superzx14 02-13-2010 04:59 AM

Quote:

Originally Posted by Engine (Post 1553895)
I cannot for the life of me figure out how to use the layers on Gonstruct. I'm trying to play around with the tileset that Dusty made and I have it added to the tileset list but I can't seem to make it work. If someone could fraps how to do the layers correctly that would be awesome I only need like a 10 second clip of how to use it.

It took me a while to figure it out too.

xXziroXx 02-14-2010 05:44 PM

Yo Fry/Loriel, I need halp. When I tried adding a tileset it suddenly crashed and now I can't open any levels anymore. When I try to open Gonstruct, it takes about a minute before it opens up, and then when I try to open a level it loads for a few minutes before giving a "Error: St9bad_alloc" popup and crashes. Tried deleting the AppData for it, no luck :x

Fry 02-14-2010 07:05 PM

Quote:

Originally Posted by xXziroXx (Post 1556124)
Yo Fry/Loriel, I need halp. When I tried adding a tileset it suddenly crashed and now I can't open any levels anymore. When I try to open Gonstruct, it takes about a minute before it opens up, and then when I try to open a level it loads for a few minutes before giving a "Error: St9bad_alloc" popup and crashes. Tried deleting the AppData for it, no luck :x

Did you try removing any non-common tilesets from the tileset list before attempting to load any level?

xXziroXx 02-14-2010 07:09 PM

Quote:

Originally Posted by Fry (Post 1556133)
Did you try removing any non-common tilesets from the tileset list before attempting to load any level?

I can't seem to even be able to edit the tileset list without loading a level first, since it's grayed out.


All times are GMT +2. The time now is 01:09 PM.

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