Editing permanent Dark Events
Posted: Mon Jan 30, 2017 7:27 pm
I would to like to remove the permanent dark events, but keep it like vanilla.
I found the file X2StrategyElement_DarkEvents_LW.uc on 'Src\LW_Overhaul\Classes' folder.
Looks like that events are calling this template below:
If I change this lines, will work?
And if I want them to repeat, change that?
Last thing, they are active already in my game. This changes will take effect?
Could I force the end of the darv events by changing this?
Thanks
I found the file X2StrategyElement_DarkEvents_LW.uc on 'Src\LW_Overhaul\Classes' folder.
Looks like that events are calling this template below:
Code: Select all
static function GenericSettings (out X2DarkEventTemplate Template)
{
Template.Category = "DarkEvent";
Template.bRepeatable = false;
Template.bTactical = true;
Template.bLastsUntilNextSupplyDrop = false;
Template.StartingWeight = 5;
Template.MaxWeight = Template.StartingWeight;
Template.MaxSuccesses = 0;
Template.MinDurationDays = 9999;
Template.MaxDurationDays = 99999;
Template.bInfiniteDuration = true;
Template.WeightDeltaPerActivate = 0;
Template.WeightDeltaPerPlay = 0;
Template.MinActivationDays = 21;
Template.MaxActivationDays = 28;
Template.MinWeight = 1;
Template.OnActivatedFn = ActivateTacticalDarkEvent;
Template.OnDeactivatedFn = DeactivateTacticalDarkEvent;
}
Code: Select all
Template.MinDurationDays = 20;
Template.MaxDurationDays = 30;
Template.bInfiniteDuration = false;
Code: Select all
Template.bRepeatable = true;
Last thing, they are active already in my game. This changes will take effect?
Could I force the end of the darv events by changing this?
Code: Select all
Template.bLastsUntilNextSupplyDrop = true;
Thanks