User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 13 of 13

Thread: ini++

  1. #11
    No Products Registered

    Join Date
    Sep 2006
    Location
    Germany
    Posts
    861
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ini++

    Order of Events are very important in MMF2.

    What you did is you read your global values, but did not load the ini before. Also you had a duplicate load.

    When you save global values from the INI++ make sure you always define a group. Right now the Game.ini file does have two groups. Global Value, which is the correct one and "global values" which is the wrong one.

    This is now fixed.

    You also had a value "Load" without reference. Therefore the file get never loaded. I changed this to the "new_file" value.

    DL: http://www.mediafire.com/?gjzdjn2uymo

  2. #12
    No Products Registered

    Join Date
    Feb 2009
    Location
    Texas
    Posts
    825
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ini++

    ty

  3. #13
    No Products Registered

    Join Date
    Sep 2006
    Location
    Germany
    Posts
    861
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ini++

    On line 4

    change it to "Start of Frame"

    remove everything else and it will load the position from the ini.

    You will now notice that if you start a new game you will start at X0,Y0, this is because the value is 0,0 in the ini as you save the postion on save first.

    You can add a second set of global values and set X,Y to the starting location you like.

    Then you add a new line to "Start of frame" saying "new_file=yes" and position your character.

Page 2 of 2 FirstFirst 1 2

Posting Permissions

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