- Joined
- Mar 26, 2015
- Messages
- 16
- Reaction score
- 2
- First Language
- French
- Primarily Uses
First of all, I am sorry if I didn't post this to the right place.
I just need help with something in a bestiary script. The script is a bestiary one, and I am noob, so I understand nothing. (Had difficulty adding options in menu.)
So I use a CBS side view battlers, and the problem is in the bestiary it loads the enemy battler sprites to show, and it doesn't look good at all with all those poses. Here is where I think it go get the sprite in the battler folder.
def draw_bestiary_battler(enemy, w, h)
bitmap = RPG::Cache.battler(enemy.battler_name, enemy.battler_hue)
bitmap_w = bitmap.width / 2
bitmap_h = bitmap.height / 2
src_rect = Rect.new(0, 0, bitmap.width, bitmap.height)
self.contents.blt(w/2 - bitmap_w, h/2 - bitmap_h, bitmap, src_rect, 192)
end
What I would like if any one can help, is that it loads an image with the same name as the battler image, but in the picture folder instead.
Thank you for taking time to read this.
I just need help with something in a bestiary script. The script is a bestiary one, and I am noob, so I understand nothing. (Had difficulty adding options in menu.)
So I use a CBS side view battlers, and the problem is in the bestiary it loads the enemy battler sprites to show, and it doesn't look good at all with all those poses. Here is where I think it go get the sprite in the battler folder.
def draw_bestiary_battler(enemy, w, h)
bitmap = RPG::Cache.battler(enemy.battler_name, enemy.battler_hue)
bitmap_w = bitmap.width / 2
bitmap_h = bitmap.height / 2
src_rect = Rect.new(0, 0, bitmap.width, bitmap.height)
self.contents.blt(w/2 - bitmap_w, h/2 - bitmap_h, bitmap, src_rect, 192)
end
What I would like if any one can help, is that it loads an image with the same name as the battler image, but in the picture folder instead.
Thank you for taking time to read this.


