Thanks a lot!
Ruby/RGSSx questions that don't deserve their own thread
RGSSx Script SupportI've been trying to understand drawing images on screen using a module, I think I have the bitmap's set up correctly, because I'm not getting any error messages. But I can't figure out how to get it to display on screen.
Going by the help files - I'm supposed to set up a viewport using "Viewport.new", and then I'm supposed to have "Sprite.new([newviewportname])" to draw the bitmap on the new viewport?
But I'm not really sure about how any of those seem to be setup. And everything I've tried to get Sprite.new reference anything leads to a no method error.
Going by the help files - I'm supposed to set up a viewport using "Viewport.new", and then I'm supposed to have "Sprite.new([newviewportname])" to draw the bitmap on the new viewport?
But I'm not really sure about how any of those seem to be setup. And everything I've tried to get Sprite.new reference anything leads to a no method error.
so this is for a script or for the program? The program has the show picture command, just in case that's what you mean.
It's for the script editor. I wanted to move this common event code that I use to animate certain weather/on screen effects because the event was getting cluttered.
-edit-
yeah, you can ignore this - I really couldn't figure it out, so I just have a script run from a single MOTHERSHIP common event. This probably should have been a post for a thread anyway. Sorry if I've been too much of a bother here.
In case anyone was really curious what I was trying to say - I just wanted to understand how to use these lines from the help file to draw a sprite onscreen:
-edit-
yeah, you can ignore this - I really couldn't figure it out, so I just have a script run from a single MOTHERSHIP common event. This probably should have been a post for a thread anyway. Sorry if I've been too much of a bother here.
In case anyone was really curious what I was trying to say - I just wanted to understand how to use these lines from the help file to draw a sprite onscreen:
Bitmap.new(filename)
Sprite.new([viewport])
Sprite.new([viewport])
I would like to get rid of long fade to black transition when:
1. Exiting the game from the Title Screen
2. Going to Title Screen from Game Over Screen
3. Going to Title Screen from in-game menu
Is that very hard to do?
1. Exiting the game from the Title Screen
2. Going to Title Screen from Game Over Screen
3. Going to Title Screen from in-game menu
Is that very hard to do?
Get rid the fadeout_all from Scene_Title > 128
Get rid the fadeout_all from Scene_Gameover > 82
Get rid the fadeout_all from Scene_End > 50
Additionally, you might also want to get rid line 58 as well
Many thanks
Is there any way to have a simple number variable displayed on screen for testing/debugging purposes?
Just open up console from Game > Show Console
After that, go to script editor, print the variable you want to printout in update method.
For example, go to Scene_Base > update_basic. Put there
After that, go to script editor, print the variable you want to printout in update method.
For example, go to Scene_Base > update_basic. Put there
Code:
p $game_variables[id]
Trying to get a character's name to have an icon at the end using "\i[15]". I've noticed that it only seems to work during battle messages - as it's displayed as text: \i[15], instead of displaying the icon, in pretty much everything else.
Is there some script that I can put in the message scripts that will get them to use icons too?
Is there some script that I can put in the message scripts that will get them to use icons too?
Pretty sure there was a script doing that, cant remember the name, made by modern algerba in rmrk iirc, or something else. Maybe u can try to open thread and see if anyone knows
Any way to make stepping/walking animation play during jump?
VX Ace question: By default, whenever there are no tiles, parallaxes, images, (etc) on a map, the map displays a solid black color
Is it possible to change this color to another color through a new script or modifying any of the default RGSS3 scripts?
Is it possible to change this color to another color through a new script or modifying any of the default RGSS3 scripts?
better question @tv.ghost what are u trying to do?
Ok. Here is where I post a question in the wrong thread. But I'm trying to find a way to give a character temporary immunity to a certain status effect as well as cure it. For example, an antidote that cures poison won't do much good if you get poisoned again next turn.
@Tanarex
What prevents you from using regular item/skill effects?
First effect removes the poison, second effect adds a state that resists poison for X turns.
What prevents you from using regular item/skill effects?
First effect removes the poison, second effect adds a state that resists poison for X turns.
Oh, I see. Like aliment guard. But make it so it only works on one effect. I can just make my own states.
Well, soon after you replied I found a solution, though there's probably more elegant ways to do this.
In Spriteset_Map, I made a fourth viewport, set its color to the RGB value and opacity I wanted in update_viewports, and set the z value to something way below the others in create_viewports. So, even with empty tilesets, the background color is no longer a default black. Couldn't find anyone talking about this online, so at least I know that this is achievable without setting any solid color images in the engine.
Thanks for offering to help anyways.
Testing the waters with scripts in RPG Maker VX Ace for the first time, so real basic question:
I'm trying to use "Move Route" > "Script..." to make an event move in a direction specified by an in-game variable. I think I've set the variable to the right move code, but how do I actually run the command?
I'm trying to use "Move Route" > "Script..." to make an event move in a direction specified by an in-game variable. I think I've set the variable to the right move code, but how do I actually run the command?
@AveryTB
EDIT
Sorry, misread which thread this is.
This is actually basic eventing, and does not require a script. It might be better to start a thread in VX Ace Support, then we can look at your event commands etc.
EDIT
Sorry, misread which thread this is.
This is actually basic eventing, and does not require a script. It might be better to start a thread in VX Ace Support, then we can look at your event commands etc.
Original thread: https://forums.rpgmakerweb.com/threads/ruby-rgssx-questions-that-dont-deserve-their-own-thread.150/