After setting the waypoints and applying to the NPC, he noclips instead if walking
NPCs aren't walking, but flying insteadSolved
Humm i am unable to make him do that... can you past your waypoint file.
Oh, weird, alright I'll test again, and if it's the same, I'll send the files
Let me know also make sure your using version
v0.3.42
It's still happening,
I unloaded both plugins, removed them, then I uploaded the latest version of both.
I made an NPC using (/npc_add),
I gave him a name using (/npc name),
then I started creating waypoints, started a new file (/waypoints_new), then added 9 points with different speeds (/waypoints_add SPEED),
When I finished, I assigned the waypoints to the NPC using (npc waypoints), then he started flying instead of walking,
I did end editing the NPC tho to make sure (npc_end) But still the same,
I killed him and waited for him to spawn, but still the same as well,
Waypoints data: https://www.pastiebin.com/5efc396f56297
My HumanNPC data: https://www.pastiebin.com/5efc391403651
Image of NPC:
Merged post
I thought about it, do you think it's related to the ground?
Merged post
I tried it on foundations built by me, still the same, so it's not related to the Oil Rig apparently
I unloaded both plugins, removed them, then I uploaded the latest version of both.
I made an NPC using (/npc_add),
I gave him a name using (/npc name),
then I started creating waypoints, started a new file (/waypoints_new), then added 9 points with different speeds (/waypoints_add SPEED),
When I finished, I assigned the waypoints to the NPC using (npc waypoints), then he started flying instead of walking,
I did end editing the NPC tho to make sure (npc_end) But still the same,
I killed him and waited for him to spawn, but still the same as well,
Waypoints data: https://www.pastiebin.com/5efc396f56297
My HumanNPC data: https://www.pastiebin.com/5efc391403651
Image of NPC:

Merged post
I thought about it, do you think it's related to the ground?
Merged post
I tried it on foundations built by me, still the same, so it's not related to the Oil Rig apparently
Humm try on land let me know.
Merged post
Also was it doing the same thing befor the resent edits? What are you using for speeds?
Merged post
Also was it doing the same thing befor the resent edits? What are you using for speeds?
The map has no ground... Could it be that? This is the map https://just-wiped.net/rust-maps/procedural-map-1000-7777777
Merged post
No, it was fine by the previous versions, now I'm using 2/3 of speed mixed together
Merged post
No, it was fine by the previous versions, now I'm using 2/3 of speed mixed together
Ok im looking threw the code and are you trying to make him move above water? the only thing i can see that may be causing the issue is he things he is swiming.
mhm, it could be something related to ground detection etc.? Maybe under the Helipad etc.


search for line
public bool IsSwimming()
{
return WaterLevel.Test(npc.player.transform.position + new Vector3(0, 0.65f, 0));
}
and change to
public bool IsSwimming()
{
return false;
}
this should fix the issue for custom water map maybe.
public bool IsSwimming()
{
return WaterLevel.Test(npc.player.transform.position + new Vector3(0, 0.65f, 0));
}
and change to
public bool IsSwimming()
{
return false;
}
this should fix the issue for custom water map maybe.
It worked with that code edit
Merged post
The map is proc generated anyway though
Merged post
The map is proc generated anyway though
ya its just because its all water.
Alright, will be there a general update for this?
Merged post
Probably we should consider the Oil Rig as a special case in the code, as it doesn't matter if there's a land or not, it's a ground itself
Merged post
Probably we should consider the Oil Rig as a special case in the code, as it doesn't matter if there's a land or not, it's a ground itself
there may be down the line..
Alright, got it - So for now, should I keep using this edited version or wait for a new update?
Locked automatically
- 1
- 2