Sandbox+ for Saints Row IV

Discussion in 'Other mods' started by [V] IdolNinja, Sep 8, 2013.

  1. Dam that was fast Idol, mission replay going to be in with next version I guess?
     
  2. hoeward

    hoeward Modding patch tester

    It'll be in after the upcoming Patch adding new stuff to SRIV LUA. ;)
     
  3. Loving the new update to Sandbox+, I happend to run past a Rift and ended up with the most terrifying horde chasing me :')

    Im tempted to edit theyr rank so its like 4 or 5 hits and your dead :D
    [​IMG]
     
  4. [V] IdolNinja

    [V] IdolNinja Volition Staff

    You forgot to include your SandboxPhrases table variable and what value you have assigned to stubbed_toe
    convo_start(SandboxPhrases.stubbed_toe)

    This also fails to play the animation and locks the controls:
    action_play_non_blocking(LOCAL_PLAYER, "m02 Stub Toe")

    Did you need to add an anim to preload?

    EDIT:
    Adding the animation to preload worked. Also, you don't need any of the thread yield stuff or the non-blocking version of the function. This will play the animation and automatically give control back to the player when finished:
    Code (Text):
    action_play(LOCAL_PLAYER, "m02 Stub Toe")
     
    Last edited: Nov 17, 2013
  5. After testing the zombie spawn function in Sandbox+ build 13, the animation of the corpses
    were just like the far right ones...standing still with their arms apart, and showing no actual
    zombie-like animations or attacks. Any idea why?
     
  6. [V] IdolNinja

    [V] IdolNinja Volition Staff

    You didn't extract the preload_anim.vpp_pc to the correct location in /cache and overwrite the existing one.
     
  7. Damn no morph yet :p
     

  8. Good to know. Thanks. Here's the fix I did :)

    Code (Text):


                    -- CONFOUND IT, MY TOE
               
                    action_play(LOCAL_PLAYER, "m02 Stub Toe")
                    convo_start(SandboxPhrases.stubbed_toe)
                    audio_object_post_event("m02_LT_Laugh_02", nil, nil, LOCAL_PLAYER)

     
    Also here's the SandboxPhrases table consisting of stuff I copied from missions (note that m02 and m02_cache need to be set to load at boot in audio_banks).

    Also half of the table values don't work for this, so I'll have to obsolete them sometime soon.

    Code (Text):


    SandboxPhrases = {

            stubbed_toe = {
                name = "m02_stubbed_toe",
                player_talks = true,
                handle = INVALID_CONVERSATION_HANDLE,
                convo_thread = INVALID_THREAD_HANDLE,
                max_wait_seconds = 5,
                timer_thread = INVALID_THREAD_HANDLE,
                priority = CONVO_PRIORITY_HIGH,
                persona_line = true,
                speaker_name = LOCAL_PLAYER,      
            },
       
        }

     
     
    Last edited: Nov 17, 2013
    opt!c@l likes this.
  9. This is super badass.
     
  10. hoeward

    hoeward Modding patch tester

     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice