Forum

> > CS2D > Scripts > Tibia RPG NPC
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Tibia RPG NPC

4 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Tibia RPG NPC

Bobakrome
User Off Offline

Zitieren
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

alt Re: Tibia RPG NPC

KenVo
User Off Offline

Zitieren
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

alt Re: Tibia RPG NPC

KenVo
User Off Offline

Zitieren
Robotic-Brain hat geschrieben
do you mean tieles or pixels?

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


he meant pixels

alt Re: Tibia RPG NPC

Bobakrome
User Off Offline

Zitieren
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
3× editiert, zuletzt 31.03.11 14:33:56
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht