Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - LiTTleDRAgo

1
RMXP Script Database / [XP] Drago - Event Anti Lag
June 07, 2022, 09:55:37 pm
Drago - Event Anti Lag
Authors: LiTTleDRAgo
Version: 1.01
Type: Type: Performance Improving System
Key Term: Game Utility

Introduction

What this script do is just dispose all event sprites that doesn't have graphics or outside the screen/viewport.
It doesn't prevent any event to be updated.

Well, I dunno if this script is enough to be called Anti-Lag.

Features

  • Anti-Lag

Screenshots

N/A

Script

Too lazy to put in the blog.
Spoiler: ShowHide
#==============================================================================
# ** Drago - Event Anti Lag
# Version : 1.01
# forum.chaos-project.com
#==============================================================================
($imported ||= {})[:drg_event_anti_lag] = 1.01
# =============================================================================
# NOTE:
# -----------------------------------------------------------------------------
# What this script do is just disposing all event sprites that doesn't have
# graphics or outside the .
# It doesn't prevent any event to be updated.
#
# =============================================================================

class Spriteset_Map
 
  $@ || alias_method(:"drg_antilag_init", :"initialize")
 
  def initialize(*args)
    drg_antilag_init(*args)
    replace_character_sprites
  end
 
  def replace_character_sprites
    @character_sprites.map! do |sprite|
      if sprite.is_a?(RPG::Sprite)
        Control_Sprite_Character.new(@viewport1,sprite)
      else
        sprite
      end
    end
  end
end

class Control_Sprite_Character
 
  attr_reader :character
  attr_accessor :disable_update, :force_update
 
  def initialize(viewport, char=nil)
    @viewport = viewport
    if char.is_a?(RPG::Sprite)
      @klass = (@sprite = char).class
      self.character = char.character
    else
      @klass = Sprite_Character
      self.character = char
    end
    @disable_update = false
    @force_update   = false
    update
  end
 
  def character=(char)
    @character = char
    @sprite.character = char unless @sprite.nil?
  end
 
  def allow_update?
    char = @character
    return true if @force_update
    return false if @disable_update || char.nil?
    condition =   char.character_name != ""
    condition ||= char.tile_id >= 384
    condition &&= in_screen?
    return condition
  end
 
  def in_screen?
    char = @character
    return false if char.nil? || @viewport.nil?
    vr = @viewport.rect
    screen_x = (dx=$game_map.display_x) - 4*32*4
    screen_width = dx + vr.width*4 + 4*32*4
    return false if char.real_x <= screen_x
    return false if char.real_x >= screen_width
    screen_y = (dy=$game_map.display_y) - 4*32*4
    screen_height = dy + vr.height*4 + 4*32*4
    return false if char.real_y <= screen_y
    return false if char.real_y >= screen_height
    return true
  end
 
  def is_event?
    return true if @character.is_a?(Game_Event)
    return false
  end
 
  def update
    if @character && ((is_event? && allow_update?) || !is_event?)
      @sprite = @klass.new(@viewport, @character) if disposed?
      @sprite.update
      if @sprite.bitmap && (is_event? && !allow_update?)
        dispose
      end
    else
      dispose
    end
  end
 
  def dispose
    @sprite.dispose unless disposed?
    @sprite = nil
  end
 
  def disposed?
    return true if !@sprite
    return @sprite.disposed?
  end
 
  def method_missing(sym, *a, &blk)
    @sprite.send(sym, *a, &blk) unless disposed?
  end
end


Instructions

Put below Scene_Debug

Compatibility

Modified Spriteset_Map#character_sprites
Anything that involved in this variable might need some adjustment.

Credits and Thanks

  • LiTTleDRAgo
  • Blizzard (I took some references from his ABSEAL)

Author's Notes

No support, I already retired from RMXP.
2
Is there any way to change smooth mode & reduce screen flickering with a script?

Spoiler: ShowHide

https://i.imgur.com/zy0Dd4s.jpg
3
RMXP Script Database / [XP][VXA] Minesweeper
May 16, 2017, 04:08:47 am
Minesweeper
Authors: LiTTleDRAgo
Version: 1.00
Type: Minigame
Key Term: Minigame



Introduction

Remember minesweeper games in windows?
Now that game is replicated in RPG Maker.


Features


  • ~




Screenshots




Script

Here


Instructions

Press Enter to open the box
Press Backspace to set a flag
Press Escape to go back to map


Compatibility

Needs Drago Core Engine
Needs Drago Custom Input (or edit a little bit to adapt other input script)


Credits and Thanks


  • Dr.Dhoom for original script in VXAce.

  • LiTTleDRAgo




Author's Notes

Enjoy~
4
Missing Audio Replacer
Authors: LiTTleDRAgo
Version: 1.00
Type: Game Utility
Key Term: Game Utility



Introduction

Got trouble with your project and restart in a new system, and having a lot of missing bgm, bgs, etc error leftover from previous project?
Too lazy to change bgm name used in all maps to suit in a new project?
With this script, you can "alias" those bgms from previous work to suit your new project.


Features


  • Aliases bgm, bgs, me, se name.




Screenshots




Script

Here


Instructions

Place below Scene_Debug


Compatibility

Will have trouble with custom audio encryptment script.


Credits and Thanks


  • LiTTleDRAgo




Author's Notes

Enjoy~
5
RMXP Script Database / [XP] Drago Save Layout
March 14, 2017, 03:32:52 pm
Drago Save Layout
Authors: LiTTleDRAgo
Version: 1.05
Type: Custom Save System
Key Term: Title / Save / Load / GameOver Add-on



Introduction

Custom Save Layout with unlimited saves and file management


Features


  • Unlimited saves.

  • File deletion.

  • Animated.




Screenshots

Spoiler: ShowHide




Click to Enlarge



Script

Here



Compatibility

Require Drago - Core Engine v1.55


Credits and Thanks


  • LiTTleDRAgo




Author's Notes

~
6
RMXP Script Database / [XP] Drago - Message Log
August 26, 2016, 01:26:28 pm
Message Log
Authors: LiTTleDRAgo
Version: 1.1
Type: Message Add-on
Key Term: Message Add-on



Introduction

Show the message you get during gameplay.


Features


  • Screenshot says everything.




Screenshots

Spoiler: ShowHide



Script

Here


Instructions

$scene = Scene_MessageLog.new



Compatibility

Require Drago - Core Engine v1.49
Incompatible with Multiple Message Windows Ex
May cause problems with Custom Message System


Credits and Thanks


  • LiTTleDRAgo




Author's Notes

~
7
Drago - Custom Page Condition
Authors: LiTTleDRAgo
Version: 1.00
Type: Misc Add-on
Key Term: Misc Add-on



Introduction

With this script you can customize page condition from events in the map.


Features


  • Look at Screenshot




Screenshots




Script

Click


Instructions

Look at Screenshot


Compatibility

~


Credits and Thanks


  • LiTTleDRAgo




Author's Notes

Enjoy~
8
RMXP Script Database / [XP][VX][VXA] Damage Pop Up
July 20, 2014, 09:09:25 pm
Damage Pop Up
Authors: LiTTleDRAgo
Version: 1.01
Type: Misc Add-on
Key Term: Misc Add-on



Introduction

This script can show a damage number on your character like how ABS do it in maps


Features


  • Look at Screenshot




Screenshots



Click to Enlarge


Script

Click


Instructions

In the script


Compatibility

~


Credits and Thanks


  • LiTTleDRAgo




Author's Notes

Enjoy ~
9
RMXP Script Database / [XP] Picture Index Modifier
June 29, 2014, 05:36:56 pm
Picture Index Modifier
Authors: LiTTleDRAgo
Version: 1.00
Type: Misc Add-on
Key Term: Misc Add-on



Introduction

With this script you can overwrite picture index as you wish, this means you can insert more than RMXP picture limit (50 picture) on the screen


Features


  • See Screenshot




Screenshots


Click to enlarge


Script

Click


Instructions

In the blog


Compatibility

~


Credits and Thanks


  • LiTTleDRAgo




Author's Notes

Enjoy ~
10
RMXP Script Database / [XP] Drago - Iconset Loader
February 13, 2014, 03:55:50 am
Drago - Iconset Loader
Authors: LiTTleDRAgo
Version: 1.00
Type: Menu Add-on
Key Term: Menu Add-on



Introduction

Screenshot tells everything


Features


  • Load icon graphics from VX / VXA iconset




Screenshots




Script

Click


Instructions

In the script


Compatibility

For now, none compatibility issues


Credits and Thanks


  • LiTTleDRAgo




Author's Notes

Enjoy~
11
RMXP Script Database / [XP][VXA] Drago - Tilemap Effect
February 11, 2014, 06:37:45 am
Drago - Tilemap Effect
Authors: LiTTleDRAgo
Version: 1.00
Type: Tilemap Enhancement
Key Term: Game Utility



Introduction

Screenshot tells everything


Features


  • Grayscaling the tilemap

  • Inverting the tilemap

  • Change the tilemap hue




Screenshots




Script

Click


Instructions

In the blog


Compatibility

Not compatible with RMVX


Credits and Thanks


  • LiTTleDRAgo




Author's Notes

Enjoy~
12
RMXP Script Database / [XP] Custom Resolution - Map Zoom
February 03, 2014, 10:34:28 am
Custom Resolution - Map Zoom
Authors: LiTTleDRAgo
Version: 1.02
Type: Custom Resolution Plugin
Key Term: Game Utility



Introduction

Title explains everything


Features


  • Look at Screenshot




Screenshots


Click to Enlarge


Script

Click


Instructions

In the script


Compatibility

Only for F0's Custom Resolution Ver 0.97b Script


Credits and Thanks


  • LiTTleDRAgo




Author's Notes

Enjoy ~
13
Custom Resolution - Tilemap Tone Changer
Authors: LiTTleDRAgo
Version: 1.00
Type: Custom Resolution Plugin
Key Term: Game Utility



Introduction

Inspired from Persona II - Innocent Sin, when the screen except the player turned black and white when a very powerful boss appears


Features


  • Look at Screenshot




Screenshots


Click to Enlarge


Script

Click


Instructions

In the script


Compatibility

Only for F0's Custom Resolution Script


Credits and Thanks


  • LiTTleDRAgo




Author's Notes

Enjoy ~
14
RMXP Script Database / [XP] Drago - Custom Resolution
January 18, 2014, 02:06:33 am
Drago - Custom Resolution
Authors: LiTTleDRAgo
Version: 2.16
Type: Resolution Script
Key Term: Game Utility



Introduction

~


Features




Screenshots


Click to enlarge


Script

Version I (Not Tilemap Rewrite) (Updated 2017/03/29)

Version II (Tilemap Rewrite)


Instructions

In the script

Note that ALT + Enter are disabled in this script
If you want to forcefully change the game into fullscreen/windowed, use this script call

Graphics.control_screen_size(true/false)
                     # Change game resolution at will using mouse
                     # (Will be disabled if Graphics.fullscreen or Graphics.window is used)
Graphics.fullscreen  # Change the game into fullscreen
Graphics.window      # Change into windowed
Graphics.fullscreen? # Returns true if fullscreen



Version I is not rewriting default tilemap class, so there is less lagg than Version II.
In exchange, there are less feature, such as zoom or flip map.



Compatibility

Version 1
Only for RGSS1 (default RMXP)

Version 2
Spoiler: ShowHide
All script that modified Spriteset_Map & Sprite_Character need to be edited (Rataime's Shadow, Blizz ABS, etc)
Will cause trouble for Antilag scripts
Not for RMVX



Credits and Thanks


  • LiTTleDRAgo

  • ForeverZer0  & KK20 for some methods used in this script

  • Wecoc for autotile addon (Version II only)




Author's Notes

Enjoy ~
15
Custom Resolution - Adjust Menu Position
Authors: LiTTleDRAgo
Version: 1.00
Type: Custom Resolution Plugin
Key Term: Game Utility



Introduction

This script moves default menu to the center of the screen


Features


  • Look at screenshot




Screenshots

Spoiler: ShowHide



Script

Click


Instructions

Place below Custom Resolution (or other resolution script)


Compatibility

Only for default menu


Credits and Thanks


  • LiTTleDRAgo




Author's Notes

Enjoy ~
16
Button Reminder
Authors: LiTTleDRAgo
Version: 1.00
Type: Graphic Enhancement
Key Term: Misc Add-on



Introduction

This script adds a reminder for function of keyboard button in your game. (Useful for ABS)


Features


  • Look at Screenshot




Screenshots



Please ignore the hud


Script

Click


Instructions

In the script


Compatibility

Needs Drago - Core Engine


Credits and Thanks


  • LiTTleDRAgo




Author's Notes

Enjoy~
17
RPG Maker Scripts / Accessing bitmap in zip files
October 15, 2013, 08:23:35 am
Because too many images I'm compiling all images in Graphics/Pictures folder to a zip file

Spoiler: ShowHide


but when I accessing it from my game, for some reason it's didn't do as I intended (error, etc)

I already looked at this and tried to implement it but failed
_http://rubyzip.sourceforge.net/classes/Zip/ZipFile.html
_https://github.com/rubyzip/rubyzip

can anyone help? (if not, probably I'll do a script request because my knowledge seems insufficient in this matter)
18
Drago - Font Enhance
Authors: LiTTleDRAgo
Version: 1.00
Type: Font Enhancement
Key Term: Misc Add-on



Introduction

This script adds some enhancement to default Font class such as underline, strikethrough or gradient


Features


  • Underline

  • Strikethrough

  • Shadow

  • Outline

  • Vertical Gradient

  • Horizontal Gradient




Screenshots




Script

Click


Instructions

In the script


Compatibility

Probably will cause trouble with other font enhancement script


Credits and Thanks


  • LiTTleDRAgo

  • SephirothSpawn (for Color.color_between method)




Author's Notes

Enjoy ~
19
RMVX Script Database / [XP][VX][VXA] Hunger and Thirst
September 19, 2013, 06:13:36 am
Hunger and Thirst
Authors: LiTTleDRAgo, ForeverZer0
Version: 1.07
Type: Party/Actor Add-On
Key Term: Actor Add-on



Introduction

Based on ForeverZer0's Hunger/Thirst script

Quote from: ForeverZer0 on May 14, 2010, 05:54:10 pm
Basically the title says it all. This script will add a Hunger/Thirst dynamic to your game. Actor's hunger/thirst will decrease over time or by stepcount. Has configuration for food/drink items and for states that will be added to actors whose hunger/thirst falls within specified ranges.



Features


  • Look at Original Thread




Screenshots




Script

Here


Instructions

In the script


Compatibility

Compatible with VX and VX-Ace
Just in case, compatible with RMXP, although if you use XP, I recommend you to grab the original script
Not Tested with Blizz ABS


Credits and Thanks


  • ForeverZer0 for the original script

  • LiTTleDRAgo




Author's Notes

Enjoy ~
20
Drago Transition Pack
Authors: LiTTleDRAgo
Version: 1.00
Type: Misc Add-on
Key Term: Misc Add-on



Introduction

This is based of Fantasist's Transition Pack Edit by ThallionDarkshine
Since there is a couple of bugs here and there when used with RGSS3, I modified it to fits my need


Features


  • Remove screenshot.dll dependency

  • Added Frost

  • Added Pixelate




Screenshots




Script

Here


Instructions

In the script


Compatibility

Frost and Pixelate are process consuming method
If you want to use it without lag, place WhiteFlute's Bitmap-EX script above Drago - Core Engine


Credits and Thanks


  • LiTTleDRAgo

  • Fantasist for original Transition Pack

  • ForeverZero and ThallionDarkshine - method used in this script




Author's Notes

Enjoy ~
21
Character Sprite Access
Authors: LiTTleDRAgo
Version: 1.01
Type: Graphical Add-on
Key Term: Misc Add-on



Introduction

This script can make you have a full access to character sprite in map


Features


  • Look at Instruction




Screenshots




Script

Here


Instructions

Spoiler: ShowHide
To change character sprite with other image
(XP uses RPG::Cache while VX and VX-A uses Cache)

$game_map.events[1].bitmap = RPG::Cache.battler('001-Fighter01')
$game_map.events[2].bitmap = RPG::Cache.icon('001-Potion01')

$game_map.events[3].bitmap = Cache.system('Iconset')
$game_map.events[3].bitmap.src_rect.set(24,0,24,24)


To add an effect to character sprite

$game_map.events[1].bitmap.invert! 
$game_map.events[1].bitmap.frost!
$game_map.events[1].bitmap.clear


You can use all kind of methods in Bitmap class

To reset bitmap back to normal

$game_map.events[1].bitmap.reset_bitmap





Compatibility

Will cause trouble with something that alters Sprite_Character
Will cause trouble with ABSEAL


Credits and Thanks


  • LiTTleDRAgo




Author's Notes

Enjoy ~
22
RMXP Script Database / [XP][VX][VXA] Drago Core Engine
September 11, 2013, 01:36:33 pm
Drago Core Engine
Authors: LiTTleDRAgo
Version: 1.58
Type: Add-on Collection
Key Term: Add-on Collection



Introduction

I created this originally for my devtool only, but since it has grown too much I decided to release it


Features


  • ----



Screenshots




Script

Here


Instructions

In the script, the documentation isn't finished though


Compatibility

Place below Scene_Debug, if used with WhiteFlute's Bitmap-EX, place below it
stretch_blt will contain anti-alias if WhiteFlute's Bitmap-EX is present

This script is required for some of my scripts


Credits and Thanks


  • LiTTleDRAgo




Author's Notes

Enjoy ~
23
RMXP Script Database / [XP][VX][VXA] Cannibalism
September 09, 2013, 07:50:45 am
Cannibalism
Authors: LiTTleDRAgo
Version: 1.06
Type: Battle Add-on
Key Term: Battle Add-on



Introduction

Based on Cannibalism script by Kread-EX for VX Ace
Basically you can eat enemies and absorbing their stat, the change is permanent


Features


  • Look at Introduction




Screenshots




Script

Here


Instructions

In the script


Compatibility

Not tested with Custom Battle System


Credits and Thanks


  • LiTTleDRAgo

  • Kread-EX for the idea




Author's Notes

Enjoy ~
24
RMXP Script Database / [XP][VX][VXA] Map Screenshot
August 12, 2013, 10:58:51 am
Map Screenshot
Authors: LiTTleDRAgo
Version: 1.06
Type: Misc Add-on
Key Term: Misc Add-on



Introduction

This script will take screenshot from the map (including events)


Features


  • Take Screenshot with F7

  • Take Entire Map Screenshot with F6




Screenshots




Script

Click


Instructions

Look at script


Compatibility

The script relies on Graphics.snap_to_bitmap method
So if you have some hud, that hud will embedded into screenshot as well

Note for VX users: RMVX (RGSS2) can't create bitmap larger than 20000 pixel,
It will throws an error if you create map screenshot with large maps


Credits and Thanks


  • LiTTleDRAgo




Author's Notes

Enjoy ~
25
Longer Script Calls
Authors: LiTTleDRAgo
Version: 1.00
Type: Game Utility
Key Term: Game Utility



Introduction

This snippet will connect script calls with another script calls below it


Features


  • Screenshot should be enough to explain it




Screenshots


Click to enlarge


Script

Click


Instructions

Place below Scene_Debug


Compatibility

~


Credits and Thanks


  • LiTTleDRAgo

  • Enterbrain for the RTP




Author's Notes

Enjoy ~
26
RMXP Script Database / [XP][VXA] Drago - Multi Layer
August 05, 2013, 07:37:19 pm
Drago - Multi Layer
Authors: LiTTleDRAgo
Version: 2.02
Type: Map Utility
Key Term: Environment Add-on



Introduction

Can add another layer in the map


Features


  • Screenshot tells everything




Screenshots

+



Script

Click


Instructions

In the blog


Compatibility

Not compatible with RMVX
Will cause problems with script that alters Tilemap


Credits and Thanks


  • LiTTleDRAgo




Author's Notes

Enjoy ~
27
Drago - Diagonal Scroll
Authors: LiTTleDRAgo
Version: 1.00
Type: Misc Add-on
Key Term: Misc Add-on



Introduction

Can scroll map diagonally with a call script


Features


  • Diagonal Scroll




Screenshots




Script

Here


Instructions

In the script


Compatibility

~


Credits and Thanks


  • LiTTleDRAgo




Author's Notes

Enjoy ~
28
RMVX Ace Script Database / [VXA] XP Map Loader
July 12, 2013, 02:44:50 am
XP Map Loader
Authors: LiTTleDRAgo
Version: 2.00
Type: Custom Environment System
Key Term: Custom Environment System



Introduction

With this script you can use your RMXP map into RMVXA project


Features


  • Screenshot explains everything




Screenshots




Script

Version 1 (Use King's Tilemap)

Version 2 (Use Drago - Custom Resolution II)


Instructions

In the Blog


Compatibility

Will cause problem with Exotic Environment System


Credits and Thanks




Author's Notes

Enjoy~
29
Scrolling Message System Ex
Authors: Slipknot, LiTTleDRAgo
Version: 1.2x
Type: Custom Message System
Key Term: Custom Message System



Introduction

This is edited version of Slipknot's SMS

Although it's feature is not many as MMW, I'm interested on the scrolling feature and the script structure so I edited it and adding some features


Features

Default in RTP


  • Color: \c[ID]
  • Actor Name: \n[ActorID]
  • Show Gold Window: \g
  • Variable: \v[ID]

-
Default in SMS


  • Letter by Letter: the characters are drawed one by one.
  • Scrolling: the text lines are scrolled, the time of this can be changed.
  • Stop: the message window can be stopped until the player press a key. \!
  • Autoclose: the message will close without the player input. \%
  • Choices: the choices are showed in a different window, they are also scrolled when are more than two.
    The choice window is shown inside the window like Default Message System
  • Height: The height of lines can be changed, everything is adjusted to this.
  • Above Events: You can draw the window above an event. \p[event]
  • Bold and Italic: \b and \i
  • Face: A small graphic is shown inside the message \face[file]
  • Name Box: Text is shown in a small window above message \name[text]

-
Added Features in EX Version


  • Furigana: Insert small text above a sentence \r[sentence,furigana]
  • Font change: Change the font name or font size
        1. \font[fontname] Change the font name
        2. \font[fontsize] Change the font size (Integer)
        3. \font[fontname,fontsize]  Change both the font name or font size
  • Conditional Text: Show the text if condition is met (for advanced user
        1. \if[condition,text] Will show the text if condition is met (else nothing shown)
        2. \unless[condition,text] Will show the text if condition is not met (else nothing shown)
  • Game Related: Show Information related to the game
        1. display name of current map \map
        2. display name of item, weapon, armor or skill
            2a. \N[In] = display name of item with id n (note the "I")
            2b. \N[Wn] = display name of weapon with id n (note the "W")
            2c. \N[An] = display name of armor with id n (note the "A")
            2d. \N[Sn] = display name of skill with id n (note the "S")
            2e. \N[En] = display name of enemies with id n (note the "E")
            2f. \N[Pn] = display name of event with id n (note the "P")
        3. display icon of item, weapon, armor or skill
            3a. \I[In] = display icon of item with id n (note the "I")
            3b. \I[Wn] = display icon of weapon with id n (note the "W")
            3c. \I[An] = display icon of armor with id n (note the "A")
            3d. \I[Sn] = display icon of skill with id n (note the "S")
        4. display icon and name of item, weapon, armor or skill
            4a. \I&N[In] = display icon and name of item with id n (note the "I")
            4b. \I&N[Wn] = display icon and name of weapon with id n (note the "W")
            4c. \I&N[An] = display icon and name of armor with id n (note the "A")
            4d. \I&N[Sn] = display icon and name of skill with id n (note the "S)



Screenshots

Spoiler: ShowHide


Screenshot is from the old SMS, too lazy to make one
The choice window is different from the screenshot (shown inside the window like Default Message System)


Script

Here


Compatibility

This script couldn't work with other message window script.


Credits and Thanks


  • Slipknot, for the original writer of the script
  • LiTTleDRAgo



Author's Notes

~
30
Blizz ABS Party Interaction
Authors: LiTTleDRAgo
Version: 1.00
Type: Blizz-ABS Plugin
Key Term: Blizz-ABS Plugin



Introduction

Can interact with party member in caterpillar


Features


  • Screenshot explains everything




Screenshots




Script

Here


Instructions




Compatibility

Blizz ABS 2.85


Credits and Thanks


  • LiTTleDRAgo




Author's Notes

Note : This script cannot force party movement with move command

Enjoy ~