How to add a store?

Re: How to add a store?

« Reply #45 posted: Dec 31, 2016, 11:09 PM »
Okay after help from GriffinZS here is the code you need in your  storeowner.sqf:

Code: [Select]
storeOwnerConfig = compileFinal str
[
    ["GenStore1", -1, [], []],
    ["GenStore2", -1, [], []],
    ["GenStore3", -1, [], []],
    ["GenStore4", -1, [], []],
    ["GenStore5", -1, [], []],
 
    ["GunStore1", -1, [], []],
    ["GunStore2", -1, [], []],
    ["GunStore3", -1, [], []],
    ["GunStore4", -1, [], []],
 
    // Buttons you can disable: "Land", "Armored", "Tanks", "Helicopters", "Boats", "Planes"
    ["VehStore1", -1, [], []],
    ["VehStore2", -1, [], []],
    ["VehStore3", -1, [], []],
    ["VehStore4", -1, [], ["Planes"]],
    ["VehStore5", -1, [], ["Planes"]],
    ["VehStore6", -1, [], ["Boats"]]
];
 
// Outfits for store owners
storeOwnerConfigAppearance = compileFinal str
[
    ["GenStore1", [["weapon", ""], ["uniform", "U_IG_Guerilla2_2"]]],
    ["GenStore2", [["weapon", ""], ["uniform", "U_IG_Guerilla2_3"]]],
    ["GenStore3", [["weapon", ""], ["uniform", "U_IG_Guerilla3_1"]]],
    ["GenStore4", [["weapon", ""], ["uniform", "U_IG_Guerilla2_1"]]],
    ["GenStore5", [["weapon", ""], ["uniform", "U_IG_Guerilla3_2"]]],
 
    ["GunStore1", [["weapon", ""], ["uniform", "U_B_SpecopsUniform_sgg"]]],
    ["GunStore2", [["weapon", ""], ["uniform", "U_O_SpecopsUniform_blk"]]],
    ["GunStore3", [["weapon", ""], ["uniform", "U_I_CombatUniform_tshirt"]]],
    ["GunStore4", [["weapon", ""], ["uniform", "U_IG_Guerilla1_1"]]],
 
    ["VehStore1", [["weapon", ""], ["uniform", "U_Competitor"]]],
    ["VehStore2", [["weapon", ""], ["uniform", "U_Competitor"]]],
    ["VehStore3", [["weapon", ""], ["uniform", "U_Competitor"]]],
    ["VehStore4", [["weapon", ""], ["uniform", "U_Competitor"]]],
    ["VehStore5", [["weapon", ""], ["uniform", "U_Competitor"]]],
    ["VehStore6", [["weapon", ""], ["uniform", "U_Competitor"]]]
];

The StoreAI will be in the location you set in the editor.

Thanks GriffinZS for your help on this as this will help others who wants to create Wasteland on other maps like I am now doing. There are hundreds of maps out there and well its up to us to convert Altis or Stratis to other maps, AgentRev has done his part. Again thank you GriffinZS...

The clan I am helping and been a part of {PST} Phoenix Sniper Team realized the more Wasteland maps there are the less people will get burned out on just playing one map all the time like I did...
  • Offline AgentRev
  • Developer
  • Veteran
  • ******
  • Posts: 2174

Re: How to add a store?

« Reply #46 posted: Jan 11, 2017, 04:08 PM »
updated for Eden

Re: How to add a store?

« Reply #47 posted: Jan 12, 2017, 07:26 AM »
Hmmmm I did a search in the forums for store and the only one that came up was your OUTDATED one.

Really weird but thanks for the updated fix AgentRev...


EDIT: Nevermind I see what you did AgentRev by updating the original tutorial...
  • Offline AgentRev
  • Developer
  • Veteran
  • ******
  • Posts: 2174

Re: How to add a store?

« Reply #48 posted: Jan 12, 2017, 11:54 AM »
No I mean I updated the original post with the new method for Eden.