Difference between revisions of "Actions:customjob"

From PrometheusIPN Wiki
Jump to: navigation, search
(Created page with "====== Custom jobs ====== I will do this page when I get time")
 
(Custom jobs)
Line 1: Line 1:
====== Custom jobs ======
+
== Custom jobs ==
I will do this page when I get time
+
Custom jobs with Prometheus are really simple once you understand the principles of them:
 +
 
 +
 
 +
=== Adding the action ===
 +
When adding the custom job action there are a few things yo need to understand.
 +
 
 +
These are the default values of the custom job action, if you do not choose to expand any of the checkboxes then the user will not be able to decide anything themself.
 +
[[File:5yG2.png|900px]]
 +
 
 +
You can fill them out as described above if you don't want the users to be able to choose anything themself. The model paths is the path to the actual model starting from the root directory of your garrysmod server(The folder your addons folder, data folder, cfg folder, gamemodes folder, lua folder, etc is in). So the path to a model could be ''models/author/model.mdl''
 +
 
 +
If you expand the weapons dropbox you will get something like this:
 +
[[File:UL7E.png|900px]]
 +
 
 +
You can add more weapons by clicking the green '''+''' button and remove them by pressing the red '''-'''. The price is the amount in the packages currency that will be added to the final price of the package if the user chooses this weapon. Credits is the amount of final credits cost of the package if the user chooses this weapon. If you are not using the credits system there is no need to specify the credits value as the user can't pay using it if that's the case.
 +
 
 +
The same process goes for models, license, friends and salary.
 +
 
 +
=== The users view of things ===
 +
 
 +
Depending on what you enabled or didn't enable the user will get something like this whenever they try to purchase a custom job package:

Revision as of 16:21, 6 October 2015

Custom jobs

Custom jobs with Prometheus are really simple once you understand the principles of them:


Adding the action

When adding the custom job action there are a few things yo need to understand.

These are the default values of the custom job action, if you do not choose to expand any of the checkboxes then the user will not be able to decide anything themself. 5yG2.png

You can fill them out as described above if you don't want the users to be able to choose anything themself. The model paths is the path to the actual model starting from the root directory of your garrysmod server(The folder your addons folder, data folder, cfg folder, gamemodes folder, lua folder, etc is in). So the path to a model could be models/author/model.mdl

If you expand the weapons dropbox you will get something like this: UL7E.png

You can add more weapons by clicking the green + button and remove them by pressing the red -. The price is the amount in the packages currency that will be added to the final price of the package if the user chooses this weapon. Credits is the amount of final credits cost of the package if the user chooses this weapon. If you are not using the credits system there is no need to specify the credits value as the user can't pay using it if that's the case.

The same process goes for models, license, friends and salary.

The users view of things

Depending on what you enabled or didn't enable the user will get something like this whenever they try to purchase a custom job package: