Hey guys,
I am just finishing my new map.
I have to say, this Forum has helped me a lot with all questions that have come up.
Also the tutorials were very very helpful (thx uncle sam).
So anyway, I changed my .scar file accordingly to have blizzards in the map (or PopCap).
But so far I have not been able to do both, surely because I paste the lines wrongly into the file.
Can someone help me fuigre out how to do it correctly?
			Blizzar & Population cap
									29 Jan 2014, 16:28 PM
				
	#1					
								
					
				
		![avatar of BuzzMeeks[PoA]](/uploads/avatar/9541.jpg?updated=1425420791)
Posts: 29
									29 Jan 2014, 16:47 PM
				
	#2					
								
					
				
		
Posts: 420
If you think that your code is wrong, you should maybe post it here.
			
		
									29 Jan 2014, 18:19 PM
				
	#3					
								
					
				
		
Posts: 357
Code
import("ScarUtil.scar")
import("Systems/BlizzardMulitplayer.scar")
function OnInit()
MP_BlizzardInit(
"data:art/scenarios/presets/atmosphere/_mp_2p_kholodnaya_ferma_blizzard.aps", -- Blizzard atmosphere
"data:art/scenarios/presets/atmosphere/_mp_2p_Kholodnaya_Ferma.aps", --Default atmosphere
true, -- 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
)
--Population cap override value
g_popCapOverRide = 200
for i = 1, World_GetPlayerCount() do
local player = World_GetPlayerAt(i)
Player_SetPopCapOverride(player, g_popCapOverRide)
end
end
Scar_AddInit(OnInit)
Use this, but with your settings. Most likely, you made a mistake with the syntax. One coma missing, one extra space, a missing "end" for a function, all will screw it up. Pay very close attention to syntax.
									31 Jan 2014, 07:10 AM
				
	#4					
								
					
				
		![avatar of BuzzMeeks[PoA]](/uploads/avatar/9541.jpg?updated=1425420791)
Posts: 29
Looking it over, yes, I had an additional space somewhere in there.
Thanks
			
		Thanks

PAGES (1)
		
	1 user is browsing this thread: 
	1 guest	
	
		
	
Livestreams
|   |   |   | 17 | ||
|   |   |   | 42 | ||
|   |   |   | 7 | ||
|   |   |   | 5 | ||
|   |   |   | 2 | ||
|   |   |   | 1 | ||
|   |   |   | 1 | ||
|   |   |   | 0 | 
Ladders Top 10
- 
							#Steam AliasWL%Streak
- 1.46467.874+6
- 2.794136.854-1
- 3.14465.689-1
- 4.21154.796+4
- 5.400212.654+2
- 6.353186.655+2
- 7.501325.607+4
- 8.298128.700-1
- 9.327117.736+4
- 10.857232.787+4
Replay highlight
VS
					- 
									 cblanco ★ cblanco ★
- 
									 보드카 중대 보드카 중대
- 
									 VonManteuffel VonManteuffel
- 
									 Heartless Jäger Heartless Jäger
 
											
						Einhoven Country
						
							
								
									 
								
								 
								
								
				 
								
								Honor it
								15
							
						
						
												
							
								
									 
								
								Download
								2705
							
						
												
					Board Info
						705 users are online:
									705 guests
					
		
			2 posts in the last 24h
2 posts in the last week
24 posts in the last month
		
		2 posts in the last week
24 posts in the last month
			
			
				Registered members: 61871
Welcome our newest member, Hoekmane
Most online: 4501 users on 26 Oct 2025, 01:00 AM
	Welcome our newest member, Hoekmane
Most online: 4501 users on 26 Oct 2025, 01:00 AM
 
	 
			 
			 
 
 
  
										 
									
 
  
  
						 
						 
						 
						 
						 
						 Relic Entertainment
						 Relic Entertainment