Create Screen Element - Score

General/other thps modding discussion
quazz
Posts: 185
Joined: Sat May 01, 2010 5:57 pm
Contact:

Create Screen Element - Score

Postby quazz » Sun Mar 20, 2011 10:42 pm

Hey, does anyone know how which screen element is the consistently updated score in the hud? I'm trying to reinstate a permanent score display in the hud in THP8 Xbox, so I've looked in panelstuff.qb on the thug2 scripts and found this:

Code: Select all

   :i $CreateScreenElement$:s{
      :i $id$ = $the_score$
      :i $type$ = $textelement$
      :i $parent$ = $player1_panel_container$
      :i $font$ = $testtitle$
      :i $text$ = %s(1,"0")
      :i $scale$ =  (%f(1.000000))
      :i $pos$ = %vec2(136.000000,15.000000)
      :i $just$ = :a{call $left$ arguments
            $top$:a}
      :i $rgba$ = :a{%i(105,00000069)%i(105,00000069)%i(105,00000069)%i(128,00000080):a}
   :i :s}


This seems to be the score, but it's not updated when the skater performs tricks. I think there's one called "score_pot" which might be the real one I'm looking for? Doesn't seem to be much documentation on this so I'm asking for it here.
quazz
Posts: 185
Joined: Sat May 01, 2010 5:57 pm
Contact:

Re: Create Screen Element - Score

Postby quazz » Sun Mar 20, 2011 10:54 pm

Thanks! I should be able to use one for the ID and I'm all set?

Return to “Other THPS games modding”

Who is online

Users browsing this forum: No registered users and 20 guests