View Single Post
Old 04-29-07, 08:15 AM   #7
mcoca
Loader
 
Join Date: Apr 2005
Location: Madrid, Spain
Posts: 86
Downloads: 0
Uploads: 0
Default

Jace11, all that is possible right now. The program has four entry fields:

- Condition for changing a group, for example:

Code:
group.groupName.contains("Jap_Convoy")
- Changes to apply to a group:

Code:
group.spawnProbability = group.spawnProbability/2
- A condition for changing each unit in the group:

Code:
unit.unitType == UnitType.DESTROYER
- Changes for units that fulfill that condition:

Code:
unit.shipClass = None
(that last one is untested, but it should remove the specific class, and thus make the destroyers a "GENERIC Destroyer")

Press the "change" button, and all japanese convoys will have half the spawn probability, and generic escorts.

I'll send you a PM once I have it ready.
mcoca is offline   Reply With Quote