Im making a game like theme park tycoon 2. But I have no idea how the road and the npc stats work. And there is no reference online. Does anyone has experience on it and teach a few service and tips involved?
I’ve always wanted to make something like this! Anyway, something that’s the number one priority is to make the npc’s non humanoid. As in having no humanoid. That way it’s to reduce lag. You can make the npcs move by using body position or velocity.
It mainly depends on how many npcs there will be. If there’s more than atleast 15. You might want to use non humanoids.
Ic thx for the tip, it will surly be useful
No problem. Glad to help!!!
Does tween service work too? Will it increase the lag?
Add path finding modifier, in the ground , and keep it no touching, then the only way for walking is paths, which is not ground, so path finding service now don’t walk on grass, second, when spawning npcs from a folder of 5 npcs, keep the npc target some random ride, then path finding service to make the npc move there, then it moves
Its not that hard don’t worry
It involves PathFinding service. It is a pretty hard service to use, but if you really want, you can learn it.
No, path finding is easy, once you understood it, and you just need to give 2 vector 3 values to find path, thats all
More than 5 tweens causes lag, hundreds of these cause tons of lag, and use path finding service, thats the most basic one
Yeah, but if you don’t understand, then it is really complicated.
Yes, but you cannot even try to script it, without knowing it
And that’s why it’s generally hard. You need to learn it before trying it!