Ruby/RGSSx questions that don't deserve their own thread

1. Based on party level.
I decided to not make it against party level as neon black pointed out "I level up so I can kick monsters' asses, not for them to just go and do the same thing" which is a highly valid point ( as ido the same thing ^_^ )

2. Exceptions for each individual enemy (either via notetags or directly in the script)..
I was thinking, a script call to make the very next battle a "fixed" battle something like this "fixed_battle(true, level)" and that would make the next enemy level fixed, for boss encounters and such, and then also other script calls to fix enemies iv's and natures
I decided to not make it against party level as neon black pointed out "I level up so I can kick monsters' asses, not for them to just go and do the same thing" which is a highly valid point ( as ido the same thing ^_^ )
Your ideas sound good. I only considered having a setting for based on party level also because some game makers may want certain battles that require more strategy than just overpowering, like for a boss type battle (but I also level up so I don't have to do it as much)... Also, if it's determined by party level, would exp gain rates also increase? Because then it would reduce grinding time..

When you said based on level I was thinking you meant people could config it so you could have different enemies have like say.. A minimum level, but also grow with players, but people could configure it so it would remain a certain number of levels under the party.. Therefore it would still let people grind, but increases the speeds also..

Oh well, nvm.. I'm just over thinking things. Honestly I'm just happy to hear this is being worked on, and it's being handled quite well. =)
I only considered having a setting for based on party level also because some game makers may want certain battles that require more strategy than just overpowering, like for a boss type battle
you could always just use the fix lvl script call like this



Code:
fix_lv_battle( $game_party.members[0].level )
and that would set the next battle'd enemy to have the same lvl as the party leader 😛

would exp gain rates also increase?
exp and gold will increase by a set calculation that includes enemy level, actor lvl and the difference between yours and enemies lvl.

This will enable a dynamic-ish exp gain where you will gain more if you are lower lvl than enemy and less if higher

When you said based on level I was thinking you meant people could config it so you could have different enemies have like say.. A minimum level, but also grow with players, but people could configure it so it would remain a certain number of levels under the party.. Therefore it would still let people grind, but increases the speeds also..
The only configuration i have decided to do is the map notetags, and i have set up script calls to make the next battle a specific battle, for a fixed enemy lvl, nature, iv's and shinies ((more rare ) but thats a different script 😛 )

and then the battles "reset" and are no longer fixed, so if you wanted a few fixed battles in a row you would have to re use the script calls before each battle, but i think thats easy enough really 😛
This isn't a thread to discuss a script that you have in development, you know -- there's a forum dedicated to doing that.
indeed, but i didnt think my initial question deserved its own thread so i posted it here instead, now that you mention it thought i probably should have posted it there , so my apologies for that.
No worries -- you guys just seemed to be getting a little bit off-track.

On-topic, though, this is something that I've been curious about, personally: is there any way to retrieve arguments that have been sent to Game.exe? I've tried using the standard Ruby global variables, but it seems that the arguments are completely discarded. While I can live with that, it would be nice to know if it's possible to get them in any case.
No worries -- you guys just seemed to be getting a little bit off-track.

On-topic, though, this is something that I've been curious about, personally: is there any way to retrieve arguments that have been sent to Game.exe? I've tried using the standard Ruby global variables, but it seems that the arguments are completely discarded. While I can live with that, it would be nice to know if it's possible to get them in any case.
This is not something that a language would provide a mechanism for as it is platform (OS) specific, but there is a way to do it in Windows: http://stackoverflow.com/questions/9589431/getting-the-command-line-arguments-of-another-process-in-windows

Of course, I don't know how useful that is since Game.exe disregards its command line parameters.
Of course, I don't know how useful that is since Game.exe disregards its command line parameters.
Interesting to read regardless, so thank you for that, at least. If I can't get them using RGSS3, though, I'll just reevaluate the idea that I have and implement it some other way (Game.ini, most likely, especially with Zeriab's previous post about using it).
When making scripts how do you get them to start at a certain point in the game functions? Like if I am making a menu script, How do I only get it the script to start when a menu is called?
you would write your code into the scene, or windows for the scene that you want to modify, e.g scene menu
I've added Graphics.resize_screen(640, 480) to the Main script, but when the game starts, it shows the smaller window initially, and after a second or two it resizes. Is there any way to make it snap to the larger size immediately?
I've added Graphics.resize_screen(640, 480) to the Main script, but when the game starts, it shows the smaller window initially, and after a second or two it resizes. Is there any way to make it snap to the larger size immediately?
Unfortunately, there is some delay between the time the program starts and the time that scripts begin to be read. You can lessen the time by putting Graphics.resize_screen call higher up on the scripts, before other scripts, but this will likely shave off a fraction of a second.
Yes, I tried that and didn't see a discernible difference 🙁 Thanks for confirming.
Am I allowed to double-post in this thread for a different question?

I'm having trouble finding the code that controls the background opacity of the message window only. I've seen several methods in the Window_Message class, but changing some of them has no effect, and others I'm not too sure about changing (because they don't SEEM like they'd be involved). I can see where it uses the window colour I defined in the System tab, but not where it sets the opacity.
Add

self.back_opacity = VALUE

to the initialize method of Window_Message. You can do this with any window to alter its background opacity. The default value is 192.
That did not make a difference.
self.contents_opacity maybe? I'm not sure what part you are referring to.

Ok so the window has three parts

opacity - the window itself (mostly frame and arrow I think)

back_opacity - the background of the window

contents_opacity - the contents of the window

EDIT: nvm it should be back_opacity. That's weird.
I just tried it myself, and it worked perfectly. Are you sure you don't have the initialize method being redefined somewhere else at a later point?

Edit: The placement matters, by the way. It should be at the end of the method (after super and all).
Yep, it was at the end of the method, nope, it's not redefined elsewhere.

Oh, wait ... changing it to 255 did make a difference. So maybe I'm just finding the default is too transparent for the message window.

Thanks for your help Enelvon.
Not a problem. I'm glad you figured out what the problem was.

Original thread: https://forums.rpgmakerweb.com/threads/ruby-rgssx-questions-that-dont-deserve-their-own-thread.150/