Candles that Produce Light

blitz

Warper
Member
Joined
Mar 16, 2015
Messages
2
Reaction score
0
First Language
English
Primarily Uses
Hi there,

I'm new to this community and RPG Maker VX Ace and was wondering if there was an easy way to create an event

which produces light coming from a candle graphic in a dim area.. Also, if you know how to move the location of the title screen text, change the font and the size. Thank you.  :D
 

GolfHacker

Veteran
Veteran
Joined
Feb 15, 2015
Messages
477
Reaction score
682
First Language
English
Primarily Uses
RMVXA
Well, I'm just getting started with VX Ace myself (so I'm no expert), but here's how I did it:
 
1. I'm using Khas Awesome Light Effects and Vlue's Advanced Game Time scripts, which I added via the script editor. Vlue's script has a USE_KHAS variable that you can set to true to easily tie the two together.
 
2. I created a new Armor item for the candle, so the player has to equip it in the shield slot to use it.
 
3. I set up a common event, like so:
 

@>Conditional Branch: [Eric] is [Candle] Equipped @>Script: l = $game_map.lantern : l.change_owner($game_player) : l.set_graphic("light_m") : l.set_opacity(230,20) : l.show @>: Else @>Script: l = $game_map.lantern : l.change_owner($game_player) : l.set_graphic("light_m") : l.set_opacity(230,20) : l.hide @>: Branch End@>Eric is the default name for Actor #1. Now as soon as he equips the candle in the shield slot, the light comes on.

Admittedly, it's not the best solution. (I'm still learning) I hate the way it takes so many key presses in-game just to equip the thing so I can see. Eventually, I want to see if I can tie it to a hot key instead, so that the hot key will auto-equip the candle. But I've got other things I'm trying to learn and figure out right now.

Regarding your other questions, I have no idea yet. But check out the tutorials and list of custom scripts, and poke around in the program a bit. I'm sure there's a way.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
Actually, Khas Lighting script might well not be the best solution for you.  It has a lot of problems (the number of threads devoted to sorting out the bugs is substantial) and a new version is due out any day now, so if you want to go down that route, you might be better to wait until it arrives.

However, for something as simple as that a script is quite unnecessary.  For an alternative see this - simple to do yet very effective.  I recommend experimenting a bit more to find out what the engine is capable of without scripts, as it does a lot more than many people realise when they first start out.

I'll be honest, I cannot see the connection between your post and the solution of equipping the candle as a piece of armor or why Vlue's script is needed.

To move the location of the title screen text - somewhere in my notes to self I have how to do this.  I'll have to go hunting, and in the meantime someone else may come along with the solution.  It's easy to do, just need to get the proper references.

To change the font and the size - are you using pure default for that or are you using e.g. Yanfly's Ace Core Engine?

EDIT

 And here's how to do the change position thing.

[SIZE=10.5pt]In the default script Scene_Title at section beginning line 91[/SIZE]

[SIZE=10.5pt]Just set the x,y coordinate of @command_window by dropping in the coordinates at line 93 (i.e. under the line saying @command_window = Window_TitleCommand.new[/SIZE]

[SIZE=10.5pt]For example[/SIZE]

@command_window.x = 0@command_window.y = 110

[SIZE=10.5pt]This example pushes it completely to the left (x = 0) and quite high up (y = 110). Just do as you wish.  If, for example, you want it to the right, try x = 400, y = 300.[/SIZE]
 
Last edited by a moderator:

GolfHacker

Veteran
Veteran
Joined
Feb 15, 2015
Messages
477
Reaction score
682
First Language
English
Primarily Uses
RMVXA
I'll be honest, I cannot see the connection between your post and the solution of equipping the candle as a piece of armor or why Vlue's script is needed.
If the candle is just sitting on a table, then yeah my suggestion is overkill.


I just figured out how to carry a candle around with me this past weekend, so that was fresh on my mind. I read "candle", and thought "Hey I just figured out a way to do that a few days ago!" I'll read more carefully next time.
 

blitz

Warper
Member
Joined
Mar 16, 2015
Messages
2
Reaction score
0
First Language
English
Primarily Uses
I don't wish to carry the candle, just for it to be stationary in one location. I'm surprised there isn't an easier option for this as a singular event just to produce light in a dim room. Thanks for your suggestions however. Also, do the community of RPG Maker VX Ace despise using default tilesets? 
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
Busted Ed's option is the easy one.  You are simply placing an event with a graphic on it.  I don't know how it could get any simpler, as you are placing events all the time.

As for use of RTP, there are several threads where this is discussed.  Extremely long story short:

Default tilesets, when used creatively and with good mapping skills, are fine for a free game, but if you want to go commercial (because of customer expectations) then it will be a handicap on sales.

When used badly or with poor mapping skills, then yeah, everyone hates it - but that would be true even if you were using high class custom resources.  If you can't use the resource well, then it doesn't matter what it is, it will still look bad.

Even with RTP, there are a few things it would be good to customise anyway, e.g. window skin, none of which are difficult

There is a ton of free resources on this site, so if you don't want to use RTP and don't want to spend a fortune on commissioning art, you can still do it.

The general hope is that people will at least do some small edits themselves on the RTP (if not using resources as in the previous point) so as to have some variety.
 
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
I've moved this thread to RGSS3 Script Requests. Please be sure to post your threads in the correct forum next time. Thank you.


One request per thread, please.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
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

Forum statistics

Threads
105,868
Messages
1,017,074
Members
137,578
Latest member
JamesLightning
Top