Chernarus Islands (1.07 The mod is currently buggy.)
Изображение 1 из 29. Материалы автора из Steam Workshop.
О материале
«Chernarus Islands (1.07 The mod is currently buggy.)» — материал мастерской DayZ. Оружие, транспорт, территории и моды для серверов. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.
Описание автора
This mod adds new islands to Chernarus.
[b]This is a constant development. Please stop by on the mod every day or come on my Discord.
If you use a workshop update tool, this will not update the mod for your server. You need to write in each update by hand.[/b]
This is a server mod. You need builderitems on your server.
How do I activate the mod?
Instructions for players:
Subscribe to both @Chernarus Islands AND @Builder Items
Load @Builder Items when starting DayZ - that is all you need to do!
Instructions for server owners- How to add all the caves to your server.
can recommend to have Notepad++
1. Subscribe to the Steam Workshop Chernarus Islands
2. Subscribe and add @BuilderItems to your server then add @BuilderItems to your server start.bat
--------------------------------------------------------------------------------------------------------------------------------
3. Open @Chernarus Islands usually found at: C:\Program Files (x86)\Steam\SteamApps\common\DayZ\!Workshop\@Chernarus Islands
4. Copy container.c,island01.c,island02.c,islandmili.c and prisonship.c into your mission folder ( the folder where Init.c is located )
--------------------------------------------------------------------------------------------------------------------------------
5. Now add :
void SpawnObject(string objectName, vector position, vector orientation)
{
Object obj;
obj = Object.Cast(GetGame().CreateObject(objectName, "0 0 0"));
obj.SetPosition(position);
obj.SetOrientation(orientation);
// Force update collisions
if (obj.CanAffectPathgraph())
{
obj.SetAffectPathgraph(true, false);
GetGame().GetCallQueue(CALL_CATEGORY_SYSTEM).CallLater(GetGame().UpdatePathgraphRegionByObject, 100, false, obj);
}
}
#include "$CurrentDir:\\mpmissions\\dayzOffline.chernarusplus\\prisonship.c"
#include "$CurrentDir:\\mpmissions\\dayzOffline.chernarusplus\\island01.c"
#include "$CurrentDir:\\mpmissions\\dayzOffline.chernarusplus\\island02.c"
#include "$CurrentDir:\\mpmissions\\dayzOffline.chernarusplus\\container.c"
#include "$CurrentDir:\\mpmissions\\dayzOffline.chernarusplus\\islandmili.c"
to your Init.c file at the very top before the line :
void main()
{
--------------------------------------------------------------------------------------------------------------------------------
6. inside Init.c Include this line at the end of void main before the last }
prisonship();
island01();
island02();
container();
islandmili();
--------------------------------------------------------------------------------------------------------------------------------
7. your Init.c should look something like this...
-------- !! Below only for reference !! ----------
void SpawnObject(string objectName, vector position, vector orientation)
{
Object obj;
obj = Object.Cast(GetGame().CreateObject(objectName, "0 0 0"));
obj.SetPosition(position);
obj.SetOrientation(orientation);
// Force update collisions
if (obj.CanAffectPathgraph())
{
obj.SetAffectPathgraph(true, false);
GetGame().GetCallQueue(CALL_CATEGORY_SYSTEM).CallLater(GetGame().UpdatePathgraphRegionByObject, 100, false, obj);
}
}
#include "$CurrentDir:\\mpmissions\\dayzOffline.chernarusplus\\container.c"
#include "$CurrentDir:\\mpmissions\\dayzOffline.chernarusplus\\island01.c"
#include "$CurrentDir:\\mpmissions\\dayzOffline.chernarusplus\\island02.c"
#include "$CurrentDir:\\mpmissions\\dayzOffline.chernarusplus\\prisonship.c"
#include "$CurrentDir:\\mpmissions\\dayzOffline.chernarusplus\\islandmili.c"
void main()
{
//INIT WEATHER BEFORE ECONOMY INIT------------------------
Weather weather = g_Game.GetWeather();
weather.MissionWeather(false); // false = use weather controller from Weather.c
weather.GetOvercast().Set( Math.RandomFloatInclusive(0.4, 0.6), 1, 0);
weather.GetRain().Set( 0, 0, 1);
weather.GetFog().Set( Math.RandomFloatInclusive(0.05, 0.1), 1, 0);
//INIT ECONOMY--------------------------------------
Hive ce = CreateHive();
if ( ce )
ce.InitOffline();
//DATE RESET AFTER ECONOMY INIT-------------------------
int year, month, day, hour, minute;
int reset_month = 9, reset_day = 20;
GetGame().GetWorld().GetDate(year, month, day, hour, minute);
if ((month == reset_month) && (day < reset_day))
{
GetGame().GetWorld().SetDate(year, reset_month, reset_day, hour, minute);
}
else
{
if ((month == reset_month + 1) && (day > reset_day))
{
GetGame().GetWorld().SetDate(year, reset_month, reset_day, hour, minute);
}
else
{
if ((month < reset_month) || (month > reset_month + 1))
{
GetGame().GetWorld().SetDate(year, reset_month, reset_day, hour, minute);
}
}
}
prisonship();
island01();
island02();
container();
islandmili();
}
----------------------------------------------------------------------------------------------------------
8. Copy "//GetCEApi().ExportProxyData("7500 0 7500", 10000); //Centre of map, radius of how far to go out and find buildings."
Into your Init.c under your
prisonship();
island01();
island02();
container();
islandmili();
-------- !! Below only for reference !! ----------
prisonship();
island01();
island02();
container();
islandmili();
//GetCEApi().ExportProxyData("7500 0 7500", 10000); //Centre of map, radius of how far to go out and find buildings.
----------------------------------------------------------------------------------------------------------
9. Remove the // from the "GetCEApi().ExportProxyData" command.
(This command thus ensures loot spawnt on the new islands)
----------------------------------------------------------------------------------------------------------
10. Restart the server once and drive it down again!
----------------------------------------------------------------------------------------------------------
11. Go to "mpmissions/dayzOffline.chernarusplus/storage_1/export" and copy the "mapgrouppos.xml "
Please insert them into your server in the "mpmission"
----------------------------------------------------------------------------------------------------------
12. Write in your Init.c the // before the "GetTesting (). ExportProxyData" command again.
----------------------------------------------------------------------------------------------------------
13. Restart the server!
Future plans?
I would like to add 12 more islands.
Suggestions or bugs?
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.