Company of Heroes: Eastern Front

Author Topic: How to?  (Read 1271 times)

Offline SpeedTech

  • Ingenery
  • *
  • Posts: 2
    • View Profile
How to?
« on: January 29, 2013, 02:11:54 PM »
Hello players?!

Before I post here I ask permission to edit the mod for my own game only.

I have a question, how can I remove or increase the cost of vehicle in EF? using Corsix's Mod Studio? cause I don't like AI spamming tank all over the map.

hope someone help me :)


Offline Blackbishop

  • Administrator
  • Poster of the Soviet Union
  • *
  • Posts: 12057
  • Community Manager, Programmer and Kicker
    • View Profile
Re: How to?
« Reply #1 on: February 04, 2013, 10:41:44 PM »
You need to use corsix.

Open the Eastern_Front.module file using the "Load COH/OF Mod" option and then look for the files stored on "attrib->attrib->ebps->races->allies_soviets".

Pick up the unit you want from the desired folder and check the cost_ext node->time_cost->cost. The time_cost property allows you to control the deployment time, and the cost has the values for mp, fuel, muni, etc. you need to adquire this unit.

Rember than the cost of the unit is calculated by RESOURCE TYPE x amount of the units in the squad(supposing they have the same cost) and TIME x amount of untis in the squad(supposing they have the same cost). In example:

Grenadiers:
75MP x 4 = 300MP
7.5s x 4 = 30s
(Grenadiers are formed by two enities, leader and "grunts" but their cost is the same)

ZiS2 atg:
25MP x 3 = 75MP (crew)
5s x 3  = 15s (crew)
215MP x 1 = 215MP (atg)
35s x 1 = 35s (atg)
75MP (crew) + 215MP (atg)  = 290MP
15s (crew) + 35s (atg) = 50s

And so on.
Mors Indecepta

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