Logo

[SM5] Creating Theme questions

Register Log In Back To Forums

Post #1 · Posted at 2013-07-01 05:45:54am 10.7 years ago

Offline zGHRs
zGHRs Avatar Member
36 Posts
China
Reg. 2013-07-01


Last updated: 2013-07-01 05:52am
Hello, every stepmania players. Because my old account can't be accessible due to both I forogtten the password and I have forgotten the registerred e-mail. So I have to register a new account to ask a theme question:

Now I am creating an SM5 theme, Like of this:
http://img33.imageshack.us/img33/8242/4jqi.jpg
(The Green Square Area)

http://img28.imageshack.us/img28/5335/p25t.jpg
(The Yellow Square Area)

How to solve the problem with the ratio in widescreen? I want to make the Stream display should not be ranout or fillover the lifemeter bar. Have it got any elites to get some points?

Post #2 · Posted at 2013-07-02 04:10:53am 10.7 years ago

Offline dbk2
dbk2 Avatar Member
332 Posts
Not Set
Reg. 2012-04-30


Last updated: 2013-07-02 04:12am
I suspect the problem has to do with the "container" image you've made and how you've chosen to render it.

The SM Theming Wiki has a page on Sizing Commands here: http://kki.ajworld.net/wiki/Commands:Main

My guess is that you have the size of the Lua actor for the container graphic hardcoded to a value. You may want to make it more flexible, taking SM constants like SCREEN_WIDTH into consideration.


-- maybe you have something like this...?

LoadActor("container.png") .. {
InitCommand=cmd( zoomto, 200, 20; );
};

--maybe try something like this

LoadActor("container.png") .. {
InitCommand=cmd(zoomto, SCREEN_WIDTH/2 - 40, 20 );
};

Post #3 · Posted at 2013-07-02 10:42:41am 10.7 years ago

Offline SoundFX09
SoundFX09 Avatar Member
125 Posts
United States
Reg. 2012-07-25


Last updated: 2013-07-02 10:45am
I might as well Ask my Question for help here, If it's okay.

I want to put Modifiers on My DDR X3 Theme to Display inside the Red Box During Gameplay. Anyone know how?

http://i1268.photobucket.com/albums/jj578/SoundFX09/2013-07-01_2330352_zps2330d6fc.jpg

By Modifiers I mean these:


http://i1268.photobucket.com/albums/jj578/SoundFX09/x25_zps1468d2d0.png

http://i1268.photobucket.com/albums/jj578/SoundFX09/x2_zps22640c85.png

http://i1268.photobucket.com/albums/jj578/SoundFX09/x15_zps1c1f2222.png

http://i1268.photobucket.com/albums/jj578/SoundFX09/x1_zps1e702a65.png

Post #4 · Posted at 2013-07-02 10:22:52pm 10.7 years ago

Offline dbk2
dbk2 Avatar Member
332 Posts
Not Set
Reg. 2012-04-30

Do you only want speed modifiers or do you want ALL play modifiers (like... Reverse, Tornado, Little, etc.)?

Post #5 · Posted at 2013-07-03 04:34:33am 10.7 years ago

Offline SoundFX09
SoundFX09 Avatar Member
125 Posts
United States
Reg. 2012-07-25


Last updated: 2013-10-29 07:04am
Quote: dbk2
Do you only want speed modifiers or do you want ALL play modifiers (like... Reverse, Tornado, Little, etc.)?

Just Speed modifiers please. It would be a Good place to start.

Post #6 · Posted at 2013-07-03 06:18:40am 10.7 years ago

Offline 2DXFTW
2DXFTW Avatar Banned
21 Posts
United States
Reg. 2013-06-29

"meow meow rawr"
I don't know how exactly to make a theme, but now since I've seen this thread, can anyone help me?

A, E, I, O, Fuck you. Cool

Post #7 · Posted at 2013-07-03 09:03:52am 10.7 years ago

Offline SM MaxX
SM MaxX Avatar Member+
910 Posts
United States
Reg. 2012-08-30

Nintendo Switch Friend Code: SW-1495-0040-1058
"I play too much touhou"
You'll need to be more specific than that
http://i.imgur.com/EvGgqSs.png

Post #8 · Posted at 2013-07-03 10:21:15am 10.7 years ago

Offline 2DXFTW
2DXFTW Avatar Banned
21 Posts
United States
Reg. 2013-06-29

"meow meow rawr"
Quote: SM MaxX
You'll need to be more specific than that
What do you mean?

A, E, I, O, Fuck you. Cool

Post #9 · Posted at 2013-07-03 10:22:56am 10.7 years ago

Offline SM MaxX
SM MaxX Avatar Member+
910 Posts
United States
Reg. 2012-08-30

Nintendo Switch Friend Code: SW-1495-0040-1058
"I play too much touhou"
like, do you want to know how to make a theme in general or have specific theming questions or what?
http://i.imgur.com/EvGgqSs.png

Post #10 · Posted at 2013-07-03 10:26:03am 10.7 years ago

Offline 2DXFTW
2DXFTW Avatar Banned
21 Posts
United States
Reg. 2013-06-29

"meow meow rawr"
Quote: SM MaxX
like, do you want to know how to make a theme in general or have specific theming questions or what?
Mostly the bolded part in general.
A, E, I, O, Fuck you. Cool

Post #11 · Posted at 2013-07-04 09:55:57am 10.7 years ago

Offline zGHRs
zGHRs Avatar Member
36 Posts
China
Reg. 2013-07-01

Quote: dbk2
I suspect the problem has to do with the "container" image you've made and how you've chosen to render it.

The SM Theming Wiki has a page on Sizing Commands here: http://kki.ajworld.net/wiki/Commands:Main

My guess is that you have the size of the Lua actor for the container graphic hardcoded to a value. You may want to make it more flexible, taking SM constants like SCREEN_WIDTH into consideration.


-- maybe you have something like this...?

LoadActor("container.png") .. {
InitCommand=cmd( zoomto, 200, 20; );
};

--maybe try something like this

LoadActor("container.png") .. {
InitCommand=cmd(zoomto, SCREEN_WIDTH/2 - 40, 20 );
};

I have got a new question, What file can we put this code to direct the LifeMeter Bar? Or I make the new lua to direct the LifemeterBar?

Post #12 · Posted at 2013-07-04 10:48:40am 10.7 years ago

Offline dbk2
dbk2 Avatar Member
332 Posts
Not Set
Reg. 2012-04-30


Last updated: 2013-07-04 10:49am
Quote: zGHRs
What file can we put this code to direct the LifeMeter Bar? Or I make the new lua to direct the LifemeterBar?

The file you change depends on how you are coding your theme...

Are you making your own theme, or using someone else's and changing graphics?

If you are making your own theme, the code will be in the file that you made to load the lifebar frame graphic.

If you are using someone else's theme and changing graphics, you can search through their lua files to find which one has the name of your lifebar frame. What is your lifebar frame called? That's what you should look for in lua.

For example, if your lifebar frame was called lifebarframe.png then you should look for

LoadActor("lifebarframe")..{

somewhere in one of the ScreenGameplay lua files.

Post #13 · Posted at 2013-07-04 03:09:21pm 10.7 years ago

Offline razorblade
razorblade Avatar Member
1,099 Posts
Not Set
Reg. 2011-03-01


Last updated: 2013-07-04 03:13pm
It's inside [StreamDisplay] that controls the size of streaming life bar.
Try this in your theme's metric.ini:


[StreamDisplay]
PillTransformFunction=function(self,offsetFromCenter,itemIndex,numItems) \
local fItemWidth = ( 230 / numItems ) \
self:x( ((itemIndex-(numItems/2))*fItemWidth) + ( numItems / 2 ) ); \
self:zoomtowidth(fItemWidth); \
self:zoomtoheight(14);
end;
TextureCoordScaleX=-30
NumPills=26


Register Log In Back To Forums

0 User(s) Viewing This Thread (Past 15 Minutes)

©2006-2024 Zenius -I- vanisher.com -5th style- IIPrivacy Policy
Web Server: 4% · Database: 4% · Server Time: 2024-03-29 02:38:46
This page took 0.012 seconds to execute.
Theme: starlight · Language: englishuk
Reset Theme & Language