Jump to content

[Release] Kozlovka Trader City/Outpost


Jyggs

Recommended Posts

This is a quick and dirty trader city I made yesterday while I was playing around with the 3D Editor.  I was bored of having the default 3 trader cities on Chernarus so I started looking for alternate places to make them. Found a neat spot on Kozlovka that was good enough to make the trader city and it's spot on the map is pretty centric to Zelenogorsk, Balota, Cherno, and other towns. I've decided to share it here on the forums just for fun and also in case someone wants a neat trader city file. You are free to use it on your own server..... just make sure to credit me ok.  :wink:

Screenshots:

Spoiler

http://imgur.com/a/gQY4v

Oh did I mention it has a road too...?

Video:

Installation:

Spoiler

1) Download or Copy the SQF file Here.

2) Open your Server PBO and make a folder named Traders and paste the SQF file in there.

3) Now look for your server_functions.sqf file (Usually inside the Server PBO on the Init folder). Open it up on Notepad and add the following line at the very end.


execVM "\z\addons\dayz_server\traders\trader_kozlovka.sqf";

4) Save your server_functions.sqf file and repack your Server.PBO .

----------------------------------------------

Adding Marker and Sensor:

1) Open your mission.sqm file and look for class Markers. Now add your marker on the bottom of that class array. Like this example...


class Item10
		{
			position[]={4703.6274,100,4696.1729};
			name="TradercityKozlovka";
			text="Kozlovka Trader Outpost";		//Name of the marker in map.
			type="mil_circle";			// Marker type - a Circle
			colorName="ColorBlack";			// Marker color in map.
		};

This is very important and applies to both the Marker and Sensor parts...... 

A) Make sure your items=xx at the top of the class Markers array matches the amount of markers your files has. So add 1 to that number after adding this marker. (Ex. You had items=8 and you added this new marker or sensor... change it to items=9. Get it?)

B) Remember to change the class Item10 to whatever number sequence your file needs. So for example if your last marker class ends with class Item5, make sure you change the new one to class Item6 to make them sequencial. Use logic.

 

2) Change the type, text or color to anything you like.

3) To add a sensor just scroll down until you see class Sensors. Now add the new sensor to the bottom of that array. Use this as an example. (Remember to use the same common sense as you did on the items amount for the Markers.)


class Item5
		{
			position[]={4703.6274,300,4696.1729};
			a=100;
			b=100;
			activationBy="WEST";
			repeating=1;
			interruptable=1;
			age="UNKNOWN";
			name="zonekozlovka";
			expCond="(player distance zonekozlovka) < 100;";
			expActiv="[""Kozlovka Trader Outpost"",true,""enter""] spawn player_traderCity;";  //Change ""Kozlovka blah blah"" to whatever you want to say
			expDesactiv="[""Kozlovka Trader Outpost"",true,""leave""] spawn player_traderCity;"; //Same as above
			class Effects
			{
			};
		};

 

--------------------------------------------

Adding Traders:

Just use these coordinates to add your own custom traders if you like. (This is not a step by step tutorial on how to add the traders... its just the coordinates for your own traders. :tongue: )

Medical Trader -  [4683.7422, 4705.0562, 0.00012207031]  setDir 215.066853

Supplies Trader -  [4675.7734, 4707.5376, 3.0517578e-005]  setDir 215.0967

Food Trader -  [4687.7065, 4698.7725, 6.1035156e-005]  setDir 290.01744

Weapons Trader -  [4696.9468, 4707.5117]   setDir 90.00745

Ammo Trader -  [4696.7466, 4701.9502]  setDir 90.00745

Car Trader -  [4726.6631, 4685.3999, -3.0517578e-005]  setDir 280.00123

I guess I'm not missing anything...right? Have fun.

Link to comment
Share on other sites

  • 2 weeks later...

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