Login

russian armor

Manpower/Munition/Fuel cap limit

29 Jun 2015, 19:03 PM
#1
avatar of GSamu

Posts: 32

Hi.

I need to put in my Win Condition Pack a max resources limit for manpower, minution and fuel.

I try to use this without any result:

ModID Modify_PlayerResourceCap( PlayerID playerId, Integer resourceType, Real scalefactor[, Integer mathtype] )

Modifies a player's resource cap. Possible resource types are RT_Manpower, RT_Munition, RT_Fuel. Possible math types are MUT_Multiplication, MUT_Addition.


Do you know the function to accomplish this task?


Regards.

29 Jun 2015, 19:19 PM
#2
avatar of eliw00d
Honorary Member Badge

Posts: 756 | Subs: 8

Keep in mind that most of the caps start out at -1 (meaning infinite), so you might have to either use addition or multiplication using a negative number. I recommend the latter.

You can also change these caps in the new army category in Tuning Packs.
30 Jun 2015, 16:45 PM
#3
avatar of GSamu

Posts: 32

jump backJump back to quoted post29 Jun 2015, 19:19 PMeliw00d
Keep in mind that most of the caps start out at -1 (meaning infinite), so you might have to either use addition or multiplication using a negative number. I recommend the latter.

You can also change these caps in the new army category in Tuning Packs.



Thanks Elly for the answer.

I find the option resource_max_cap in the new army category!!!


Regards.

1 user is browsing this thread: 1 guest

Livestreams

United States 23
Russian Federation 5
unknown 5

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

911 users are online: 911 guests
2 posts in the last 24h
10 posts in the last week
28 posts in the last month
Registered members: 50012
Welcome our newest member, lyrefudge
Most online: 2043 users on 29 Oct 2023, 01:04 AM