Jump to content

Best approach in creating a bus system


SheriffG

Recommended Posts

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 :P

Link to comment

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

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
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...