• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Linux Player Can walk through NPCs

Snavy

Bakasta
Senator
Joined
Apr 1, 2012
Messages
1,250
Solutions
71
Reaction score
632
GitHub
idontreallywolf
as menitoned above, players are able to walk thru some NPCs but not all of them. I haven't figured out what the problem is/might be.

TFS 0.4 - 3777 - 8.6
 
Solution
I have read the npc.cpp file and found out an attribute called "walkable", so i have tried to add it on each npc i can walk through and set the value to 0 as following:

Before:
Code:
<npc name="Gorn" ... >

After (works):
Code:
<npc walkable="0" name="Gorn" ... >
I have read the npc.cpp file and found out an attribute called "walkable", so i have tried to add it on each npc i can walk through and set the value to 0 as following:

Before:
Code:
<npc name="Gorn" ... >

After (works):
Code:
<npc walkable="0" name="Gorn" ... >
 
Solution
Back
Top