iPhone App Directory
RPG Maker VX
 
Gallery Members Search Calendar Help


Welcome Guest ( Log In | Register )

Collapse

>Announcement

The 2nd Quarter Contest has arrived! Go check it out in the Community Announcements now!
 
Closed TopicStart new topic
> Incredibly Simple Request, It's a battle system, but it's beyond simple.
Confessor
post Aug 1 2011, 02:29 PM
Post #1



Group Icon


Type: Designer




I know it's not really appropriate to request battle systems, and for that I apologise.

I don't feel however that this will be too much trouble, because from what little scripting I've done in XP I gather this should only take an intermediate scripter a minute or two. At least I hope it's that simple.

Basically, all I want is a completely static battle system. All it needs is the enemy displayed, and a static .png of the battle displayed, in front of a background .png.

As so,


Absolutely nothing special about it, just the default attack animations, no movement whatsoever. I've looked around the forums and searched but have had no luck finding something like this, or a system I personally can modify into this. I almost had some luck with Tankentai but it was a bit out of my reach.


Thank-you for anybody who can help, or even point me in the right direction. I can probably make a small donation to you if that's allowed.

I understand if this is against the rules and must be locked.

Regards.

This post has been edited by Confessor: Aug 1 2011, 02:32 PM
Go to the top of the page
 
+Quote Post
   
Zetu
post Aug 1 2011, 02:33 PM
Post #2


Has broken out of Staby Rehab!
Group Icon


Type: Undisclosed
Alignment: Chaotic Evil




Just to be clear, you just want to display sprites on the screen as shown, right? Nothing to fancy?


--------------------
My Scripts:

Best. Error. Evah!!!
Spoiler:


Team JIFZ: Jet, Ice, Fenix, Zetu

A stabbing Gesture is a friendly Gesture
Go to the top of the page
 
+Quote Post
   
Confessor
post Aug 1 2011, 02:34 PM
Post #3



Group Icon


Type: Designer




Exactly, like in the picture.

As long as they're lined up and I hopefully have control of the monster layout in the RMVX mob editor. That's not really necessary though as long as it ends up looking like the picture.

Oh and of course four party members should be able to fit.

But yes, no animation or anything fancy like that, just the default battle animations you make in the editor.

EDIT: Oh, I suppose that includes the default sprites glowing white/red when they're attacking/being attacked though.


The main concern is that it looks and runs as smoothly as possible.

This post has been edited by Confessor: Aug 1 2011, 03:11 PM
Go to the top of the page
 
+Quote Post
   
Zetu
post Aug 1 2011, 04:34 PM
Post #4


Has broken out of Staby Rehab!
Group Icon


Type: Undisclosed
Alignment: Chaotic Evil




Tell me what you want changed from this...

Spoiler:
CODE
module ZEX
  PLANE = 224
  SPACING = 8
end

class Spriteset_Battle
  
  def create_actors
    @actor_sprites = []
    for actor in $game_party.members.reverse
      @actor_sprites.push(Sprite_Battler.new(@viewport1, actor))
    end
  end
  
  alias zex_ue update_enemies unless $@
  def update_enemies
    zex_ue
    x = 32
    y = ZEX::PLANE
    for sprite in @enemy_sprites.reverse
      x += sprite.width/2
      sprite.battler.screen_x = x
      sprite.battler.screen_y = y
      x += (sprite.width/2 + ZEX::SPACING)
    end
    correct_enemy_spacing if x > Graphics.width/2
  end
  
  def update_actors
    for i in 0...@actor_sprites.size
      @actor_sprites[i].battler = $game_party.members[i]
    end
    for sprite in @actor_sprites
      sprite.update
    end
    x = Graphics.width - 32
    y = ZEX::PLANE
    for sprite in @actor_sprites
      x -= sprite.width/2
      sprite.x = x
      sprite.y = y
      x -= (sprite.width/2 + ZEX::SPACING)
    end
    correct_actor_spacing if x < Graphics.width/2
  end
  
  def correct_enemy_spacing
  end
  
  def correct_actor_spacing
  end
  
  
end

class Game_Actor < Game_Battler
  attr_accessor :screen_x
  attr_accessor :screen_y
  alias zex_setup setup unless $@
  def setup(actor_id)
    zex_setup(actor_id)
    @battler_name = "actor_#{actor_id}"
    @battler_hue  = 0
    @screen_x = 0
    @screen_y = 0
  end
  
  def use_sprite?
    return true
  end
  def screen_z
    return 100
  end
  
end

class Scene_Battle < Scene_Base
  attr_reader :spritesheet
end


It's not 100% finished yet.


--------------------
My Scripts:

Best. Error. Evah!!!
Spoiler:


Team JIFZ: Jet, Ice, Fenix, Zetu

A stabbing Gesture is a friendly Gesture
Go to the top of the page
 
+Quote Post
   
Confessor
post Aug 2 2011, 01:26 AM
Post #5



Group Icon


Type: Designer




Wow, that's excellent!

A couple of things if it's okay:
€ Battle backgrounds... but, I can just use another script for that, right?
€ If it's not too much trouble, is there a way to put cursors on the party member you're selecting, and then the enemy you're selecting to attack?
€ Oh, and one last thing, party members glowing red when they've been attacked.

If all of that isn't too much trouble, it'd be wonderful, but I really appreciate what you've already done!

EDIT: And I've just realised the "Heal" animation when used on a player character displays in the very top-left corner of the screen instead of on the battle, is that fixable?

Thank-you. smile.gif

This post has been edited by Confessor: Aug 2 2011, 02:05 AM
Go to the top of the page
 
+Quote Post
   
fmstwre
post Aug 2 2011, 02:40 AM
Post #6



Group Icon


Type: Designer
Alignment: Lawful Good




I've used the DerVWolf's (not sure if that's his name) background scripts for battles. It's absolutely fantastic, very easy to use and compatible with many scripts. If you're interested just message me, I'm not at a compooper right now, so I can't post the script. I think it has what you're looking for. wink.gif


--------------------

Go to the top of the page
 
+Quote Post
   
Zetu
post Aug 2 2011, 03:22 AM
Post #7


Has broken out of Staby Rehab!
Group Icon


Type: Undisclosed
Alignment: Chaotic Evil




The Flash is made by the attack animation, so you can make a red flash with that. Also, yes to using a different script to battlebacks. I just made the cursor, so it's done. I made a topic, so after it's been approved from the moderation que, you'll find it there (: /me stabs Confessor


--------------------
My Scripts:

Best. Error. Evah!!!
Spoiler:


Team JIFZ: Jet, Ice, Fenix, Zetu

A stabbing Gesture is a friendly Gesture
Go to the top of the page
 
+Quote Post
   
Confessor
post Aug 2 2011, 07:44 AM
Post #8



Group Icon


Type: Designer




Thank-you very much for completing this request. smile.gif
Go to the top of the page
 
+Quote Post
   

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 18th April 2014 - 10:07 AM

RPGMakerVX.net is an Privacy Policy, Legal.