Jump to content

[Release] Center For Disease Control


Recommended Posts

Hollow's Center for Disease Control

http://www.CraftDoge.com 

 

 

jfaLTU9.jpg

 

 

A nice little Balota Addition

 

I made this build as a housing place for my CDC Trader in which you can trade zombie parts for gold, the idea is a single scientist is trying to find the cure and needs you to gather zombie flesh for him and he is willing to make it worth your wild.

 

Below are tutorials for with, and without the trader.

 

 

ScreenShots:

http://imgur.com/a/uMig4

 

Downloads:

http://www.craftdoge.com/downloads/

 

 

Tutorial WITHOUT Trader: (with trader tutorial below)

 

click the download link above and download the CDC_Balota.zip

 

Unpack your dayz_server.pbo

 

Add the following code to the bottom of your server_functions.sqf  located at: 

dayz_server\init\server_functions.sqf

[] ExecVM "\z\addons\dayz_server\custom\CDC_Balota.sqf";

Create a folder named "custom" and place the CDC_Balota.sqf

you downloaded, inside the custom folder.

 

Place the custom folder in the root of your dayz_server.pbo then repack and upload your pbo

 

To add the map marker open your mission.sqm

 

search for 

class Markers

and scroll to the bottom of the markers and add this code

class Item20
		{
			position[]={4843.2983,365.13501,2278.8335};
			name="Centre for Disease Control";
			text="Centre for Disease Control";
			type="mil_triangle";
			colorName="ColorYellow";
		};

Remember to change the items=? and class Item20  to match your own markers.

(keep in mind the first marker item is 0, so if you have 24 markers, it should read items=25 and this marker should be class Item24)

 

 

 

Tutorial WITH Trader:

 

Do the above, but substitue all CDC_Balota.sqf in the code with

Trader_CDC_Balota.sqf

 

 and use the Trader_CDC_Balota.zip download obviously.

 

Open your server_traders.sqf and add this code to the bottom

// CDC
menu_RU_Doctor = [
	[["Specimens",900],["Medical Supplies",901]],
	[],
	"neutral" 
];

at the top of your server_traders.sqf add "RU_Doctor" to the list of servertraders

 

Now make the new TID's in your Database and add the items to them

(assuming you have changed or added items to traders before)

 

Now your done. 

 

 

Reply with any questions

 

Additions to this build are welcome, everyone has full permission to use this how ever they want.

Link to comment
Share on other sites

so this addon has 4 buidlings and a lot of dead bodys ? 

 

thats what i need xD

 Damn your right, i should have put much more objects an built a large city for the singular trader,

On second thought how dare i post a small build, everyone knows the artistic universal motto is "more is better".

 

Im ashamed, you have shown me the light!

 

Link to comment
Share on other sites

  • 2 weeks later...

dayz server.pbo and not mission.pbo xD

I'm really confused? I don't have a server_functions.sqf located anywhere..

 

The closest I've come too is the file in \MPMissions                 dayz_01.chernarus.pbo

I downloaded and extracted that .pbo file and it gives me the i

init.sqf

mission.sqm

description.ext

 

Can someone please explain where I find this folder in English please?

Link to comment
Share on other sites

I'm a little confused on how to get this working?
I've got the marker added and working but the building itself is not there.
 
I have created a custom folder in the .pbo file with the name set to "custom" and the .sqf file in it like so
8af7884af5a90325a74b4e973dbfed9a.png

a299d143561bb47e34f49ba77e1d5e0f.png

In the server_traders file I have

// CDC
menu_RU_Doctor = [
	[["Specimens",900],["Medical Supplies",901]],
	[],
	"neutral" 
];

With the "RU_Doctor" added to the top.

My server_functions.sqf file is located at
Root:@DayZ_Epoch_Server\addons\dayz_server\init\server_functions.sqf

I have

[] ExecVM "\z\addons\dayz_server\custom\Trader_CDC_Balota.sqf";

on the bottom line like so (This is the last 22 lines in server_functions.sqf):

server_setLocalObjVars = {
	private ["_obj","_holder","_weapons","_magazines","_backpacks","_player","_objectID","_objectUID"];

	_obj = _this select 0;
	_holder = _this select 1;
	_player = _this select 2;

	_objectID 	= _obj getVariable["ObjectID","0"];
	_objectUID	= _obj getVariable["ObjectUID","0"];

	_weapons = 		getWeaponCargo _obj;
	_magazines = 	getMagazineCargo _obj;
	_backpacks = 	getBackpackCargo _obj;
	
	deleteVehicle _obj;

	_holder setVariable ["WeaponCargo", _weapons];
	_holder setVariable ["MagazineCargo", _magazines];
	_holder setVariable ["BackpackCargo", _backpacks];
	
	diag_log format["SAFE LOCKED: ID:%1 UID:%2 BY %3(%4)", _objectID, _objectUID, (name _player), (getPlayerUID _player)];
};
[] ExecVM "\z\addons\dayz_server\custom\Trader_CDC_Balota.sqf";



I have also tried it above }; and still didn't work.
I'm a little confounded with the reason for it not working. Everything seems to be in order or so looks it. Am I missing something small?

Cheers if you can help out.


EDIT:

SOLVED

 

Found a fix and it completely works! Amazing addition to my server! Thanks a lot!

Link to comment
Share on other sites

  • 2 weeks later...

added everything the way you said. Problem is i cant enter database it is down and never worked i add in all my traders items through the CFG file which is easier anyways. How would i do this? (the trader in teh cdc ten is not holdinga  weapon even though it looks like it and no items pop up in trader menu nor mission or anything, just the layout the buildings and trader)

Link to comment
Share on other sites

added everything the way you said. Problem is i cant enter database it is down and never worked i add in all my traders items through the CFG file which is easier anyways. How would i do this? (the trader in teh cdc ten is not holdinga  weapon even though it looks like it and no items pop up in trader menu nor mission or anything, just the layout the buildings and trader)

I wrote this PreCfg days, ill add a new tutorial soon

Link to comment
Share on other sites

I wrote this PreCfg days, ill add a new tutorial soon

Oh one more thing boss, the island Cave, vehicles inside blow up or you cant enter them, when you bring one from outside cave and exit out of vehicle you spawn on top of the cave. Helis blow up on landing and etc.

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month 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
  • Discord

×
×
  • Create New...