allavett
New Member
Really good job Toina, thank you!
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Copy in your mission file these 3 files: (From dayzcode.pbo)
Code:- CfgBuildingLoot.hpp - CfgBuildingPos.hpp - CfgLoot.hpp
In your mission file folder (root).
lootChance =
dayz_lootSpawnBias = 67; // between 50 and 100. The lower it is, the lower chance some of the lootpiles will spawn
dayz_animalDistance = 800;
dayz_zSpawnDistance = 1000;
dayz_maxLocalZombies = 40; // max quantity of Z controlled by local gameclient, used by player_spawnCheck. Below this limit we can spawn Z
dayz_maxMaxModels = 80; // max quantity of Man models (player or Z, dead or alive) around players. Below this limit we can spawn Z
dayz_maxMaxWeaponHolders = 80; // max quantity of loot piles around players. Below this limit we can spawn some loot
dayz_spawnArea = 200; // radius around player where we can spawn loot & Z
dayz_safeDistPlr = 50; // Any loot & Z won't be spawned closer than this distance from any player
dayz_cantseeDist = 150; // distance from which we can spawn a Z in front of any player without ray-tracing and angle checks
dayz_cantseefov = 70; // half player field-of-view. Visible Z won't be spawned in front of any near players
dayz_canDelete = 300; // Z, further than this distance from its "owner", will be deleted
dayz_lootSpawnBias = 67; // between 50 and 100. The lower it is, the lower chance some of the lootpiles will spawn
dayz_localswarmSpawned = 10; // how many zeds will spawn around you during a combat scenario.
dayz_spawnDelay = 300;
dayz_spawnWait = -300;
dayz_spawnDelay = 120;
dayz_spawnWait = -120;
dayz_maxMaxWeaponHolders = 80; // max quantity of loot piles around players. Below this limit we can spawn some loot
#include "carradio\description.h"
#include "cfgBuildingLoot.hpp"
respawn = "BASE";
respawndelay = 5;
onLoadMission= "DayZ Chernarus";
OnLoadIntro = "Welcome to Chernarus";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
disabledAI = true;
disableChannels[]={0,2,6};
enableItemsDropping = 0;
onPauseScript = "";
briefing = 0;
[FONT=Consolas][FONT=Georgia]debriefing = 0;
ErrorMessage: File mpmissions\__cur_mp.chernarus\cfgBuildingLoot.hpp, line 407: Config: '0' encountered instead of ','
Heys guys I'm trying to get the new loot tables to work on my 1.7.7 server and i get this error in the .rpt log:
Any Idea what could be causing this? I ahve all the configfile converted to missionconfigfileCode:ErrorMessage: File mpmissions\__cur_mp.chernarus\cfgBuildingLoot.hpp, line 407: Config: '0' encountered instead of ','
_position = [_position,(>
2:44:19 Error Zero divisor
2:44:19 File z\addons\dayz_server\compile\server_spawnCrashSite.sqf, line 85
2:44:19 "CRASHSPAWNER: Loot spawn at 'Crashed UH-1Y - [4269.94,7958.59,0]' with loot table ''"
2:44:19 Error in expression <s select _index;
_itemType = _itemTypes select _index;
_position = [_basePos,_l>
2:44:21 Error Zero divisor
2:44:21 File z\addons\dayz_server\compile\fn_bases.sqf, line 35
2:44:21 Error in expression <"];
};
_item = createV>
2:44:21 Error Undefined variable in expression: _iclass
2:44:21 File z\addons\dayz_code\compile\spawn_loot.sqf, line 14
2:44:21 "Infected Camps: Loot spawn at 'Camp2_Small:[6974.56,11193.8,0]' with loot table ''"
2:44:21 Error in expression <COLLIDE"];
_clutter setPos _position;
and for increase the loot % I just need add the
#include "cfgBuildingLoot.hpp"
[/FONT][/FONT]Code:#include "carradio\description.h" #include "cfgBuildingLoot.hpp" respawn = "BASE"; respawndelay = 5; onLoadMission= "DayZ Chernarus"; OnLoadIntro = "Welcome to Chernarus"; OnLoadIntroTime = False; OnLoadMissionTime = False; disabledAI = true; disableChannels[]={0,2,6}; enableItemsDropping = 0; onPauseScript = ""; briefing = 0; [FONT=Consolas][FONT=Georgia]debriefing = 0;
and these files with the lootChance = 1 (for example)
- CfgBuildingLoot.hpp
- CfgBuildingPos.hpp
- CfgLoot.hpp
right?
Sorry, I've been extremely busy the last couple of days. When I'm free I will update the tutorial to 1.7.7 layout.