I've so far got a "DEBUG MENU" and a "CUSTOM RESTART" menu in my "Anteara Menu" in the online play pause screen.
I've added an ammo menu, and set tomatoes, cans, apples, etc, but I can't find out what I need to do to make it work.
I'll post my code with some screenshots.
Code: Select all
:i function $create_anteara_menu$
:i call $make_new_roundbar_menu$ arguments
$title$ = %s(12,"Anteara Menu")$pad_back_script$ = $generic_menu_pad_back$$pad_back_params$ = :s{$callback$ = $create_pause_menu$:s}
:i $add_roundbar_menu_item$:s{$text$ = %s(11,"WALLSHUFFLE")$extra_text$ = %GLOBAL%call $hud_text$ arguments
$id$ = $menu_kevin_ws$$pad_choose_script$ = $wallshuffleon$
:i :s}
:i $add_roundbar_menu_item$:s{$text$ = %s(10,"DEBUG MENU")$pad_choose_script$ = $create_debug_options_menu$
:i :s}
:i $add_roundbar_menu_item$:s{$text$ = %s(15,"CUSTOM RESTARTS")$pad_choose_script$ = $create_customrestart_menu$
:i :s}
:i $add_roundbar_menu_item$:s{$text$ = %s(15,"AMMO MENU")$pad_choose_script$ = $create_myammo_menu$
:i :s}
:i $roundbar_menu_finish$
:i endfunction
That is the Anteara Menu code, with the ammo menu, custom restards, debug menu, and wallshuffle option. It all works well.
I was then experimenting with the ammo menu, to see what would happen. But i can't get it to work!
Code: Select all
i function $create_myammo_menu$
:i call $make_new_roundbar_menu$ arguments
$title$ = %s(9,"Ammo Menu")$pad_back_script$ = $generic_menu_pad_back$$pad_back_params$ = :s{$callback$ = $create_anteara_menu$:s}
:i $add_roundbar_menu_item$:s{$text$ = %s(8,"TOMATOES")$pad_choose_script$ = $pickup_tomato$
:i :s}
:i $add_roundbar_menu_item$:s{$text$ = %s(9,"PAINTCANS")$pad_choose_script$ = $pickup_spraycan$
:i :s}
:i $add_roundbar_menu_item$:s{$text$ = %s(6,"APPLES")$ammo_texture$ = $pickup_apple$
:i :s}
:i $add_roundbar_menu_item$:s{$text$ = %s(5,"BEADS")$pad_choose_script$ = $pickup_beads$
:i :s}
:i $add_roundbar_menu_item$:s{$text$ = %s(13,"COMBO LETTERS")$pad_choose_script$ = $pickup_apple$
:i :s}
:i $add_roundbar_menu_item$:s{$text$ = %s(9,"SMOKEBOMB")$pad_choose_script$ = $pickup_cocktail$
:i :s}
:i $roundbar_menu_finish$
:i endfunction
Here is a screenshot of what it currently looks like, That's how I would like my ammo menu set out.
So, on
Code: Select all
:i $add_roundbar_menu_item$:s{$text$ = %s(8,"TOMATOES")$pad_choose_script$ = $pickup_tomato$
What would I put after
Code: Select all
:i $add_roundbar_menu_item$:s{$text$ = %s(8,"TOMATOES"
Thanks!
In summary, as this may be hard to understand, How do I make the ammo menu work? What do i Put after " :i $add_roundbar_menu_item$:s{$text$ = %s(8,"TOMATOES")"