Making a new dayz mod looking for guidance

Trader Joe

New Member
Hello everyone,

My name is Joe and I was wondering if there are any threads or people in this community that would help out someone like me. What I'm trying to do is add in new skins,weapons and vehicles to the day z 1.8.0.3 code.

Thanks for reading and hopefully leading me in the right direction,
Joe
 
Well, i got basicly no clue but you do need to model the guns and vehicles yourself i think you do that (Sorry but i got no clue correct me if im wrong) oxygen 2 (google it should be about bistudio tools something) and model the guns might be the same, if not then maybe blender, and adding it and scripting, No clue whatsoever.
 
I got the weapons and a couple vehicles into the mod already. The only problem I am having now is the skins. They will show up in game but the player will have the broken leg icon and the blood,temperature,drink and food icons will have nothing in it. Also no zombies will spawn and in the debug menu I installed blood says [any]. I will post a picture to show you what I'm talking about soon
 
Any means that the variable has not been defined, did you spell it correctly? To put the skins, just go to dayz_anim.pbo, find the banned folder and I think all the skins are in the vehicles file. just // comment out each line of the skins you want.
 
The thing is I'm using custom skins like this one http://www.armaholic.com/page.phpid=9849&highlight=SARA+CIVILIANS

I'm making my own client files so I changed the skins.htp so that they are called to it. Also I added them to variables.sqf. Their are a couple error like it refuses to be called in the mission sqf even though I add it in. Also when I get home I will add my server.rpt so you could check it out. Thanks for replying and trying to help, Joe
 
I used those skins in a mod I did. I really don't know what you are getting at. Put the sara-civ.pbo file in your @mod folder. Use the skins. Sometimes you have to add the pbo config name to your mission.sqm addons[] array but even if you dont , they still work.
OK. I Read this again. So you did add the name to your addons array , correct?
And the variables, you added the skins to the allowed skins array (overwatch?).
Using custom skins you have to edit the server pbo file player-setup.sqf. ... It has a line that says if model is not in this list then model=survivor2 ..( paraphrasing ). Comment out the line so you keep your custom skin.

Glad to help if I can. Send me a PM if you like and we can get this working.
 
Ok let me give this a shot.

Also this is the error
dayz_serverObjectMonitor = _safety;>
21:55:38 Error position: <_safety;>
21:55:38 Error Undefined variable in expression: _safety
21:55:38 Error in expression <(( (count needUpdate_objects) > 0) && (diag_tickTi>
21:55:38 Error position: <needUpdate_objects) > 0) && (diag_tickTi>
21:55:38 Error Undefined variable in expression: needupdate_objects
21:55:38 Error in expression <h allUnits;
 
both those errors are in your server_cleanup.fsm I believe. Undefined variables ....
But needupdate_objects is defined in your variables.sqf file .. so you have an error there.
_safety is a local variable but it is set to "_safety = dayz_serverObjectMonitor " in your server_cleanup.fsm. dayz_serverObjectMonitor is also defined in the variables.sqf file.

So you have an error of some type in your variables.sqf file. I would say your have a mismatched set of [] or {} in variables.sqf
Of course I am just taking an educated guess here. The code errors could be in the server_cleanup.fsm, but since the only errors refer to variables defined in variables.sqf, that is where I would look first.
 
Also I found the part you were talking about it's in playerlogin.sqf


if (!(_model in AllPlayers)) then {
_model = "Survivor2_DZ";
};

} else {
_model = _primary select 3;
_hiveVer = _primary select 4;
if (isNil "_model") then {
_model = "Survivor2_DZ";
} else {
if (_model == "") then {
_model = "Survivor2_DZ";
};
};

so would I do this

if (!(_model in AllPlayers)) then {
// _model = "Survivor2_DZ";
};

} else {
_model = _primary select 3;
_hiveVer = _primary select 4;
if (isNil "_model") then {
// _model = "Survivor2_DZ";
} else {
if (_model == "") then {
// _model = "Survivor2_DZ";
};
};
 
The only part you have to comment out is the

if (!(_model in AllPlayers)) then {
// _model = "Survivor2_DZ";
};

The other parts set your skin to survivor2_dz if you have no skin (nil) or its an empty string ("") . That means that you are a new spawn and have not been assigned a skin yet. So if you comment out those then all new spawns will have the survivor1_dz skin which is invisible.
 
Well, i got basicly no clue but you do need to model the guns and vehicles yourself i think you do that (Sorry but i got no clue correct me if im wrong) oxygen 2 (google it should be about bistudio tools something) and model the guns might be the same, if not then maybe blender, and adding it and scripting, No clue whatsoever.

what was that you said?

i got basicly no clue ... (Sorry but i got no clue correct me if im wrong)... No clue whatsoever.

What you are suggesting is making new items for the game. Generally that has already been done and they are packaged into a pbo so we can just drop them right into our game ... unless you want something that is unique and is not already available.
 
So the good news is I'm not getting an error but the skins are now invisible so do I have to add it to the arrays so it looks like
addOns[]=
{
"chernarus",
"ca_modules_animals",
"dayz_anim",
"dayz_code",
"dayz_communityassets",
"dayz_weapons",
"dayz_equip",
"cacharacters_pmc",
"ca_modules_functions",
"sara_civilians",


When I do this it says
0:27:31 Warning Message: You cannot play/edit this mission; it is dependent on downloadable content that has been deleted.sara_civilians
0:27:31 Missing addons detected:
0:27:31 sara_civilians

Even though that is the name of the addon any ideas?
 
it doesn't want the name of the pbo, it wants the name of the config file in the pbo ... I think.
I am going to step out on a limb here and say the skins are invisible because you don't have the sara_civilians.pbo on your Arma2 Operation Arrowhead @dayz folder ... or whatever the mod name is that you are using.
 
Back
Top