Forum

> > CS2D > Scripts > Tibia RPG NPC
Forums overviewCS2D overview Scripts overviewLog in to reply

English Tibia RPG NPC

4 replies
To the start Previous 1 Next To the start

old Tibia RPG NPC

Bobakrome
User Off Offline

Quote
Hello,can someone help me?
I want to place an NPC on cooirdonates 74|94 but idk how.
The cooirdonates on them are very strange, I can't understand them.Can I Post here cooirdonates x|y and u give me the NPC coord? Please, Thanks!



us

old Re: Tibia RPG NPC

KenVo
User Off Offline

Quote
Stand on the tile that where you want the NPC to be on, type: !n to see the NPC position. Go in sys/lua/cs2dtibia/npcs.lua to make your npcs. Simple

BTW i think your NPC is 2384 - 3024

Hope this helped

old Re: Tibia RPG NPC

KenVo
User Off Offline

Quote
Robotic-Brain has written
do you mean tieles or pixels?

74|94 in tiles would be 2368|3008 (74*32|94*32) in pixels


he meant pixels

old Re: Tibia RPG NPC

Bobakrome
User Off Offline

Quote
Found!
example, i want place on 1|1 tile,cooirdonates are 32|32(1x32|1x32)but, you have to add 16, so its 48|48,its because of sprite....thanks guys!

Editiert: to add 16, so its 48|48

1
..player(id,'tilex')*32+16 ..', '..player(id,'tiley')*32+16 ..

Found in sys/lua/cs2dibia/admin.txt
edited 3×, last 31.03.11 02:33:56 pm
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview