AdamD

Member
I'm not sure if it's still the same on the official UO shards, but can it be made so monsters/vendors can see through walls/obstacles?

And any clues as to which section of code I should be looking at for that? Been scouring through the line of sight code in the /server/mobile.cs file, but it's a little complex for me.
 
Define what you mean by seeing through walls - do you mean you want a vendor to respond to someone saying "Vendor buy" through a wall like a banker does with "bank"? Do you want monsters to go aggro on people through walls based on the distance between them?
 
I think that would deal with AI, not necessarily Mobile itself. Have you looked at AcquireFocusMob in BaseAI.cs?
 

Active Shards

  • Unchained
    Custom (Classic)
    • Players
    • 141 Online
    • 273 Peak
  • The Crossroads
    Mondain's Legacy
    • Players
    • 87 Online
    • 190 Peak
  • UO Eventine
    Custom (Classic)
    • Players
    • 87 Online
    • 137 Peak
  • Insane UO
    Endless Journey
    • Players
    • 84 Online
    • 105 Peak
  • UO: New Renaissance
    Custom (Classic)
    • Players
    • 29 Online
    • 85 Peak
  • CALYPSO
    Custom (Modern)
    • Players
    • 24 Online
    • 30 Peak
  • Arth
    Custom (Modern)
    • Players
    • 22 Online
    • 34 Peak
  • Heritage
    New Legacy
    • Players
    • 19 Online
    • 41 Peak
  • UO Phoenix
    Custom (Classic)
    • Players
    • 19 Online
    • 48 Peak
  • UO Enigma
    Custom (Modern)
    • Players
    • 19 Online
    • 172 Peak

Donations

Total amount
$0.00
Goal
$500.00
Back