Forum

> > CS2D > Scripts > NPC position+ ranks[Tibia]
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch NPC position+ ranks[Tibia]

6 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt NPC position+ ranks[Tibia]

Ryden
User Off Offline

Zitieren
Heya guys!

Today I was trying to add NPC on my tibia server but when i added new NPC and moved some NPC
By using this for calculate the tile:

(Tile1) x 32 + 14 + 5. And
(Tile2) x 32 + 14.

After this no one NPC appear on my server

I have no one NPC

Mark: -I added 3 level requierment NPC maybe it's the main priblem

-I removed lot of default NPC

-The lua is Tibia New 2 by proerd888

Thanks for your help, I've not put the lua codes because i don't know which codes ou need,


> Ranks,

And guys i want to make mod or member rank but it won't work...,

I'll show you my Admin.lua
Spoiler >



If you need something to verify please ask me to thank you...
-Playø
1× editiert, zuletzt 16.06.17 02:08:34

alt Re: NPC position+ ranks[Tibia]

Mami Tomoe
User Off Offline

Zitieren
Go to the exact tile you want the NPC to be placed at and say
!n
. Use the output in your script.
Add 16 to move him to the center if you want him to be in the middle of two blocks (depending on X and Y)

alt Re: NPC position+ ranks[Tibia]

Yates
Reviewer Off Offline

Zitieren
Well if you can code you'll have to change every occurrence of what
pos[1]
and
pos[2]
are used for in npcs.lua

You'll also need to change the way
radiusmessage
(or
radiusmsg
I don't remember) works with players so you'll have to dive into functions.lua as well. Possibly hooks.lua and monsters.lua because these also use the function.

It's a hassle, but once you have done it it's worth it. If you can't code I don't recommend trying.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht