Garry's Mod

Garry's Mod

356 oy
DarkRP Weed System
   
Ödül
Favorilere Ekle
Favorilere Eklendi
Favorilerden Çıkar
İçerik Türü: Eklenti
Eklenti Türü: Alet
Eklenti Etiketleri: Rol Yapma, Gerçekçilik
Dosya Boyutu
Gönderilme
2.105 MB
4 Ağu 2016 @ 19:23
1 Değişiklik Notu ( görüntüle )

İndirmek için abone ol
DarkRP Weed System

Açıklama
Like my work? why not checkout my standalone game Hyperwaste
It's about surviving the wasteland of a long collapsed cyberpunk world.
[discord.gg]

*ADDON NO LONGER SUPPORTED BY CREATOR*

IMPORTANT: This only works in the official DarkRP gamemode! For information on usage, check Q&A section below.
----------
This addon was a commission, made by Jackarunda
----------
Drug Dealer NPC Commands:

marijuana_npc_buyer_location - This console command sets spawn points for the drug dealer, he will move from point to point over time, a map restart is required for this to work.

marijuana_npc_buyer_locations_delete - This console command removes all previously set spawn points of the drug dealer NPC, again, a map restart is required for this to take effect.

ai_disable 1 - This command is required so the NPC doesn't follow you in maps that have NPC nodes.
----------
Commands to manually give yourself weed items through console. (Not ideal for the server, just so you can see it work in singleplayer.)

give wep_jack_job_watercan (Spawns a watercan)
give ent_jack_job_plantlamp (Spawns a lamp)
give ent_jack_job_potplant (Spawns a pot)
give ent_jack_job_potsoil (Spawns a bag of soil)
give ent_jack_job_weedseed (Spawns a weedseed)
give ent_jack_job_weedbag (This is the end product that comes out of combining all other entites, it's smokable and sellable.)
----------
Q&A:

Q: What is this addon and what does it do?
A: This addon is only to be used with the DarkRP gamemode, it is essentially a system that allows you to grow weed and sell it to a dealer, make sure to check out the video for a full tutorial and demo!

Q: How do I even get this to work?
A: As previously stated it is only to be used with DarkRP, there are certain strings of code that need to be added into the addentities folder in your server to get some of the items into the buyable f4 menu, if you have a highly customized DarkRP, then you will have to integrate the items this addon offers in your own way, but by default all you need to do is add the strings of code into your add entities folder, aswell as some entites onto the blacklist. This code will all be listed at the bottom.

Q: How can I change the price of plants, soil, and other entities?
A: It's all the the addons easy to modify config folder.

----------Instructions for server owners----------

1. Paste the following into the config/addentities file of darkrp

DarkRP.createEntity("Ceramic Pot", {
ent = "ent_jack_job_potplant",
model = "models/nater/weedplant_pot.mdl",
price = 20,
max = 4,
cmd = "buyplantpot"
})

DarkRP.createEntity("Potting Soil", {
ent = "ent_jack_job_potsoil",
model = "models/props_junk/garbage_bag001a.mdl",
price = 10,
max = 8,
cmd = "buyplantsoil"
})

DarkRP.createEntity("Sun Lamp", {
ent = "ent_jack_job_plantlamp",
model = "models/props_interiors/Furniture_Lamp01a.mdl",
price = 120,
max = 1,
cmd = "buyplantlamp"
})

DarkRP.createEntity("Cannabis Seed", {
ent = "ent_jack_job_weedseed",
model = "models/props_junk/garbage_bag001a.mdl",
price = 300,
max = 8,
cmd = "buyplantseed"
})

DarkRP.createEntity("Watering Can", {
ent = "wep_jack_job_watercan",
model = "models/props_interiors/pot01a.mdl",
price = 10,
max = 5,
cmd = "buyplantwater"
})

2. put ent_jack_job_potplant, ent_jack_job_potsoil and ent_jack_job_plantlamp on the pocket blacklist
3. for each map you want the drug buyer NPC to spawn on, fly around to each spawn location and type marijuana_npc_buyer_location in console to set a spawnpoint for the NPC, many spawnpoints can be set per map, then restart the map
4. in entities/ent_jack_job_potplant/shared.lua you can find all the configurable settings for the plants at the top of the file
103 Yorum
-3 9 Kas @ 14:27 
Averange DarkRP Fan:😭
Averange Sandbox enjoyer:🗿

Copy this until this message is all in the GMOD workshop
👕 22 Eyl @ 2:53 
Bro I'm Scoliosis
WhackBamPow 29 Mar 2023 @ 6:43 
does thid work
Aphex Twin de Oliveira 1 Kas 2022 @ 20:25 
GAS STATION WEED!!!
Indle 11 Haz 2022 @ 1:19 
how do i install this?
4illNation 26 Mar 2022 @ 11:26 
How do I configure the profits from the NPC
Aka47solja 17 Şub 2022 @ 3:45 
nvm
Aka47solja 14 Şub 2022 @ 4:27 
drug dealer cant buy my shit
Luisma 28 Ağu 2021 @ 11:28 
can someone tell me how to spawn the drug dealer¿
Wizard Lizard 5 Tem 2021 @ 11:31 
Great Prop man! Works perfectly for anyone who is debating whether or not to get it. Pretty easy to set up as well!

5th July 2021