Fuel for vehicles

PostNukeRP Gamemode Suggestions

Fuel for vehicles

Postby [TBU] CrazyKid » Sun Apr 07, 2013 2:51 am

A fuel system made for vehicles has been suggested in a couple of threads on the forums over time, but no threads were made specifically for it.

If implemented, it would completely change how people play. It would make fuel cans a lot more useful, no more buying fuel cans just for gas generators or for blowing things up. You'd actually have a really good use for them.

A potential concern would be player-made vehicles. This could be solved by disallowing player-made vehicles entirely - OR - restricting the building of player-made vehicles to Respected and up with the condition that they don't always use them, and that they own a vehicle and own fuel (or something like that).

So tell us what you think.
[TBU] CrazyKid
Developer
 
Posts: 455
Joined: Tue Apr 26, 2011 10:58 pm

Re: Fuel for vehicles

Postby eldarstorm » Thu Apr 18, 2013 2:50 pm

Ok, seems I forgot to reply to this thread after compleating the Fuel System

Gas cans typically used for Gas Generators can now be used for vehicles.
To fill up your vehicle you hold the can using E, then press R while next to the vehicle.

Jelopy = 10 Cans
Jeep = 8
Airboat = 5

On average (Without Using Shift) 10 Cans last 20 min.
All other vehicles will default to 8

This system does affect Wire made veshicles. When the "car" runs out of gas for a wire vehicle it will dissable the Adv Pod Controller.

There is also a Gas Guage HUD in the vehicle now as well.
When a PNRP Vehicle is picked up using F2 or the Get All Cars function it will place the unused gas back into your inventory.
You do not have to own the vehicle or the gas to put gas in something.
Car seats spawned using the /carseat command will not have the Gas Hud.
When filling vehicles, the system will look for PNRP Vehicles first, the range is 200.
Keep in mind that the refilling system can not tell what "chair" in the vehicle is attacked to the pod controller. So custom made vehicles with more than one chair beware.
Not detecting the pod controller on non PNRP vechicles are done in case the server is using a custom cars addon. If the addon dissables vehicles the way standard HL2 vehicles dissable it should work fine. If it does not, let me know what it uses to dissable the vehicle and it can probably be added to the system.
You can not get the extra gas back from custom made vehicles.
Image
User avatar
eldarstorm
Developer
 
Posts: 1172
Joined: Tue Nov 17, 2009 1:56 pm


Return to PNRP Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest

cron