public ControlSectorAreaConfig(ControlSectorArea csa) { this.csa = csa; InitializeComponent(); useTagRange.Checked = csa.UseCustomTagRnage; firstTag.Text = csa.FirstTag.ToString(); lastTag.Text = csa.LastTag.ToString(); }
public override void OnMapNewEnd() { base.OnMapNewEnd(); controlsectorarea = new ControlSectorArea(-512, 0, 512, 0, 64, 56); BuilderPlug.Me.ControlSectorArea.LoadConfig(); slopevertexgroups.Clear(); slopedatasector = null; }
public override void OnMapOpenEnd() { base.OnMapOpenEnd(); controlsectorarea = new ControlSectorArea(-512, 0, 512, 0, 64, 56); BuilderPlug.Me.ControlSectorArea.LoadConfig(); // Try to find the slope data sector and store slope information in it slopedatasector = GetSlopeDataSector(); if (slopedatasector != null) { LoadSlopeVertexGroupsFromSector(); } }