I have a question on how to make players not shoot through walls with spells etc. and on how to make NPC's not to go through walls when attacked and so on.
Please help me, I would be very greatful for it.
Printable View
I have a question on how to make players not shoot through walls with spells etc. and on how to make NPC's not to go through walls when attacked and so on.
Please help me, I would be very greatful for it.
it has to do with line of sight and if you have extracted the vmaps and buildings i believe then you can turn it on in the mangos.conf file.. im no expert though , only had my server up for one week.
Yup make sure u using vmaps and enable LOS and height option, detectposcollision is enabled by default.. but detecting collision with walls only works if u enabled vmaps.
DetectPosCollision = 1
vmap.enableLOS = 1
vmap.enableHeight = 1
vmaps really help a lot but don't expect miracles...
I say every server which is being used to PLAY on should have vmaps..
Some ppl say they not needed.. I say bs.. it really improves gameplay.
A full world db isn't needed either to start server.. but u want that 2 right? ;)