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 - yuhikaru

1
Script Troubleshooting / [RESOLVED]Is it a bug? (TONS)
October 20, 2010, 03:23:24 pm
When I used TONS' "Item requirement skill", I think I found a bug... I don't think it was supposed to be this way º¬º

For example, the default: 1 potion to use heal. If the HP is full, you can't use the skill, but you lose 1 potion anyway.

Unfortunatly, the code is too complicated for me to figure it out by myself.

This stuff:
Spoiler: ShowHide
class Game_Battler
 
 alias skill_effect_item_reqs_later skill_effect
 def skill_effect(user, skill)
   result = skill_effect_item_reqs_later(user, skill)
   if $game_system.ITEM_REQUIREMENT
     data = BlizzCFG.item_reqs(skill.id)
     if user.is_a?(Game_Actor) && data.all? {|i| i > 0}
       $game_party.lose_item(data[0], data[1])
     end
   end
   return result
 end
 
 alias skill_can_use_item_reqs_later? skill_can_use?
 def skill_can_use?(skill_id)
   if $game_system.ITEM_REQUIREMENT
     data = BlizzCFG.item_reqs(skill_id)
     if self.is_a?(Game_Actor) && $game_party.item_number(data[0]) < data[1]
       return false
     end
   end
   return skill_can_use_item_reqs_later?(skill_id)
 end
 
end


Somebody help me? Thanks in advance <3
2
Hello, I'm using slipknot's letter-by-letter (XP) (Link here: http://www.creationasylum.net/forum/index.php?showtopic=9480), and when I use the "show message window above event" thing, the game crashes. Aparently it has something to do with BlizzABS Event Anti-Lag Script, because it works fine if I remove it. It crashes when I'm using others anti-Lag scripts as well.

I don't know if it possible to make then work together.

The error message is:

Script 'Window_Message' line 292: NoMethodError Ocurred
undefined method 'bitmap' for #<sprite_Character:0x8ae0db8>

The line 292 is: ch = [$scene.spriteset.character_sprites[event - 1].bitmap.height /4 + 4, 48].max

Please, help me! Thanks in advance <3
3
Resources / Some Monster Battlers
April 11, 2010, 04:34:32 pm
My friend liked those battlers, and as they are based on RTP monsters sprites, I thought I would post them xD
They are something different from the usual, I think. Maybe not much skilled, but they go very well with my battlegrounds ^^'
I'm still making then (Started two weeks ago) but I don't have much time from school, so they are coming along very slowy.

Anyway, everything here is free to use, just credit me, please <3
Although a lot of people people use blizz-abs, I think =X Either way, I would love some feedback.

Bee
Spoiler: ShowHide


Bat
Spoiler: ShowHide


Weird and Tiny Toad
Spoiler: ShowHide


Fungus-mushroom-thingy
Spoiler: ShowHide


Three-headed Snake (These ones maybe need a few retouches......)
Spoiler: ShowHide


Big Bird *new one, comments please?*
Spoiler: ShowHide
4
Hi there. I'm not sure where I should post this.... Oh well.... xD

It's just a (hopefully) simple request, actually two.... I'm using TONS' equap skills, and now skill separation, also.

The first problem is that even if a skill is not equap, I mean, it's not in equap database, when I turn 'skill separation' ON it starts showing the AP as (0/0), which I think doesn't look nice. I would like to know how to hide that.

And second, I read somewhere on this forum (I tried searching for it, but wasn't sucessful >.>) how to hide the SP cost of a skill when it's 0. I did that, and worked fine until I turned the 'skill separation' ON. Then, it (the 0) started showing again =/ I just want to hide the zero.

Kind of silly.... I guess I could just turn the thing off, but I thought of asking first xD

Thanks in advance <3
5
Resources / Just some sprite recolors
March 07, 2010, 08:11:28 am
I made some simple town people recolors for my game, and I thought it could be useful for other people xD (But I don't remember which ones are the originals  :o and don't even remember if they are RTP)
Oh, and maybe they are kind of bright, I don't know... My game is very bright. Just remove a little bit of saturation and/or contrast, then xD

Town girl 1
Spoiler: ShowHide


Town girl 2
Spoiler: ShowHide


Town girl 3
Spoiler: ShowHide


Town guy 1
Spoiler: ShowHide


Town guy 2
Spoiler: ShowHide


Farmer guy
Spoiler: ShowHide


Bartender
Spoiler: ShowHide


Town woman 1
Spoiler: ShowHide


Town woman 2
Spoiler: ShowHide


Little boy 1
Spoiler: ShowHide


Little boy 2
Spoiler: ShowHide


Little girl
Spoiler: ShowHide


Baby
Spoiler: ShowHide


I hope it helps anybody =]
6
Event System Requests / Help with ammo system
February 26, 2010, 04:01:51 pm
Hi, people!
I'm using RMXP, and I'm an alright eventer (methinks) but I'm not used to battle eventing, so I suck at it  :^_^':

The thing is I'm trying to make an simple ammo event system. The arrows would be stored in a variable, and you would need a quiver to be able to use the bow.

I don't know if it's easy/possible to do it like this, I'm really clueless :???: :

if (player-weapon is a bow AND quiver is in inventory)
{
    if (number-of-arrows>=1) then 'Enable attack'
    {
          If (player use attack option) then (number-of-arrows -1)
    }
    else 'Disable attack'
}

Of course there is no such option as 'enable attack' (... is there?!?!?!  :O.o:) so I have no idea how to pull that off....
I saw an event system for ammo somewhere, but he forced the defense action, and it would be better if you could still use itens and skills.
So can someone help me, please? If you have a script for it, it'll be nice as well, but I'm looking foward to learn a little of battle events xD

Thanks in advance <3
7
Script Requests / [RESOLVED]Lead Actor Swapper Edit
February 08, 2010, 08:51:38 am
Hi, people  :D

I'm using RMXP and a neat lead actor swapper script, by Slipknot. I don't have a link, so I'm just gonna post it xD

Spoiler: ShowHide
#==============================================================
# ** Lead Actor Swapper
#------------------------------------------------------------------------------
# Slipknot (creationasylum.net)
# Version 1.01
# March 18, 2006
#==============================================================

class Game_System
 #--------------------------------------------------------------------------
 # * Alias Listing
 #--------------------------------------------------------------------------
 attr_reader :lead_actor
 #--------------------------------------------------------------------------
 # * Refresh
 #--------------------------------------------------------------------------
 alias slipknot_las_init initialize
 #--------------------------------------------------------------------------
 # * Initialize
 #--------------------------------------------------------------------------
 def initialize
   slipknot_las_init
   @lead_actor = 0
 end
 #--------------------------------------------------------------------------
 # * Lead Actor
 #--------------------------------------------------------------------------
 def lead_actor=(n)
   @lead_actor = n
   $game_player.refresh
 end
end


class Game_Player
 #--------------------------------------------------------------------------
 # * Alias Listing
 #--------------------------------------------------------------------------
 alias slipknot_las_update update
 #--------------------------------------------------------------------------
 # * Refresh
 #--------------------------------------------------------------------------
 def refresh
   if $game_party.actors.size == 0
     @character_name = ''
     @character_hue = 0
     return
   end
   actor = $game_party.actors[$game_system.lead_actor]
   @character_name = actor.character_name
   @character_hue = actor.character_hue
   @opacity = 255
   @blend_type = 0
 end
 #--------------------------------------------------------------------------
 # * Update
 #--------------------------------------------------------------------------
 def update
   slipknot_las_update
   if Input.trigger?(Input::R)
     $game_system.lead_actor = ($game_system.lead_actor + 1) % $game_party.actors.size
   end
   if Input.trigger?(Input::L)
     $game_system.lead_actor = ($game_system.lead_actor - 1) % $game_party.actors.size
   end
 end
end


It's very nice and all, but one problem I have is that everytime you use L/R the player sprite changes, and that includes the cutscenes. It's actually kind of funny....

What I'm looking for is a lead actor swapper script that has and on/off switch. Does anyone know of one? Or could edit Slipknot's one for me?  :naughty:

I tried solving it using events. Before the cutscene I tried to remove the unwanted party members from the group so the L/R thing would be useless, and then adding them all again after the cutscene was over, but I got a problem on line 50 O_o

Thanks in advance <3 Any help will be pretty much appreciated