Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   replacing tile thingy scripty (https://forums.graalonline.com/forums/showthread.php?t=33567)

leimoubai2002 07-16-2002 01:53 AM

replacing tile thingy scripty
 
ummm I made like new walls tiles for my house and I want to replace like the curent walls but i don't want to put it in my tileset but i want everyone to see it without my tileset and i heard you can change tiles with settiledef or whatever how do you do it?

Python523 07-16-2002 02:01 AM

addtiledef and addtiledef2

Shiftk03- 07-16-2002 02:06 AM

Quote:

Originally posted by Python523
addtiledef and addtiledef2
My two least favorite words in scripting x.x ...Be careful, if you don't get them correct, it will look funny or not even work at all.

leimoubai2002 07-16-2002 02:07 AM

i don't know how to do that.do you need like x,y and whatever?

Python523 07-16-2002 02:11 AM

Quote:

Originally posted by leimoubai2002
i don't know how to do that.do you need like x,y and whatever?
look in the commands.rtf? It wasnt written so people could completelly ignore it

leimoubai2002 07-16-2002 05:12 AM

it didn't work

if (playerenters) {
addtiledef2 tile1.png,house1.nw,1952,176;
}

RavenTelvecho 07-16-2002 05:22 AM

Quote:

Originally posted by leimoubai2002
it didn't work

if (playerenters) {
addtiledef2 tile1.png,house1.nw,1952,176;
}

NPC Code:

if (playerenters) {
addtiledef2 tile1.png,,1952,176;
}


??

leimoubai2002 07-16-2002 05:26 AM

Quote:

Originally posted by RavenTelvecho

NPC Code:

if (playerenters) {
addtiledef2 tile1.png,,1952,176;
}


??

what

-dr

RavenTelvecho 07-16-2002 05:50 AM

Quote:

Originally posted by leimoubai2002

what

-dr

try that

leimoubai2002 07-16-2002 06:16 AM

didn't work

-dr

Python523 07-16-2002 06:38 AM

does the image exist and in the right format? are you in house1.nw?

leimoubai2002 07-16-2002 06:41 AM

Quote:

Originally posted by Python523
does the image exist and in the right format? are you in house1.nw?
yes and yes

leimoubai2002 07-16-2002 06:48 AM

1 Attachment(s)
ummm here's level and pic.it doesn't work

-dr

Python523 07-16-2002 07:00 AM

1 Attachment(s)
image was made wrong, was set to too many colors or somethin, i optimized it for ya, works now

leimoubai2002 07-16-2002 07:02 AM

Quote:

Originally posted by Python523
image was made wrong, was set to too many colors or somethin, i optimized it for ya, works now
hey thanks it works.how do you optimized it and what program u useing?

-dr


All times are GMT +2. The time now is 06:33 PM.

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