Garry's Mod

Garry's Mod

39 ratings
DarkPower: A DarkRP Energy Mod
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Roleplay
File Size
Posted
390.674 KB
14 Jul, 2016 @ 9:46pm
1 Change Note ( view )

Subscribe to download
DarkPower: A DarkRP Energy Mod

Description
SOURCE CODE:
https://github.com/Iamgoofball/DarkPower

It didn't sell very well at all on Scriptfodder, so I went ahead and released it on the workshop.

INSTALLATION:
Copy the contents of this pastebin to the entities.lua of your DarkRP Modification addon:
http://pastebin.com/WaCphmNS

# Darkpower: An Energy Mod
Darkpower is my robust and expandable power framework for Garry's Mod DarkRP servers. It comes with 2 examples of how to use it, Darkcoin Miners and Darkpower Printers, with more on the way!

## The basics:

You have Generators, and Powered Machines. Powered Machines use up Power on the Generator to a certain amount. Each machine can have its own effects that only occur when supplied with power. For example, money printers that need power to print money, or a microwave needing power to process food. It makes players think about Resource Conservation, and building their bases around the need for power if they want the high tier machines. Bigger generators have further reach, and can power more machines. You can power machines by bringing them near a generator. Some machines use more than 1 power, so be careful!

## Expandable

Coders for your server can easily make their machines require power, or port other machines from other addons to requiring power. Simply follow the example provided by the included Powered Printers and Darkcoin Miners, and ensure your entity class name has "darkpower_powered" in it.

## Features:
1. Robust power system designed from the ground up with the intention to provide a fun and interesting gameplay experience based on constructing bases and managing power supplies.
2. Easily expandable power framework for coders to use and work off of for porting machines to the system, or adding new machines entirely.
3. Easy drag and drop setup with easily configured prices .
4. Comes with FREE Darkcoin Miners and FREE Darkpower Printers, for legal and illegal acquisition of funds! Darkcoin Miners allowing players to stimulate the economy via producing Darkcoins to exchange for cash with the miner, alongside a revolutionary upgrade system allowing players to choose how they want to mine.
5. Mix and match GPUs and CPUs in your miners to create a machine suited for you? Like speed over value? Go for AMD! Want to mix it up? Try a combo of Intel and AYYMD!
6. Easy model swapping for Darkcoin Miners if you would like to use alternate models for your miners.
7. SCars Support for the drivers in us all! http://steamproxy.net/sharedfiles/filedetails/?id=724780612
8. Automated Users for your machines, powered by generators!
9. Ammo/Health/Armor Stations for Hospitals, Gun Stores, and MORE!

## Darkcoin Miners

Darkcoin Miners are a new way for your players to generate money on your server, requiring Darkpower Generators to function. Players can buy Darkcoin Miners to generate Darkcoins, which can be sold for cash depending on the parts inside the miner. You can upgrade your miners with parts from 3 different vendors, with AYYMD focusing more on speedy mining and less on value, with Intel and NaNvidia focusing on a slower but more valuable coin, allowing your players to choose their preferred mining method.
18 Comments
Phill 30 Sep, 2019 @ 1:42am 
I can only see Errors and Pink/Black textures what do i need to install?
Milk 19 Jun, 2019 @ 9:28pm 
is there a way to control the value of darkcoin, or how much money the printers produce? i cannot find the file that controls this.
Delycan 7 Mar, 2018 @ 2:22pm 
Lol oh boy, that makes it sound complex xD
Iamgoofball  [author] 7 Mar, 2018 @ 2:05pm 
Sent you a FR to explain it a bit more in detail
Delycan 7 Mar, 2018 @ 10:53am 
I'm not understanding what this is. What I'm hoping it is is something like having lights run on a power source and have to keep finding energy. If it is, this would be great for a zombie server
Joe 23 Dec, 2017 @ 6:54pm 
@lamgoofball Do more Workshop addons. Build a reputation with Subscribers instead of Sells.
TrexRDK 23 Dec, 2017 @ 5:09pm 
Iamgoofball  [author] 22 Dec, 2017 @ 8:55pm 
ACF batteries? I mean, if you added an API hook for them to do so I donn't see why not. Can you link me to the mod?
TrexRDK 22 Dec, 2017 @ 8:17pm 
Is this an electric generator? Can it be used to generate electricity to charge ACF batteries?
Joe 1 May, 2017 @ 5:06am 
I dont buy from Scriptfodder in general. I dont like their business model.