Quote:
Originally posted by WanDaMan
I think it would be good if
Stefan made a onwall command and offwall
Like
onwall=0-345,0-346; and such and
offwall=0-342,0-343; If you get me,Would be easier and understandable i beleve.
|
I agree (partly). If there was a file stored on the server named, lets say
tiles.ini, then you could store on/offwall tile indeces like so:
NPC Code:
;Sections:
; onwall - tiles that are onwall
; water - tiles that are water
;
;all other tiles are considered regular walkable tiles
[onwall]
87,1023,154,674
[water]
67,98,1006,442
Then to expand it even more you could set sections that set a flag to true for custom ingame settings, such as:
NPC Code:
in tiles.ini
[tileFlag1]
34,82,10,67
in a gani script
if (tileFlag1)
// do special effect type things
Of course there would be many more tile indeces under each section, but you get the idea.
This is for those that say just script a new movement system:
Lets face it, scripting a movement system is really really hard. Although scripting a movement system is the best approach, with all the new servers and seemingly lack of talent this seems to be the easiest approach for customizing the movement system.