For the last couple of weeks I am working on a project that I named: Cruise for Lapper (CfL)
The idea is to create a dynamic cruise system, so that users can set it up any way they want it.
I started by creating a system to define streets and to give them a maximum speed.
That worked very well on regular LFS tracks, but as soon as I started using them on open configs, the system wasn't working anymore.
So I contacted a very good friend of mine who also happens to be a professional developer.
He added an extra function to Lapper (I will release the new version once my project is finished) to enable me to define streets which can be as long as I want to and in any direction I want to.
The GUI to define streets, currently looks like this (of course it's WIP):
It's possible to give the street a name, a maximum speed, a width and you can define the start, end, and as many waypoints (although the GUI currently is limited to 8) as you want.
This could look like this:
After pressing "Store street" the street is saved into the memory of Lapper.
As soon as a player then enters a defined street, it will be shown on the HUD, along with the maximum speed:
If the maximum speed is violated, a message about that is displayed on the HUD and a timer is started.
During that timer a cop can choose to chase the offender in order to try and book him.
If a chase is started, the player who is being chased, will get to see flashing police light at the top of the HUD:
There are still loads of work to be done and I will update this thread, once there is more news.
Let me know what you think of the whole idea and which elements I should certainly include.
The idea is to create a dynamic cruise system, so that users can set it up any way they want it.
I started by creating a system to define streets and to give them a maximum speed.
That worked very well on regular LFS tracks, but as soon as I started using them on open configs, the system wasn't working anymore.
So I contacted a very good friend of mine who also happens to be a professional developer.
He added an extra function to Lapper (I will release the new version once my project is finished) to enable me to define streets which can be as long as I want to and in any direction I want to.
The GUI to define streets, currently looks like this (of course it's WIP):
It's possible to give the street a name, a maximum speed, a width and you can define the start, end, and as many waypoints (although the GUI currently is limited to 8) as you want.
This could look like this:
After pressing "Store street" the street is saved into the memory of Lapper.
As soon as a player then enters a defined street, it will be shown on the HUD, along with the maximum speed:
If the maximum speed is violated, a message about that is displayed on the HUD and a timer is started.
During that timer a cop can choose to chase the offender in order to try and book him.
If a chase is started, the player who is being chased, will get to see flashing police light at the top of the HUD:
There are still loads of work to be done and I will update this thread, once there is more news.
Let me know what you think of the whole idea and which elements I should certainly include.