The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Line of Sight and Floors
Author Message
Gil Amarth
Journeyman
*

Posts: 189
Likes Given: 2
Likes Received: 1 in 1 posts
Joined: May 2012
Reputation: 0



Post: #1
Line of Sight and Floors
I´m wondering if it is possible to block line of sight for floors.

Because actually a player can see an enemy in a floor below and shot him with a bow, or using any skill with LOS restriction without any problem.
It´s a problem for tall buildings if players can mess with chars and objects of other floors.

Any solution? Thanks in advance.

I had tried with CAN = CAN_I_ROOF|CAN_I_BLOCKLOS, in one of my roof tiles. But it seems CAN_I_BLOCKLOS it doesn´t work this flag, only activates CAN_I_ROOF.

I have tried with both AdvancedLos=03, and AdvancedLos=0 at Sphere.ini, wih no success, it seems that this flags doesn´t work anymore. :|
(This post was last modified: 06-26-2013 08:59 PM by Gil Amarth.)
06-26-2013 08:04 PM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Line of Sight and Floors
Without testing the flags, the only other thing I could suggest would be to make a small script that checks the Z position of the target relative to that of the attacker.

[Image: 2nis46r.jpg]
06-26-2013 09:43 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Gil Amarth
Journeyman
*

Posts: 189
Likes Given: 2
Likes Received: 1 in 1 posts
Joined: May 2012
Reputation: 0



Post: #3
RE: Line of Sight and Floors
Yes, but that is a option, but It is not only the combat, skills like steal, magery, opening containers...

And also is possible drag and drop items in other floors, and there is no trigger to prevent drag and drop, I think.
06-26-2013 10:27 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)