Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   Tile Problems (https://forums.graalonline.com/forums/showthread.php?t=24941)

Link188 03-03-2002 06:09 AM

Tile Problems
 
I tried to add renegade tileset, but when i did, the old tiles just got streched! Whats wrong?!

Link188 03-03-2002 06:27 AM

1 Attachment(s)
Here is a pic of my ofline -_-... WHATS WRONG?!

Tyhm 03-03-2002 12:33 PM

Addtiledef2 is the one with the range. If you're just using a straight addtiledef, it needs to be to the same dimensions as pics1.png

Link188 03-03-2002 12:36 PM

Thanks

Link188 03-03-2002 12:40 PM

// NPC made by Rob Getashu (DeBladen)
if (playerenters) {
toweapons -TILES;
}
if (isweapon) {
addtiledef2 rene_pics1.gif,,1000,1000;
}

Tell me whats wrong with this...The pics1 here is the same size as the regular pics1!

Python523 03-03-2002 01:07 PM

Quote:

Originally posted by Link188
// NPC made by Rob Getashu (DeBladen)
if (playerenters) {
toweapons -TILES;
}
if (isweapon) {
addtiledef2 rene_pics1.gif,,1000,1000;
}

Tell me whats wrong with this...The pics1 here is the same size as the regular pics1!

I havent used addtiledef2 but don't you need a start level??

SSRobgeta 03-05-2002 04:32 AM

Quote:

Originally posted by Link188
// NPC made by Rob Getashu (DeBladen)
if (playerenters) {
toweapons -TILES;
}
if (isweapon) {
addtiledef2 rene_pics1.gif,,1000,1000;
}

Tell me whats wrong with this...The pics1 here is the same size as the regular pics1!

Thats not my script? And you don't need a starting level really. It works fine for me and others.
it's

if (playerenters) {
toweapons -TILES;
}
if (isweapon) {
addtiledef2 rene_pics1.gif,,0,0;
}

Link188 03-05-2002 04:55 AM

Its still messed! I was testing something...

SSRobgeta 03-05-2002 09:12 AM

Quote:

Originally posted by Link188
Its still messed! I was testing something...
Your graal is srewed up or something...

Admins 03-05-2002 05:13 PM

Only addtiledef supports images having more than
1000000 pixels.
It's a problem of most video cards to not being able to
handle such big images for DirectX, that's why
pics1.png / tilesets set with addtiledef are divided
into two DirectX surfaces in the memory.

SSRobgeta 03-06-2002 02:02 AM

Quote:

Originally posted by Stefan
Only addtiledef supports images having more than
1000000 pixels.
It's a problem of most video cards to not being able to
handle such big images for DirectX, that's why
pics1.png / tilesets set with addtiledef are divided
into two DirectX surfaces in the memory.

So how would we make it?

Admins 03-06-2002 06:59 AM

Addtiledef instead of addtiledef2.
Addtiledef2 is only for replacing a few tiles,
so better use addtiledef if you want to replace
the whole tileset.

SSRobgeta 03-06-2002 08:19 AM

Quote:

Originally posted by Stefan
Addtiledef instead of addtiledef2.
Addtiledef2 is only for replacing a few tiles,
so better use addtiledef if you want to replace
the whole tileset.

ok cool


All times are GMT +2. The time now is 08:04 PM.

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