-
Notifications
You must be signed in to change notification settings - Fork 23
Steps to create a Coop
to be written
When to use this: If you want to place a generic group/vehicle in a general place, to be maneuvered later by zeus.
How to use this: In the 3DEN editor, go to the modules tab and look for the categories labeled like "POTATO HC: East". When you open this category there should be a decent sized list of units/groups you can set down. When you place the module down, there should be a generic "logic" icon placed on the map. When you load this mission, the module will spawn the selected group/unit at that position.
When to use this: If you need units it occupy buildings in a town, this module is for you
How to use this: In the 3DEN editor, go to the modules tab and look for the category labeled "POTATO HC: Custom". When you open this category look for the "Spawn and Garrison units" module. Place this in the center of the town you want to garrison. When you place the module down, there should be a generic "logic" icon placed on the map. Double click this module, and you should be able to edit the attributes of the module. You can set: the factions of the units to spawn, the radius from the placed module to search for homes, the chance that each home will be occupied (You probably want to set this from 15-30, but it really depends on the size of the town), the minimum units to place in each house, and the maximum units to place in each house. Once the mission loads, the garrison script will run, populating one house every .25 seconds.
Notes: The maximum number of units to spawn per placed module is defaulted to 100, this can be changed mission side though. You can also change the factions the zeus can place, as well as change the units the script will spawn. Add/configure this in your mission's description.ext file to customize this module:
class CfgGarrison {
maxUnits = 70; // change max units spawned per module to 70
class blu_f {
units[] = {"B_soldier_F"}; // change it so the NATO faction will only spawn riflemen
};
class opf_g_f { // add new faction (only works for zeus)
units[] = {"O_G_Soldier_F","O_G_Soldier_F","O_G_Soldier_SL_F"}; // note: these units are randomly selected, so there's a 1/3 chance to get an SL, 2/3 chance for a rifleman
};
};When to use this: If you can't find the groups/vehicles you need to place, or you want precise control over where the unit's are placed or give them waypoints or set unit stances in the editor.
How to use this: In the 3DEN editor, place your groups as usual, do what you want to them. When you have them set up, double click on the groups you want to move to the HC, go to the "POTATO: HC" attribute group, and check the "Move Group to HC" box. When the mission loads, it will move each checked group to the HC.
Note: this method uses setGroupOwner which does use a decent bit of bandwidth, so if possible use the above HC options.