littlewhitey's Servers Forum (SA-MP/VC-MP/MTA/Zomboid)
SA-MP Server - 54.38.156.202:7777 => Information => Development Blog => Topic started by: NiGHTM4RE on April 07, 2016, 07:09:29 AM
-
So now a days every race consists of every racer having an infernus. To be honest, that's getting kinda boring. Consequently, I've been working on a new vehicle system that will force every vehicle to have a max speed and acceleration depending on its Horsepower, torque and weight. For example, if the horsepower of a vehicle is high, they will have a high top speed. If the weight of the vehicle is low, like bikes, and/or has a high torque, they will accelerate faster. I've designed this system so we can define the specs for each vehicle in game then it will be written into a file. Immediately, the behavior of every vehicle of that model will change relevant to the stats specified. The goal is to make more cars balanced so the infernus would not be a MUST in every race.
Each player will have the ability to choose whether they want to drive their vehicles with an Automatic Transmission(default) or a Manual Transmission.
Automatic Transmission
- No gear shift acceleration (this was removed due to lag and unexpected acceleration at turns).
- Simply just get in the car and drive!
Manual Transmission
- Upshift using NUM8 and Downshift using NUM2 on the number pad(This can be changed in your settings. NUM8 and NUM2 are default. To change this, modify Special Control Up and Down to your desired keys.)
- Small acceleration boost depending on your Torque to Weight ratio when upshifting at the right time (little to no lag because you're controlling your shifts)
- Decelerates the vehicle if you downshift while going too fast. (another way of slowing down for turns efficiently).
Commands
/vinfo - Shows all the specs of the vehicle you're currently operating.
(https://littlewhiteys.com/proxy.php?request=http%3A%2F%2Fi394.photobucket.com%2Falbums%2Fpp22%2FNiGHTMARE714%2Fe15c9ffa-a7a2-44d5-8976-0a7f3164109d_zps2p2ufdjc.png&hash=aee28e572dca37bf706ac666e780cb53f1b06abe)
Every vehicle will belong within a class. The class represents the vehicle's top speed. The classes, listed from slowest to fastest, are D, C, B, A, S, R1, R2 and X.
Horsepower and Weight are factored in to calculate the vehicle's top speed.
Torque and Weight are factored in to calculate the vehicle's acceleration gear boosts.(Manual Transmission Only!).
Original Max Speed is how fast the vehicle used to be before this update.
/speed - Toggles the speedometer/gear and nitrous text label.
(https://littlewhiteys.com/proxy.php?request=http%3A%2F%2Fi394.photobucket.com%2Falbums%2Fpp22%2FNiGHTMARE714%2Fae66fc67-9d85-4e12-859f-0ced066d7d11_zpstegsn1xl.png&hash=9a9d3303eef6aae8166e2ae8e2e30c133249000c)
/tune - Visit the new Tuner Shop at the red wrench on your minimap to upgrade your vehicle!
As of right now, all you can do in this shop is buy nitrous and switch to the transmission you prefer.
Performance upgrade will be coming soon, so stay tuned!!!
(https://littlewhiteys.com/proxy.php?request=http%3A%2F%2Fi394.photobucket.com%2Falbums%2Fpp22%2FNiGHTMARE714%2Fsa-mp-031_zps7v5bbocf.png&hash=f6f98ac0fa18a02f6dd22b84b343aa98979de263)
(https://littlewhiteys.com/proxy.php?request=http%3A%2F%2Fi394.photobucket.com%2Falbums%2Fpp22%2FNiGHTMARE714%2F9241c32c-3b62-43c0-8a83-e2d2de9467f9_zps6mke61fp.png&hash=8150ad82365c049080dfce07eeabd7eac2289b9b)
Nitrous
Unfortunately, you cannot buy nitrous at transfender anymore as the script will instantly take it away if you have 0% nitrous on your speedometer. Even buying nitrous at transfender will have NO effect on performance.
However, this nitrous will not only accelerate your vehicle, but it will increase its top speed as you hold it down by adding horsepower and torque to your vehicle specs.(Your new top speed will also be dependent on the vehicle's weight, lower weight = higher top speed while using nos)
When you use it for the first time, it will multiply your speed by 1.5(the script will adjust your final speed relevant to the vehicle's current top speed).(this will take 15 seconds to reload)
You can keep tapping the nos button, but you won't get the 1.5 speed boost until 15 seconds. However, as long as you press the nitrous, whether the 1.5 is reloaded or not, it will always increase your top speed.
When you release the nitrous, the vehicle's top speed will drop back down to normal and your car will instantly decelerate. To combat this, just let go of the gas and keep the nitrous pressed. Then when you see your speed match the vehicle's normal top speed(you have to get to know the car for this), release the nos key/button.
You can use nitrous on bikes as well. However, since we can't attach the nos component, it won't accelerate faster, you will have to rely only on the 15 second reload. Or you can spam the up button to get your acceleration that way.
Original Max Speed
(https://littlewhiteys.com/proxy.php?request=http%3A%2F%2Fi394.photobucket.com%2Falbums%2Fpp22%2FNiGHTMARE714%2Fe15c9ffa-a7a2-44d5-8976-0a7f3164109d_zps2p2ufdjc.png&hash=aee28e572dca37bf706ac666e780cb53f1b06abe)
The Original Max Speed is the fastest speed that car is capable of reaching without any scripts or hacks. There will be some vehicles that their top speed depending on their horsepower and torque is greater than their original top speed. The script will detect if that vehicle is approaching its original top speed and will give it a boost to reach its new top speed. It will then try to maintain the vehicle at that speed as long as the vehicle isn't turning or isn't in the air.
Note: There are some vehicles that have not been defined yet due to lack of time.
-
@_@ omg this thing is HOT!!!
-
Much WOW!!! Thank you nightmare.
-
Great work, I'll for sure test this when I got time. :)
-
New updates every week... That's really cool compared to the times when we didn't have any for 3 years at least.
It will take time for me to get used to all the changes you have made so far (i didn't get to try any for now).
Great work.
-
Good job man ! :)
-
Much WOW!!! Thank you nightmare.
^ :D
-
Wow that's awesome. I will try to test it soon.
-
So you mean we are going to have manual transmission? wtf is wrong with you if yes.
-
So you mean we are going to have manual transmission? wtf is wrong with you if yes.
It's optional. You can choose between automatic and manual transmission. You should read the main post once again.
-
May you clarify the implications of the donator commands /nos? Would that still work as it would if I went to /tune or the same Transfender shite? Thanks!
-
May you clarify the implications of the donator commands /nos? Would that still work as it would if I went to /tune or the same Transfender shite? Thanks!
/NOS gives you 25% of new nitrous.
-
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
-
YEY! Thanks Nightmare! Even though you dont reply to our posts! <3
-
HI NIGHTMARE ....WHY DON T U SUGGEST THIS WAY....WHEN PLAYERS SPAWNING THIER OWN VEHICLE IN HOUSE,U CAN ALSO DO LIKE THIS .EXAMPLE :INFERNUS WITH NOS AUTOMATICLY...OR THIS SHOULD BE ALSO NICE,LIKE ADD ON SPECIAL SHOP VEHICLE WITH NOS PERMANENT LIKE IT IS FOR 5MILLION ..EXAMPLE I BOUGHT THE PERMANENT NOS ON SPECIAL SHOP THEN WHEN I DIED THEN I RETURN BACK TO MY HOUSE THEN GO OUTSIDE AND GET IN THE CAR WITH AUTOMATIC SPAWN NOS...ITS NICE OR U CAN DO /HOUSE SPAWN VEHICLE CHOOSE WITH NOS THEN IT WILL TAKE 2000...IT ALSO NICE .....IM SUGGEST THIS .... 8)
-
HI NIGHTMARE ....WHY DON T U SUGGEST THIS WAY....WHEN PLAYERS SPAWNING THIER OWN VEHICLE IN HOUSE,U CAN ALSO DO LIKE THIS .EXAMPLE :INFERNUS WITH NOS AUTOMATICLY...OR THIS SHOULD BE ALSO NICE,LIKE ADD ON SPECIAL SHOP VEHICLE WITH NOS PERMANENT LIKE IT IS FOR 5MILLION ..EXAMPLE I BOUGHT THE PERMANENT NOS ON SPECIAL SHOP THEN WHEN I DIED THEN I RETURN BACK TO MY HOUSE THEN GO OUTSIDE AND GET IN THE CAR WITH AUTOMATIC SPAWN NOS...ITS NICE OR U CAN DO /HOUSE SPAWN VEHICLE CHOOSE WITH NOS THEN IT WILL TAKE 2000...IT ALSO NICE .....IM SUGGEST THIS .... 8)
A decent suggestion which does need a tad tweaking, how about the option to design a custom spawn car, colour, wheels, nos, special shop cost: $2m per session, I know this is slightly off topic but couldn't find a suitable place elsewhere
-
HI NIGHTMARE ....WHY DON T U SUGGEST THIS WAY....WHEN PLAYERS SPAWNING THIER OWN VEHICLE IN HOUSE,U CAN ALSO DO LIKE THIS .EXAMPLE :INFERNUS WITH NOS AUTOMATICLY...OR THIS SHOULD BE ALSO NICE,LIKE ADD ON SPECIAL SHOP VEHICLE WITH NOS PERMANENT LIKE IT IS FOR 5MILLION ..EXAMPLE I BOUGHT THE PERMANENT NOS ON SPECIAL SHOP THEN WHEN I DIED THEN I RETURN BACK TO MY HOUSE THEN GO OUTSIDE AND GET IN THE CAR WITH AUTOMATIC SPAWN NOS...ITS NICE OR U CAN DO /HOUSE SPAWN VEHICLE CHOOSE WITH NOS THEN IT WILL TAKE 2000...IT ALSO NICE .....IM SUGGEST THIS .... 8)
The nos tank is not linked to the car but to you in person, means once there is more than 0% on your nos, every car u get in uses it. That means spawn nos for every car is already implemented.
-
This is interesting. It should be a /house feature or /specialshop feature.
-
This is interesting. It should be a /house feature or /specialshop feature.
OK TOO BURNER ;D
-
I can't see the Speedometer, even though I typed /speed. Bug?
-
It has been removed temporarily. It will be back soon.