Jump to content
Sign in to follow this  
rekster

Cleanrocks crCTI InitUnitTypes.sqs Question

Recommended Posts

In the latest crCTI ver .7 there are a few lines in the InitUnitTypes.sqs that pertain to the AI Co units to build.

Here are the lines:

; AI CO units to build

infantryWest = [ [utSoldierMGWest, 1], [utSniperWest, 0.5], [utSoldierLATWest, 1], [utSoldierATWest, 0.2], [utSoldierAAWest, 0.2], [utSaboteurWest, 0.2] ]

armorWest = [ [utM113, 0.1], [utM2A2, 0.5], [utM60, 0.2], [utM1A1, 1], [utVulcan, 0.5] ]

infantryEast = [ [utSoldierMGEast, 1], [utSniperEast, 0.5], [utSoldierLATEast, 1], [utSoldierATEast, 0.2], [utSoldierAAEast, 0.2], [utSaboteurEast, 0.2] ]

armorEast = [ [utBMP, 0.5], [utBMP2, 0.5], [utT72, 0.5], [utT80, 1], [utShilka, 0.5] ]

I am editing a ver to use WWII units. However I am not sure how the # that comes after the utUnit, is used to increase or decrease the chance of the unit being purchased by the Ai Commander.

So if I put in my WWII ver. [utSherman, 0.1] would that be more or less likely than [utFirefly, 0.9] ? I would want Ai Commander to purchase more Shermans, since they were more common on the battlefield.

I will appreciate any help.

Share this post


Link to post
Share on other sites

So then the higher the #, the more often it will be purchased by the Ai Commander?

Share this post


Link to post
Share on other sites

Thanks, now it will be easier to balance out which units get built more than others.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×