Help using "Hime's Custom Icon Sheets" script with Luna.

Eilwyn

Veteran
Veteran
Joined
Mar 13, 2012
Messages
185
Reaction score
35
First Language
English
Primarily Uses
RMMV
http://himeworks.com/2013/03/custom-icon-sheets/

I'm testing the script to make sure it works for my game before going through with purchasing the 'for commercial use' license (its free for 'non commercial use')  to make sure I'm not purchasing a license for a script I can't use and well, I'm having trouble.

Turns out to fix my problem I need to do the following:

"On the comments for the page, it was mentioned that: "In order to display icons correctly, you must look for where the icons are being drawn in your script and then modify it according to this script."

So, I was wondering if someone might be able to help me with this.
 

nio kasgami

VampCat
Veteran
Joined
May 21, 2013
Messages
8,949
Reaction score
3,042
First Language
French
Primarily Uses
RMMV
lol why would you use that?? Luna engine have already a premade system for doing that implemented in the system ;)
 

Eilwyn

Veteran
Veteran
Joined
Mar 13, 2012
Messages
185
Reaction score
35
First Language
English
Primarily Uses
RMMV
A few reason actually ^^:

1. I didn't know that I could do that in Luna until just now lol.

2. Hime's script lets me use multiple icon sets of different sizes and I'm not sure if I can do that or not in Luna, and if I can, I wouldn't know how to do it.

3. Also, I like being able to have each item and state take from a completely different icon set.
 
Last edited by a moderator:

nio kasgami

VampCat
Veteran
Joined
May 21, 2013
Messages
8,949
Reaction score
3,042
First Language
French
Primarily Uses
RMMV
A few reason actually ^^:

1. I didn't know that I could do that in Luna until just now lol.

2. Hime's script lets me use multiple icon sets of different sizes and I'm not sure if I can do that or not in Luna, and if I can, I wouldn't know how to do it.

3. Also, I like being able to have each item and state take from a completely different icon set.
  1. then now you know : D
  2. with the command you decide wich iconset this system use
  3. can be configure in the system~
 

Eilwyn

Veteran
Veteran
Joined
Mar 13, 2012
Messages
185
Reaction score
35
First Language
English
Primarily Uses
RMMV
So, all I'm understanding is that it can be done, but not how.  Which command?  I've only seen one thing and that was in the "Menu Luna" script:

def refresh_type0
@states.clear
@states = @battler.state_icons + @battler.buff_icons
#---
w = 32 + setting_type[:spacing]
width = w * setting_type[:max] - setting_type[:spacing]
bitmap = Bitmap.new(width, 32)
icon_bitmap = Cache.system("Icon-Elements")
@states.each_with_index { |icon_index, i|
x = i * w
rect = Rect.new(icon_index % 16 * 32, icon_index / 16 * 32, 32, 32)
bitmap.blt(x, 0, icon_bitmap, rect)
}
#---
self.bitmap.dispose if self.bitmap
self.bitmap = bitmap
end

#--------------------------------------------------------------------------
# refresh_type1
#--------------------------------------------------------------------------
def refresh_type1
@states.clear
@states = @battler.state_icons + @battler.buff_icons
#---
bitmap = Bitmap.new(24, 24)
icon_bitmap = Cache.system("Iconset")
icon_index = @states[@index]
if icon_index.nil?
self.bitmap.dispose if self.bitmap
self.bitmap = bitmap
return false
end
rect = Rect.new(icon_index % 16 * 24, icon_index / 16 * 24, 24, 24)
bitmap.blt(0, 0, icon_bitmap, rect)
#---
self.bitmap.dispose if self.bitmap
self.bitmap = bitmap
end
How would I get it to change between them? 
 

nio kasgami

VampCat
Veteran
Joined
May 21, 2013
Messages
8,949
Reaction score
3,042
First Language
French
Primarily Uses
RMMV
you can't with the demo  saddly you have to bought it or you can contact archeia or dr.yami for further information   :) I am not a expert in the whole engine haha
 

Eilwyn

Veteran
Veteran
Joined
Mar 13, 2012
Messages
185
Reaction score
35
First Language
English
Primarily Uses
RMMV
Sorry, I think there was confusion.

I bought the Luna Engine in full.  Its just the Hime script that I was trying out first. :)
 

Archeia

Level 99 Demi-fiend
Developer
Joined
Mar 1, 2012
Messages
15,141
Reaction score
15,473
First Language
Filipino
Primarily Uses
RMMZ
We don't provide compatibility fixes with other scripts because of our limited time. You will have a larger chance if you ask Hime instead. 
 

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

Latest Threads

Latest Posts

Latest Profile Posts

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
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,045
Members
137,569
Latest member
Shtelsky
Top