Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Bug Report (https://forums.graalonline.com/forums/forumdisplay.php?f=193)
-   -   addtiledef2 on gmap nearby levels (https://forums.graalonline.com/forums/showthread.php?t=86619)

DustyPorViva 06-29-2009 09:26 PM

addtiledef2 on gmap nearby levels
 
On gmaps, if a nearby level has an addtiledef2, it doesn't load until you actually enter a level, despite the level being visible. This leads to some really annoying and distracting graphical glitches.

Rufus 09-09-2009 03:47 PM

Fix this please, this causes graphical bugs everywhere and is terrible for presentation.

Crono 09-09-2009 03:49 PM

Yes, fix this.

xXziroXx 09-09-2009 03:52 PM

Yes, fix please.

Vima 09-09-2009 04:43 PM

Yes, fix this please.

Liberated 09-09-2009 05:24 PM

yes, fix this please.

Tim_Rocks 09-09-2009 05:33 PM

maybe do addtiledef2 in the surrounding levels , but fix it if that's a bad idea =P

Tigairius 09-09-2009 07:28 PM

Yes

WanDaMan 09-09-2009 11:11 PM

Paste the script in to the other levels?

cyan3 09-09-2009 11:55 PM

Quote:

Originally Posted by WanDaMan (Post 1522078)
Paste the script in to the other levels?

Wouldn't it be easier to use a weapon NPC?

PHP Code:

//#CLIENTSIDE
function onCreated()
{
  
showstats(1024);
  
removetiledefs();
  
addtiledef("pics1.png","myworld_a-1.nw"1,0);
  
addtiledef("pics1.png","myworld_a-2.nw"1,0);
  
  
addtiledef2("picso2.png","myworld_a-1.nw"1,0);
  
addtiledef2("picso2.png","myworld_a-2.nw"1,0);


Obviously this script wouldn't work but it shows the principle.

Mark Sir Link 09-11-2009 12:06 AM

Quote:

Originally Posted by WanDaMan (Post 1522078)
Paste the script in to the other levels?

I think it'd be frustrating to have to edit no more than 9 levels every time you use addtiledef2.

DustyPorViva 09-11-2009 12:21 AM

You can't just slap the script in nearby levels. I've already tested it(Once Graal defines a tile definition, it is saved. So you really only need to addtiledef once and then you can delete the NPC and never use it again. Because of this, the script being in nearby levels is not actually going to change a thing). The only way to get this to work is to apply the tiledefinition to nearby levels, but this is not always possible. For example, I have an addtiledef2 that changes the image of signs, but I do not want that to apply to nearby levels, hence I can not go about that method.

This bug needs to be fixed.

Admins 09-11-2009 01:09 PM

Well it's the way it works, it's only using the tile definitions of the map part where you are currently standing. The best is normally to use one single tile definition set for the whole gmap, or is there not enough space?

Rufus 09-11-2009 01:10 PM

Quote:

Originally Posted by Stefan (Post 1522314)
Well it's the way it works, it's only using the tile definitions of the map part where you are currently standing. The best is normally to use one single tile definition set for the whole gmap, or is there not enough space?

Yeah, there isn't enough space.

DustyPorViva 09-11-2009 05:49 PM

Quote:

Originally Posted by Stefan (Post 1522314)
Well it's the way it works, it's only using the tile definitions of the map part where you are currently standing. The best is normally to use one single tile definition set for the whole gmap, or is there not enough space?

There are quite a few reasons. Space is probably the biggest problem, however. But sometimes a custom tile does not justify taking the space from more important tiles. Sometimes I want to customize the terrain a bit without having to retile the whole level(right now I'm using it on the gmap so I can put houses/signs/bushes on top of dirt without adding a whole group of new tiles to the tileset).


All times are GMT +2. The time now is 07:48 AM.

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