Jump to content
  • 0

Copying keys


Pro_Speedy

Question

7 answers to this question

Recommended Posts

  • 0

I assume that u already have a custom compiles.sqf if not open the spoiler

1. Create a folder with the name "init" in your mission.pbo

2. Go to your init.sqf in your mission.pbo and change the line: 

call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";	 

to

call compile preprocessFileLineNumbers "init\compiles.sqf"; 

And copy the compiles.sqf (http://pastebin.com/BaFEgYHj) in your init folder.

 

Now lets go on.

 

1.Create a folder with the name actions in your mission folder

2. Open your compiles.sqf in your custom folder / init folder

3. Search for this:

player_copyKey =			compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_copyKey.sqf";

and change it to this:

player_copyKey =			compile preprocessFileLineNumbers "actions\player_copyKey.sqf";

4. Copy the player_copyKey.sqf out of your epoch dayz_code in your actions folder or download it here: (http://pastebin.com/m1psdCdX)

5. Open the player_copyKey.sqf and search for this: 

_hasTinBar = 	"ItemTinBar" in magazines player;

Change the "ItemTinBar" to whatevery Item you like.

 

Currency Items from Epoch

ItemTinBar 
ItemSilverBar 
ItemGoldBar
ItemSilverBar10oz
ItemGoldBar10oz
ItemBriefcase100oz

If i could help you or your server please hit my DayZ Thank you Picture/Button down in my signature. If you need more help just ask here in the forum.

Link to comment
Share on other sites

  • 0

I assume that u already have a custom compiles.sqf if not open the spoiler

1. Create a folder with the name "init" in your mission.pbo

2. Go to your init.sqf in your mission.pbo and change the line: 

call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";	 

to

call compile preprocessFileLineNumbers "init\compiles.sqf"; 

And copy the compiles.sqf (http://pastebin.com/BaFEgYHj) in your init folder.

 

Now lets go on.

 

1.Create a folder with the name actions in your mission folder

2. Open your compiles.sqf in your custom folder / init folder

3. Search for this:

player_copyKey =			compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_copyKey.sqf";

and change it to this:

player_copyKey =			compile preprocessFileLineNumbers "actions\player_copyKey.sqf";

4. Copy the player_copyKey.sqf out of your epoch dayz_code in your actions folder or download it here: (http://pastebin.com/m1psdCdX)

5. Open the player_copyKey.sqf and search for this: 

_hasTinBar = 	"ItemTinBar" in magazines player;

Change the "ItemTinBar" to whatevery Item you like.

 

Currency Items from Epoch

ItemTinBar 
ItemSilverBar 
ItemGoldBar
ItemSilverBar10oz
ItemGoldBar10oz
ItemBriefcase100oz

If i could help you or your server please hit my DayZ Thank you Picture/Button down in my signature. If you need more help just ask here in the forum.

 

 

Thank you very much i don't know how i missed that file !

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
  • Advertisement
  • Discord

×
×
  • Create New...