Jump to content
Vlue

Advanced Game Time

Recommended Posts

Unlike the basic, this one is not free for use in commercial projects.

 

 

Does this mean it is free to use in non-commercial projects? English is not my first language, and that was a bit confusing for me.

Share this post


Link to post
Share on other sites

I was trying to change the game time using a script call, but every time I do I get "Script 'Game_Interpreter' line 1411: ArgumentError occurred. wrong number of arguments (7 for 6)" I tried googling it, and messing around with the call. I know next to nothing about scripting, though, so there's a good chance I'm messing up something little.

 

I used the button under "Advanced" on page three, and inserted the "GameTime.change(nil,30,4,1,1,1,2012)" thing, thinking that maybe the numbers I had put in where wrong in some way. I still got the same thing. Any clue as to how to fix this?

 

Nothing you were doing wrong, mistake in my script. Fixed and updated in the pastebin.

 

 

Unlike the basic, this one is not free for use in commercial projects.

 

 

Does this mean it is free to use in non-commercial projects? English is not my first language, and that was a bit confusing for me.

 

Yes, free to use in non-commercial projects, as are all my scripts.

Share this post


Link to post
Share on other sites

Hey Vlue, one of my players reported this script error when they were just standing around. I'm not sure what caused it.

 

script: vlue's advanced time' line 326: RGSSError Occurred

Failed to create bitmap

Share this post


Link to post
Share on other sites

What's it say on that line number? The pastebin line wouldn't error like that.

Share this post


Link to post
Share on other sites

self.bitmap = Bitmap.new(Graphics.width,Graphics.height)

 

I'm still using 1.1.3

 

If I upgrade to 1.2 that shouldn't happen right?

Share this post


Link to post
Share on other sites

I believe so, I recall having to deal with that error once already before

Share this post


Link to post
Share on other sites

Alright, I just hate having to re-update the settings whenever I paste in a new version, lol

Share this post


Link to post
Share on other sites

I have a question :

 

It is possible to add a second "type" of tints ? I would like to have some type of tints in interiors according to the time.

Share this post


Link to post
Share on other sites

Something to look into for sure

Share this post


Link to post
Share on other sites

I'm trying to write a command that would make plants regrow at midnight, how would I go about dong this? For example...

You can pick plants and put them in your inventory so they disappear, but I want them all to return at midnight.

I haven't found a way to do this without having to make the event for each plant separate. Which would really suck. I'm sure the answer is simple and I'm missing it. Any help with this?

Share this post


Link to post
Share on other sites

Each event separate. But creative use of self switches can make it copy/pasteable!

Share this post


Link to post
Share on other sites

Hi, i use your script, and have the problem that when its night, and i am at a "not so lightened" place, that i cant see parts of my HUD. Is there a way, to make the HUD unaffected by the tint?

Here a screen, so you know what i mean:

 

 

Hud_Error.png

 

 

The Light Effects are from Khas Light Script.

Share this post


Link to post
Share on other sites

You would have to change the Huds z value to be above the tint. And despite going over this several times I can't recall offhand what the z value is for Khas's tint. I think it's around 200.

Share this post


Link to post
Share on other sites
You would have to change the Huds z value to be above the tint. And despite going over this several times I can't recall offhand what the z value is for Khas's tint. I think it's around 200.
HI,

 

i guess the Z value of Khas should be:

 

# Z coordinate of the Effect's Surface

Surface_Z = 180

 

My Huds Z is:

 

self.z = self.z + 200

 

so it should be over the effect. But still, my skillbar turns black. :(

Edited by stefan2812

Share this post


Link to post
Share on other sites

If they're sprites, try changing the z of their viewport

viewport.z = 200

or some value

Share this post


Link to post
Share on other sites

Sir Vlue how can I disable the Time Function in Menu and how can i re-size the window tallness from Window.

Thnks sir!!!!!

Share this post


Link to post
Share on other sites

Line 67 has a variable you can change to true to pause time in menus

If the clock window is too big (like I think the case may be) then change Line 95's variable to nil

Share this post


Link to post
Share on other sites

Sir i have some little problem. When i tried to turn off the time in menu i always getting this error!

 

line677: Nomethoderror occured

 

undefined method 'x =' for nil:NilClass

 

Sorry i can`t provide screenshot. Anyway i always get this error when I turned to False The Time In Menu Command.

Share this post


Link to post
Share on other sites

No need for a screenshot, the error message is 'usually' good enough. I can see that only happening when USECLOCK_MENU is set to false, which

I've just fixed and updated the script on the pastebin for.

Share this post


Link to post
Share on other sites

Hey Vlue, nice new system! Here I thought the basic one was perfect!

 

I just found something that is not supposed to happen! If you toggle the clock off and open the menu the clock displays in the menu, however when you leave the menu the clock is toggled back on. Now ideally I think that there should be a separate toggle for menu and game, for example I would like to toggle the clock OFF turning gameplay but only see it during the menu screen. Having to re toggle it off every time I use the menu can get very annoying!

 

Edit: Also noticed that if you decide to put the clock window background with an opacity of anything under 255, the opacity stays the same in the menu. So if I wanted to make the clock have a background slightly less visible then normal, when I open the menu it looks odd that the clock is more transparent then everything else... I suggest adding a separate opacity option when in the menu.

 

Also maybe I skipped over this in the last 5 pages but the months and years are not implemented yet? I ask because if you use a background for the clock there is an extra blank line below the time. Personally I don't see myself using years or really even months would it be possible to have the option to remove that blank line?

 

In fact (sorry I bet im becoming a pain :P), if possible is there any way to display just the time or just the time and date (and other variations of time date month year) during gameplay and the full clock at the menu? I could see it being much more attractive for those who do not need to keep a close eye on months or days. For me the player only needs to really monitor the hour and does not need to focus on the days so much, they still need to be aware of the day but to keep the hud clean and neat a simple "ESC" will be more beneficial as 1 game day does not pass so quickly that the player needs to keep a close eye on it.

 

test.jpg

Edited by Ice Nick

Share this post


Link to post
Share on other sites

All easy stuff. Years and what not are in there, the extra big clock window was just a bug.

Clock not remembering if it's supposed to be visible or not fixed now too.

Different opacitys fixed.

Options on what format to display the clock in has been updated to allow for different formats between map and menu. Woot

Share this post


Link to post
Share on other sites

Very impressive lol.

Now im nitpicking here but 2 things I noticed.

One being if you toggle the clock off it no longer appears in the menu, is that intended? Either way I don't think there is any reason to toggle it off in the menu since we can just not display it in the menu if we choose.

Second is when you open and close the menu and have different formats you can see it change format, this is very noticeable and just looks odd :S.

Awesome script!

Edited by Ice Nick

Share this post


Link to post
Share on other sites

True and true and fixed for the most part, whee.

Share this post


Link to post
Share on other sites

i think im gonna switch to your time of day script.

wow, my games gonna be flipping awesome

 

lol love the name of the blinking dots in the script =3

nothing is in here

 

You Looked!!! now gives meh your Moneh

 

Btw were is KHAS script?

Edited by SolarPhantom

Share this post


Link to post
Share on other sites

why cant i hide clock for certain maps? ive tried the script call but it wont work for some reason.

 

sorry complete noob when it comes to ruby

Edited by SolarPhantom

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted