Garry's Mod Leaks

DarkRP Fire System [1.2]

Submitted by Zustar, , Thread ID: 63416

Thread Closed
03-12-2017, 06:53 PM
This post was last modified: 04-12-2017, 12:44 AM by Zustar
#1
[Image: 3c4e5c81bec2e4c26ed67c39d851e517.png]
SCRIPT :
https://www.gmodstore.com/scripts/view/302

Content locked
This content has been locked. Please login or register in order to unlock it.

KEY:

!Jd9brjrb3UJXYYD9p1QWTNpS7X_hF1tusFPSykywnC0

DarkRP Support

DarkRP 2.6+[Image: tick.png]

Other custom versions of DarkRP are not supported, and don't count on my support if you're using a custom version of DarkRP with modified core features.

I advise that you useVCMod ELSfor sirens, lights, etc on firetrucks. The script supports 3 firetrucks by default, which are all supported by VCMod ELS!

Description

Want some more action to your server? Well this might be an idea for your server then.
This addon introduces a whole new job for your server, a new way to make money, and a new way for criminals to mess with the government. It leans close up to what you have seen on many other RP gamemodes (such as ocrp and perp). Mainly because they all use the same fire effect material (just like I am now).
Below you can see what you can customize, as well as the features of this addon.


Features
  • Fire system.
  • VCModsupport!
  • Many config options to modify it to your liking.
  • Randomly spawns fire on the map with your own fire spawn locations, set with a console command.
  • Map based saving. Save fire locations for as many maps as you want and swap around.
  • Administration commands. Kill all fires, check current amount of fires and spawn fire at target. (fire_admin_killfires, fire_admin_curfires, fire_admin_spawnfire)
  • Firefighters get money for extinguishing fires
  • Firefighter jobs. Jobs can be customized at darkrpfiresystem/lua/autorun/fire_darkrpadds.
  • Fire extinguisher. Extinguish fires and receive money.
  • Firetruck menu with support for multiply firetrucks.
  • Restrict certain trucks to certain fire jobs and/or ulx ranks.
  • Fire does damage. Can be customized for both firefighters and non-firefighters.
  • Random fire won't spawn if there is already fire anywhere in the city.
  • Molotov cocktail weapon. Purchase it using your F4 menu. Entity can be customized at darkrpfiresystem/lua/autorun/fire_darkrpadds.
  • Firetruck NPC. Firefighters can retrieve firetrucks from this NPC. There is plenty of config for this NPC in the configs file.
  • Remove specific fires in-game. Use the command ch_remove_fire "uniquename" to remove a fire. No restart is required.
  • VCMod ELSsupport (emergency lights, sirens, etc)!
  • ULX commands (read more below)
  • And much more!
Installation

This addon supports DarkRP 2.6.+
Other newer versions should also work. If they do not, please create a ticket so this can be sorted.


Extract the "darkrpfiresystem" folder to your addons.

Once you've done that, you will want to put up locations for fire to spawn at, randomly.

All you have to do, is go to the locations you want the fire to spawn at, and type "ch_create_fire name" into your console.
The "name" part has to be an unique name for the randomizer to recognize the fire location. Suggestion: Just go with 1,2,3,4 and so on for your fires.
There is no need for a restart, and you will just have to wait for the timer to hit 0, and it will spawn the fires.


Once you've done that, you will want to set up the firetruck NPC for the firefighters.
This is two steps. The first step is placing the firetruck NPC. Go the the location you want it to be at and type "firetrucknpc_setpos" into your console.
The second step is setting the location for the actual firetruck to spawn at. Go the location you want it to be at and type "firetruck_setpos" in console.
Remember to aim in the right direction, so you get the right angle on these 2 things.


You must be an administrator on your server to perform these actions.

Including printer explosions fire, and meteor fire.
I've included documentation on how to make printers leave fire when they blow up, as well as meteors creating fires when they hit the ground in a meteor storm.
You can find the file, and read how to do it (replacing some code in two files, if you use default printers and meteor system that is), inside the folder for your representative version. 2.4.3 and 2.5.0 has different documentation.


Content

Required workshop links
http://steamcommunity.com/sharedfiles/filedetails/?id=873719725
http://steamcommunity.com/sharedfiles/filedetails/?id=867904004


Required mediafire download
(drag "darkrpfiresystem_content" content into addons from the zip)
http://www.mediafire.com/file/9y7tyhssh4...ontent.zip


ULX Commands

Here is a list of the commands:
  • Give molotov to player. (!molotov player)
  • Give extinguisher to player. (!ext player)
  • Make player fire fighter. (!forceff player)
  • Start fire at target. (!startfire)
  • Turn off all fires. (!fireoff)
  • Start all the fires set on the map. (!allfires)
  • Check valid fire names and position on the map. (!validfires)
You can also find them all by typing !menu and going under the category "Fire System".

Users browsing this thread: 1 Guest(s)