SheriffG Posted November 6, 2019 Share Posted November 6, 2019 Hi i'd like to create a bus system across LS and i am not sure what approach to choose. Being a bus system, I need the buses to always be synced and moving and i am not sure how to create the bus AI. I know i can use peds control states and lines of sights, but i really have no idea which event to use client side(example : onClientRender) to check all the lines of sights and to change the control states accordingly. Please help me with any suggestions possible, thank you Link to comment
gubi Posted November 6, 2019 Share Posted November 6, 2019 You want peds to drive across the LS in bus? That's what you mean? I would really not recommend that because of optimalization, and im not sure if it is even possible to make. Link to comment
SheriffG Posted November 7, 2019 Author Share Posted November 7, 2019 This is exactly what i meant, but i am searching for a solution to be optimised as good as possible. Link to comment
gubi Posted November 7, 2019 Share Posted November 7, 2019 Take a look at Slothbot i never used it with cars, soo im not sure if it is even possible, if not then you will need to write AI yourself, which is not easy at all, considering that you are posting in a forum, you have no idea about it, it is not worth the final result at all, because making such a resource is very difficult. Link to comment
SheriffG Posted November 8, 2019 Author Share Posted November 8, 2019 I do have a little idea about what to do but I am not sure how to implement this thing using as little resources as possible. Maybe this idea is a little over my scripting knowledge, but I think it would be a fun project to try. Idk, I just asked an opinion on which is the best approach to this Link to comment
Moderators IIYAMA Posted November 8, 2019 Moderators Share Posted November 8, 2019 4 hours ago, SheriffG said: I do have a little idea about what to do but I am not sure how to implement this thing using as little resources as possible. Maybe this idea is a little over my scripting knowledge, but I think it would be a fun project to try. Idk, I just asked an opinion on which is the best approach to this It is complex, make sure that your scripting level as well as you arithmetic level is ready for hel(p!)l, I think? If you need some inspiration/options: https://web.archive.org/web/20161128104638/http://crystalmv.net84.net/pages/scripts/npchlc_traffic_editor.php https://web.archive.org/web/20160716203517/http://crystalmv.net84.net/pages/scripts/npchlc_traffic.php https://web.archive.org/web/20170123100149/http://crystalmv.net84.net/pages/scripts/npc_tseq.php Link to comment
SheriffG Posted November 8, 2019 Author Share Posted November 8, 2019 Thanks a lot, I'll check this resource. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now