UseNoShoot trouble

Open discussion forum. For topics that do not fit anywhere else.
Post Reply
bodom
Former Developer
Posts: 140
Joined: Sat Feb 21, 2015 7:52 pm

UseNoShoot trouble

Post by bodom »

Hi there,

I've built my configs with "UseNoShoot 0" flag, anyway, the LOS behaves like UseNoShoot is 1 instead.

By example, if I put an iron fence (0x0823) between me and an NPC, I have LOS to it. I would expect to have no LOS instead, since I cannot walk on the fence (old behaviour).
When UseNoShoot is false, the old method of determining sight blocking as being equivalent to ability to pass will be used for LOS.
tiles.cfg seems to be correct, but POL seems to ignore it.

Code: Select all

tile 0x823
{
    Desc iron fence
    UoFlags 0x00008050
    Height 20
    Weight 255
    BlockSight 1
    Blocking 1
    DescPrependAn 1
}
I suppose I'm doing something wrong (again), any ideas?
bodom
Former Developer
Posts: 140
Joined: Sat Feb 21, 2015 7:52 pm

Re: UseNoShoot trouble

Post by bodom »

I've finally figured out where the problem is.

I am upgrading from an old POL093, where character and mobile height was 9 and, I presume, LOS checks were simply done in a 2D-way.
The current POL consider character height as 15 and does LOS checks in a 3D way.

Is there any way to set the character height back to 9, or even lower?

Thank you
Post Reply