Exemplo n.º 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;
        }
Exemplo n.º 2
0
        public override void LoadCamera(BCAMEntry Entry)
        {
            base.LoadCamera(Entry);
            Loading = true;
            RotationZNumericUpDown.Value   = (decimal)Entry.RotationZ.RadianToDegree();
            ZoomNumericUpDown.Value        = (decimal)Entry.Zoom;
            StringTextBox.Text             = Entry.String;
            FieldOfViewNumericUpDown.Value = (decimal)Entry.FieldOfView;
            CamIntNumericUpDown.Value      = Entry.TransitionTime;
            CamEndIntNumericUpDown.Value   = Entry.TransitionEndTime;
            EventFrameNumericUpDown.Value  = Entry.EventFrames;

            FixpointVector3NumericUpDown.LoadVector3(Entry.FixPointOffset);
            WorldOffsetVector3NumericUpDown.LoadVector3(Entry.WorldPointOffset);
            Vector3 <float> PlayerOffset = Entry.PlayerOffset;

            PlayerOffsetYNumericUpDown.Value = (decimal)PlayerOffset.YValue.RadianToDegree();
            PlayerOffsetXNumericUpDown.Value = (decimal)PlayerOffset.XValue.RadianToDegree();
            UpAxisVector3NumericUpDown.LoadVector3(Entry.UpAxis);

            FieldOfViewCheckBox.Checked        = Entry.EnableFoV;
            DisableCollisionCheckBox.Checked   = Entry.DisableCollision;
            DisableFirstPersonCheckBox.Checked = !Entry.DisableFirstPerson;
            EventUseTimeCheckBox.Checked       = Entry.EventUseTransitionTime;
            EventUseEndTimeCheckBox.Checked    = Entry.EventUseTransitionEndTime;
            Loading = false;
        }
Exemplo n.º 3
0
        public override void LoadCamera(BCAMEntry Entry)
        {
            base.LoadCamera(Entry);
            Loading = true;
            RotationZNumericUpDown.Value    = (decimal)Entry.RotationZ.RadianToDegree();
            Num1CheckBox.Checked            = Entry.Num1 > 0;
            StringTextBox.Text              = Entry.String;
            CamIntNumericUpDown.Value       = Entry.TransitionTime;
            CamEndIntNumericUpDown.Value    = Entry.TransitionEndTime;
            FrontOffsetNumericUpDown.Value  = (decimal)Entry.LookOffset;
            HeightOffsetNumericUpDown.Value = (decimal)Entry.LookOffsetVertical;
            EventFrameNumericUpDown.Value   = Entry.EventFrames;

            FixpointVector3NumericUpDown.LoadVector3(Entry.FixPointOffset);
            UpAxisVector3NumericUpDown.LoadVector3(Entry.UpAxis);

            SharpZoomCheckBox.Checked          = Entry.StaticLookOffset;
            DisableFirstPersonCheckBox.Checked = !Entry.DisableFirstPerson;
            GFlagEndErpFrameCheckBox.Checked   = Entry.GFlagEndErpFrame;
            GFlagThroughCheckBox.Checked       = Entry.GFlagThrough;
            GFlagEndTimeNumericUpDown.Value    = (decimal)Entry.GFlagEndTime;
            EventUseTimeCheckBox.Checked       = Entry.EventUseTransitionTime;
            EventUseEndTimeCheckBox.Checked    = Entry.EventUseTransitionEndTime;
            Loading = false;
        }
Exemplo n.º 4
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;
        }