Hello
I would like to increase the limit for the population on my map. can someone help me?
Increase the population limit
31 Aug 2017, 20:41 PM
#1
Posts: 1
1 Sep 2017, 05:34 AM
#2
Posts: 42
Hi Sebberdie,
to increase your Population Limit use Scar-Script like this:
import("ScarUtil.scar")
function OnInit()
player={} -- number of players
for i = 1 , World_GetPlayerCount() do
player = World_GetPlayerAt(i)
Modify_PlayerResourceRate(player, RT_Fuel, 1.5, MUT_Multiplication)
Modify_PlayerResourceRate(player, RT_Munition, 2, MUT_Multiplication)
Modify_PlayerResourceRate(player, RT_Manpower, 1.5, MUT_Multiplication)
Modify_PlayerSightRadius( player, 1.5 )
Player_SetPopCapOverride(player, 400)
end
end -- OnInit
Scar_AddInit(OnInit)
Name the script-File like your Map Name i.e. My_map.scar
This Script modifys:
-ResourceRate Fuel, Munition and Manpower
-Sight Radius
-Population
Hope this help you
Greetings
-ernst-
to increase your Population Limit use Scar-Script like this:
import("ScarUtil.scar")
function OnInit()
player={} -- number of players
for i = 1 , World_GetPlayerCount() do
player = World_GetPlayerAt(i)
Modify_PlayerResourceRate(player, RT_Fuel, 1.5, MUT_Multiplication)
Modify_PlayerResourceRate(player, RT_Munition, 2, MUT_Multiplication)
Modify_PlayerResourceRate(player, RT_Manpower, 1.5, MUT_Multiplication)
Modify_PlayerSightRadius( player, 1.5 )
Player_SetPopCapOverride(player, 400)
end
end -- OnInit
Scar_AddInit(OnInit)
Name the script-File like your Map Name i.e. My_map.scar
This Script modifys:
-ResourceRate Fuel, Munition and Manpower
-Sight Radius
-Population
Hope this help you
Greetings
-ernst-
PAGES (1)
1 user is browsing this thread:
1 guest
Livestreams
8 | |||||
2 | |||||
734 | |||||
2 | |||||
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.968562.633+23
- 2.555227.710+11
- 3.29446.865-1
- 4.277110.716+15
- 5.269144.651+1
- 6.253150.628+14
- 7.22491.711+11
- 8.250135.649+1
- 9.8119.810+1
- 10.13556.707+3
Replay highlight
VS
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Einhoven Country
Honor it
7
Download
764
Board Info
412 users are online:
1 member and 411 guests
shinasukac
shinasukac
2 posts in the last 24h
29 posts in the last week
143 posts in the last month
29 posts in the last week
143 posts in the last month
Registered members: 45160
Welcome our newest member, amartotosultan
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, amartotosultan
Most online: 2043 users on 29 Oct 2023, 01:04 AM