Chaos Project

RPG Maker => General Discussion => Topic started by: thepathmage on March 01, 2009, 12:49:06 pm

Title: Help on changing weapon range with Blizz-ABS
Post by: thepathmage on March 01, 2009, 12:49:06 pm
I simply did not uderstand how to CHANGE the weapon range of weapons. It seems all weapons I have are 1.5 in weapon range, and I think there should be an advantage to shoot with a bow...
YES! I have searched the forums, found everything else..
Just want to know how you change this, and preferably how to make consumable throwing stars too.
Thanks.
Title: Re: Help on changing weapon range with Blizz-ABS
Post by: Aqua on March 01, 2009, 12:49:55 pm
Use the config application.
Title: Re: Help on changing weapon range with Blizz-ABS
Post by: thepathmage on March 01, 2009, 12:53:25 pm
This one?
Spoiler: ShowHide
#============================================================================
  # BlizzABS::Weapons
  #----------------------------------------------------------------------------
  #  This module provides weapon configurations.
  #============================================================================
 
  module Weapons
   
    #--------------------------------------------------------------------------
    # type
    #  id - weapon ID
    #  This method serves as database for weapon types.
    #  0 = sword / axe / claws / unarmed / etc. (damages in close front)
    #  1 = spear / lance (damages only in front)
    #  2 = flail (distant weapon, does not damage close enemies, front)
    #  3 = boomerang (returning projectile weapon, front)
    #  4 = bow and arrows / gun / shuriken (non-returning projectile, NO consumption)
    #  5 = bow and arrows / gun (non-returning projectile, consumes AMMUNITION)
    #  6 = shuriken (non-returning projectile, consumes ITSELF)
    #--------------------------------------------------------------------------
    def self.type(id)
      case id
      # START set up weapon types (when ID then return TYPE)
      when 1 then return 0
      # END
      end
      return 0
    end
    #--------------------------------------------------------------------------
    # range
    #  id - weapon ID
    #  This method serves as database for weapon ranges. All ranges are
    #  measured in map squares. Any decimal value WILL have its effect if
    #  pixel movement is being used.
    #--------------------------------------------------------------------------
    def self.range(id)
      case id
      # START set up weapon ranges (when ID then return RANGE)
      when 1 then return 1.5
      # END
      end
      return 1.5
    end
    #--------------------------------------------------------------------------
    # consume
    #  id - weapon ID
    #  Lets your weapons consume items to work. You must have the item assigned
    #  as your hot item for the weapon to work. One weapon can consumes
    #  different items. If you don't have any items left, the attack will fail.
    #  Allies' items for usage can be set up directly or over the AI menu.
    #--------------------------------------------------------------------------
    def self.consume(id)
      case id
      # START set up ammo consumption (when ID then return ID_ARRAY)
      when 1 then return []
      # END
      end
      return []
    end
  end


Because I didn't understand this part..
Title: Re: Help on changing weapon range with Blizz-ABS
Post by: winkio on March 01, 2009, 01:09:01 pm
in the BlizzABS folder that you download, there is a configuration application called Blizz-ABS Config.exe.  Copy this file into the directory of your rmxp project (the one that has game.exe, project.exe, a graphics, audio, and a data folder.  then, open the application to configure your script.  Att the end, it will generate the configurated script for you.  This generated script should replace part 1.
Title: Re: Help on changing weapon range with Blizz-ABS
Post by: thepathmage on March 01, 2009, 01:16:23 pm
Thank you very much sir.  :)

EDIT: Oops, I don't have that file  :wacko:
Anyone got a download link?
Title: Re: Help on changing weapon range with Blizz-ABS
Post by: winkio on March 01, 2009, 01:21:42 pm
most recent links here:

http://forum.chaos-project.com/index.php?topic=106.0 (http://forum.chaos-project.com/index.php?topic=106.0)

EDIT: By the way, you have a very old version.  There have been a lot of updates between your version and the current one, including the config app, party AI, traps, summons, and  a custom animation engine, among others.  You can check it all out in the new version of the manual (also in the downloadable blizz-ABS folder).
Title: Re: Help on changing weapon range with Blizz-ABS
Post by: thepathmage on March 01, 2009, 02:10:00 pm
OK, thank you very much.

EDIT: Another problem though, or two..
Once I added the new script everything worked great, until I tried to save, I got the following syntax error:
"Script 'Window_SaveFile' line 30: ArgumentError occurred. undefined class/module Game_Controls"

Additionally, the XP bar in the HUD is gone  :wacko:
Title: Re: Help on changing weapon range with Blizz-ABS
Post by: fugibo on March 01, 2009, 03:50:35 pm
I'd say scrap your install of BlizzABS and reinstall the latest from the his thread.
Title: Re: Help on changing weapon range with Blizz-ABS
Post by: thepathmage on March 01, 2009, 03:52:38 pm
Did so.
Title: Re: Help on changing weapon range with Blizz-ABS
Post by: Aqua on March 01, 2009, 04:06:28 pm
For the Exp in the HUD, you'll need this.

http://forum.chaos-project.com/index.php?topic=2254.0 (http://forum.chaos-project.com/index.php?topic=2254.0)
Title: Re: Help on changing weapon range with Blizz-ABS
Post by: thepathmage on March 01, 2009, 04:23:44 pm
Got it fixed now, had to delete old gamefile  :^_^':