No Board On/Off

Discuss modding in thug2. If you want to make something by yourself you can ask how to in here. Also, you can post any thug2 related mod in here.
Siema
Posts: 26
Joined: Tue Mar 15, 2011 1:41 pm

No Board On/Off

Postby Siema » Mon Dec 19, 2011 5:53 pm

Image
Video: http://www.youtube.com/watch?v=1TcUgqbY ... ideo_title

Code: Select all

:i function $onoff_board$
   :i call $make_new_roundbar_menu$ arguments
      $title$ = %s(14,"Stuff Menu")$pad_back_script$ = $generic_menu_pad_back$$pad_back_params$ = :s{$callback$ = $create_green_menu$:s}
   :i $add_roundbar_menu_item$:s{$text$ = %s(15,"No Board On")$pad_choose_script$ = $no_board_on$
   :i :s}
   :i $add_roundbar_menu_item$:s{$text$ = %s(13,"No Board off")$pad_choose_script$ = $no_board_on$
   :i :s}
   :i $roundbar_menu_finish$
:i endfunction


No Board On:

Code: Select all

:i function $no_board_on$
   :i $exit_pause_menu$
   :i $Skater$.$BashOff$
   :i $Skater$.$NollieOff$
   :i $Skater$.$PressureOff$
   :i $Skater$.$LandSkaterTricks$
   :i $Skater$.$ResetSwitched$
   :i $Skater$.$ClearTrickQueues$
   :i $Skater$.$DestroyAllSpecialItems$
   :i $Skater$.$SparksOff$
   :i $Skater$.$VibrateOff$
   :i $Skater$.$StopBalanceTrick$
   :i $Skater$.$KillExtraTricks$
   :i $Skater$.call $SetExtraTricks$ arguments
      $NoTricks$
   :i $Skater$.$SkaterLoopingSound_TurnOff$
   :i $Skater$.$TakeBoardFromSkater$
:i endfunction


No Board Off:

Code: Select all

:i function $no_board_off$
   :i $exit_pause_menu$
  :i $Skater$.$ReturnBoardToSkater$
:i endfunction


Changed the code from the theme THUG1 scripts Vehicle (in thug2) spawning location
viewtopic.php?f=8&t=793

Return to “THUG2 modding”

Who is online

Users browsing this forum: No registered users and 1 guest