Jump to content

[Outdated] [Release] Trader Catalogue / Previews


oldmatechoc

Recommended Posts

  On 5/17/2021 at 8:13 AM, oldmatechoc said:

@Vladick
 

	if (_dikCode == 0x15) then { []execVM "scripts\catalogue\catalog_menu.sqf"; 	};	

0x15 = Y

https://community.bistudio.com/wiki/DIK_KeyCodes

Expand  

@oldmatechocI thought so. Thanks for confirming. I've done something wrong in the install then and I can't figure out what it is. Can you see anything wrong with my config (below)?

1. First, I put the catalogue folder folder in the mission scripts folder.

2, I extracted the keyboard.sqf file from the dayz_code pbo into the dayz_code\compile folder and added the following at the very bottom just above _handled

:

  Reveal hidden contents

3. In init.sqf I called the keyboard.sqf this way:

  Reveal hidden contents

4. In compiles.sqf I added the following at the very end:

  Reveal hidden contents

5. In variables.sqf I added this:

  Reveal hidden contents

6. Since I don't have a server_traders.sqf I defined the trader array in chernarus11.sqf which is being called from the init.sqf just as keyboard.sqf is. I added this to chernarus11.sqf:

  Reveal hidden contents

6. And this at the bottom of chernarus11.sqf:

  Reveal hidden contents

7. Finally, in description.ext I added this at the very bottom:

  Reveal hidden contents

Do you see anything wrong with this config? I assume it's probably broken because I'm using chernarus11.sqf instead of server_traders.sqf but I don't have a server_traders.sqf and did not find one in any of my folders. Any ideas how I can make this work? Thanks for your help!

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...