[XP] Blizz-ABS

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

Previous topic - Next topic

konomaru

Can you tell me how to change the script so that when using direct hotkeys, tapping on the skill twice makes it happen instead of taping on it then hitting confirm button, since I cant put the (useskill) button as 1,2,3,4,5..... in Blizz-ABS config, which would make double tapping #1-9, making the skill works.

Blizzard

You actually can use the skills with just hitting 1,2,3,4,5... Just turn on the "Direct Hotkeys" option in the configuration.
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.

Stray

Quote from: mroedesigns on August 30, 2011, 11:45:43 pm
Something in the common event you're calling must be changing it to display on the top again.


Looked for it. Nothing found.
I'm very grateful to you all for your great help.

konomaru

August 31, 2011, 10:27:40 pm #4503 Last Edit: August 31, 2011, 10:29:50 pm by konomaru
Quote from: Blizzard on August 31, 2011, 04:16:29 pm
You actually can use the skills with just hitting 1,2,3,4,5... Just turn on the "Direct Hotkeys" option in the configuration.

Thanks for the quick reply. But I mean when you turn direct hotkeys on, you tap 1-9, the whole screen freeze and shows the range of the attack, then you have to press the button that you set as Confirm for it to work, I wanted so that when you pressed one of the skill numbers 1-9 twice, the skill would just activate without clicking confirm, which I could do it if ABS config has numbers for controls, so i could add 9 more confirms into1-9, but it doesnt. Or can you tell me how to remove the Freezing time (to show the range) part so I dont have to hit confirm and just hit the skill button once? Sorry if it sounds confusing.  :uhm:

Blizzard

That's for skills that allow you to specify a target first. winkio's going to change things so you can configure which skills don't need target specification but are executed right away, regardless whether there are targets or not.
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.

LiTTleDRAgo

Quote from: Blizzard on September 01, 2011, 02:21:41 am
That's for skills that allow you to specify a target first. winkio's going to change things so you can configure which skills don't need target specification but are executed right away, regardless whether there are targets or not.


http://forum.chaos-project.com/index.php/topic,8710.0.html

it's still buggy and I didn't intend to continuing it but probably that will work

konomaru

Thank you thats awsome! :haha:

Stray

September 02, 2011, 07:43:56 pm #4507 Last Edit: September 02, 2011, 07:45:28 pm by Stray
Wanted to ask again...
Spoiler: ShowHide
My problem in one pic:

It can't be any common event, because in this case, the box would be at the top all the time.

And also:
I need something to switch off the COMPLETE ABS for some maps, so that no character-animations of the hero can be changed!
In these situations only the script for the custom message boxes has to be switched on.
I'm very grateful to you all for your great help.

KK20

Mind telling me/us what custom message script you're using?

Other Projects
RPG Maker XP Ace  Upgrade RMXP to RMVXA performance!
XPA Tilemap  Tilemap rewrite with many features, including custom resolution!

Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!

Blizzard

Quote from: Stray on September 02, 2011, 07:43:56 pm
I need something to switch off the COMPLETE ABS for some maps[/spoiler]


*points to manual*
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.

ShadowSaber

I want to ask, when the next blizz abs will be released?

winkio

When I have time to finish it.  Hopefully around Christmas.

Stray

Quote from: Blizzard on September 03, 2011, 03:54:09 am
Quote from: Stray on September 02, 2011, 07:43:56 pm
I need something to switch off the COMPLETE ABS for some maps[/spoiler]


*points to manual*


I tried with "$game_system.blizzabs = false"
Now the message boxes are on the bottom.

But I still can't use this poses!

Because everytime I change it with "Set Move Route", it changes back to normal ingame. The herosprite is refreshed again and again by some script. "$game_system.blizzabs = false" doesn't help.
I'm very grateful to you all for your great help.

Blizzard

That's something that winkio will fix in the next release. It was not a bug, but it was a necessary evil so the sprite system would work properly.
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.

Jakal

So, in CoSLAL, after fighting Reply it continues the event using:

$game_map.enemies.size == 0

When I use that, I get:

undefined method 'enemies' for #<Game_Map:0x368e9e0


JellalFerd

4.3.1. How many Battlers are on the Map?
If you want to know how many battlers or specific type of battlers the map originally had when it was entered, you can use an event Call Script command and use this syntax:

$game_variables[ID] = $game_system.battlers_number
$game_variables[ID] = $game_system.battlers_number_group(GROUP)
ID is the variable ID in which you will store the result. GROUP is the alignment group ID of the battler which you are requesting. If you want to know how many there are currently on the map, use following commands:
$game_variables[ID] = $game_map.battlers.size
$game_variables[ID] = $game_map.battlers_group(GROUP).size
ID is the variable ID in which you will store the result. GROUP is the alignment group ID of the battler which you are requesting.
QuoteFrank says:
But obviously they put on that shirt on in the morning.
Hmmm..
Booty shirts are nice.
Depends on the girl.
Jellal says:
booty shirts
lolwut

Blizzard

CoSLAL uses an old version of Blizz-ABS, that's why it's $game_map.enemies. Always refer to the manual first if you have a problem.
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.

Stray

September 07, 2011, 05:40:00 pm #4517 Last Edit: September 07, 2011, 05:41:04 pm by Stray
This script for movement soundeffects on special terrains is not compatible with blizz abs. Is it possible to make it?
I dont know much about scripting.

"lautlos" means 'silent'.
"gerauesch" means 'sound'.

SOUND =[
RPG::AudioFile.new("STEPSOUND_GRASS.wav",100,100),#terrain 1
RPG::AudioFile.new("",12,110),#terrain 2
RPG::AudioFile.new("",12,110),#terrain 3
RPG::AudioFile.new("",100,100),#terrain 4
RPG::AudioFile.new("",100,100),#terrain 5
RPG::AudioFile.new("",100,100),#terrain 6
RPG::AudioFile.new("",100,100),#terrain 7
]
CHARACTER = 0
#1 = step sounds only for player
#2 =  step sounds only for events
#0 = step sounds for both
class Game_Character
  def lautlos
    return @lautlos
  end
  def lautlos=(n)
    @lautlos = n
  end
  def geraeusch
    return if self.lautlos
    return if terrain_tag == 0
    return if CHARACTER == 2 and self.is_a?(Game_Player)
    return if CHARACTER == 1 and self.is_a?(Game_Event)
    $game_system.se_play(SOUND[terrain_tag-1])
  end
  def move_down(turn_enabled = true)
    if turn_enabled
      turn_down
    end
    if passable?(@x, @y, 2)
      geraeusch
      turn_down
      @y += 1
      increase_steps
    else
      check_event_trigger_touch(@x, @y+1)
    end
  end
  def move_left(turn_enabled = true)
    if turn_enabled
      turn_left
    end
    if passable?(@x, @y, 4)
      geraeusch
      turn_left
      @x -= 1
      increase_steps
    else
      check_event_trigger_touch(@x-1, @y)
    end
  end
  def move_right(turn_enabled = true)
    if turn_enabled
      turn_right
    end
    if passable?(@x, @y, 6)
      geraeusch
      turn_right
      @x += 1
      increase_steps
    else
      check_event_trigger_touch(@x+1, @y)
    end
  end
  def move_up(turn_enabled = true)
    if turn_enabled
      turn_up
    end
    if passable?(@x, @y, 8)
      geraeusch
      turn_up
      @y -= 1
      increase_steps
    else
      check_event_trigger_touch(@x, @y-1)
    end
  end
end
class Game_Event
  alias sound_refresh refresh
  def refresh
    @lautlos = false
    sound_refresh
    return if @list.nil?
    for command in @list
      if command.code == 108 or command.code == 408
        @lautlos = true if command.parameters.to_s.upcase == "LAUTLOS"
      end
    end
  end
end
class Game_Player
  def lautlos
    return false
  end
end
I'm very grateful to you all for your great help.

KK20

How's this? Paste below BABS.
Spoiler: ShowHide
SOUND =[
RPG::AudioFile.new("STEPSOUND_GRASS.wav",100,100),#terrain 1
RPG::AudioFile.new("",12,110),#terrain 2
RPG::AudioFile.new("",12,110),#terrain 3
RPG::AudioFile.new("",100,100),#terrain 4
RPG::AudioFile.new("",100,100),#terrain 5
RPG::AudioFile.new("",100,100),#terrain 6
RPG::AudioFile.new("",100,100),#terrain 7
]
CHARACTER = 0
#1 = step sounds only for player
#2 =  step sounds only for events
#0 = step sounds for both
class Game_Character
  def silent
    return @silent
  end
  def silent=(n)
    @silent = n
  end
  def sfx
    return if self.silent
    return if terrain_tag == 0
    return if CHARACTER == 2 and self.is_a?(Game_Player)
    return if CHARACTER == 1 and self.is_a?(Game_Event)
    $game_system.se_play(SOUND[terrain_tag-1])
  end
  def move_direction(d)
    # x and y offsets depending on direction
    ox, oy = BlizzABS::Cache::DirOffsets[d]
    # if passable
    if passable?(@x, @y, d)
      sfx
      # set new coordinates
      @x += ox
      @y += oy
      # increase steps
      increase_steps
      # moved
      return true
    end
    # check touched events
    check_event_trigger_touch(@x + ox, @y + oy)
    # not moved
    return false
  end
end

class Map_Battler < Game_Character
  def move_direction(d)
    super
  end
end


class Game_Event
  alias sound_refresh refresh
  def refresh
    @silent = false
    sound_refresh
    return if @list.nil?
    for command in @list
      if command.code == 108 or command.code == 408
        @silent = true if command.parameters.to_s.upcase == "silent"
      end
    end
  end
end

class Game_Player
  def silent
    return false
  end
end

Other Projects
RPG Maker XP Ace  Upgrade RMXP to RMVXA performance!
XPA Tilemap  Tilemap rewrite with many features, including custom resolution!

Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!

Stray

September 07, 2011, 10:21:32 pm #4519 Last Edit: September 07, 2011, 10:33:56 pm by Stray
I'm so glad that someone's ready to help! :'(
So, really really: Thanks so much! It works!

Spoiler: ShowHide


No double posting withint 24 hours. Oh and wrap spoilers around big images. ~ G_G
Kay~ :D

Only thing what doesn't work: I can't hear the steps of the NPCs.
I'm very grateful to you all for your great help.