じ☆ve冰风 发表于 2026-7-30 14:28:05

OcRam - Time System plugin (for MV)

Introduction
This plugin will give you easy to configure time system to your RPG Maker MV projects! Plugin has also more advanced features to make your game look EXACTLY as you want it.

You do not need any parallel events to maintain time system. And imagine that you got tileset that responds to current season and ambient background sounds that responds to current season AND day phase! All of this WITHOUT EVENTS!

Example: It's summer time and you walk in the forest at night you hear owl and/or crickets, suddenly sun is rising and birds starts to chirp.

Here is what you need:
1. This plugin
2. Configure variables
3. Optionally write meta tags (to change BGS / Tilesets according to moment)
4. Optionally create common events (for advanced eventing such as integrating to light/layer or other plugins)

Spoiler: Meta tagsMAP meta data will always override TILESET meta data. Meta data in both cases is written in NOTE -field.

Season meta tags for tileset/map note field:
<spring:n>, <summer:n>, <autumn:n>, <winter:n>
Where n = Tileset Id number

BGS meta tags for tileset/map note field (plugin tries next line if not found):
<bgs-season:night_bgs,dawn_bgs,day_bgs,dusk_bgs>
<bgs-season:night_bgs,dawn_bgs,default_bgs>
<bgs-season:night_bgs,default_bgs>
<bgs-season:default_bgs>
<bgs:night_bgs,dawn_bgs,day_bgs,dusk_bgs>
<bgs:night_bgs,dawn_bgs,default_bgs>
<bgs:night_bgs,default_bgs>
<bgs:default_bgs>
Spoiler: Built-in day phase as common event (if you want to modify it)If : Script : $dataMap.meta["indoors"] !== undefined
If : Script : SceneManager._scene._OC_JustLoaded
      Tint Screen : (0,0,0,0), 1 frame
: Else
      Tint Screen : (0,0,0,0), 360 frames
: End
: Else
If : Day phase variable = 1
    If : Script : SceneManager._scene._OC_JustLoaded
      Tint Screen : (-96,-96,0,68), 1 frame
    : Else
      Tint Screen : (-96,-96,0,68), 360 frame
    : End
: End
If : Day phase variable = 2
    If : Script : SceneManager._scene._OC_JustLoaded
      Tint Screen : (68,-34,-34,0), 1 frame
    : Else
      Tint Screen : (68,-34,-34,0), 360 frame
    : End
: End
If : Day phase variable = 3
    If : Script : SceneManager._scene._OC_JustLoaded
      Tint Screen : (0,0,0,0), 1 frame
    : Else
      Tint Screen : (0,0,0,0), 360 frame
    : End
: End
If : Day phase variable = 4
    If : Script : SceneManager._scene._OC_JustLoaded
      Tint Screen : (68,-34,-34,0), 1 frame
    : Else
      Tint Screen : (68,-34,-34,0), 360 frame
    : End
: End
: End
If analog/digital map clocks are used, following images must be in folder: ./img/ocram
analog.png, digital.png, night.png, dawn.png, day.png, dusk.png

Image files included in OcRam_Clock_Weather_Images.zip are free to use in any type of project - also no credits needed for using these image files

All OcRam -plugins now available at ocram-codes.net

Please read: Terms of Use

Latest version:Download from here

All my plugins:Check 'em out!


本贴来自国际rpgmaker官方论坛作者:OcRam处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/ocram-time-system-plugin-for-mv.107735/
页: [1]
查看完整版本: OcRam - Time System plugin (for MV)