[XP] Blizz-ABS

Started by Blizzard, January 09, 2008, 08:21:56 am

Previous topic - Next topic

Aqua

Why not just use the tileset?

You can just add a 2nd roofing to the tileset graphic if you need one to be passable and the other not.

lplara

Quote from: Aqua on January 24, 2009, 11:07:36 pm
Why not just use the tileset?

You can just add a 2nd roofing to the tileset graphic if you need one to be passable and the other not.


Yes, I could do that. But the problem happens with all tileset events in the project. The house is just an example. If I need to use the event layer as a 4th tileset layer, the graphics are messed up. So even if I find a way to not use events in that case, I would still need a solution.

winkio

actually, i've had this error too, and forgot to mention it.  Tile-Events are very useful in-game, Aqua, especially for puzzle's and checkpoints.  Blizz, you should look into this...

Aqua

Yeah, I use them too; was just wondering why lp uses events.

Hrrrm... just checked my maps...
Seems to me like the tile-events that are parallel process aren't affect, but the ones that are action and have no coding are.

Blizzard

v2.23 is up. I fixed the @SELF error and another issue.

@lplara: I think I messed up when I changed the sprite display system. I'll be sure to fix it in the next version. You should refrain from using tileset events if anyhow possible, though. They create quite some lag.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

legacyblade

Oh yah, I forgot to mention that bug too  :^_^':

G_G

Is there anyway to make this compatible with Aleworks Enter Hero Name?

I had a really cool neat idea I wanted to try out but I needed this to be compatible with this script.
Here it is if anyone could do anything.

Spoiler: ShowHide
#=============================================================================
# *** Aleworks Write Lite Add On 1 XP(AWL Add On 1 XP)
#=============================================================================
# Created by Aleworks
# Version: 1.00
# Last Modification: 30/09/2007 (day/month/year)
#=============================================================================
#==== Description ====
# This script allows the player to enter the hero name in the scene name using
# the keyboard.
#=============================================================================
#==== Requeriments ====
# * Aleworks Write Lite(AWL)
#   - Version: 1.10 or superior
# * RPG Maker XP
#=============================================================================

#=============================================================================
# ** Class Scene_Name
#=============================================================================
class Scene_Name
  #---------------------------------------------------------------------------
  # * Main
  #---------------------------------------------------------------------------
  def main
    @actor = $game_actors[$game_temp.name_actor_id]
    @window_acharacter = Window_ACharacter.new(@actor)
    @window_alayout = Window_ALayout.new
    @window_awrite = Window_AWrite.new(@window_acharacter.width + 16, 245,
      608 - @window_acharacter.width, 64)
    @window_awrite.write.write(@actor.name)
    @window_awrite.write.max_length = $game_temp.name_max_char
    @window_awrite.write.forbidden_chr << '       '
    @window_aname = Window_AName.new(@window_acharacter.width)
    Graphics.transition
    while $scene == self
      Graphics.update
      Input.update
      update
    end
    Graphics.freeze
    @window_acharacter.dispose
    @window_awrite.dispose
    @window_alayout.dispose
    @window_aname.dispose
  end
  #---------------------------------------------------------------------------
  # * Update
  #---------------------------------------------------------------------------
  def update
    @window_alayout.update
    @window_awrite.update
    if Input.trigger?(Keys::ESCAPE)
      $game_system.se_play($data_system.buzzer_se)
      @window_awrite.write.write(@actor.name)
    elsif Input.trigger?(Keys::RETURN)
      if @window_awrite.write.pwrited == ''
        $game_system.se_play($data_system.buzzer_se)
      else
        $game_system.se_play($data_system.decision_se)
        @actor.name = @window_awrite.write.pwrited
        $scene = Scene_Map.new
      end
    end
  end
end

#=============================================================================
# ** Class Window_AName
#=============================================================================
class Window_AName < Window_Base
  #---------------------------------------------------------------------------
  # * Initialize
  #---------------------------------------------------------------------------
  def initialize(w, txt = 'Enter Hero Name')
    super(w + 16, 181, 608 - w, 64)
    self.contents = Bitmap.new(width - 32, height - 32)
    self.contents.font.color = system_color
    self.contents.font.bold = true
    self.contents.draw_text(0, 0, nil, 32, txt, 1)
  end
end

#=============================================================================
# ** Class Window_ACharacter
#=============================================================================
class Window_ACharacter < Window_Base
  #---------------------------------------------------------------------------
  # * Initialize
  #---------------------------------------------------------------------------
  def initialize(actor)
    actor = RPG::Cache.character(actor.character_name, 0)
    rect = Rect.new(0, 0, actor.width / 4, actor.height / 4)
    super(16, 212 - rect.height / 2, rect.width + 64, rect.height + 64)
    self.contents = Bitmap.new(width - 32, height - 32)
    self.contents.blt(16, 16, actor, rect)
    actor.dispose
  end
end

Shadonking

im getting an error on line 1989 on part 3 and its something like underfined method weapon_id.

it happens when i attack





Creator Of Music And Games
Spoiler: ShowHide
]

keywords: ShowHide
rmxp rmvx blizz-abs rpg maker xp vx abs cbs cms script tons of addons charsets autotiles HUD


come here if you have a ps3
http://forum.chaos-project.com/index.php?topic=1952.0

Blizzard

I'll take a look at it. Does it only happen with v2.23?
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

G_G

Quote from: game_guy on January 26, 2009, 02:06:14 am
Is there anyway to make this compatible with Aleworks Enter Hero Name?

I had a really cool neat idea I wanted to try out but I needed this to be compatible with this script.
Here it is if anyone could do anything.

Spoiler: ShowHide
#=============================================================================
# *** Aleworks Write Lite Add On 1 XP(AWL Add On 1 XP)
#=============================================================================
# Created by Aleworks
# Version: 1.00
# Last Modification: 30/09/2007 (day/month/year)
#=============================================================================
#==== Description ====
# This script allows the player to enter the hero name in the scene name using
# the keyboard.
#=============================================================================
#==== Requeriments ====
# * Aleworks Write Lite(AWL)
#   - Version: 1.10 or superior
# * RPG Maker XP
#=============================================================================

#=============================================================================
# ** Class Scene_Name
#=============================================================================
class Scene_Name
  #---------------------------------------------------------------------------
  # * Main
  #---------------------------------------------------------------------------
  def main
    @actor = $game_actors[$game_temp.name_actor_id]
    @window_acharacter = Window_ACharacter.new(@actor)
    @window_alayout = Window_ALayout.new
    @window_awrite = Window_AWrite.new(@window_acharacter.width + 16, 245,
      608 - @window_acharacter.width, 64)
    @window_awrite.write.write(@actor.name)
    @window_awrite.write.max_length = $game_temp.name_max_char
    @window_awrite.write.forbidden_chr << '       '
    @window_aname = Window_AName.new(@window_acharacter.width)
    Graphics.transition
    while $scene == self
      Graphics.update
      Input.update
      update
    end
    Graphics.freeze
    @window_acharacter.dispose
    @window_awrite.dispose
    @window_alayout.dispose
    @window_aname.dispose
  end
  #---------------------------------------------------------------------------
  # * Update
  #---------------------------------------------------------------------------
  def update
    @window_alayout.update
    @window_awrite.update
    if Input.trigger?(Keys::ESCAPE)
      $game_system.se_play($data_system.buzzer_se)
      @window_awrite.write.write(@actor.name)
    elsif Input.trigger?(Keys::RETURN)
      if @window_awrite.write.pwrited == ''
        $game_system.se_play($data_system.buzzer_se)
      else
        $game_system.se_play($data_system.decision_se)
        @actor.name = @window_awrite.write.pwrited
        $scene = Scene_Map.new
      end
    end
  end
end

#=============================================================================
# ** Class Window_AName
#=============================================================================
class Window_AName < Window_Base
  #---------------------------------------------------------------------------
  # * Initialize
  #---------------------------------------------------------------------------
  def initialize(w, txt = 'Enter Hero Name')
    super(w + 16, 181, 608 - w, 64)
    self.contents = Bitmap.new(width - 32, height - 32)
    self.contents.font.color = system_color
    self.contents.font.bold = true
    self.contents.draw_text(0, 0, nil, 32, txt, 1)
  end
end

#=============================================================================
# ** Class Window_ACharacter
#=============================================================================
class Window_ACharacter < Window_Base
  #---------------------------------------------------------------------------
  # * Initialize
  #---------------------------------------------------------------------------
  def initialize(actor)
    actor = RPG::Cache.character(actor.character_name, 0)
    rect = Rect.new(0, 0, actor.width / 4, actor.height / 4)
    super(16, 212 - rect.height / 2, rect.width + 64, rect.height + 64)
    self.contents = Bitmap.new(width - 32, height - 32)
    self.contents.blt(16, 16, actor, rect)
    actor.dispose
  end
end



Please can someone help or at least tell me if its not possible.

Shadonking

Quote from: Blizzard on January 26, 2009, 11:14:04 am
I'll take a look at it. Does it only happen with v2.23?

yeah only v2.23





Creator Of Music And Games
Spoiler: ShowHide
]

keywords: ShowHide
rmxp rmvx blizz-abs rpg maker xp vx abs cbs cms script tons of addons charsets autotiles HUD


come here if you have a ps3
http://forum.chaos-project.com/index.php?topic=1952.0

Blizzard

January 26, 2009, 12:29:46 pm #1431 Last Edit: January 26, 2009, 12:36:21 pm by Blizzard
Then I know what's wrong. I had to fix something and I most probably copy-pasted some code wrong. -_- I'll put up a fixed version, give me a few moments.

EDIT: There it is. The fix is simple, just change line 1989 to this here:

limit = BlizzABS::Weapons.frames(@battler.weapon_id).sum


There were in fact two typos. xD
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Shadonking

ok, take your time, im playing your new game Star G :haha:





Creator Of Music And Games
Spoiler: ShowHide
]

keywords: ShowHide
rmxp rmvx blizz-abs rpg maker xp vx abs cbs cms script tons of addons charsets autotiles HUD


come here if you have a ps3
http://forum.chaos-project.com/index.php?topic=1952.0

Blizzard

Don't worry, it's up already. As I said, the fix was simple. I also put up a Star G. version that has the fixed v2.23. xD.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Shadonking

ok just updated your script but now the enemy transforms and then dies anyway even if you use the recovery.





Creator Of Music And Games
Spoiler: ShowHide
]

keywords: ShowHide
rmxp rmvx blizz-abs rpg maker xp vx abs cbs cms script tons of addons charsets autotiles HUD


come here if you have a ps3
http://forum.chaos-project.com/index.php?topic=1952.0

Blizzard

Yeah, that error was reported already in an earlier version. I'm not sure why, I'll look into it later.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Daxisheart

For some reason, I feel like this has been noted already...

I'm tyring to do a simple thing: you talk to a NPC person, the person gets mad, turns into an enemy and attacks you. Do you have any help or idea how to do that?

I'm actually pretty mollified to find out that Blizz ABS doesn't have the option for comments, like almost all other ABS I know(mostly Mr. Mo's types). If it's possible, can you show me how, and if it's not, can you implant it into future versions?
"Oh hey look godless stuff": ShowHide
What is really, really interesting is that while Abrahamic Christians give so much importance to their own free will, by their very definition of their God they deprive Him of free will.
The concept that He is not human and thus not derive the same morals as us really does not work. If his idea of morality, good or evil, is beyond us, is beyond our comprehension, why should we care? If he judges that not saving a woman from being raped a murdered a moral decision, then we should still trust him?
god i am such an atheist asshole.

I am on such a coolkid atheist rampage this week.

Hellfire Dragon

I can't help with the second part but yeah it was asked before, it's actually pretty easy. For an event to be an enemy in the blizz abs it's name has to be something like '\e[ENEMY_ID]' so ENEMY_ID is like 1 orsomething but you probably already knew that. So first you need to have the event's name something like, weell anything as long it's not classed as an enemy (\e[1]) So Let's call it NPC. Then just make an event like this one;

@>Show Choices: Hit him, Compliment or whatever
: When [Hit him]
  @>Text: YOU F*CKING LITTLE B*ST*RD SH!T FACE
        : SON OF A B!TCH!
  @>Script: $game_map.rename_event(3, "\e[1]")
  @>Control Self Switch: A =ON
  @>
: When [Compliment or whatever]
  @>Text: Thank you :)
  @>
: Branch End
@>


So adjust  it to your liking. Change the text etc,. Then replace the 3 with the event number, which you can see in the top left corner when an event is open and change the 1 in \e[1] to the id of the enemy in the database.

Hope I helped :)

Shadonking

Quote from: Hellfire Dragon on January 30, 2009, 04:40:56 pm
I can't help with the second part but yeah it was asked before, it's actually pretty easy. For an event to be an enemy in the blizz abs it's name has to be something like '\e[ENEMY_ID]' so ENEMY_ID is like 1 orsomething but you probably already knew that. So first you need to have the event's name something like, weell anything as long it's not classed as an enemy (\e[1]) So Let's call it NPC. Then just make an event like this one;

@>Show Choices: Hit him, Compliment or whatever
: When [Hit him]
  @>Text: YOU F*CKING LITTLE B*ST*RD SH!T FACE
        : SON OF A B!TCH!
  @>Script: $game_map.rename_event(3, "\e[1]")
  @>Control Self Switch: A =ON
  @>
: When [Compliment or whatever]
  @>Text: Thank you :)
  @>
: Branch End
@>


So adjust  it to your liking. Change the text etc,. Then replace the 3 with the event number, which you can see in the top left corner when an event is open and change the 1 in \e[1] to the id of the enemy in the database.

Hope I helped :)


LMAO, i like the message in it.





Creator Of Music And Games
Spoiler: ShowHide
]

keywords: ShowHide
rmxp rmvx blizz-abs rpg maker xp vx abs cbs cms script tons of addons charsets autotiles HUD


come here if you have a ps3
http://forum.chaos-project.com/index.php?topic=1952.0

Daxisheart

Thanks, I'm really focusing on database, script collecting, and ABS configuration so I more or less skimmed over these coded parts... Although stuff like comments would be easier :shifty:
"Oh hey look godless stuff": ShowHide
What is really, really interesting is that while Abrahamic Christians give so much importance to their own free will, by their very definition of their God they deprive Him of free will.
The concept that He is not human and thus not derive the same morals as us really does not work. If his idea of morality, good or evil, is beyond us, is beyond our comprehension, why should we care? If he judges that not saving a woman from being raped a murdered a moral decision, then we should still trust him?
god i am such an atheist asshole.

I am on such a coolkid atheist rampage this week.