Cs2d Tibia ,Aquatic Monsters
4 replies



01.03.13 09:58:03 pm
I came up with a way to make the monsters Move on water''''
Open Monster.lua
lua/Cs2dtibia/monsters.lua
Edit Part
function Monster:move(dir, amt)
Replace the part
if tile(tilex, tiley, 'walkable') and tile(tilex, tiley, 'frame') ~= 34 and not gettile(tilex, tiley).SAFE then
For
if tile(tilex, tiley, 'walkable') and (tile(tilex, tiley, 'frame') ~= 34 or self.waterMonster == true ) and not gettile(tilex, tiley).SAFE then
And add ''waterMonster = true'' for the monsters you want to walk on water
Exanple
Normal
name = 'Bulbasaur', health = 100,
Aquatic
name = 'Squirtle', waterMonster = true, health = 100,
Open Monster.lua
lua/Cs2dtibia/monsters.lua
Edit Part
function Monster:move(dir, amt)
Replace the part
if tile(tilex, tiley, 'walkable') and tile(tilex, tiley, 'frame') ~= 34 and not gettile(tilex, tiley).SAFE then
For
if tile(tilex, tiley, 'walkable') and (tile(tilex, tiley, 'frame') ~= 34 or self.waterMonster == true ) and not gettile(tilex, tiley).SAFE then
And add ''waterMonster = true'' for the monsters you want to walk on water
Exanple
Normal
name = 'Bulbasaur', health = 100,
Aquatic
name = 'Squirtle', waterMonster = true, health = 100,
edited 1×, last 03.03.13 02:41:19 am

I came up with a way to make the monsters walk on water
God or Satan?
P.S I'm going to regret this.


I came up with a way to make the monsters walk on water
God or Satan?
P.S I'm going to regret this.
'-'
Belzubub
And Lucifer , not satan
------------------------
@

I'm not a child like you
I'm mature and grown to respect and know you?
If you prefer to reply cursing me I'll answer nop
Google Translate*
;:: (\_(\
*: (=’ :’) :;*
•.. (,(”)(”)¤°. '-'
Instead of:
you should write:
Good luck with your coding experiments!
Code:
1
2
3
2
3
if statement == true then
...
end
...
end
you should write:
Code:
1
2
3
2
3
if statement then
...
end
...
end
Good luck with your coding experiments!
Relax, relate, release. Visit: www.lsdservers.boards.net



