Jump to content

[[WORKING PLACES]] For Epoch.


juandayz

Recommended Posts

Hi. Was working on this whit my friend ChukyN.
Basically take the minning script and change some things to get  a new use for my server.

Heres the original script. Credits for:

Vindomire

Spoiler

 

***Whats new?***

Spoiler

*Players can work on Quarry to get CinderBlocks/Mortar/Sandbags/

*Players can work on ScrapDealer to get any kind of metal and vehicle parts.

*Players can work on Sawmill to get any kind of wood. (Not modulars)

*Players can work on Garbage Field to get rare items and others.

*Players can work on Arsenal to build ammo.

*****Players can´t decide what kind of items craft/find. Its random an chances are lower than original minning script.****

****Buildings for Work Areas are included***** *****Flags are used to define work areas, so if u have custom flags in your map, take care whit this models*****

****Map Markers Markers are included******

****If ure using the original minning script take care, you need rename some variables************

****DONT HAVE INFISTAR SO CANT TEST IF IT WORKS ON IT*************

 

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::INSTALL::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

0-Download: http://www.mediafire.com/download/8t9p8s9cbd1bsq2/work_click.zip

And drop "work_click" into:yourServerRoot/MPMISSION/INSTANCE/custom/script/      

!!!!!!!!!!!!!!!!!!!!!!!!!!!(IF U CHANGE THIS PATH YOU NEEDS Change paths IN EVERY FILES)!!!!!!!!!!!!!!!!

 

1-Open your init.sqf find the if (!isDedicated) then {  section and paste at bottom:

Spoiler

///WORK_ACTIONS////
//Masonry
[] execVM 'custom\script\work_click\masonry\init.sqf';

//Metal
[] execVM 'custom\script\work_click\metal\init.sqf';

//Wood
[] execVM 'custom\script\work_click\wood\init.sqf';

//trash
[] execVM 'custom\script\work_click\trash\init.sqf';

//arsenal
[] execVM 'custom\script\work_click\ammo\init.sqf';

//////////////END OF WORK_ACTIONS//////

2-Again but at very bottom of init.sqf paste:

Spoiler

////work_click actions buildings////
[] execVM "custom\script\work_click\buildings\workplacemarkers.sqf";
[] execVM "custom\script\work_click\buildings\quarry.sqf";
[] execVM "custom\script\work_click\buildings\metaltrash.sqf";
[] execVM "custom\script\work_click\buildings\sawmill.sqf";
[] execVM "custom\script\work_click\buildings\trasher.sqf";
[] execVM "custom\script\work_click\buildings\arsenal.sqf";
/////////end/////////////////////////

3- now go to your custom variables.sqf  then into dayz_resetSelfActions = {       paste:

Spoiler

    s_player_stopwork = -1;
    s_player_work = -1;
    s_player_stopworkscrap = -1;
    s_player_workscrap = -1;
    s_player_stopworkwood = -1;
    s_player_workwood = -1;
    s_player_stopworktrash = -1;
    s_player_worktrash = -1;
    s_player_stopworkammo = -1;
    s_player_workammo = -1;

**Notes:

Spoiler

Maybe add ItemShovel and ItemSledge to your traders is a god idea, cuz players needs  Sledge and Shovel to work in quarry, and garbage field.

In Garbage Field players can found  batteries.  I use it to allow to craft pipebombs by right click whit Granades+EmptyBriefcast+Watch+Radio.  maybe u can use batteries for something else.

VIDEO PREVIEW: (dnt worry about spanish MSGS in video..I translated everything to upload here.)

 
Spoiler

 

And nothing more.

images.jpg

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Discord

×
×
  • Create New...