Graal Forums

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

Goboom 10-03-2002 06:21 AM

Addtiledef
 

Quote:

- addtiledef tilesimage,levelstart,type;
uses the file 'tilesimage' in replacement of
'pics1.png' in all levels that start with 'levelstart';
type: 0-old graal, 1-new order(description later)
In newfeatures2001.txt it says that when you put 1 in the type it has a new order i already knew this...but after new order it says description later..does anyone know the description? If you do please post it.
Also...
I think there should be a new command,
addtiledef3
it should be used like this....
addtildef3 <height of tileset>,<width of tileset>,{<Shallow Water Tiles>},{<Swimming Tiles>},{<Deepwater Tiles>},{<Grass Tiles>},{<Blocking Tiles>},{<Swamp Tiles>},{<Animated Tiles Tiles>};
and so on...so this way the game would translate that script into your tileset..instead of using addtiledef2 and following a special way to do it, or addtiledef and following the old way of doing it.

R0b1n-NPC 10-03-2002 07:51 AM

Why isnt this in future improvements?

Goboom 10-04-2002 05:07 AM

Because i asked for help in part of the post

R0b1n-NPC 10-04-2002 06:14 AM

Off Topic
 
Liek my sig!!?!

Googi 10-04-2002 06:22 AM

Eh, this wouldn't work, because your tileset is just an image placed "on top of" the "real" tileset.

Goboom 10-05-2002 05:38 AM

do you know what your talking about googi? :\

R0b1n-NPC 10-05-2002 06:38 PM

Why's that?

screen_name 10-05-2002 06:40 PM

Quote:

Originally posted by Goboom
do you know what your talking about googi? :\

Indeed he does.

Goboom 10-05-2002 08:37 PM

But....you could trick the engine to thinking that say...tile 0,0 is a water tile when it should be a walking tile.

R0b1n-NPC 10-05-2002 09:12 PM

YOU COULD??????

Goboom 10-05-2002 09:36 PM

sure...couldnt you use the the board[index] variable...and have it check if your on tile 0,0 then set the ani to swim if you want it to be a water tile....VERY POSSIBLE....I would post the script but i dont want script stealers to go happy with my ideas.

Falcor 10-05-2002 09:40 PM

Its not a new idea, its just makeing your own variable array to check for certain tiletypes... I'm not sure it would be a wise choice though.

Goboom 10-06-2002 12:24 AM

yes i know it wouldnt be the best way...but i got ahold of the type 1 layout...so i dont need this anymore...bye bye

R0b1n-NPC 10-06-2002 08:11 AM

R0bin wants the type 1 layout also... :-D


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

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