Chaos Project

RPG Maker => RPG Maker Scripts => RMXP Script Database => Topic started by: Tigurus on June 29, 2011, 01:58:41 pm

Title: [XP] One-Player Battlesystem
Post by: Tigurus on June 29, 2011, 01:58:41 pm
One-Player Battlesystem
Authors: Tigurus
Version: 1.03
Type: Custom Battle script
Key Term: Custom Battle System



Introduction

A slight and shiny change of the default battle system. It's made for 1 character only and can best be used with an over-the-shoulder battler.
Additionally, I try to make it time-based though at the moment it still is like the default.



Features




Screenshots
Spoiler: ShowHide
(http://www.rpgmaker.org/content/g3m7o/screens/800/5-BS1.jpg)

Spoiler: ShowHide
(http://www.rpgmaker.org/content/g3m7o/screens/800/5-BS2.jpg)

Spoiler: ShowHide
(http://www.rpgmaker.org/content/g3m7o/screens/800/5-BS3.jpg)



Demo

One-Player-Battlescript.rar (http://www.rpgmaker.org/ajax/download.asp?id=36&download_id=52)


Script

Script can be found in the demo.



Instructions

Post the script above main and below Scene_debug.


Compatibility

This script shouldn't create a big problem except with other battlescripts.


Credits and Thanks





If you have any comments or questions, I would be glad to hear them.
PS: This is my first script ever  :^_^':
Title: Re: [XP] One-Player Battlesystem
Post by: Zexion on June 29, 2011, 03:12:20 pm
This is a nice little edit to the battle system :) I like it and in my opinion its better than the default in looks.
Title: Re: [XP] One-Player Battlesystem
Post by: Tigurus on June 29, 2011, 05:17:06 pm
Thank you :)

It took me a while to create because it had many errors but in the end. I think it now looks and works great! :D
Title: Re: [XP] One-Player Battlesystem
Post by: vvalkingman on December 12, 2011, 11:45:25 pm
I know this is a tad on the necroposting side...  :'(

But the link to the system is down...more like it directs to a page with random characters everywhere. The system looks pretty cool and i'd love to try it out. Just thought i'd ask :)
Title: Re: [XP] One-Player Battlesystem
Post by: ForeverZer0 on December 13, 2011, 02:18:58 am
Hmmm. It works fine for me. Its an .rar file, so you will need 7zip or WinRAR to decompress it. You file association in your browser might be screwy or something.

I downloaded and and put it into a .zip folder. You can download here:

http://dl.dropbox.com/u/20787370/Temp/One-Player%20Battlescript.zip
Title: Re: [XP] One-Player Battlesystem
Post by: vvalkingman on December 13, 2011, 03:00:51 am
Yea must be cuz i have both of those. Thanks for the zip upload :)
Title: Re: [XP] One-Player Battlesystem
Post by: Tigurus on December 18, 2011, 07:34:34 pm
Thanks for trying it :)
And I putted ForeverZer0's Winzip download in the main post too :)
Title: Re: [XP] One-Player Battlesystem
Post by: DarkAlexander on August 03, 2012, 06:39:42 am
Hello,

I know a lot of time has past from the last update of this conversation but I was searching exactly a mod for a one-player battlesystem. Unofrtunately the file hoster erased the script-file, and the text wasn't upload in the original post.  :'(  So... Does anyone know how can I find this script now? Does anyone know the original creator or know a way to contact him? Or better has the original file?

Thank you in advance and sorry for the troubles!  ;)
Title: Re: [XP] One-Player Battlesystem
Post by: Dark_Kyu09 on April 25, 2014, 06:50:28 pm
I don't know if anyone or the author can read this, but I really need help with the script.

You see, I've been wanting to use this script, but I found a bug here. As soon as I started the battle, I want to try out the item. When I select the "item," the script suddenly crashed and I got this message:

Script 'One-Player Battle system' line1264: ArgumentError occurred.

wrong number of argument (0 for1)


Can anyone fix this?
Title: Re: [XP] One-Player Battlesystem
Post by: ThallionDarkshine on April 25, 2014, 08:55:28 pm
It seems that the demo link is broken. Could you post the script so i could look into the problem?
Title: Re: [XP] One-Player Battlesystem
Post by: Dark_Kyu09 on April 26, 2014, 03:18:25 am
http://www.rpgmaker.org/resources/view.asp?id=36

Here it is. I got it from here.
Title: Re: [XP] One-Player Battlesystem
Post by: PhoenixFire on April 26, 2014, 10:35:59 am
All I found there was a Morale Add-on script... Are you sure you linked to the right page?
Title: Re: [XP] One-Player Battlesystem
Post by: ForeverZer0 on April 26, 2014, 10:51:09 am
Found and fixed the links and pictures.
Title: Re: [XP] One-Player Battlesystem
Post by: Dark_Kyu09 on April 26, 2014, 11:08:36 am
Quote from: PhoenixFire on April 26, 2014, 10:35:59 am
All I found there was a Morale Add-on script... Are you sure you linked to the right page?


Danggit.  :facepalm:
Sorry, I got the wrong link by accident.
Title: Re: [XP] One-Player Battlesystem
Post by: ThallionDarkshine on April 26, 2014, 08:21:41 pm
what other scripts are you using? I can't find any issues in the demo.
Title: Re: [XP] One-Player Battlesystem
Post by: Dark_Kyu09 on April 26, 2014, 10:50:00 pm
Quote from: ThallionDarkshine on April 26, 2014, 08:21:41 pm
what other scripts are you using? I can't find any issues in the demo.


Let's see, I'm using:
- One-Player Menu Script by Tigurus
- Advanced Message Script
- Emoticon script by Ánemus
- Law's Custom Save System
Title: Re: [XP] One-Player Battlesystem
Post by: KK20 on April 26, 2014, 11:43:23 pm
Line 1264 points to
@item_window = Window_Item.new

One look at the menu script and I found this
Spoiler: ShowHide


#==============================================================================
# ** Window_Item
#------------------------------------------------------------------------------
#  This window displays items in possession on the item and battle screens.
#==============================================================================

class Window_Item < Window_Selectable
  #--------------------------------------------------------------------------
  # * Object Initialization
  #     actor : actor
  #--------------------------------------------------------------------------
  def initialize(actor)      #<====================== That's the problem: it requires an argument. Default RMXP class doesn't need one.
    super(0, 128, 640, 352)
    @actor = actor
    @column_max = 2
    refresh
    self.index = 0
    # If in battle, move window to center of screen
    # and make it semi-transparent
    if $game_temp.in_battle
      self.y = 64
      self.height = 256
      self.back_opacity = 160
    end
  end
end


I would change that part of the script to this
Spoiler: ShowHide


#==============================================================================
# ** Window_Item
#------------------------------------------------------------------------------
#  This window displays items in possession on the item and battle screens.
#==============================================================================

class Window_Item < Window_Selectable
  #--------------------------------------------------------------------------
  # * Object Initialization
  #     actor : actor
  #--------------------------------------------------------------------------
  def initialize(actor = nil)
    super(0, 128, 640, 352)
    @actor = actor.nil? ? $game_party.actors[0] : actor
    @column_max = 2
    refresh
    self.index = 0
    # If in battle, move window to center of screen
    # and make it semi-transparent
    if $game_temp.in_battle
      self.y = 64
      self.height = 256
      self.back_opacity = 160
    end
  end
end

Title: Re: [XP] One-Player Battlesystem
Post by: Dark_Kyu09 on April 27, 2014, 12:49:29 am
It works! It really works!

Thank you so much, KK20! I really appreciate it  :D
Title: Re: [XP] One-Player Battlesystem
Post by: Tigurus on May 20, 2014, 10:48:48 am
I am sorry that I couldn't respond earlier and I am sorry for the bugs. These 2 scripts were my first 2 scripts I've made, so they were quite prone to bugs and I haven't had many responses.

Anyhow! Thanks KK20, I will update the menu script and the links to my other scripts on this site soon.
Title: Re: [XP] One-Player Battlesystem
Post by: dudedude343 on August 23, 2016, 07:35:54 pm
Hi, I'm using your battle system and your one-player menu, and I found a bug. When I use them (separately or together), the battle system shows that there are three people attacking instead of one. When the two people who aren't there attack, it always does 0 damage. I would like to see a fix for this bug, cuz this would be a great battle system otherwise.
Title: Re: [XP] One-Player Battlesystem
Post by: KK20 on August 23, 2016, 08:08:31 pm
How do you reproduce it?
Title: Re: [XP] One-Player Battlesystem
Post by: dudedude343 on August 24, 2016, 12:03:47 pm
here is a copy of my game so far so you can check out the scripts and everything.


https://www.mediafire.com/folder/cm5hskkfbejo8/MAIN_GAME
Title: Re: [XP] One-Player Battlesystem
Post by: KK20 on August 24, 2016, 01:12:45 pm
Your database is configured incorrectly.

Look under the System tab and at the top left is your Initial Party. Even though you deleted the actors, the game still thinks there are 4 members in the party. Delete them and you're good to go.

BTW you don't need to link an RTP download.
Title: Re: [XP] One-Player Battlesystem
Post by: dudedude343 on August 24, 2016, 01:15:58 pm
cool thank you very much :):):):):):):):)