Jump to content
Suppe

[Release] HS Blackmarket 1.6 | 'New' Trader System | Special Trader | Blackmarket

Recommended Posts

IMPORTANT FOR ANYONE USING THE FILES FROM MY GITHUB:
 
the resource file have been update and i have added a "shared" Halv_defines.hpp!
 
this "shared" Halv_defines will be universal for most of what i will make from now on and is only needed once in your mission and will therefore save some space and resouces alltogether.
 
however,
if you have already have this file and add another, your server WILL fail to load, so ONLY add this file once.
 
if you use other of my mods that has this file, it can be safely ignored and deleted from either as long as it is loaded once.

Share this post


Link to post
Share on other sites

How to change that?

 

 

Throws me an error popup on a unregistered whatever. Used the old one due to the cfgpricing and my screenshot didn't work. Have halo out, blackmarket and spawn. But older versions where you did not have that shared file. Maybe something wrong?

Share this post


Link to post
Share on other sites

How to change that?

 

 

Throws me an error popup on a unregistered whatever. Used the old one due to the cfgpricing and my screenshot didn't work. Have halo out, blackmarket and spawn. But older versions where you did not have that shared file. Maybe something wrong?

 

there might be a conflict with the spawn system, update that aswell.

 

in trader menu line 31:

_config = "CfgPricing" call EPOCH_returnConfig;

change that to HSPricing

Share this post


Link to post
Share on other sites

So i will delete all Hav_defines.hpp in your plugin folders and put this one in top of description.txt ?!

#include "addons\Halv_defines.hpp"

Thanks

 

ps: also no takegive crypto and no resetamo included. hard to find in future if they are not included in the script. a reason why?

Share this post


Link to post
Share on other sites

So i will delete all Hav_defines.hpp in your plugin folders and put this one in top of description.txt ?!

#include "addons\Halv_defines.hpp"

Thanks

 

ps: also no takegive crypto and no resetamo included. hard to find in future if they are not included in the script. a reason why?

 

yes, you will only need that file once.

 

i understand its a bit confusing, but the reason is that suppe has included all of this into a convenient package, which i omitted to do on my github to keep my additions seperate like modules that can be plugged into each other.

 

i have the takegive_crypto aswell, but in a seperate repository so it can be used with more than one script:

https://github.com/Halvhjearne/HALV_takegive_crypto

Share this post


Link to post
Share on other sites

So how about a github repo with all those files and a hint for that? Would be easier for such noobs as me :D Also the removeammo from trader bought vehicles. Would be nice. All in one package you know?

Share this post


Link to post
Share on other sites

So how about a github repo with all those files and a hint for that? Would be easier for such noobs as me :D Also the removeammo from trader bought vehicles. Would be nice. All in one package you know?

 

i know what you mean, but im not a very organized person and this was something suppe used to take care of.

since he is not here as much ill see what i can do to make it easier to understand.

Share this post


Link to post
Share on other sites

There is a removeammo script when you buy armed vehicles from the trader. This is not included in the blackmarket anymore. Same with takegive crypto. I tought if it would make sens to have a "all in one" in your github which contains the files which are not in anymore. Like the pricing file, takegive, removeammo and such. So they can be taken from one source. Just a suggestion :)

Share this post


Link to post
Share on other sites

There is a removeammo script when you buy armed vehicles from the trader. This is not included in the blackmarket anymore. Same with takegive crypto. I tought if it would make sens to have a "all in one" in your github which contains the files which are not in anymore. Like the pricing file, takegive, removeammo and such. So they can be taken from one source. Just a suggestion :)

 

im making a script for server startup that includes removal of ammo, moving vehicles from undesirable areas and unlocking.

thats why its not included in my github ...

 

but i see your point and i will considder it.

Share this post


Link to post
Share on other sites

my github is up to date or not ? Halv, if not, please send a pullrequest in my github, and i will change it :D but i think im up to date..... i linked your github on the mainpage.... its everthing there.....

Share this post


Link to post
Share on other sites

You have to include his Halv_defines.hpp ONCE in the description.ext before his scripts. ;)

Stumpled over this also, so this is the solution. Check your spelling and paths. Also make sure the file is only included once.

Share this post


Link to post
Share on other sites

in line 666(+-) pls add :

,"Laserdesignator","Laserdesignator_02","Laserdesignator_03"

in the new update...

 

 

case ((_x select 0) in assignedItems player):{
if((_x select 0) in ["Binocular","Rangefinder","Laserdesignator","Laserdesignator_02","Laserdesignator_03")then{
Edited by psychosis

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Similar Content

    • By Brian Soanes
      To unlock vehicles left in your traders over a server restart, open your epoch_server.pbo

      In epoch_server\compile\epoch_vehicle\EPOCH_load_vehicles.sqf
      Find
      if (_allowDamage) then { Just above that, add this
      A3E_SafeZonePosArray = [ [[18451.9,14278.1,0]], //Altis East trader [[13333.5,14494.3,0]], //Altis Central trader [[6192.46,16834,0]] //Altis West trader ]; { if (_vehicle distance (_x select 0) < 200) then { _vehicle lock false; diag_log format["Vehicle %1 left in trader unlocked @ %2", _class, mapGridPosition _vehicle]; }; } forEach A3E_SafeZonePosArray; Pack pbo and you're good to go
    • By Thug
      In the file server_spawnTraders.sqf
      private "_trader"; { _trader = createAgent [_x select 0,_x select 1,[],0,"CAN_COLLIDE"]; {_trader removeMagazine _x;} count magazines _trader; removeAllItems _trader; // removeAllWeapons _trader;//this is commented out so traders have weapons removeBackpack _trader; _trader switchMove ""; _trader setDir (_x select 2); _trader setVehicleInit "this disableAI 'ANIM'; this disableAI 'AUTOTARGET'; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; this allowDamage false;"; _trader setUnitAbility 0.6; _trader disableAI "ANIM"; _trader disableAI "AUTOTARGET"; _trader disableAI "FSM"; _trader disableAI "MOVE"; _trader disableAI "TARGET"; _trader setBehaviour "CARELESS"; _trader forceSpeed 0; _trader allowDamage false; _trader enableSimulation false; } count _this; processInitCommands; What would I have to do to get the Traders to move like they did in v1.0.5.1
      I have tried but can not get it to work.
    • By Thug
      I have an overpoch Sauerland server. The vehicle traders are not spawning when you buy. The SOB takes your money and gives you a key, but no vehicle.  The arrow comes up for about 12 seconds.  After the restart, they are there, all on top of each other.
      NO, I do not have infistar installed.  It brakes the server. No admin tools at all.
      Here are my server and client RPTs. Can someone please take a look for me?
      Client
      Server
      All other traders work.
       
    • By blueman
      I made some changes to the traders inventory.
      So they they have 15 drinks, and 15 food.
      However, when I restart server, and check, the inventory was just like it was before restart.
      I have a feeling I don't understand the loot system yet, and the traders.
      Looks like it's a running tally of what ever gets sold to them, and it carries over through restarts.
      Probably only resets after it reaches a certain point (amount of items).

      What I'd like to do, is have the traders have a minimum of 15 food and 15 drink at all times is that possible?
      Thanks,
    • By harcosgoogle
      You will be allowed(permission) to enter vehicle in trader?
       
      Group (F5 ) Only Allowed just?
       
      So only your friend can sit beside him
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...