Jump to page content
English English   Polish Polish   Dutch Dutch   Russian Russian   German German   Hungarian Hungarian   Norwegian Norwegian   Swedish Swedish   Finnish Finnish   Romanian Romanian   Spanish Spanish   Portuguese Portuguese   Latvian Latvian  
Homepage
Home
Register
Login

Resources
Forum
Wiki
Servers

rssLava Event (lava_redux)

Category:script
Author(s):xNikoXD
Downloads:789
Rate:You need to be logged in to vote
Rating:None (0)
Description:
Based on the lava event used on the DKR Clan Server back in 2012. This event rised the water level and convert it into lava. If you got to close to it you would set on fire.

This resource does the same, you can start the event by using /lava

The water level will raise until 20 meters. If you touch the water you will set on fire, if a vehicle does it it will explode.

This resource also changes the look of the water so it looks like lava, and it also makes lava noises if the camera gets too close to it.

Disclaimer: If you have a big server with a lot of vehicles, make the checkVehicleAgua() function to be called less often, because it will probably lag the server.

*--------------------------------------------*

Otro resource más basado en el servidor DKR. Este evento, una vez iniciado, convertirá el agua en lava, la cambiará de textura y la hará subir hasta los 20 metros.

Si te acercas mucho a la lava, te prenderás fuego. Además la lava generará un sonido si es que estás cerca. Si un vehículo toca la lava, explotará.

El evento lo pueden iniciar los Admin usando /lava, y lo pueden parar de la misma forma. La lava subirá/bajará lentamente antes de iniciar o detenerse respectivamente.

Cabe recalcar que si tienes un servidor con mucho vehículos, que cambies el timerVehicle que ejecuta la función checkVehicleAgua() para que lo haga menos seguido, ya que probablemente laguee al todo el servidor.

La idea, al igual que con el Toxic es mostrar como se hicieron estos resources con un vídeo en youtube. Todo el código esta comentado en español, úsalo como quieras.

Link: https://youtu.be/swzvvfpGc88
...

(more)

Download latest version | Report

Version history

Version Publish Date Changes
1.0.2 2018-05-06 23:39:01 Now the effects will only trigger on dim 0 and int 0 Download
1.0.1 2018-05-06 22:45:51 Fixed a minor bug Download
1.0.0 2018-05-06 22:38:12 First public release Download