How to make a new \ command?

Status
Not open for further replies.

FrozdY

Villager
Member
Joined
Jun 25, 2014
Messages
27
Reaction score
0
First Language
English>Swedish
Hey, I was wondering how I can make a new window pop up like " \$ " but I'd like that exact thing or have a new backslash window to track a certain variable.

For example, I have a variable that tracks my " Energy " but I want a window that tracks that all the time or have it called by a " \ " command in the " Show text " event, could anyone help me?
 

??????

Diabolical Codemaster
Veteran
Joined
May 11, 2012
Messages
6,513
Reaction score
3,203
First Language
Binary
Primarily Uses
RMMZ
Pretty sure Vlue done a script called 'variable hud' (something like that) that does what you are asking :)
dont havea  link I am afraid - but google is your friend :)
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
the backslashes themselves are actually escape code sequences, for what you want though, I'd suggest a direct script call instead of using the escape code method since that will actually be easier... 

Either way you choose, you'd need to handle the energy part on it's own anyways and you'd still make a window for that too... Choosing between the direct call and the escape code will just be a matter of how you'd show the window itself...
 

FrozdY

Villager
Member
Joined
Jun 25, 2014
Messages
27
Reaction score
0
First Language
English>Swedish
Thing is, I have NO idea how to code anything, well, really basic HTML and really basic Expression 2 in garry's mod, but that's about it :(
 

FrozdY

Villager
Member
Joined
Jun 25, 2014
Messages
27
Reaction score
0
First Language
English>Swedish
If I could call the script through a paralell process on every map then that would work fine aswell so that it always shows
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
FrozdY, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


I suggest you go to the master script list and look for an advanced messaging script - either Yanfly's or Modern Algebra's advanced text system.


Both add a lot of text codes to the default system, and there is a good chance that one of them provides what you need - because scripting in RM is more like programming than simple HTML-coding, and adding text codes isn't trivial even for good scripters.
 

FrozdY

Villager
Member
Joined
Jun 25, 2014
Messages
27
Reaction score
0
First Language
English>Swedish
I'm sorry for the double posting, I didn't see the edit button at first, but yeah, if someone could provide the code for me, that would be great.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
Oh wait, if it's a variable from the variable list (the list where you choose variables when using them on events) and it's fine if the value shows inside the text box, you can always just use \V[index]
 

FrozdY

Villager
Member
Joined
Jun 25, 2014
Messages
27
Reaction score
0
First Language
English>Swedish
I know Engr but i actually want a separate window for it because i want it to visable at all times with a paralell process, having a chat window at the bottom telling you all the time is just gonna get annoying.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
I know Engr but i actually want a separate window for it because i want it to visable at all times with a paralell process
That is called a gap window or an event window, and there are already scripts for it on the master script list as well.
If you don't know where the master script list is, then follow the link in my signature - the master script is one of the many links in there.


And you should be careful with using parallel processes, in most cases there are not needed.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
then you won't be using the \ commands... I just thought you want it only to show during texts since you told us about if we can do that using a new \ command...
 

FrozdY

Villager
Member
Joined
Jun 25, 2014
Messages
27
Reaction score
0
First Language
English>Swedish
Yeah, i changed my mind because I didn't think straight at first, sry Engr
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
Unless you know how to script your own window, I do guess you just need to find the script that Dekita mentioned
 

FrozdY

Villager
Member
Joined
Jun 25, 2014
Messages
27
Reaction score
0
First Language
English>Swedish
Okay, I tried what Dekita said and you recommended aswell Engr, thanks, I found http://www.rpgmakervxace.net/topic/2302-xs-variable-hud/ which works awsomely, BUT there's no background on it so it's hard to see the numbers, how would I make a background for it?

Edit:

Nevermind, i just made a picture that's always visible.
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,865
Messages
1,017,059
Members
137,575
Latest member
akekaphol101
Top