How do I change judge counter location?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rapta
    🡸Index🡻Is🡹Fun!🡺
    Profile Moderator
    FFR Simfile Author
    Global Moderator
    • Dec 2010
    • 1948

    #1

    How do I change judge counter location?

    It is currently behind the right arrow notes and it bothers me.

    I would prefer it to be more to the right.
    Discover the magic of the internet at Imgur, a community powered entertainment destination. Lift your spirits with funny jokes, trending memes, entertaining gifs, inspiring stories, viral videos, and so much more from users.
    Last edited by Rapta; 04-13-2015, 08:31 PM.
    Old Quotes
    Originally posted by IwasAsquidOnce
    Note the left hand pinky. It stretches out into attack mode to make etienne's hand appear larger, an intimidation technique for the arrows.
    Originally posted by Mourningfall
    [3:51 PM] Mourningfall: i spent the second half of that song getting face fucked by a fly
    Originally posted by Xiz
    Hi I see rapta come play TWG next game
    Originally posted by xXOpkillerXx
    Rapta thinks alot about memes and fonts. I'd be inclined to think he's town because wolves wouldn't have time to meme would they ?
    Originally posted by Prawnskunk
    if we keep releasing engines that work on 1/4 of people's computers, we'll get there
    Originally posted by gold stinger
    do u even agrabah
    Originally posted by gold stinger
    Today at 12:53 AM
    I have no fucking idea how you were able to identify that specific line from meme show so you are basically an elder god of memes
    Originally posted by Psychotik
    When I think Mother’s Day, I think Venetian Snares.
    Originally posted by Haku
    have you heard someone mention eating pancakes to negate friday 13th?




    Originally posted by Prawnskunk at 10:53:56pm on 10/26/11
    OMFG VC! I want your programming fingers in or around my mouth OnO
    Originally posted by Storn at 3:03 PM
    We have so many batches open. Its like a backlog clearance sale. ALL FILES MUST GO!!
    Originally posted by ToonE156 at 11:07 PM
    You've never felt intimacy until you've practiced Jiu Jitsu ground techniques with the only girl in class
  • Kyzentun
    FFR Player
    • Dec 2014
    • 125

    #2
    Re: How do I change judge counter location?

    The judgment and combo positions are controlled by two functions. JudgmentTransformCommand and ComboTransformCommand.
    If a theme doesn't use the default functions that the _fallback theme provides, it creates its own somewhere in Scripts or metrics.ini.
    The official release of ultralight uses the ones in _fallback.
    So you could just put a file in Scripts with the functions doing what you want.
    Something like this:
    Code:
    local judge_offsets= { PLAYER_1= 100, PLAYER_2= -100 }
    
    function JudgmentTransformCommand( self, params )
    	local x= judge_offsets[params.Player]
    	local y = -30
    	if params.bReverse then
    		y = y * -1
    		self:rotationx(180)
    	else
    		self:rotationx(0)
    	end
    	if params.bCentered then
    		if params.Player == PLAYER_1 then
    			self:rotationz(90)
    		else
    			self:rotationz(-90)
    		end
    	else
    		self:rotationz(0)
    	end
    	self:xy(x, y)
    end
    
    function ComboTransformCommand( self, params )
    	local x= judge_offsets[params.Player]
    	local y = 30
    	if params.bReverse then
    		y = y * -1
    		self:rotationx(180)
    	else
    		self:rotationx(0)
    	end
    
    	if params.bCentered then
    		if params.Player == PLAYER_1 then
    			self:rotationz(90)
    		else
    			self:rotationz(-90)
    		end
    		if params.bReverse then
    			y = y - 30
    		else
    			y = y + 40
    		end
    	else
    		self:rotationz(0)
    	end
    	self:xy(x, y)
    end
    Stepmania Development in action:

    Comment

    Working...