Difference between revisions of "ScenEdit SetDoctrine"
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
− | -- Long form doctrine | + | -- Long form doctrine, use this if you want to change every part of the doctrine. |
+ | -- Change "yes" to "no" based on what you want. Only choose one of the multiple choice options below (Eg, myDoctrine.use_refuel_unrep = "Always" or myDoctrine.use_refuel_unrep = "Never" but not both) | ||
myDoctrine = {} | myDoctrine = {} | ||
Line 47: | Line 48: | ||
− | --Short form | + | --Short form (This affects an entire side) |
− | ScenEdit_SetDoctrine({side="Soviet Union | + | ScenEdit_SetDoctrine({side="Soviet Union"}, {kinematic_range_for_torpedoes = "AutomaticAndManualFire",use_nuclear_weapons= "yes" }) |
− | |||
− | |||
− | |||
+ | --Short form (This affects an entire mission) | ||
+ | ScenEdit_SetDoctrine({side="Soviet Union", mission="ASW PATROL"}, {kinematic_range_for_torpedoes = "AutomaticAndManualFire",use_nuclear_weapons= "yes" }) | ||
+ | --Short form (This affects a unit) | ||
+ | ScenEdit_SetDoctrine({side="Soviet Union", name="Bear #2"}, {use_nuclear_weapons= "yes" }) | ||
Latest revision as of 18:29, 6 December 2014
<syntaxhighlight lang="lua">
-- Long form doctrine, use this if you want to change every part of the doctrine.
-- Change "yes" to "no" based on what you want. Only choose one of the multiple choice options below (Eg, myDoctrine.use_refuel_unrep = "Always" or myDoctrine.use_refuel_unrep = "Never" but not both)
myDoctrine = {}
myDoctrine.use_nuclear_weapons= "yes"
myDoctrine.engage_non_hostile_targets = "yes"
myDoctrine.rtb_when_winchester = "yes"
myDoctrine.engaging_ambiguous_targets = "Ignore" myDoctrine.engaging_ambiguous_targets = "Optimistic" myDoctrine.engaging_ambiguous_targets = "Pessimistic"
myDoctrine.automatic_evasion = "yes"
myDoctrine.maintain_standoff = "yes"
myDoctrine.use_refuel_unrep = "Always" myDoctrine.use_refuel_unrep = "Never"
myDoctrine.engage_opportunity_targets = "yes"
myDoctrine.use_sams_in_anti_surface_mode = "yes"
myDoctrine.ignore_emcon_while_under_attack = "yes"
myDoctrine.quick_turnaround_for_aircraft = "Yes" myDoctrine.quick_turnaround_for_aircraft = "FightersAndASW" myDoctrine.quick_turnaround_for_aircraft = "No"
myDoctrine.air_operations_tempo = "Surge" myDoctrine.air_operations_tempo = "Sustained"
myDoctrine.kinematic_range_for_torpedoes = "AutomaticAndManualFire" myDoctrine.kinematic_range_for_torpedoes = "ManualFireOnly" myDoctrine.kinematic_range_for_torpedoes = "No"
ScenEdit_SetDoctrine({side="Soviet Union", unit = "Delta IV SSBN #4"}, myDoctrine) -- Long form doctrine end
--Short form (This affects an entire side)
ScenEdit_SetDoctrine({side="Soviet Union"}, {kinematic_range_for_torpedoes = "AutomaticAndManualFire",use_nuclear_weapons= "yes" })
--Short form (This affects an entire mission)
ScenEdit_SetDoctrine({side="Soviet Union", mission="ASW PATROL"}, {kinematic_range_for_torpedoes = "AutomaticAndManualFire",use_nuclear_weapons= "yes" })
--Short form (This affects a unit) ScenEdit_SetDoctrine({side="Soviet Union", name="Bear #2"}, {use_nuclear_weapons= "yes" })
</syntaxhighlight>