Jump to content
Gorgy

DayZ Overpoch Origins Trader Rework

Recommended Posts

I completly reworked the Tradercities of Overpoch Origins with Singlecurrency support.
 
Pictures:
http://imgur.com/a/pvTK5#0

Want to see it ingame ?

Join my server!

ip: 144.76.136.37:2307
 
I also added a new level to the Hero/Bandit-Trader
for the level 2 Hero/Bandit Trader you need +/- 15000 Humanity
 
Files:
https://www.dropbox.com/s/h4t6gdfi5kfqzcp/OverpochOriginsTrader.zip?dl=0
How to install
Paste the mapcontent, CfgServerTrader, and the Server_trader  in you mission folder
 
What you need to do:
1. Remove old trades + old safezones
2. Download files
3. add the Hero/Bandit lvl2 trader
3. Install new Trader
 
Removing old Traders:
In your dayz_server.pbo go to missions\DayZ_Epoch_13.Tavi
and just delete everything in there except the mission.sqf (if you have your own custom suff in it do not delet it)
edit the mission.sqf to this:  (dont know if it has to look like this but it works for me

if (isServer) then {



};
processInitCommands;

(again if you have your own custom suff in it keep it in there)
 
To remove the old safezones go into your mission folder and open the mission.sqm
int there find "class Markers" and change items=31 to items=13 and then search for class item13 and delete alll this:
 

class Item13
		{
			position[]={11698.81,-114,15210.121};
			name="TraderCityLyepestok";
			text=" Trader City Lyepestok";
			type="mil_circle";
			colorName="ColorOrange";
		};
class Item14
		{
			position[]={15309.663,-14.993002,9278.4912};
			name="TraderCitySabina";
			text=" Trader City Sabina";
			type="mil_circle";
			colorName="ColorOrange";
		};
		class Item15
		{
			position[]={5538.7354,-35.799999,8762.2695};
			name="TraderCityBilgrad";
			text=" Trader City Bilgrad";
			type="mil_circle";
			colorName="ColorOrange";
		};
		class Item16
		{
			position[]={7376.6084,-34.6604,4296.5879};
			name="TraderCityBranibor";
			text=" Trader City Branibor";
			type="mil_circle";
			colorName="ColorOrange";
		};
		class Item17
		{
			position[]={10948.426,-10.727827,654.90265};
			name="BanditVendor";
			text=" Bandit Vendor";
			type="mil_circle";
			colorName="ColorRed";
		};
		class Item18
		{
			position[]={15587.822,-35.599998,16394.049};
			name="HeroVendor";
			text=" Hero Vendor";
			type="mil_circle";
			colorName="ColorGreen";
		};
		class Item19
		{
			position[]={16555.732,-44.942032,10159.68};
			name="AircraftDealer";
			text=" Aircraft Dealer";
			type="mil_dot";
			colorName="ColorBlack";
		};
		class Item20
		{
			position[]={6815.0776,7.6293945e-006,8534.1504};
			name="AircraftDealer";
			text=" Aircraft Dealer";
			type="mil_dot";
			colorName="ColorBlack";
		};
		class Item21
		{
			position[]={4066.3528,-36.305538,7265.0024};
			name="Misc.Vendor";
			text=" Misc. Vendor";
			type="mil_box";
			colorName="ColorGreen";
		};
		class Item22
		{
			position[]={17497.631,-235.07928,7159.0879};
			name="Misc.Vendor";
			text=" Misc. Vendor";
			type="mil_box";
			colorName="ColorGreen";
		};
		class Item23
		{
			position[]={17332.115,5.3882599e-005,12930.239};
			name="BoatDealer";
			text=" Boat Dealer";
			type="mil_dot";
			colorName="ColorBlack";
		};
		class Item24
		{
			position[]={10570.494,-0.28882828,16772.477};
			name="BoatDealer";
			text=" Boat Dealer";
			type="mil_dot";
			colorName="ColorBlack";
		};
		class Item25
		{
			position[]={10698.463,-0.00011062622,5983.665};
			name="BoatDealer";
			text=" Boat Dealer";
			type="mil_dot";
			colorName="ColorBlack";
		};
		class Item26
		{
			position[]={5419.2437,-1.6689301e-006,9503.5479};
			name="BoatDealer";
			text=" Boat Dealer";
			type="mil_dot";
			colorName="ColorBlack";
		};
		class Item27
		{
			position[]={13342.758,-172.991,8611.9932};
			name="Wholesaler";
			text=" Wholesaler";
			type="mil_box";
			colorName="ColorBlack";
		};
		class Item28
		{
			position[]={9859.4209,-173.54755,7471.5684};
			name="Wholesaler";
			text=" Wholesaler";
			type="mil_box";
			colorName="ColorBlack";
		};
		class Item29
		{
			position[]={1013.0505,5.0996313,18247.072};
			name="buildabletrader";
			text=" Carls Buildables";
			type="mil_circle";
			colorName="ColorOrange";
		};
		class Item30
		{
			position[]={3097.4031,-0.2819894,2469.9319};
			name="Kninmil";
			text=" Knin military outpost";
			type="mil_circle";
			colorName="ColorRed";
		};
 



Then search for class Sensors
change items=40 to items=5
and make it look like this:

class Sensors
	{
		items=6;
		class Item0
		{
			position[]={8042.2275,0.12761667,6496.458}; 
			activationBy="WEST";
			repeating=1;
			interruptable=1;
			age="UNKNOWN";
			name="zonenovy";
			expCond="(player distance zonenovy) < 150;";
			expActiv="TitleText["" "",""PLAIN DOWN""]; canbuild = false;";
			expDesactiv="TitleText["" "",""PLAIN DOWN""]; canbuild = true;";
			class Effects
			{
			};
		};
		
		
		
		class Item1
		{
			position[]={22614.5, 0, 19667.8};
			a=100;
			b=100;
			activationBy="WEST";
			repeating=1;
			interruptable=1;
			age="UNKNOWN";
			name="sectorb";
			expCond="(player distance sectorb) < 2500;";
			expActiv="canbuild = false; secb = true; clearzeds = [] execVM ""custom\clearzedsb.sqf"";";
            expDesactiv="canbuild = true; secb = false; terminate clearzeds;";
			class Effects
			{
			};
		};
		class Item2
		{
			position[]={24470.5, 0, 24624.5};
			a=100;
			b=100;
			activationBy="WEST";
			repeating=1;
			interruptable=1;
			age="UNKNOWN";
			name="refuel1";
			expCond="(player distance refuel1) < 120;";
			expActiv="canbuild = false;";
            expDesactiv="canbuild = true;";
			class Effects
			{
			};
		};
		class Item3
		{
			position[]={691.527, 0, 778.384};
			a=100;
			b=100;
			activationBy="WEST";
			repeating=1;
			interruptable=1;
			age="UNKNOWN";
			name="refuel2";
			expCond="(player distance refuel2) < 120;";
			expActiv="canbuild = false;";
            expDesactiv="canbuild = true;";
			class Effects
			{
			};
		};
		class Item4
		{
			position[]={951.492, 0, 25022.8};
			a=100;
			b=100;
			activationBy="WEST";
			repeating=1;
			interruptable=1;
			age="UNKNOWN";
			name="refuel3";
			expCond="(player distance refuel3) < 120;";
			expActiv="canbuild = false;";
            expDesactiv="canbuild = true;";
			class Effects
			{
			};
		};
		class Item5
		{
			position[]={16063.18, 14267.385};
			a=100;
			b=100;
			activationBy="WEST";
			repeating=1;
			interruptable=1;
			age="UNKNOWN";
			name="zonesupplies";
			expCond="(player distance zonesupplies) < 100;";
			expActiv="[""Buildingsupplies Tarder"",true,""enter""] spawn player_traderCity;";
			expDesactiv="[""Buildingsupplies Tarder"",true,""leave""] spawn player_traderCity;";
			class Effects
			{
			};
		};
	};


 
now add my traders:

Paste the mapcontent, CfgServerTrader, and the Server_trader  in you mission folder
 
in your init.sqf:

add this blow:
if (isServer) then { 

 call compile preProcessFileLineNumbers "mapcontent\wholesaler.sqf";
  call compile preProcessFileLineNumbers "mapcontent\wholesaler2.sqf";
  call compile preProcessFileLineNumbers "mapcontent\blackmarket.sqf";
  call compile preProcessFileLineNumbers "mapcontent\Ekaterinburgtrader.sqf";
  call compile preProcessFileLineNumbers "mapcontent\truckdealer.sqf";
  call compile preProcessFileLineNumbers "mapcontent\Aircraftdealer.sqf";
  call compile preProcessFileLineNumbers "mapcontent\Aircraftdealer2.sqf";
  call compile preProcessFileLineNumbers "mapcontent\shtangradtrader.sqf";
  call compile preProcessFileLineNumbers "mapcontent\traderllya.sqf";
  call compile preProcessFileLineNumbers "mapcontent\boatdealer.sqf";
  call compile preProcessFileLineNumbers "mapcontent\herocamp.sqf";
  call compile preProcessFileLineNumbers "mapcontent\banditcamp.sqf";

´for the Level2 Hero/bandit Trader you need a custom fn_selfaction.sqf
 
Find:

if((_traderMenu select 2) == "hero") then {
_humanity_logic = (_humanity < 5000);
			};

and below add:

if((_traderMenu select 2) == "superhero") then {
_humanity_logic = (_humanity < 15000);
};
if((_traderMenu select 2) == "Superhostile") then {
_low_high = "high";
_humanity_logic = (_humanity > -15000);
};

I hope you like it and if you have any ideas for changes just tell me
 
thanks Zupa for making the singecurrency

Share this post


Link to post
Share on other sites

found out that the boatdealer did not work right and that there is no buses and vans in the vehicle trader 

but already fixed it

 

 

Awesome work!!

 

Don't forget for those who don't have the #include line in desc.ext ;)

what include line do you mean ?

Share this post


Link to post
Share on other sites

i assume its on taviana with it being origins

 

my question tho is,

 

are the original traders still there? do we need to remove them from the serverpbo?

 

also

 

no overwatch or origins vehicles?

 

great work tho!

Share this post


Link to post
Share on other sites

Yes it is taviana and iam going to make a tutorial on how to remove the old traders as soon as i get home.

For the vehicles want to make a survival vehicle shop for the origins vehicle

Nohing planned with the overwatch vehicles right now

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...

  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...