Author Topic: Vehicle Gas Mod  (Read 1352 times)

This would be a mod where after a certain time of riding a vehicle You run outta gas and have to take a gas can (Item) to the gas station and go to the gas machine (Stationary vehicle like a turret) to fill the gas can and take it back to the vehicle with no gas.

already requested.... Wasn't it?

This would only work in a heavily scripted mini game with vehicles made strictly for this.

Oder wir könnten script gerade etwas, es zu tun recht und Blabla - Blabla usw. usw. usw. und wir lassen es gerade o.k. arbeiten? WIR KÖNNEN ES TUN!

Oder wir könnten script gerade etwas, es zu tun recht und Blabla - Blabla usw. usw. usw. und wir lassen es gerade o.k. arbeiten? WIR KÖNNEN ES TUN!
Ein Tipp: Gehen Sie Englisch lernen. Dieses Forum und Spiel sind auf Englisch. Bekümmert.

Ein Tipp: Gehen Sie Englisch lernen. Dieses Forum und Spiel sind auf Englisch. Bekümmert.
what the hell


This would only work in a heavily scripted mini game with vehicles made strictly for this.
I dont think you know what ou are talking about.

This would only work in a heavily scripted mini game with vehicles made strictly for this.
ever looked at the show health bar mod? Or at the cloak and Dagger script?
You can just use the energy bar:
when somebody enters a vehicle, the energy bar should be showed and when the player moves, it should drain energy (slower than the Cloak and Dagger :D)
when the energy bar is empty, you can't move your vehicle anymore.
When somebody leaves a vehicle, the energy bar should disappear

easy script :D

If you used the Cloak and Dagger's method, being shot out of a cannon or free-falling after riding off a ramp would still drain your fuel.

If you used the Cloak and Dagger's method, being shot out of a cannon or free-falling after riding off a ramp would still drain your fuel.
yeah, the script should be slightly changed

There isn't a way to detect whether you're actively driving it (holding W) vs coasting under your own momentum that I know of.

=3 you can thank me later for the script

--------------------------------------------------
When' key pressed "W"
Car go ..vroom....
Sound? "1"
Sound file? "Sounds/Car go"
When' key pressed "W" Fuel go down 'plup'
When Car Stoped on' Gas station Brick
Fuel Go up 'Ding!'
When car Shot/Crash/splode
'CABOOOOOOOM!!!!!!
---------------------------------------------------
i am good ye? =3

When' key pressed "W"
Yes. Here's the problem: I don't know how to do that.

If you used the Cloak and Dagger's method, being shot out of a cannon or free-falling after riding off a ramp would still drain your fuel.
Your C&D isn't like tf2's where you crouch and it uses less :[