360haven works best with JavaScript enabled
[Release] Prototype 2 Editor - Page 2
Loading
Register
Page 2 of 8 FirstFirst 1234567 ... LastLast
Results 9 to 16 of 57
  1. #9
    ★ The Exiled One ★
    Exiledone

    Idlehands88 is offline
    Join Date : Dec 2010
    Location : Whitby, Ontario
    Age : 30
    Posts : 4,709
    Array
    Asteroids Champion
    Twitter: @

    Re: Prototype 2 Editor

    Quote Originally Posted by Odd Future View Post
    lol figured as much lol... but idk how to code scrollbars :P
    I don't either, the Scrollbars in my Editor do nothing :P

    Downloads : 70 || Uploads : 4 || Rep Power : 13036 || Posts : 4,709 || Thanks : 1,168 || Thanked 16,722 Times in 1,843 Posts



  2. #10
    Vincent Valentine

    Re: Prototype 2 Editor

    Quote Originally Posted by Idlehands88 View Post
    I don't either, the Scrollbars in my Editor do nothing :P
    lol so it doesn't make the number go up or down? lol

  3. #11
    ★ The Exiled One ★
    Exiledone

    Idlehands88 is offline
    Join Date : Dec 2010
    Location : Whitby, Ontario
    Age : 30
    Posts : 4,709
    Array
    Asteroids Champion
    Twitter: @

    Re: Prototype 2 Editor

    Quote Originally Posted by Odd Future View Post
    lol so it doesn't make the number go up or down? lol
    Nope, it's just for show :)
    Downloads : 70 || Uploads : 4 || Rep Power : 13036 || Posts : 4,709 || Thanks : 1,168 || Thanked 16,722 Times in 1,843 Posts



  4. #12
    Administrator
    360HAVEN

    Sephiroth is online now
    Join Date : Nov 2010
    Location : Setagaya-ku, Tokyo, Japan
    Posts : 3,375
    Array
    Homeland Defense Champion
    Twitter: @

    Re: Prototype 2 Editor

    Custom numericupdown

    In wpf put this code in xaml



    Code:
     <TextBox x:Name="txtNum" x:FieldModifier="private" Margin="5,5,0,5" Width="50" Text="0" TextChanged="txtNum_TextChanged" />
     <Button x:Name="cmdUp" x:FieldModifier="private" Margin="5,5,0,5" Content="˄" Width="20" Click="cmdUp_Click" />
     <Button x:Name="cmdDown" x:FieldModifier="private" Margin="0,5,0,5"  Content="˅" Width="20" Click="cmdDown_Click" />
    Go to the code and add this.

    [VB]

    Code:
    Private _numValue As Integer = 0
    Public Property NumValue() As Integer
        Get
            Return _numValue
        End Get
        Set
            _numValue = value
            txtNum.Text = value.ToString()
        End Set
    End Property
    
    Public Sub New()
        InitializeComponent()
        txtNum.Text = _numValue.ToString()
    End Sub
    
    Private Sub cmdUp_Click(sender As Object, e As RoutedEventArgs)
        NumValue += 1
    End Sub
    
    Private Sub cmdDown_Click(sender As Object, e As RoutedEventArgs)
        NumValue -= 1
    End Sub
    
    Private Sub txtNum_TextChanged(sender As Object, e As TextChangedEventArgs)
        If Not Integer.TryParse(txtNum.Text, _numValue) Then
            txtNum.Text = _numValue.ToString()
        End If
    End Sub
    [C#]

    Code:
    private int _numValue = 0;
        public int NumValue
        {
            get {  return _numValue; }
            set
            {
                _numValue = value;
                txtNum.Text = value.ToString();
            }
        }
    
        public NumberUpDown()
        {
            InitializeComponent();
            txtNum.Text = _numValue.ToString();
        }
    
        private void cmdUp_Click(object sender, RoutedEventArgs e)
        {
            NumValue++;
        }
    
        private void cmdDown_Click(object sender, RoutedEventArgs e)
        {
            NumValue--;
        }
    
        private void txtNum_TextChanged(object sender, TextChangedEventArgs e)
        {
            if (!int.TryParse(txtNum.Text, out _numValue))
                txtNum.Text = _numValue.ToString();
        }
    Downloads : 170 || Uploads : 13 || Rep Power : 8139 || Posts : 3,375 || Thanks : 503 || Thanked 4,233 Times in 1,293 Posts




    What i have shown you is reality. What you remember... that is the illusion.




  5. #13
    DEADBEEF

    JizzaBeez is offline
    Join Date : Nov 2010
    Posts : 777
    Array

    Re: Prototype 2 Editor

    Quote Originally Posted by Sephiroth View Post
    Go to the code and add this.

    [VB]

    Code:
    Private _numValue As Integer = 0
    Public Property NumValue() As Integer
        Get
            Return _numValue
        End Get
        Set
            _numValue = value
            txtNum.Text = value.ToString()
        End Set
    End Property
    
    Public Sub New()
        InitializeComponent()
        txtNum.Text = _numValue.ToString()
    End Sub
    
    Private Sub cmdUp_Click(sender As Object, e As RoutedEventArgs)
        NumValue += 1
    End Sub
    
    Private Sub cmdDown_Click(sender As Object, e As RoutedEventArgs)
        NumValue -= 1
    End Sub
    
    Private Sub txtNum_TextChanged(sender As Object, e As TextChangedEventArgs)
        If Not Integer.TryParse(txtNum.Text, _numValue) Then
            txtNum.Text = _numValue.ToString()
        End If
    End Sub
    It looks like you forgot a piece of the code...you have to have a "value" to set when using Properties:

    Code:
    Public Property NumValue() As Integer
        Get
            Return _numValue
        End Get
        Set(ByVal value As Integer)
            _numValue = value
        End Set
    End Property
    Set the Property:
    Code:
    NumValue = 1337
    Get the Property:
    Code:
    txtNum.Text = NumValue.ToString()

  6. #14
    Retired Staff

    thegutta is offline
    Join Date : Jun 2011
    Location : On Top Of The World
    Posts : 10,471
    Array
    Twitter: @
    Great editor idle thanks awesome job.
    Downloads : 47 || Uploads : 0 || Rep Power : 14232 || Posts : 10,471 || Thanks : 3,231 || Thanked 1,396 Times in 1,224 Posts




  7. #15
    Noctis Caelum

    Re: Prototype 2 Editor

    nice work idle

  8. #16
    The Immortal God
    Rpg_Fan

    CloudStrife7x is offline
    Join Date : Dec 2010
    Location : Unknown
    Age : 32
    Posts : 18,751
    Array
    Twitter: @

    Re: Prototype 2 Editor

    nice work on this editor Idle :)
    Downloads : 157 || Uploads : 0 || Rep Power : 23197 || Posts : 18,751 || Thanks : 4,451 || Thanked 3,096 Times in 2,607 Posts



 

 
Page 2 of 8 FirstFirst 1234567 ... LastLast

Similar Threads

  1. [Prototype] save editor
    By lickerout in forum Xbox 360 Modding Programs
    Replies: 9
    Last Post: 04-26-2016, 10:18 AM
  2. [Release] Another Prototype 2 XP Editor
    By dippidip in forum Xbox 360 Modding Programs
    Replies: 49
    Last Post: 08-10-2012, 11:41 AM
  3. [Release] Prototype 2 XP Editor v2.1
    By I C0z I in forum Xbox 360 Modding Programs
    Replies: 39
    Last Post: 06-20-2012, 04:39 PM
  4. Saves for anyone makeing a Prototype 2 Editor
    By qjafri829 in forum Xbox 360 Modding Discussion
    Replies: 2
    Last Post: 04-20-2012, 04:38 AM

Visitors found this page by searching for:

save editor prototype 2 xbox 360

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

About 360haven

    360haven is an Forum Devoted To Game modding Fans from all over the world.

    An Awesome Community of Xbox 360 Gamers, Modders and Developers who Create & Share Tutorials, Applications, Gfx, Trainers and Gamesaves.

    A haven for the l33t.
    A scarce paradise for modders.

★★★★★¯\_(ツ)_/¯