08.03.2016, 21:39
As stated on the previous page, I've started from scratch again with a blank script.
I'm copying bits and pieces from all my previous V2-attempts and making new code as well.
I can't tell when it will be ready. Hopefully by the end of this year if all goes well.
I gave up previously because I wasn't getting the flexibility I needed after having started over from scratch 4 times.
Now I've got a good idea of how it's going to become and I can say I'm pleased with it.
All previous versions of V2 were just a remake of V1 with some extra features, but still pretty static.
It was mostly new code though, but it has roughly the same system with just extra commands to do some editing in-game while the server was running instead of the need to edit the script, recompile and restart the server.
You still had fixed payments per route, based on distance.
Now there will be different sizes of cargobays per vehiclemodel.
This means that a sportcar can hold 25 units for example, and a box-truck can hold 500 units, and a Roadtrain with box-trailer might have a cargobay size of 1500 (just some numbers, the true sizes haven't been decided yet).
This means you can carry more goods on a bigger vehicle than you can hold in a small vehicle, increasing your profits along with it for the same run.
This also means I had to implement some form of restrictions and that way, I'm also splitting up vehicles over different levels.
Otherwise, all players would just go for the roadtrain and never bother with the smaller vehicles.
Using this setup, it will also be possible to use almost any vehicle for every class, as long as the vehicle is capable of transporting that kind of cargo.
For pilots for example, it would even be possible to use a taxi or a bus to transport their passengers because all those vehicles can transport passengers.
For truckers, you can use your Elegy for example to transport "bottled beer", because an Elegy has the capability to transport bottled liquids.
But the Elegy will have a very small cargobay so you can't transport alot at once, but it is possible.
Any previous version of V2 didn't have that capability.
In all previous versions of V2, the route-system was fixed per class and vehicle.
For pilots using a Dodo or Stuntplane for example, all routes had something to do with dropping packages.
Another type of route (transporting passengers or carrying cargo from A to B) wasn't possible.
Or truckers with a truck+liquid trailer was only meant to transport liquids from A to B.
In the new V2, while having the same class and vehicle, it will be possible to mix up route-types.
One route will require you to take cargo from A to B, while another route required you to complete an actual traject, picking up cargo from multiple locations and dropping it of at multiple locations.
Or taking cargo from one location to houses or companies.
It's much more flexible this way.
All this is brand new code, which doesn't exist in previous versions of V2, so I can't copy/paste it with minor adjustments. And it all needs to be tested properly and takes time.
But all features will be explained in videos on my youtube channel.
I'm posting videos about new features regularly as soon as each feature is working properly.
That way, you can see how the script is progressing.
My coding time is also quite limited: full time job, house with alot of work, 2 kids, a wife, and more.
This leaves me with only 2 hours of coding time a day, sometimes an hour extra, sometimes nothing because of other priorities.
I'm copying bits and pieces from all my previous V2-attempts and making new code as well.
I can't tell when it will be ready. Hopefully by the end of this year if all goes well.
I gave up previously because I wasn't getting the flexibility I needed after having started over from scratch 4 times.
Now I've got a good idea of how it's going to become and I can say I'm pleased with it.
All previous versions of V2 were just a remake of V1 with some extra features, but still pretty static.
It was mostly new code though, but it has roughly the same system with just extra commands to do some editing in-game while the server was running instead of the need to edit the script, recompile and restart the server.
You still had fixed payments per route, based on distance.
Now there will be different sizes of cargobays per vehiclemodel.
This means that a sportcar can hold 25 units for example, and a box-truck can hold 500 units, and a Roadtrain with box-trailer might have a cargobay size of 1500 (just some numbers, the true sizes haven't been decided yet).
This means you can carry more goods on a bigger vehicle than you can hold in a small vehicle, increasing your profits along with it for the same run.
This also means I had to implement some form of restrictions and that way, I'm also splitting up vehicles over different levels.
Otherwise, all players would just go for the roadtrain and never bother with the smaller vehicles.
Using this setup, it will also be possible to use almost any vehicle for every class, as long as the vehicle is capable of transporting that kind of cargo.
For pilots for example, it would even be possible to use a taxi or a bus to transport their passengers because all those vehicles can transport passengers.
For truckers, you can use your Elegy for example to transport "bottled beer", because an Elegy has the capability to transport bottled liquids.
But the Elegy will have a very small cargobay so you can't transport alot at once, but it is possible.
Any previous version of V2 didn't have that capability.
In all previous versions of V2, the route-system was fixed per class and vehicle.
For pilots using a Dodo or Stuntplane for example, all routes had something to do with dropping packages.
Another type of route (transporting passengers or carrying cargo from A to B) wasn't possible.
Or truckers with a truck+liquid trailer was only meant to transport liquids from A to B.
In the new V2, while having the same class and vehicle, it will be possible to mix up route-types.
One route will require you to take cargo from A to B, while another route required you to complete an actual traject, picking up cargo from multiple locations and dropping it of at multiple locations.
Or taking cargo from one location to houses or companies.
It's much more flexible this way.
All this is brand new code, which doesn't exist in previous versions of V2, so I can't copy/paste it with minor adjustments. And it all needs to be tested properly and takes time.
But all features will be explained in videos on my youtube channel.
I'm posting videos about new features regularly as soon as each feature is working properly.
That way, you can see how the script is progressing.
My coding time is also quite limited: full time job, house with alot of work, 2 kids, a wife, and more.
This leaves me with only 2 hours of coding time a day, sometimes an hour extra, sometimes nothing because of other priorities.