Initial
This commit is contained in:
6
files/mods/2981609048/cfggameplay.json
Normal file
6
files/mods/2981609048/cfggameplay.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"WorldsData":{
|
||||
"environmentMinTemps": [-7.0, -5.0, -3.0, -2.0, 0.0, 2.0, 5.0, 10.0, 7.0, 5.0, 1.0, -2.0],
|
||||
"environmentMaxTemps": [-3.0, -1.0, 2.0, 5.0, 7.0, 10.0, 12.0, 16.0, 13.0, 10.0, 7.0, 2.0]
|
||||
}
|
||||
}
|
||||
27
files/mods/2981609048/cfgweather.xml
Normal file
27
files/mods/2981609048/cfgweather.xml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||
<weather reset="0" enable="0">
|
||||
<overcast>
|
||||
<current actual="0.10" time="900" duration="1200" />
|
||||
<limits min="0.6" max="1.0" />
|
||||
<timelimits min="900" max="1800" />
|
||||
<changelimits min="0.1" max="0.3" />
|
||||
</overcast>
|
||||
<fog>
|
||||
<current actual="0.0" time="0" duration="0" />
|
||||
<limits min="0.0" max="0.0" />
|
||||
<timelimits min="0" max="0" />
|
||||
<changelimits min="0.0" max="0.0" />
|
||||
</fog>
|
||||
<rain>
|
||||
<current actual="0.2" time="120" duration="240" />
|
||||
<limits min="0.1" max="1.0" />
|
||||
<timelimits min="120" max="240" />
|
||||
<changelimits min="0.0" max="0.1" />
|
||||
<thresholds min="0.6" max="1.0" end="10" />
|
||||
</rain>
|
||||
<wind>
|
||||
<maxspeed>13</maxspeed>
|
||||
<params min="0.0" max="0.6" frequency="30" />
|
||||
</wind>
|
||||
<storm density="0.0" threshold="1.0" timeout="0"/>
|
||||
</weather>
|
||||
54
files/mods/2981609048/init.c.chernarus
Normal file
54
files/mods/2981609048/init.c.chernarus
Normal file
@@ -0,0 +1,54 @@
|
||||
--- init.c 2023-12-22 09:06:49.416111938 +0000
|
||||
+++ init.c.new 2023-12-22 09:08:58.365653156 +0000
|
||||
@@ -1,34 +1,19 @@
|
||||
void main()
|
||||
{
|
||||
- //INIT ECONOMY--------------------------------------
|
||||
- Hive ce = CreateHive();
|
||||
- if ( ce )
|
||||
- ce.InitOffline();
|
||||
-
|
||||
- //DATE RESET AFTER ECONOMY INIT-------------------------
|
||||
+ CreateHive();
|
||||
+ GetHive().InitOffline();
|
||||
int year, month, day, hour, minute;
|
||||
- int reset_month = 9, reset_day = 20;
|
||||
- GetGame().GetWorld().GetDate(year, month, day, hour, minute);
|
||||
+ GetGame().GetWorld().GetDate( year, month, day, hour, minute );
|
||||
|
||||
- if ((month == reset_month) && (day < reset_day))
|
||||
+ //Change here the dates for whatever months you desire
|
||||
+ if ( month < 12 )
|
||||
{
|
||||
- GetGame().GetWorld().SetDate(year, reset_month, reset_day, hour, minute);
|
||||
+ year = 2011;
|
||||
+ month = 12;
|
||||
+ day = 25;
|
||||
+ GetGame().GetWorld().SetDate( year, month, 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);
|
||||
- }
|
||||
- }
|
||||
- }
|
||||
-}
|
||||
+}
|
||||
|
||||
class CustomMission: MissionServer
|
||||
{
|
||||
@@ -95,4 +80,4 @@
|
||||
Mission CreateCustomMission(string path)
|
||||
{
|
||||
return new CustomMission();
|
||||
-}
|
||||
\ No newline at end of file
|
||||
+}
|
||||
14
files/mods/2981609048/types.xml
Normal file
14
files/mods/2981609048/types.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||
<types>
|
||||
<type name="WinterStash">
|
||||
<nominal>0</nominal>
|
||||
<lifetime>1209600</lifetime>
|
||||
<restock>0</restock>
|
||||
<min>0</min>
|
||||
<quantmin>-1</quantmin>
|
||||
<quantmax>-1</quantmax>
|
||||
<cost>100</cost>
|
||||
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0"/>
|
||||
<category name="containers"/>
|
||||
</type>
|
||||
</types>
|
||||
4
files/mods/2981609048/xml.env
Normal file
4
files/mods/2981609048/xml.env
Normal file
@@ -0,0 +1,4 @@
|
||||
TYPES=local
|
||||
INIT=local
|
||||
CFGGAMEPLAY=local
|
||||
CFGWEATHER=local
|
||||
Reference in New Issue
Block a user