Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   addtiledef2 command (https://forums.graalonline.com/forums/showthread.php?t=15720)

yoshee15 10-29-2001 09:46 AM

HELP ME!!!!!!!1
 
Ok, i cannot get my addtiledef to work, i copied the script from the one stefan released changed the png to mine, and the level name.

//#CLIENTSIDE
if (playerenters) {
addtiledef2 tiles_cement.png,cryptmain.graal,928,256;
}

Whats wrong?

G_yoshi 10-29-2001 09:55 AM

Re: addtiledef2 command
 
Quote:

Originally posted by yoshee15
Ok, i cannot get my addtiledef to work, i copied the script from the one stefan released changed the png to mine, and the level name.

//#CLIENTSIDE
if (playerenters) {
addtiledef2 tiles_cement.png,cryptmain.graal,928,256;
}

Whats wrong?

you just need the starting name of the leve not the entire filename...

yoshee15 10-29-2001 10:00 AM

Re: Re: addtiledef2 command
 
Quote:

Originally posted by G_yoshi


you just need the starting name of the leve not the entire filename...

Ok, I got it, the problem was while messing around, i screwed some stuff up in the offline txt in tiledefs. I fixed it and now it works =)

this thread can be closed

royce 10-29-2001 10:23 AM

my scripter made a script that is like addtiledef2 ,which is only available for p2p servers, but doenst use the command which can be used on a non-p2p server!!

G_yoshi 10-29-2001 08:38 PM

Quote:

Originally posted by royce
my scripter made a script that is like addtiledef2 ,which is only available for p2p servers, but doenst use the command which can be used on a non-p2p server!!
probably uses setimg or setimgpart since there is no other way to replace tilesets unless you use addtiledef, addtiledef2, or just simply saving over pics1.png.

could have even used showimg and then changeimgpart.

nyghtGT 10-30-2001 07:58 PM

smoking crack may impair your scripting knowledge

grim_squeaker_x 10-30-2001 08:36 PM

Quote:

Originally posted by G_yoshi


probably uses setimg or setimgpart since there is no other way to replace tilesets unless you use addtiledef, addtiledef2, or just simply saving over pics1.png.

could have even used showimg and then changeimgpart.

You could actually use showimg, although it would lag far too much when you replace more then 200 tiles. (In a level, not in a tileset)

nyghtGT 10-30-2001 08:43 PM

Quote:

Originally posted by grim_squeaker_x
You could actually use showimg, although it would lag far too much when you replace more then 200 tiles. (In a level, not in a tileset)
why are you smoking that drugs on these forums ???


All times are GMT +2. The time now is 01:23 AM.

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