Code: Select all
:i function call $anteara_show_custom$ arguments
$active_viewport$ = %i(0,00000000)$parent$ = $root_window$
:i if NOT call $ScreenElementExists$ arguments
$id$ = %GLOBAL%$parent$
:i $printf$%s(49,"WARNING: menu3d_show_sign couldn't find parent %s")$s$ = %GLOBAL%$parent$
:i return
:i endif
:i call $SetScreenElementLock$ arguments
$id$ = %GLOBAL%$parent$$off$
:i $GetPausePosByResolution$
:i $CreateScreenElement$:s{
:i $parent$ = %GLOBAL%$parent$
:i $type$ = $Element3d$
:i $id$ = $anteara_custom$
:i $Model$ = %s(29,"veh\veh_custom\veh_custom.mdl")
:i $SkeletonName$ = $car$
:i $Class$ = $Vehicle$
:i $pos$ = %vec2(150.000000,280.000000)
:i $CameraZ$ = %i(4294967290,fffffffa)
:i $scale$ = %f(0.020000)
:i $PivotPoint$ = %vec3(0.000000,4.120000,0.000000)
:i $active_viewport$ = %GLOBAL%$active_viewport$
:i $AngleOrderXYZ$
:i $anglex$ = %f(-1.570000)
:i $angley$ = %i(0,00000000)
:i $anglez$ = %f(0.000000)
:i $just$ = :a{call $Left$ arguments
$center$:a}
:i :s}
:i call $spawnscript$ arguments
$rotate_pause_deck2$%GLOBAL%$no_slide$
:i endfunction
As you can see.. this is almost exact to what the game uses by default to add things to the pause menu (which is add_3d_bg)..
I'm not looking for a handout here, just some insight as to why it's not working so well, I might look through the park editor scripts also if I get the time.
Cheers