Page 1 of 2 1 2 LastLast
Results 1 to 10 of 19

Thread: DSauce (Open Sauce)

  1. #1
    Neanderthal Dwood's Avatar
    Join Date
    Sep 2008
    Location
    Wouldn't u like to know?
    Posts
    4,189

    DSauce (Open Sauce)

    Yeah, I made my own version of Open Sauce.

    http://www.filefront.com/15406047/Blah.zip

    --- Original message by: Dwood

    (if (and (= Menu_Type 9001) (= Menu_Selection 5))
    (object_create Chuck_Norris)
    )

    Edit: The menu type can be manipulated only if 1: disp_menu_type is true, AND the menu itself is open

    To open the menu: Numpad Enter key.
    To change Menu_Type: Minus or + key on numpad. It increments REALLY FAST though so I think I'm going to tone it down a bit with another super global called tone_down_mType (- or + key increments by one in their respective properties)
    I also need to finish adding my timer. (sorry scythe :P) Try it, tell me what you think, etc. You will need to find the exact names of the globals in the project yellow tags. disp_menu_type is only activatable via dev mode or script. I did not bind any keys for that boolean.

    Press enter on the numpad to use the options. Also, if you want this to be os and non-os compatible then check if developer_mode is = to 4.

    I can't think of anything else... Oh, yeah, this can only be used when in-game (ie not in ui)

    Thoughts and ideas are appreciated

    many thanks to lmtd and scythe for their guidance in the making of this.

    I can't include the source right now however I will do so some time soon.
    Reply With Quote

  2. #2
    Senior Member FireScythe's Avatar
    Join Date
    Sep 2006
    Location
    UK, England
    Posts
    321

    Re: DSauce (Open Sauce)

    With the speed problem, i'm assuming your incrementing menu_type during the render call? If so you need to either time it to only increment once every 0.5 seconds or so, or alternatively set it to only increment when the +/- key is first pressed but not when it is held down.

    A better way of determining if OS is present could do with being thought up too. Using the developer_mode makes dev only text pop up all over the place.

    I'm not sure what the context is for using this but it seems to do what you described so good work .
    Reply With Quote

  3. #3
    Neanderthal Dwood's Avatar
    Join Date
    Sep 2008
    Location
    Wouldn't u like to know?
    Posts
    4,189

    Re: DSauce (Open Sauce)

    http://www.youtube.com/watch?v=eHcuiOFihhE

    Quote Originally Posted by FireScythe View Post
    With the speed problem, i'm assuming your incrementing menu_type during the render call? If so you need to either time it to only increment once every 0.5 seconds or so, or alternatively set it to only increment when the +/- key is first pressed but not when it is held down.
    I could do the first part but I'm not sure how I would implement the second part.

    Quote Originally Posted by FireScythe View Post
    A better way of determining if OS is present could do with being thought up too. Using the developer_mode makes dev only text pop up all over the place.
    Wait, it does? I haven't tried so idk. as for thinking up another way there are many ways one could do it rather easily. I thought of adding 1.0 to the f0 global and then detecting if the global changed or not, then have that as the boolean of sorts but with a float for one's global i could get 1.0333 or something like that on accident, so

    Quote Originally Posted by FireScythe View Post
    I'm not sure what the context is for using this but it seems to do what you described so good work .
    It's to add another layer of input for scripters to check for... say, boarding.... or.... adding more than 2 grenade types.
    Last edited by Dwood; January 25th, 2010 at 04:41 PM.
    Reply With Quote

  4. #4
    Untruely Bannable~ Inferno's Avatar
    Join Date
    Aug 2007
    Location
    In a Place
    Posts
    5,166

    Re: DSauce (Open Sauce)

    Wait... So this give us the ability to script undefined keys like... "b" to run a script when pressed.

    I might use this for the epsilon campaign mod...
    Reply With Quote

  5. #5
    Buffalo Berry L0d3x's Avatar
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    550

    Re: DSauce (Open Sauce)

    In b4 Shadow.

    Nice job btw. Hope to see people make creative use of this.
    Reply With Quote

  6. #6
    Senior Member FireScythe's Avatar
    Join Date
    Sep 2006
    Location
    UK, England
    Posts
    321

    Re: DSauce (Open Sauce)

    Quote Originally Posted by Dwood View Post
    I could do the first part but I'm not sure how I would implement the second part.
    pseudo code ahoy!

    bool KeyPressedPrevious;
    bool KeyPressedNow;

    .....
    KeyPressedNow = GetWhetherKeyIsPressed();
    if(!KeyPressedPrevious && KeyPressedNow)
    {Increment/Decrement;}
    KeyPressedPrevious = KeyPressedNow;
    ...

    Quote Originally Posted by Dwood View Post
    Wait, it does? I haven't tried so idk.
    A little green "Loading..." appears when loading a map, and in SP there tends to be a list of music tags when they start being played. Things like that.
    Reply With Quote

  7. #7
    Neanderthal Dwood's Avatar
    Join Date
    Sep 2008
    Location
    Wouldn't u like to know?
    Posts
    4,189

    Re: DSauce (Open Sauce)

    Quote Originally Posted by Inferno View Post
    Wait... So this give us the ability to script undefined keys like... "b" to run a script when pressed.

    I might use this for the epsilon campaign mod...
    basically, yes. The thing is, though, that this is mapped to the numpad keys. I could do normal letter-keys but the numpad was the most obvious to me at the time.
    Reply With Quote

  8. #8
    Kid in the Hall Kornman00's Avatar
    Join Date
    Sep 2006
    Location
    ◕‿◕, ┌( ಠ_ಠ)┘
    Posts
    3,130

    Re: DSauce (Open Sauce)

    You know, Halo1_CE has a code interface for the game's input objects...

    you may want to consult those before remaking this wheel
    Reply With Quote

  9. #9
    Neanderthal Dwood's Avatar
    Join Date
    Sep 2008
    Location
    Wouldn't u like to know?
    Posts
    4,189

    Re: DSauce (Open Sauce)

    Quote Originally Posted by Kornman00 View Post
    You know, Halo1_CE has a code interface for the game's input objects...

    you may want to consult those before remaking this wheel
    You got me excited so I looked for a key_input folder/file... then I saw one! in a folder I haven't noticed before! Then... I realized... I wrote the file.

    I'm using the same system as you defined (via enums etc) and a similar way as the generic OS menus you made.
    Reply With Quote

  10. #10
    Kid in the Hall Kornman00's Avatar
    Join Date
    Sep 2006
    Location
    ◕‿◕, ┌( ಠ_ಠ)┘
    Posts
    3,130

    Re: DSauce (Open Sauce)

    Well since you didn't post the source I had nothing to determine what method you were using.

    Just a fair warning though, the license OS was released under states that you must include the modified source with any works released based off the original source. Don't release anything else until you're ready to release the source too.
    Reply With Quote

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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