diff --git a/Mission Files/hardcore.namalsk/init.c b/Mission Files/hardcore.namalsk/init.c index e545ba3..5d4fb65 100644 --- a/Mission Files/hardcore.namalsk/init.c +++ b/Mission Files/hardcore.namalsk/init.c @@ -59,15 +59,15 @@ class CustomMission: MissionServer // comment this whole block if NOT using Namalsk Survival if ( m_EventManagerServer ) { - // enable/disable event system, min time between events, max time between events - m_EventManagerServer.OnInitServer( true, 600, 800 ); - // Register possible events along with their probability (0..1) - // any custom events MUST inherit from EventBase, otherwise they will fail to load! - m_EventManagerServer.RegisterEvent( Aurora, 1.0 ); - m_EventManagerServer.RegisterEvent( Blizzard, 0.5 ); - m_EventManagerServer.RegisterEvent( ExtremeCold, 0.4 ); - m_EventManagerServer.RegisterEvent( Snowfall, 0.5 ); - m_EventManagerServer.RegisterEvent( EVRStorm, 0.25 ); + // enable/disable event system, min time between events, max time between events, max number of events at the same time + m_EventManagerServer.OnInitServer( true, 550, 3500, 2 ); + // registering events and their probability + m_EventManagerServer.RegisterEvent( Aurora, 1.0 ); + m_EventManagerServer.RegisterEvent( Blizzard, 0.5 ); + m_EventManagerServer.RegisterEvent( ExtremeCold, 0.4 ); + m_EventManagerServer.RegisterEvent( Snowfall, 0.5 ); + m_EventManagerServer.RegisterEvent( EVRStorm, 0.25 ); + m_EventManagerServer.RegisterEvent( HeavyFog, 0.3 ); } } diff --git a/Mission Files/regular.namalsk/init.c b/Mission Files/regular.namalsk/init.c index 459cf20..32b1b2b 100644 --- a/Mission Files/regular.namalsk/init.c +++ b/Mission Files/regular.namalsk/init.c @@ -59,15 +59,15 @@ class CustomMission: MissionServer // comment this whole block if NOT using Namalsk Survival if ( m_EventManagerServer ) { - // enable/disable event system, min time between events, max time between events - m_EventManagerServer.OnInitServer( true, 600, 800 ); - // Register possible events along with their probability (0..1) - // any custom events MUST inherit from EventBase, otherwise they will fail to load! - m_EventManagerServer.RegisterEvent( Aurora, 1.0 ); - m_EventManagerServer.RegisterEvent( Blizzard, 0.5 ); - m_EventManagerServer.RegisterEvent( ExtremeCold, 0.4 ); - m_EventManagerServer.RegisterEvent( Snowfall, 0.5 ); - m_EventManagerServer.RegisterEvent( EVRStorm, 0.25 ); + // enable/disable event system, min time between events, max time between events, max number of events at the same time + m_EventManagerServer.OnInitServer( true, 550, 3500, 2 ); + // registering events and their probability + m_EventManagerServer.RegisterEvent( Aurora, 1.0 ); + m_EventManagerServer.RegisterEvent( Blizzard, 0.5 ); + m_EventManagerServer.RegisterEvent( ExtremeCold, 0.4 ); + m_EventManagerServer.RegisterEvent( Snowfall, 0.5 ); + m_EventManagerServer.RegisterEvent( EVRStorm, 0.25 ); + m_EventManagerServer.RegisterEvent( HeavyFog, 0.3 ); } }