hi guys,
so i have a map that i am converting from COH1 (one of my own)
i want to put blizzard conditions on the map. including the ability to make fires and make everyone run for shelter.
i read the tutorial, watched the video....did everything listed and it still doesnt work.
is there something else required to get blizzards in the map? do i need to set some snow toggle or something?....it looks like the script runs but its missing something.
i ran another scar script to increase popcap on another map of mine and that worked fine.
also...there is a bit of a conflict with regards to this...for starters.
some people say use mapname.scar other tutorials say mapname_ID.scar....which of these works or which of these is more forceful...i think i need forceful!
also..again...in the video the script looks like this...but in pasted scripts things are missing....also is this even right? should it have another END at the end....
long story...but i have been looking at this for two days now....only other thing i can think of is that the atmosphere settings are screwed up, but it doesnt even allow me to build fires etc.
-------------------------------------------------------------------------
-------------------------------------------------------------------------
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)
end
scar_addInit (onInit)
Scar Script issues - blizzards.
5 Jul 2015, 00:58 AM
#1
Posts: 32
5 Jul 2015, 10:08 AM
#2
Posts: 318
the tutorials mentioning the "mapname"_ID.scar are out dated, note that it by default takes ~10 minutes before the first blizzard hits.
the code looks mostly ok whit the exception of OnInit and onInit
the code looks mostly ok whit the exception of OnInit and onInit
5 Jul 2015, 13:14 PM
#3
Posts: 32
ok thanks...is there a way to see what the code is doing? so you can see where it failing? like a log file or something
19 Jul 2015, 05:16 AM
#4
Posts: 32
i got it to work using this code. and using the mapname_.scar
so the other code must be wrong
function OnInitID()
-- [[ Markers ]]
-- [[ Squad Groups ]]
-- [[ Entity Groups ]]
end
import("ScarUtil.scar")
import("Systems/BlizzardMulitplayer.scar")
function OnInit()
MP_BlizzardInit(
"data:art/scenarios/presets/atmosphere/_mp_4p_kiev_blizzard.aps", -- Blizzard atmosphere
"data:art/scenarios/presets/atmosphere/_mp_4p_kiev.aps", --Default atmosphere
nil, -- Start in Blizzard
nil, -- Blizzard Data
true, -- Use Speech
"data:art/scenarios/presets/atmosphere/_mp_2p_kholodnaya_ferma_transition_out.aps" --Blizzard out transition atmosphere
)
end
Scar_AddInit(OnInit)
so the other code must be wrong
function OnInitID()
-- [[ Markers ]]
-- [[ Squad Groups ]]
-- [[ Entity Groups ]]
end
import("ScarUtil.scar")
import("Systems/BlizzardMulitplayer.scar")
function OnInit()
MP_BlizzardInit(
"data:art/scenarios/presets/atmosphere/_mp_4p_kiev_blizzard.aps", -- Blizzard atmosphere
"data:art/scenarios/presets/atmosphere/_mp_4p_kiev.aps", --Default atmosphere
nil, -- Start in Blizzard
nil, -- Blizzard Data
true, -- Use Speech
"data:art/scenarios/presets/atmosphere/_mp_2p_kholodnaya_ferma_transition_out.aps" --Blizzard out transition atmosphere
)
end
Scar_AddInit(OnInit)
19 Jul 2015, 05:18 AM
#5
Posts: 32
altho i just relised that my blizzard appearance must be incorrect! but apart from the wrong transition it all works.
PAGES (1)
1 user is browsing this thread:
1 guest
Livestreams
205 | |||||
42 | |||||
14 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.831222.789+37
- 2.611220.735+5
- 3.35057.860+15
- 4.1110614.644+11
- 5.276108.719+27
- 6.306114.729+2
- 7.918405.694+2
- 8.262137.657+3
- 9.722440.621+4
- 10.1041674.607-2
Replay highlight
VS
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Einhoven Country
Honor it
9
Download
1236
Board Info
810 users are online:
810 guests
0 post in the last 24h
7 posts in the last week
34 posts in the last month
7 posts in the last week
34 posts in the last month
Registered members: 49122
Welcome our newest member, Harda621
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, Harda621
Most online: 2043 users on 29 Oct 2023, 01:04 AM