What am I missing?! I just started to make maps a week ago and I was a real noob, (still am), so please be nice

makka
Posts: 5
Posts: 5
Posts: 318
-------------------------------------------------------------------------
-------------------------------------------------------------------------
import("ScarUtil.scar")
import("Systems/BlizzardMulitplayer.scar")
-------------------------------------------------------------------------
-- [[ ONINIT ]]
-------------------------------------------------------------------------
function OnInit()
MP_BlizzardInit("data:art/scenarios/presets/atmosphere/DLC/mp_don_river_01_blizzard.aps" ,"data:art/scenarios/presets/atmosphere/DLC/mp_don_river_01.aps", nil, nil, true, nil)
g_popCapOverRide = 300
for i = 1, World_GetPlayerCount() do
local player = World_GetPlayerAt(i)
Player_SetPopCapOverride(player, g_popCapOverRide)
end
end
Scar_AddInit(OnInit)
Posts: 5
Posts: 52
Use this code, and save it in in "mapname".scar (not "mapname_ID".scar), and if this file does not exist you have to manually create a new text-file and save it as "mapname".scar using the file-format "All Types(*.*)".
note: it can by default the first blizzard will hit between the 9-12 minute mark.
Code-------------------------------------------------------------------------
-------------------------------------------------------------------------
import("ScarUtil.scar")
import("Systems/BlizzardMulitplayer.scar")
-------------------------------------------------------------------------
-- [[ ONINIT ]]
-------------------------------------------------------------------------
function OnInit()
MP_BlizzardInit("data:art/scenarios/presets/atmosphere/DLC/mp_don_river_01_blizzard.aps" ,"data:art/scenarios/presets/atmosphere/DLC/mp_don_river_01.aps", nil, nil, true, nil)
g_popCapOverRide = 300
for i = 1, World_GetPlayerCount() do
local player = World_GetPlayerAt(i)
Player_SetPopCapOverride(player, g_popCapOverRide)
end
end
Scar_AddInit(OnInit)
![]() |
![]() |
![]() |
59 | ||
![]() |
![]() |
![]() |
48 | ||
![]() |
![]() |
![]() |
43 | ||
![]() |
![]() |
![]() |
34 | ||
![]() |
![]() |
![]() |
161 | ||
![]() |
![]() |
![]() |
7 | ||
![]() |
![]() |
![]() |
5 | ||
![]() |
![]() |
![]() |
3 | ||
![]() |
![]() |
![]() |
1 | ||
![]() |
![]() |
![]() |
1 |