Change board online problem

Discuss thug2 modding, post your own, share your ideas, ask questions.
Siema
Posts: 26
Joined: Tue Mar 15, 2011 1:41 pm

Change board online problem

Postby Siema » Sun Dec 18, 2011 1:41 pm

Image
You can ask where is the error :wat:

Code: Select all

:i function $test_vehicl$
   :i call $Vehicle_Start$ arguments
      $params$ = $minikart_params$
   :i $Skater$.$remove_all_anim_subsets$
   :i $exit_pause_menu$
   :i $Skater$.$SwitchOffBoard$
 :i $GetSkaterID$
         :i $GetCurrentSkaterProfileIndex$
         :i $EditPlayerAppearance$:s{
            :i $profile$ = %GLOBAL%$currentSkaterProfileIndex$
            :i $target$ = $SetPart$
            $targetParams$ = :s{$part$ = $deck_graphic$$desc_id$ = %GLOBAL%$Model_Name$:s}
         :i :s}
         :i call $RefreshSkaterModel$ arguments
               $profile$ = %GLOBAL%$currentSkaterProfileIndex$$skater$ = %i(0,00000000)
   :i call $Model_Change$ arguments
         $Model_Name$ = $test_modelcha$
:i endfunction
:i function $test_modelcha$
                      :i $skater$.call $AddGeom$ arguments
                        $name$ = $vehicle$$model$ = %s(46,"models\Veh\Veh_MiniKart\Veh_MiniKart.skin")
:i call $MakeSkaterGoto$ arguments
        $OnGround$
:i $vehicle$.$die$
:i endfunction
Last edited by Siema on Mon Dec 19, 2011 6:11 pm, edited 2 times in total.
Anteara
Posts: 268
Joined: Thu Oct 14, 2010 2:55 am
Contact:

Re: Help Me

Postby Anteara » Sun Dec 18, 2011 2:24 pm

We are not going to help you if the thread title is 'help me'.
Morten1337
Posts: 132
Joined: Tue Jun 08, 2010 11:11 pm
Contact:

Re: Change Model Vehicle Problem

Postby Morten1337 » Sun Dec 18, 2011 3:30 pm

Delete all in red
:i function $test_vehicl$
:i call $Vehicle_Start$ arguments
$params$ = $minikart_params$
:i $Skater$.$remove_all_anim_subsets$
:i $exit_pause_menu$
:i $Skater$.$SwitchOffBoard$
:i $GetSkaterID$
:i $GetCurrentSkaterProfileIndex$
:i $EditPlayerAppearance$:s{
:i $profile$ = %GLOBAL%$currentSkaterProfileIndex$
:i $target$ = $SetPart$
$targetParams$ = :s{$part$ = $deck_graphic$$desc_id$ = %GLOBAL%$Model_Name$:s} #//Change to "$desc_id$ = $minikart$"
:i :s}
:i call $RefreshSkaterModel$ arguments
$profile$ = %GLOBAL%$currentSkaterProfileIndex$$skater$ = %i(0,00000000)
:i call $Model_Change$ arguments
$Model_Name$ = $test_modelcha$

:i endfunction
:i function $test_modelcha$
:i $skater$.call $AddGeom$ arguments
$name$ = $vehicle$$model$ = %s(46,"models\Veh\Veh_MiniKart\Veh_MiniKart.skin")
:i call $MakeSkaterGoto$ arguments
$OnGround$
:i $vehicle$.$die$
:i endfunction
Siema
Posts: 26
Joined: Tue Mar 15, 2011 1:41 pm

Re: Change Model Vehicle Problem

Postby Siema » Sun Dec 18, 2011 6:59 pm

Normal? not working :nope:

Code: Select all

:i function $test_vehicl$
:i call $Vehicle_Start$ arguments
$params$ = $minikart_params$
:i $Skater$.$remove_all_anim_subsets$
:i $exit_pause_menu$
:i $GetSkaterID$
:i $GetCurrentSkaterProfileIndex$
:i $EditPlayerAppearance$:s{
:i $profile$ = %GLOBAL%$currentSkaterProfileIndex$
:i $target$ = $SetPart$
$targetParams$ = :s{$part$ = $deck_graphic$$desc_id$ = $minikart$ :s}
:i :s}
:i call $RefreshSkaterModel$ arguments
$profile$ = %GLOBAL%$currentSkaterProfileIndex$$skater$ = %i(0,00000000)
:i endfunction

Return to “THUG2 modding”

Who is online

Users browsing this forum: No registered users and 28 guests