예제 #1
0
        public override void LoadCamera(BCAMEntry Entry)
        {
            base.LoadCamera(Entry);
            Loading = true;
            RotationZNumericUpDown.Value    = (decimal)Entry.RotationZ.RadianToDegree();
            ZoomNumericUpDown.Value         = (decimal)Entry.Zoom;
            Num1NumericUpDown.Value         = Entry.Num1;
            Num2NumericUpDown.Value         = Entry.Num2;
            StringTextBox.Text              = Entry.String;
            FieldOfViewNumericUpDown.Value  = (decimal)Entry.FieldOfView;
            JumpingYNumericUpDown.Value     = (decimal)Entry.MaxY;
            FallingYNumericUpDown.Value     = (decimal)Entry.MinY;
            CamIntNumericUpDown.Value       = Entry.TransitionTime;
            CamEndIntNumericUpDown.Value    = Entry.TransitionEndTime;
            FrontOffsetNumericUpDown.Value  = (decimal)Entry.LookOffset;
            HeightOffsetNumericUpDown.Value = (decimal)Entry.LookOffsetVertical;
            UpperBorderNumericUpDown.Value  = (decimal)Entry.UpperBorder;
            LowerBorderNumericUpDown.Value  = (decimal)Entry.LowerBorder;
            EventFrameNumericUpDown.Value   = Entry.EventFrames;

            FixpointVector3NumericUpDown.LoadVector3(Entry.FixPointOffset);
            WorldOffsetXNumericUpDown.Value = (decimal)Entry.WorldPointOffset.XValue;
            WorldOffsetYNumericUpDown.Value = (decimal)Entry.WorldPointOffset.YValue;
            VerticalPanAxisVector3NumericUpDown.LoadVector3(Entry.VerticalPanAxis);
            UpAxisVector3NumericUpDown.LoadVector3(Entry.UpAxis);

            FieldOfViewCheckBox.Checked        = Entry.EnableFoV;
            SharpZoomCheckBox.Checked          = Entry.StaticLookOffset;
            DisableCollisionCheckBox.Checked   = !Entry.DisableCollision;
            DisableFirstPersonCheckBox.Checked = !Entry.DisableFirstPerson;
            UseVerticalPanAxisCheckBox.Checked = Entry.EnableVerticalPanAxis;
            EventUseTimeCheckBox.Checked       = Entry.EventUseTransitionTime;
            EventUseEndTimeCheckBox.Checked    = Entry.EventUseTransitionEndTime;
            Loading = false;
        }
예제 #2
0
        public override void LoadCamera(BCAMEntry Entry)
        {
            base.LoadCamera(Entry);
            Loading = true;
            RotationXNumericUpDown.Value     = (decimal)Entry.RotationX.RadianToDegree();
            RotationYNumericUpDown.Value     = (decimal)Entry.RotationY.RadianToDegree();
            RotationZNumericUpDown.Value     = (decimal)Entry.RotationZ.RadianToDegree();
            ZoomNumericUpDown.Value          = (decimal)Entry.Zoom;
            Num1NumericUpDown.Value          = Entry.Num1;
            Num2NumericUpDown.Value          = Entry.Num2;
            StringTextBox.Text               = Entry.String;
            FieldOfViewNumericUpDown.Value   = (decimal)Entry.FieldOfView;
            JumpingYNumericUpDown.Value      = (decimal)Entry.MaxY;
            FallingYNumericUpDown.Value      = (decimal)Entry.MinY;
            CamIntNumericUpDown.Value        = Entry.TransitionTime;
            CamEndIntNumericUpDown.Value     = Entry.TransitionEndTime;
            FrontOffsetNumericUpDown.Value   = (decimal)Entry.LookOffset;
            HeightOffsetNumericUpDown.Value  = (decimal)Entry.LookOffsetVertical;
            GroundDelayNumericUpDown.Value   = Entry.GroundMoveDelay;
            AirDelayNumericUpDown.Value      = Entry.AirMoveDelay;
            UpperBorderNumericUpDown.Value   = (decimal)Entry.UpperBorder;
            LowerBorderNumericUpDown.Value   = (decimal)Entry.LowerBorder;
            EventFrameNumericUpDown.Value    = Entry.EventFrames;
            EventPriorityNumericUpDown.Value = Entry.EventPriority;

            FixpointVector3NumericUpDown.LoadVector3(Entry.FixPointOffset);
            WorldOffsetVector3NumericUpDown.LoadVector3(Entry.WorldPointOffset);
            PlayerOffsetVector3NumericUpDown.LoadVector3(Entry.PlayerOffset);
            VerticalPanAxisVector3NumericUpDown.LoadVector3(Entry.VerticalPanAxis);
            UpAxisVector3NumericUpDown.LoadVector3(Entry.UpAxis);

            DisableResetCheckBox.Checked       = !Entry.DisableReset;
            FieldOfViewCheckBox.Checked        = Entry.EnableFoV;
            SharpZoomCheckBox.Checked          = Entry.StaticLookOffset;
            DisableAntiBlurCheckBox.Checked    = Entry.DisableAntiBlur;
            DisableCollisionCheckBox.Checked   = !Entry.DisableCollision;
            DisableFirstPersonCheckBox.Checked = !Entry.DisableFirstPerson;
            GFlagEndErpFrameCheckBox.Checked   = Entry.GFlagEndErpFrame;
            GFlagThroughCheckBox.Checked       = Entry.GFlagThrough;
            GFlagEndTimeNumericUpDown.Value    = (decimal)Entry.GFlagEndTime;
            UseVerticalPanAxisCheckBox.Checked = Entry.EnableVerticalPanAxis;
            EventUseTimeCheckBox.Checked       = Entry.EventUseTransitionTime;
            EventUseEndTimeCheckBox.Checked    = Entry.EventUseTransitionEndTime;
            Loading = false;
        }