Company of Heroes: Eastern Front

Author Topic: Some help please?  (Read 4603 times)

Offline Kevla99

  • Ingenery
  • *
  • Posts: 19
  • Yay.
    • View Profile
Some help please?
« on: July 27, 2012, 05:33:20 AM »
Um, I have a question, I have the corsix app that helps mod the game and I only need to change the limit of the hardcap on conscripts, either that or to remove the hardcap. Problem is, I don't know how to do this. So can anyone teach me how I can change or remove the hardcap from the conscripts with corsix?? ??? Thanks! >_<
Have a Cookie.

Offline Otto Halfhand

  • Donor
  • Mr. Spam
  • *
  • Posts: 1166
    • View Profile
Re: Some help please?
« Reply #1 on: July 27, 2012, 04:24:34 PM »
I suggest you use a text editor rather than Corsix to change the data\ai\rules_unit_purchase.ai file. Notepad ++ is a good text editor IMO. I can't work with Corsix very well at all.-Too many goodies are a distraction.

Code: [Select]
soviets_purchase_limits = {
    [BP_GetID(SBP.SOVIET.MORTAR)] = 1,
    [BP_GetID(SBP.SOVIET.SHARP)] = 2,
    [BP_GetID(SBP.SOVIET.T90)] = 2,
    [BP_GetID(SBP.SOVIET.T70)] = 2,
    [BP_GetID(SBP.SOVIET.IS2)] = 1,   
    [BP_GetID(SBP.SOVIET.CONSCRIPT)] = 5,
    [BP_GetID(SBP.SOVIET.REGULARS)] = 3,
    [BP_GetID(SBP.SOVIET.SAPPER)] = 4,
    [BP_GetID(SBP.SOVIET.GUARDS)] = 3,
    [BP_GetID(SBP.SOVIET.PTRD)] = 2,
    [BP_GetID(SBP.SOVIET.ZIS3)] = 2,
    [BP_GetID(SBP.SOVIET.PARTISANS)] = 3,
    [BP_GetID(SBP.SOVIET.ISU152)] = 1,
    [BP_GetID(SBP.SOVIET.KV2)] = 1,
    [BP_GetID(SBP.SOVIET.KATYUSHA)] = 2,
}
 
    [BP_GetID(SBP.SOVIET.CONSCRIPT)] = 5,  change the value.
孫 The
EF_v1.7.10
子 Art
Illegitimi non Carborundum -"Vinegar" Joe Stilwell
兵 of
Sun Tzu says: In warfare one compels and is not compelled by others
法 War

Offline Walentin 'Walki' L.

  • Developer
  • Poster of the Soviet Union
  • *
  • Posts: 3262
  • Creator of Things
    • View Profile
    • Steam Profile
Re: Some help please?
« Reply #2 on: July 27, 2012, 05:50:10 PM »
I think that's only for AI Otto.
I identify as a four-eyed bird man. /s

Offline Blackbishop

  • Administrator
  • Poster of the Soviet Union
  • *
  • Posts: 12053
  • Community Manager, Programmer and Kicker
    • View Profile
Re: Some help please?
« Reply #3 on: July 27, 2012, 05:54:37 PM »
Go to the conscript squad file(on sbps folder) and check the requirements. There you will find the hardcap.
Mors Indecepta

Might controls everything, and without strength you cannot protect anything. Let alone yourself...

Offline Otto Halfhand

  • Donor
  • Mr. Spam
  • *
  • Posts: 1166
    • View Profile
Re: Some help please?
« Reply #4 on: July 27, 2012, 06:07:20 PM »
I think that's only for AI Otto.
I think your correct  Walki. thanks.
孫 The
EF_v1.7.10
子 Art
Illegitimi non Carborundum -"Vinegar" Joe Stilwell
兵 of
Sun Tzu says: In warfare one compels and is not compelled by others
法 War

Offline Kevla99

  • Ingenery
  • *
  • Posts: 19
  • Yay.
    • View Profile
Re: Some help please?
« Reply #5 on: August 02, 2012, 02:54:12 AM »
Thanks so much for the help, mostly changing the hardcap for senario reasons unknown and extremely clueless on how to use modders without possible damage to my game itself (already broke the blitzkrieg mod because of it...) But again, Thanks for the help guys! :D



« Last Edit: September 11, 2012, 08:10:17 AM by Kevla99 »
Have a Cookie.

Offline Kevla99

  • Ingenery
  • *
  • Posts: 19
  • Yay.
    • View Profile
Re: Some help please?
« Reply #6 on: September 11, 2012, 08:11:42 AM »
UPDATE: I tryed changing the hardcap and it led me to this question: Do I have to remove the requirement entirely? Or could I change the limit of 5 to 8? I tried changing the limit of 5 to 8 but when i test in game it doesn't work. All I did was i found the folder and changed the number of 5 to 8. Did I miss anything there? I don't know if its winrar or that I didn't do any other important things. Please help! >_<
Have a Cookie.

Offline Blackbishop

  • Administrator
  • Poster of the Soviet Union
  • *
  • Posts: 12053
  • Community Manager, Programmer and Kicker
    • View Profile
Re: Some help please?
« Reply #7 on: September 11, 2012, 05:18:59 PM »
If you change the limit to 5 or 8 it will be updated for sure, just don't make the mistake of setting the limit of a call-in unit in the unit itself.
Mors Indecepta

Might controls everything, and without strength you cannot protect anything. Let alone yourself...

Offline Kevla99

  • Ingenery
  • *
  • Posts: 19
  • Yay.
    • View Profile
Re: Some help please?
« Reply #8 on: September 14, 2012, 07:22:26 AM »
Okay I found the requirement 1 on the required_cap and changed 5 to 8 and then saved, I tested it out and tried spawning 8 but the production tab wont allow me more than five. My corsix app is in a winrar, and I don't know what wrong with it if its the game or the app is wrong. Is there anything I'm missing? another area?

Update: I found what is wrong and have fixed the problem. The file must have not connected somehow or something. Its mostly my computers problem as its not so bright on modding tools. Thx for the help!  ;D
« Last Edit: September 18, 2012, 04:20:45 AM by Kevla99 »
Have a Cookie.