Basic Line of Sight
This function will use the nodes in .map files to apply line of sight (prevents wall aggro if used right, among other things). It is not perfect yet, as it tends to fail on thin walls, or walls on top of other floors (such as in unrest or hole), but it's a start.
Code:
bool Mob::CheckLos(Mob* other) { |
Wow, this is very cool. I can't wait to see this in action.
|
nice
nice, now i wont get jumped by 50 mobs at a time in dungeons :) good job
|
Is there a server available where I can see this is action? I can go both 0.4.x and 0.5.0.
|
Well, Winter's Roar, I'd be happy to demonstrate it when the logins come back up.
|
Did this code ever get added? I was looking through the code base and didn't see that particular function, but I didn't know if it was added elsewhere. I still get jumped by mobs through walls in najena so I am guessing it didn't.
You guys are still doing a great job. Thanks |
Quote:
|
All times are GMT -4. The time now is 10:23 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.