Login

russian armor

Increase the population limit

31 Aug 2017, 20:41 PM
#1
avatar of Sebberdie

Posts: 1

Hello
I would like to increase the limit for the population on my map. can someone help me?
1 Sep 2017, 05:34 AM
#2
avatar of ernesto-m

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-
1 user is browsing this thread: 1 guest

Livestreams

unknown 32
unknown 26
unknown 20
Germany 1001
Poland 4
Russian Federation 1

Ladders Top 10

  • #
    Steam Alias
    W
    L
    %
    Streak
Data provided by Relic Relic Entertainment

Replay highlight

VS
  • U.S. Forces flag cblanco ★
  • The British Forces flag 보드카 중대
  • Oberkommando West flag VonManteuffel
  • Ostheer flag Heartless Jäger
uploaded by XXxxHeartlessxxXX

Board Info

824 users are online: 824 guests
0 post in the last 24h
8 posts in the last week
34 posts in the last month
Registered members: 49112
Welcome our newest member, Buchh647
Most online: 2043 users on 29 Oct 2023, 01:04 AM