clemontine36
-
Posts
67 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Posts posted by clemontine36
-
-
18:10:07 Error position: <_x knowsAbout EastMHQ > 0} count [WestSl>18:10:07 Error Undefined variable in expression: _x18:10:07 File ca\missions\MPScenarios\MP_WarWelcome.utes\init.sqf, line 2218:10:07 Error in expression <e "Init.sqf8", ""]] call RE;Got this after using that fix?It crashed the server!
-
D
Add this to fnselfactions:
//deploy bike
if (("PartGeneric" in _mags) && ("PartWheel" in _mags) && ("ItemToolbox" in _itemsPlayer)) then {
hasBikeItem = true;
} else { hasBikeItem = false;};
if((speed player <= 1) && hasBikeItem && _canDo) then {
if (s_player_deploybike < 0) then {
s_player_deploybike = player addaction[("<t color="#FFFF00"">" + ("Construct Bike") +"</t>"),"custom\make_bike.sqf","",5,false,true,"", "];
};
} else {
player removeAction s_player_deploybike;
s_player_deploybike = -1;
};Deploy bike script:
if (dayz_combat == 1) then {
cutText [format["You are in combat and cannot build a bike."], "PLAIN DOWN"];
} else {
private ["_object"];
player removeAction s_player_deploybike;
player playActionNow "Medic";
r_interrupt = false;
player removeMagazine "PartGeneric";
player removeMagazine "PartWheel";
_dis=10;
_sfx = "repair";
[player,_sfx,0,false,_dis] call dayz_zombieSpeak;
[player,_dis,true,(getPosATL player)] spawn player_alertZombies;
sleep 6;
_object = createVehicle ["Old_bike_TK_INS_EP1", position player,[],0,"CAN_COLLIDE"];
_object setVariable ["ObjectID", "1", true];
_object setVariable ["ObjectUID", "1", true];
player reveal _object
cutText [format["You've bodged together a bike!"], "PLAIN DOWN"];
r_interrupt = false;
player switchMove "";
player playActionNow "stop";
sleep 10;
cutText [format["Warning: Spawned Bikes do not save after server restart!"], "PLAIN DOWN"];
};Do these bikes cleanup on restart?
thanks
-
Guys im trying to do it so that you pay 4 breifcases to buy one item that you cant get in game, e.g "ItemKiloHemp"
Then you buy a tank with 5 hemps, so thats 20 breifcases?
But when you go to buy one of these with hemp, the vehicle spawns, but the trader doesnt take payment?
Even thought the classname is right, i replaced breifcases with hemp, etc it shows up?
Any ideas?
-
Personally, I prefer to call them from init.sqf in the mission folder.
But can you call them from there even if they are in the Server PBO? What would the file location look like if you had them in a folder called buildings, in the server pbo?
thanks
-
Jesus, i know egzactly how to do it, ive done it and one time the buildings started double spawning, which is a COMMON problem and the only fix ive found is putting them in via the mission file
-
Buildings double spawn when in the server PBO and its a common problem! Id rarther keep them in their, but not if they are going to double spawn, is there no way to edit anything so that they dont double spawn?
-
I add custom buildings by editing the mission.sqf with the "if server stuff etc."
I used to have them through the server PBO, but alot of them double spawned,so ive tried putting them in via init.
I have the path right etc, but a single file with 1 MGB Killhouse wont work?
Or any of the files that include killhouses?
So i can either have it on the server PBO, and have it double spawn.
Or have it via mission file? and it doesn't spawn?
Any ideas?
-
Recently switched to overpoch with most things working, players install overwatch and add the launch parameter, and half of them keep getting kicked with the grey message:
Dayzconfig player kicked off
"playername" has disconnected
There are no script restrictions or error numbers?
Anyone know the problem?
-
Ok apparently not, now only one file of the 6 spawn in if i call them via init instead.
Readded them into server pbo and commented them out of init.
Still two of them spawning!
-
Well thanks alot axeman, your question reminded me i could call the buildings via mission file instead of server pbo, so i commented out them in the server file, and added them into the init. Now they only spawn once!
Thanks:D Been stuck on this for a couple of weeks now!
-
Just through the mission PBO as i didnt want a massive mission file(Its already 2500kb), the buildings have worked perfectly for months, and now two of them spawn on top of eachother every single time!
Mission PBO:
https://www.dropbox.com/s/pu1fzwo6dyd7atz/DayZ_Epoch_11.Chernarus.rar
-
-
I actually emailed inifiSTAR email about a month ago about organising the spawn menus so you can find things, they replied swiftly!, maybe if i email about this they could help out?
i dont know -
Im sorry but since infiSTAR has updated recently, and all the comments here confuse me a little,
is there anyway to get this working for players that arent admins in game?
Maybe without editting infiSTAR settings, as the admintools come with my server, and the host doesnt allow us to access them.
I have it working for admins, but would be awesome if players could use it?
thanks
-
Guys ive had this installed for a long time, and it works great, but i recently added in custom crates:
And after a while it makes these crates despawn.
I think that when the DZMS crates get cleaned up, so do the custom ones?
If DZMS is the culprit or not, does anyone know how to fix this?
thanks
-
I added the keys for the cba and the JSRS, getting kicked for restriction #12, But in the scripts.txt even when i change to number to a '1' on line 12, or remove the line entirely, i still get kicked for #12?
Anyone know what the problem is?
thanks
errors after update
in DZMS - DayZ Mission System
Posted